diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..11508005 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,44 @@ +# 版本库与依赖 +.git +**/node_modules +.pnpm-store + +# 构建产物与缓存 +**/dist +**/.turbo +**/.mastra +**/.next +**/.eslintcache +**/*.log +packages/alignment-wasm/target +.codex-tmp +temp +funbi-release.tar* + +# 本地运行数据(含密钥 / 体积大) +.env +servers/server/.env +**/.env.local +servers/server/.data +servers/server/blob-storage +servers/server/evals/runs +servers/server/agent-workspace/screen_* +servers/server/agent-workspace/tasks +servers/server/agent-workspace/plan +servers/server/agent-workspace/echart-options +servers/server/agent-workspace/api-registry +servers/server/agent-workspace/artifact-app +servers/server/agent-workspace/.tmp* +servers/server/agent-workspace/assets + +# 编辑器 / 工具 +.vscode +.idea +.claude +.playwright-mcp + +# 与镜像无关的大文件 +images +docs +artifact.png +artifact.excalidraw diff --git a/.env.compose.example b/.env.compose.example new file mode 100644 index 00000000..a80ab56d --- /dev/null +++ b/.env.compose.example @@ -0,0 +1,40 @@ +# docker compose 部署用的环境变量。复制成 .env 后修改: +# cp .env.compose.example .env + +# ── 必填 ── +# 数据库口令 +POSTGRES_PASSWORD=change-me +# JWT 签名密钥(api / ai 共用,必须一致)。生成:node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" +JWT_SECRET= +# MinIO 管理口令(至少 8 位) +MINIO_ROOT_PASSWORD=change-me-too + +# ── 站点地址 ── +# 浏览器访问站点用的地址,素材直链会用它拼接。对外用域名 / HTTPS 时改成对应地址,如 https://bi.example.com +PUBLIC_ORIGIN=http://localhost:8080 +# 宿主机对外端口 +HTTP_PORT=8080 + +# ── 初始管理员 ── +SEED_ADMIN_NAME=admin +# 留空则随机生成,并只在 migrate 容器日志里打印一次:docker compose logs migrate +SEED_ADMIN_PASSWORD= + +# ── 构建 ── +# 国内网络可改用镜像:https://registry.npmmirror.com +NPM_REGISTRY=https://registry.npmjs.org + +# ── 模型(可选)── +# 只是首启兜底,之后在编辑器「设置」页维护。全部留空也能启动。 +# REASONING_MODEL_BASE_URL= +# REASONING_MODEL_API_KEY= +# REASONING_MODEL_ID= +# VISION_MODEL_BASE_URL= +# VISION_MODEL_API_KEY= +# VISION_MODEL_ID= +# EMBEDDING_MODEL_BASE_URL= +# EMBEDDING_MODEL_API_KEY= +# EMBEDDING_MODEL_ID= +# IMAGE_MODEL_BASE_URL= +# IMAGE_MODEL_API_KEY= +# IMAGE_MODEL_ID= diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21579cdb..5e24d1f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,24 +1,48 @@ name: CI on: - push: - branches: [main] pull_request: + workflow_dispatch: + workflow_call: + +permissions: + contents: read env: # prisma.config.ts 的 env() 缺失即抛错,postinstall 的 prisma generate 需要 - PRISMA_DATABASE_URL: file:./.data/screenwright.db + PRISMA_DATABASE_URL: postgresql://ci:ci@localhost:5432/screenwright_ci + MASTRA_DATABASE_URL: postgresql://ci:ci@localhost:5432/screenwright_ci + CI: "true" jobs: check: runs-on: ubuntu-latest timeout-minutes: 30 + services: + postgres: + image: pgvector/pgvector:pg16 + env: + POSTGRES_USER: ci + POSTGRES_PASSWORD: ci + POSTGRES_DB: screenwright_ci + ports: ["5432:5432"] + options: >- + --health-cmd "pg_isready -U ci -d screenwright_ci" + --health-interval 5s --health-timeout 3s --health-retries 20 + redis: + image: redis:7-alpine + ports: ["6379:6379"] + options: >- + --health-cmd "redis-cli ping" + --health-interval 5s --health-timeout 3s --health-retries 20 + env: + TEST_REDIS_URL: redis://localhost:6379 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7.0.1 - - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v6.1.0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7.1.0 with: node-version: 22 cache: pnpm @@ -26,6 +50,44 @@ jobs: - name: Install run: pnpm install --frozen-lockfile + - name: Validate database migrations + run: pnpm --filter @screenwright/server exec prisma migrate deploy + + - name: Seed component catalog for integration tests + run: pnpm --filter @screenwright/server exec tsx scripts/seed-modules.ts + + - name: Test deployment success and rollback + run: node --test docker/tests/deploy-registry.test.mjs + # turbo pipeline:test 依赖 check-types,check-types 依赖上游包 build - name: Type check & test - run: pnpm turbo run test --output-logs=errors-only + run: pnpm turbo run test --concurrency=2 --output-logs=errors-only + + images: + if: github.event_name == 'pull_request' + needs: check + runs-on: ubuntu-latest + timeout-minutes: 45 + strategy: + fail-fast: false + matrix: + target: [server, web] + steps: + - uses: actions/checkout@v7.0.1 + - uses: docker/setup-buildx-action@v4.4.1 + - name: Build ${{ matrix.target }} image + uses: docker/build-push-action@v7.4.0 + with: + context: . + target: ${{ matrix.target }} + platforms: linux/amd64 + push: false + load: true + tags: funbi-ci:${{ matrix.target }} + cache-from: type=gha,scope=funbi-${{ matrix.target }} + cache-to: type=gha,mode=max,scope=funbi-${{ matrix.target }} + - name: Check server runtime tools + if: matrix.target == 'server' + run: | + docker run --rm --entrypoint /bin/sh funbi-ci:server -c \ + 'pnpm --version && ffmpeg -version >/dev/null && ffprobe -version >/dev/null' diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml deleted file mode 100644 index e33e29e6..00000000 --- a/.github/workflows/release-desktop.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Release Desktop - -# 推 v* tag 自动打 Windows 安装包并挂到 GitHub Release;也可手动触发试跑(不发 release) -on: - push: - tags: ["v*"] - workflow_dispatch: - -permissions: - contents: write - -env: - # prisma.config.ts 的 env("PRISMA_DATABASE_URL") 缺失即抛错,postinstall 的 prisma generate 需要; - # 打包时 build-sidecar 会另指到临时目录建干净库,这里只是占位 - PRISMA_DATABASE_URL: file:./.data/screenwright.db - -jobs: - windows: - runs-on: windows-latest - timeout-minutes: 90 - steps: - - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: pnpm - - - uses: dtolnay/rust-toolchain@stable - - - uses: swatinem/rust-cache@v2 - with: - workspaces: apps/desktop/src-tauri - - - name: Install - run: pnpm install --frozen-lockfile - - # build-sidecar:bundle 后端 + 扁平 node_modules + 从零建干净的预 seed 库; - # desktop:build:vite 桌面模式构建前端 + cargo release + NSIS - - name: Build sidecar & installer - run: pnpm desktop:package - env: - NODE_OPTIONS: --max-old-space-size=8192 - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: Screenwright-windows-x64 - path: apps/desktop/src-tauri/target/release/bundle/nsis/*.exe - if-no-files-found: error - - - name: Release - if: startsWith(github.ref, 'refs/tags/v') - uses: softprops/action-gh-release@v2 - with: - files: apps/desktop/src-tauri/target/release/bundle/nsis/*.exe - generate_release_notes: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..a16df6ee --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,107 @@ +name: Release + +on: + push: + branches: [main] + workflow_dispatch: + inputs: + deploy: + description: "检查和镜像发布成功后,更新生产服务器(仅 main)" + type: boolean + default: false + +permissions: + contents: read + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: false + +jobs: + check: + uses: ./.github/workflows/ci.yml + + publish: + needs: check + runs-on: ubuntu-latest + timeout-minutes: 45 + permissions: + contents: read + packages: write + strategy: + fail-fast: false + matrix: + target: [server, web] + steps: + - uses: actions/checkout@v7.0.1 + - id: image + name: Image coordinates + run: | + echo "namespace=${GITHUB_REPOSITORY,,}" >> "$GITHUB_OUTPUT" + echo "tag=sha-$GITHUB_SHA" >> "$GITHUB_OUTPUT" + - uses: docker/setup-buildx-action@v4.4.1 + - uses: docker/login-action@v4.7.0 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Publish ${{ matrix.target }} image + uses: docker/build-push-action@v7.4.0 + with: + context: . + target: ${{ matrix.target }} + platforms: linux/amd64 + push: true + tags: ghcr.io/${{ steps.image.outputs.namespace }}/${{ matrix.target }}:${{ steps.image.outputs.tag }} + labels: | + org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }} + org.opencontainers.image.revision=${{ github.sha }} + cache-from: type=gha,scope=funbi-${{ matrix.target }} + cache-to: type=gha,mode=max,scope=funbi-${{ matrix.target }} + + deploy: + if: github.event_name == 'workflow_dispatch' && inputs.deploy && github.ref == 'refs/heads/main' + needs: publish + runs-on: ubuntu-latest + timeout-minutes: 60 + environment: production + permissions: + contents: read + packages: read + env: + DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} + DEPLOY_USER: ${{ secrets.DEPLOY_USER }} + DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} + DEPLOY_HOST_FINGERPRINT: ${{ secrets.DEPLOY_HOST_FINGERPRINT }} + GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v7.0.1 + - name: Configure SSH and verify server identity + shell: bash + run: | + set -euo pipefail + : "${DEPLOY_HOST:?Missing DEPLOY_HOST}" + : "${DEPLOY_USER:?Missing DEPLOY_USER}" + : "${DEPLOY_SSH_KEY:?Missing DEPLOY_SSH_KEY}" + : "${DEPLOY_HOST_FINGERPRINT:?Missing DEPLOY_HOST_FINGERPRINT}" + install -m 700 -d ~/.ssh + printf '%s\n' "$DEPLOY_SSH_KEY" | tr -d '\r' > ~/.ssh/deploy_key + chmod 600 ~/.ssh/deploy_key + ssh-keyscan -T 10 -t ecdsa "$DEPLOY_HOST" > ~/.ssh/known_hosts + actual="$(ssh-keygen -lf ~/.ssh/known_hosts -E sha256 | awk '{print $2}')" + test "$actual" = "$DEPLOY_HOST_FINGERPRINT" || { echo 'SSH host fingerprint mismatch' >&2; exit 1; } + - name: Upload deployment files and activate release + shell: bash + run: | + set -euo pipefail + tag="sha-$GITHUB_SHA" + namespace="${GITHUB_REPOSITORY,,}" + remote="$DEPLOY_USER@$DEPLOY_HOST" + options=(-i ~/.ssh/deploy_key -o BatchMode=yes -o StrictHostKeyChecking=yes -o ServerAliveInterval=15) + ssh "${options[@]}" "$remote" "mkdir -p /root/funbi/releases/$tag" + scp "${options[@]}" docker-compose.yml docker/deploy-registry.sh docker/backup.sh "$remote:/root/funbi/releases/$tag/" + printf '%s\n' "$GHCR_TOKEN" | ssh "${options[@]}" "$remote" \ + "cd /root/funbi && bash releases/$tag/deploy-registry.sh '$namespace' '$tag' '$GITHUB_ACTOR'" + - name: Remove SSH credentials + if: always() + run: rm -f ~/.ssh/deploy_key diff --git a/.gitignore b/.gitignore index b72650cb..0640b6e7 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ apps/agentTrace/.next/ # Scratch / debugging artifacts temp*.json agentbi-architecture.html +funbi-release.tar* # 个人 / 开源改造工作笔记(不进开源仓库) 开源改造TODO.md diff --git a/.vscode/settings.json b/.vscode/settings.json index 9ca4513e..24c19500 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -55,5 +55,8 @@ "rust-analyzer.linkedProjects": [ "apps/desktop/src-tauri/Cargo.toml", "packages/alignment-wasm/Cargo.toml" - ] + ], + "[rust]": { + "editor.defaultFormatter": "rust-lang.rust-analyzer" + } } diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..e0a983c8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,134 @@ +# syntax=docker/dockerfile:1.7 +# +# 两个构建目标(compose 里按需选): +# --target server 后端镜像。同一个镜像按 ROLE 起 api / ai / worker,也用来跑迁移任务 +# --target web 前端镜像。nginx 托管编辑器静态文件,并按路径把请求分流给 api / ai +# +# 国内网络可加 --build-arg NPM_REGISTRY=https://registry.npmmirror.com + +ARG NODE_VERSION=22 +ARG NPM_REGISTRY=https://registry.npmjs.org + +# ───────────── base:Node + pnpm ───────────── +FROM node:${NODE_VERSION}-bookworm-slim AS base +ARG NPM_REGISTRY +ENV PNPM_HOME=/pnpm \ + PATH=/pnpm:$PATH \ + COREPACK_NPM_REGISTRY=${NPM_REGISTRY} \ + NPM_CONFIG_REGISTRY=${NPM_REGISTRY} \ + CI=true +# openssl:Prisma 的迁移引擎要用;git:构建 / 运行都可能用到 +RUN apt-get update \ + && apt-get install -y --no-install-recommends openssl ca-certificates git \ + && rm -rf /var/lib/apt/lists/* \ + && corepack enable && corepack prepare pnpm@10.15.0 --activate +WORKDIR /app + +# ───────────── manifests:只抽出 package.json / lockfile ───────────── +# 单独一层,源码改动不会让下面的依赖安装层缓存失效(只要这些清单文件内容没变) +FROM base AS manifests +COPY . /src +# server 的 postinstall 会跑 prisma generate,安装依赖这一步就得看到 schema 和 prisma 配置,所以一并带上 +RUN mkdir /out && cd /src \ + && find . -name package.json -not -path '*/node_modules/*' -exec cp --parents {} /out \; \ + && cp pnpm-lock.yaml pnpm-workspace.yaml /out/ \ + && cp .npmrc /out/ 2>/dev/null || true \ + && cp -r patches /out/patches \ + && mkdir -p /out/servers/server/prisma \ + && cp servers/server/prisma/schema.prisma /out/servers/server/prisma/ \ + && cp servers/server/prisma.config.ts /out/servers/server/ + +# ───────────── server-build:后端依赖 + 构建 ───────────── +FROM base AS server-build +# prisma generate 只读 schema,不会真连库;给个占位连接串满足 prisma.config.ts 的 env() 检查 +ENV PRISMA_DATABASE_URL=postgresql://build:build@localhost:5432/build +COPY --from=manifests /out ./ +RUN --mount=type=cache,id=funbi-pnpm-store,target=/pnpm/store \ + pnpm config set store-dir /pnpm/store \ + && pnpm install --frozen-lockfile --filter "@screenwright/server..." + +COPY packages ./packages +COPY apps/artifact-app-template ./apps/artifact-app-template +COPY servers/server ./servers/server + +# 后端运行时依赖的 workspace 包:各自出 dist(create-screenwright-app 会把 artifact-app 模板拷进去) +RUN pnpm --filter @screenwright/types run build \ + && pnpm --filter @screenwright/core run build \ + && pnpm --filter @screenwright/figma-helper run shared:build \ + && pnpm --filter create-screenwright-app run build + +WORKDIR /app/servers/server +# esbuild 把 src 打成一个入口,第三方包保持外置(运行时从 node_modules 解析); +# 再生成 skills/overviews(主 agent 只挂载它,由 executor skill 派生),镜像里先备好 +RUN pnpm run build:server \ + && pnpm exec tsx scripts/sync-skill-overviews.ts + +# pnpm deploy:只带生产依赖,并把 workspace 包按实际内容拷进去(不是指向源码目录的软链) +WORKDIR /app +RUN pnpm --filter @screenwright/server deploy --legacy --prod /prod/server + +# ───────────── server:后端运行镜像 ───────────── +FROM node:${NODE_VERSION}-bookworm-slim AS server +# git:大屏工作区版本快照;ffmpeg 同时提供视频处理和 ffprobe 媒体信息读取 +RUN apt-get update \ + && apt-get install -y --no-install-recommends git openssl ca-certificates ffmpeg \ + && rm -rf /var/lib/apt/lists/* + +# WORKSPACE_SEED_DIR:镜像里自带的 agent-workspace 模板(skills 等),启动时同步进持久化的工作区卷 +ENV NODE_ENV=production \ + COREPACK_HOME=/opt/corepack \ + GIT_AUTHOR_NAME=funbi GIT_AUTHOR_EMAIL=funbi@localhost \ + GIT_COMMITTER_NAME=funbi GIT_COMMITTER_EMAIL=funbi@localhost \ + WORKSPACE_SEED_DIR=/app/servers/server/agent-workspace \ + MASTRA_WORKSPACE_PATH=/data/agent-workspace + +# Artifact 应用初始化和预览进程会直接执行 pnpm;预装到非 root 用户可读的共享缓存。 +RUN corepack enable && corepack prepare pnpm@10.15.0 --activate \ + && chmod -R a+rX /opt/corepack + +WORKDIR /app/servers/server +COPY --from=server-build --chown=node:node /prod/server ./ +# deploy 只带 package.json 的 files 清单里的文件;迁移 / 种子脚本还要源码和 prisma 配置 +COPY --from=server-build --chown=node:node /app/servers/server/src ./src +COPY --from=server-build --chown=node:node /app/servers/server/scripts ./scripts +COPY --from=server-build --chown=node:node /app/servers/server/prisma ./prisma +COPY --from=server-build --chown=node:node /app/servers/server/prisma.config.ts /app/servers/server/tsconfig.json ./ +COPY --from=server-build --chown=node:node /app/servers/server/agent-workspace ./agent-workspace +COPY docker/server-entrypoint.sh docker/migrate.sh /docker/ +RUN sed -i 's/\r$//' /docker/*.sh && chmod +x /docker/*.sh \ + && mkdir -p /data/agent-workspace /app/servers/server/blob-storage \ + && chown node:node /data /data/agent-workspace /app/servers/server /app/servers/server/blob-storage + +USER node +EXPOSE 4111 +ENTRYPOINT ["/docker/server-entrypoint.sh"] +CMD ["node", "dist/server.mjs"] + +# ───────────── web-build:编辑器静态文件 ───────────── +FROM base AS web-build +ENV PRISMA_DATABASE_URL=postgresql://build:build@localhost:5432/build +COPY --from=manifests /out ./ +RUN --mount=type=cache,id=funbi-pnpm-store,target=/pnpm/store \ + pnpm config set store-dir /pnpm/store \ + && pnpm install --frozen-lockfile --filter "@screenwright/app..." + +COPY packages ./packages +# create-screenwright-app(经 server 间接依赖)构建时要把模板拷进 dist +COPY apps/artifact-app-template ./apps/artifact-app-template +COPY servers/server ./servers/server +COPY apps/app ./apps/app + +# app 依赖的 workspace 包先各自构建;server 的 build:client 产出前端用的 RPC 客户端 +RUN pnpm --filter "@screenwright/app^..." --if-present run build \ + && pnpm --filter @screenwright/server run build:client + +WORKDIR /app/apps/app +RUN pnpm run build:fontFace \ + && pnpm run build:lib \ + && NODE_OPTIONS=--max-old-space-size=8192 pnpm exec vite build + +# ───────────── web:nginx ───────────── +FROM nginx:1.27-alpine AS web +COPY docker/nginx.conf /etc/nginx/conf.d/default.conf +COPY --from=web-build /app/apps/app/dist /usr/share/nginx/html +EXPOSE 80 diff --git a/README.md b/README.md index 7115ac70..a9ed42ca 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ AI 原生的数据大屏 / BI 可视化编辑器。跟 Agent 描述需求,或者给一个 Figma 链接,它会直接在画布上创建组件、接上数据、配好联动,产出一个可以继续在编辑器里改的大屏。 -> Monorepo:`apps/app`(Vue 3 编辑器)+ `servers/server`(Hono + Mastra Agent 服务)+ `packages/*`(框架无关的核心与物料)+ `apps/desktop`(Tauri 桌面端)。 +> Monorepo:`apps/app`(Vue 3 编辑器)+ `servers/server`(Hono + Mastra Agent 服务)+ `packages/*`(框架无关的核心与物料)。B/S 架构:浏览器访问编辑器,后端用 PostgreSQL 存储,需要登录。 ![ScreenWright 对话生成大屏效果图](artifact.png) @@ -16,7 +16,7 @@ AI 原生的数据大屏 / BI 可视化编辑器。跟 Agent 描述需求,或 组件能力覆盖不到的效果,内置的 Artifact App 子系统可以在沙箱里直接写 Vue 代码并实时预览。数据接好之后 Agent 会自己跑一遍数据流做校验。做好的大屏可以存成模板,之后复用。 -编辑器本身带了 76+ 物料组件(图表、文本、指标、媒体、交互、地图下钻等),可以导出成脱离编辑器运行的静态包。桌面端用 Tauri 打包,SQLite 本地跑,不需要登录。 +编辑器本身带了 76+ 物料组件(图表、文本、指标、媒体、交互、地图下钻等),可以导出成脱离编辑器运行的静态包。 --- @@ -28,8 +28,6 @@ AI 原生的数据大屏 / BI 可视化编辑器。跟 Agent 描述需求,或 物料组件(`packages/material`)和类型 / Zod Schema(`packages/types`)各自独立成包——编辑器和 Agent 服务都要用同一套组件定义和数据结构,独立出来两边引用同一份;物料也因此可以单独打包发布,不用绑着整个编辑器一起发。 -桌面端(`apps/desktop`)是 Tauri 壳,把编辑器和 Agent 服务一起打进安装包,用内置的 Node sidecar 跑 Agent 服务,数据库换成本地 SQLite。 - ### 大屏怎么保持最新 大屏组件树存成两块:大屏和版本信息在 `LargeScreen` / `LargeScreenVersion` 表,每个组件单独一行存在 `Layers` 表里,前端读取时递归拼成完整的组件树。 @@ -50,8 +48,7 @@ flowchart LR | 目录 | 说明 | |---|---| | `apps/app` | 主编辑器(Vue 3 + Vite + ECharts + Three.js) | -| `apps/desktop` | Tauri 2 桌面壳 | -| `servers/server` | Agent 服务(Hono + Mastra + Prisma/SQLite) | +| `servers/server` | Agent 服务(Hono + Mastra + Prisma/PostgreSQL) | | `packages/core` | 编辑器核心(不依赖任何 UI 框架) | | `packages/composables` | core 的 Vue composable 封装 | | `packages/material` | 物料组件包 | @@ -61,7 +58,7 @@ flowchart LR ## 快速开始 -**环境要求**:Node ≥ 22.13,pnpm 10(`corepack enable` 即可)。 +**环境要求**:Node ≥ 22.13,pnpm 10(`corepack enable` 即可),Docker(用来起带 pgvector 的 PostgreSQL)。 ```bash git clone https://github.com/Onweekendd/ScreenWright.git @@ -72,17 +69,18 @@ pnpm install ### 1. 配置 Agent 服务 ```bash +docker compose -f docker-compose.dev.yml up -d # PostgreSQL + pgvector → localhost:5432 cp servers/server/.env.example servers/server/.env ``` -按角色填模型配置:`REASONING_MODEL_*`(推理)、`VISION_MODEL_*`(视觉)、`EMBEDDING_MODEL_*`(嵌入),均按 OpenAI 兼容端点处理;也可以全部留空,启动后在「设置」页填。其余保持默认即走本地 SQLite + 本地文件存储。 +按角色填模型配置:`REASONING_MODEL_*`(推理)、`VISION_MODEL_*`(视觉)、`EMBEDDING_MODEL_*`(嵌入),均按 OpenAI 兼容端点处理;也可以全部留空,启动后在「设置」页填。其余保持默认即走本地 PostgreSQL + 本地文件存储。生产环境必须设置 `JWT_SECRET`(见 `.env.example`)。 初始化数据库: ```bash pnpm --dir servers/server exec dotenvx run -- prisma migrate deploy # 建表 pnpm --dir servers/server run seed-modules # 组件库 -pnpm --dir servers/server run seed-bi-user # 默认账号 admin / admin123 +pnpm --dir servers/server run seed-bi-user # 初始超管 admin(开发环境口令 admin123;生产用 SEED_ADMIN_PASSWORD 指定) pnpm --dir servers/server run seed-embeddings -- --reset # 组件 RAG 向量(可选) ``` @@ -93,31 +91,55 @@ pnpm server:dev # Agent 服务 → http://localhost:4111 pnpm dev # 编辑器 → http://localhost:5173 ``` -打开编辑器,进入任意大屏,右侧 **AgentBI** 面板即可开始对话。 +打开编辑器并登录,进入任意大屏,右侧 **AgentBI** 面板即可开始对话。 + +### 进程角色与任务队列 + +后端同一份代码、同一个镜像,用环境变量 `ROLE` 决定进程职责: + +| ROLE | 职责 | 备注 | +|---|---|---| +| `all`(默认) | 以下全部跑在一个进程里 | 本地开发用,`pnpm server:dev` | +| `api` | 登录鉴权、大屏 / 图层 / 数据源等业务接口、素材 blob、终端控制 WebSocket | 不加载 Mastra | +| `ai` | 对话(bi-chat SSE)、Mastra agent / workflow、artifact 沙箱预览 | 单副本,按 threadId 粘性路由 | +| `worker` | 消费 BullMQ 队列里的长任务(目前是生图),不监听 HTTP | 必须配 `REDIS_URL` | + +配了 `REDIS_URL`(本地:`docker compose -f docker-compose.dev.yml up -d redis`,端口 6380)后,生图等长任务走队列、由 worker 进程执行;没配则在当前进程内直接执行。分开部署时,由网关 / ingress 把 `/customApi/*`、`/api/*`、`/artifact-apps/*` 转给 ai,其余转给 api;api、ai、worker 共用同一个 PostgreSQL、同一个 `JWT_SECRET`,多进程使用 fs 存储时还需共享 `BLOB_STORAGE_DIR`(或改用 MinIO)。 -### 3. 桌面端(可选) +### 3. 容器部署(docker compose) ```bash -pnpm desktop # 开发模式(Tauri 拉起前端 + 后端) -pnpm desktop:package # 构建 sidecar 并打包安装程序 +cp .env.compose.example .env # 至少填 POSTGRES_PASSWORD、JWT_SECRET、MINIO_ROOT_PASSWORD +docker compose up -d --build # 首次构建需要几分钟 +docker compose logs migrate # 没设 SEED_ADMIN_PASSWORD 时,随机生成的管理员口令在这里 ``` -详见 [apps/desktop/README.md](apps/desktop/README.md)。 +打开 `http://localhost:8080`(`HTTP_PORT` 可改),用 `admin` 和上面的口令登录。国内网络构建慢的话,在 `.env` 里设 `NPM_REGISTRY=https://registry.npmmirror.com`。 + +编排里有 7 个服务: + +| 服务 | 说明 | +|---|---| +| `web` | nginx:托管编辑器静态文件,并按路径分流——`/customApi`、`/api`、`/artifact-apps` → ai;`/user`、`/bi-system`、`/online`、`/blobs` → api;`/screenwright/` → MinIO | +| `api` / `ai` / `worker` | 同一个后端镜像,按 `ROLE` 起三种进程(见上一节)。ai 单副本 | +| `migrate` | 一次性任务:建表、导入组件库、创建超管;跑完 api / ai / worker 才启动,可重复执行 | +| `postgres` / `redis` / `minio` | 数据库(pgvector)、任务队列、素材库;`minio-init` 负责建桶并设为公开读 | + +数据都在命名卷里(`pg_data`、`redis_data`、`minio_data`、`ai_workspace`),`docker compose down` 不会删,`down -v` 才会。对外用域名 / HTTPS 时把 `PUBLIC_ORIGIN` 改成对应地址(素材直链用它拼接),TLS 在 web 前面再加一层反向代理终结即可。 --- ## 技术栈 -Vue 3 · TypeScript · Vite · Mastra Agent · Hono · Prisma · SQLite · Tauri 2 · pnpm workspace / Turborepo +Vue 3 · TypeScript · Vite · Mastra Agent · Hono · Prisma · PostgreSQL · pnpm workspace / Turborepo --- ## Roadmap -- **图片转大屏**(自研,替代目前对 Codia 的依赖) +- **图片转大屏**(自研:主模型看效果图写设计蓝图 → 批量准备素材 → 组装) - 截图 / 参考图 → 版面区域切分与层级识别 - 区域内容 → 组件类型与配置的还原(图表类型、文本、指标卡等) - - 和现有 Figma 链路共用同一套语义布局 Agent,而不是另起一条路径 - **文档 / 图片 / 视频向量化** - 先覆盖 PDF、常见图片格式,视频先从关键帧和字幕入手 diff --git a/apps/agent-trace/README.md b/apps/agent-trace/README.md index e215bc4c..f0ef73b8 100644 --- a/apps/agent-trace/README.md +++ b/apps/agent-trace/README.md @@ -1,3 +1,32 @@ +# Agent Trace + +LLM 往返与评估结果的查看器,读取后端 `/customApi/llm-exchanges` 与 `/customApi/evals`。 + +## 连接后端 + +后端接口需要登录,agent-trace 在 Next 服务端用环境变量里的账号自动登录(令牌缓存在进程内,过期自动重登)。 +在本目录新建 `.env.local`(已被 .gitignore 忽略): + +```bash +FUNAI_USERNAME=admin +FUNAI_PASSWORD=你的管理员口令 +# 后端地址,默认 http://localhost:4111 +# FUNAI_API_BASE=http://localhost:4111 +``` + +改完 `.env.local` 需要重启 `pnpm dev`。 + +## 端口被占用 + +`pnpm dev` 默认监听 3000。如果浏览器打开 `localhost:3000` 是空白页,先确认没有别的进程抢了 `127.0.0.1:3000` +(例如 WSL 里的服务经 wslrelay 转发到 Windows),换个端口即可: + +```bash +pnpm dev -p 3100 +``` + +--- + This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). ## Getting Started diff --git a/apps/agent-trace/next.config.ts b/apps/agent-trace/next.config.ts index ffcf56f9..41195e45 100644 --- a/apps/agent-trace/next.config.ts +++ b/apps/agent-trace/next.config.ts @@ -10,6 +10,10 @@ const nextConfig: NextConfig = { outputFileTracingRoot: path.join(__dirname, "../.."), turbopack: { root: path.join(__dirname, "../..") + }, + // 会话记录已经是首页:保留旧地址的跳转,老书签 / 外部链接(带 ?thread=... 等参数)仍然可用 + async redirects() { + return [{ source: "/sessions", destination: "/", permanent: false }]; } }; diff --git a/apps/agent-trace/src/app/(dashboard)/sessions/data.ts b/apps/agent-trace/src/app/(dashboard)/data.ts similarity index 100% rename from apps/agent-trace/src/app/(dashboard)/sessions/data.ts rename to apps/agent-trace/src/app/(dashboard)/data.ts diff --git a/apps/agent-trace/src/app/(dashboard)/evals/page.tsx b/apps/agent-trace/src/app/(dashboard)/evals/page.tsx index 99b2ce1d..c91fada8 100644 --- a/apps/agent-trace/src/app/(dashboard)/evals/page.tsx +++ b/apps/agent-trace/src/app/(dashboard)/evals/page.tsx @@ -10,7 +10,7 @@ export const dynamic = "force-dynamic"; * eval 结果页。 * * 数据源是 Screenwright 的 `eval_runs` / `eval_cases`,由 `evals/harness/persist.ts` 在每场 eval 收尾时 - * 写入。点某个 case 的「看对话」跳到 /sessions——那边读的是同一批录制的 llm_exchange_records, + * 写入。点某个 case 的「看对话」跳到会话记录首页(/)——那边读的是同一批录制的 llm_exchange_records, * 靠 threadId 串起来。 */ export default async function EvalsPage({ searchParams }: { searchParams: Promise<{ run?: string }> }) { diff --git a/apps/agent-trace/src/app/(dashboard)/page.tsx b/apps/agent-trace/src/app/(dashboard)/page.tsx index 2fb9a12f..c8fe5757 100644 --- a/apps/agent-trace/src/app/(dashboard)/page.tsx +++ b/apps/agent-trace/src/app/(dashboard)/page.tsx @@ -1,3 +1,128 @@ -export default function HomePage() { - return null; +import type { LlmExchangeRecord, ParsedLlmExchangeContent, ThreadFileTree } from "@screenwright/server/rpc"; + +import { SessionsView } from "@/components/sessions/sessions-view"; + +import { + allStepObjectKeys, + buildFullToolResults, + fetchObjectContent, + fetchThreadRecords, + fetchThreads, + fetchThreadTree, + findTurn, + isClearedResultContent, + latestTurnName, + resolveObjectLabel, + type ThreadsPage +} from "./data"; + +export const dynamic = "force-dynamic"; + +export default async function SessionsPage({ + searchParams +}: { + searchParams: Promise<{ thread?: string; turn?: string; object?: string; evalRun?: string }>; +}) { + const { thread: threadParam, turn: turnParam, object: objectParam, evalRun: evalRunParam } = await searchParams; + + let threads: ThreadsPage | null = null; + let error: string | null = null; + + try { + // 带 evalRun 就切到那一批 eval 的会话域——eval 的 thread 不在真实会话列表里, + // 不切的话左侧没有它的列表项,也就没有文件树可点(只剩右侧一段对话)。 + threads = await fetchThreads(1, 100, evalRunParam); + } catch (err) { + error = err instanceof Error ? err.message : "加载会话列表失败,请确认 Screenwright 已启动"; + } + + // 选中的会话:优先取 URL,其次回退到列表首项。 + const selectedThreadId = threadParam ?? threads?.items[0]?.threadId ?? null; + + let tree: ThreadFileTree | null = null; + let records: LlmExchangeRecord[] = []; + if (selectedThreadId) { + // records 是无条件拉的:执行泳道要靠每行的 branchKey / step / token 画, + // 而泳道在会话级视图(没有 turn / object 参数)下同样要显示。一次 findMany,行数=step 数。 + const [treeResult, recordsResult] = await Promise.allSettled([ + fetchThreadTree(selectedThreadId), + fetchThreadRecords(selectedThreadId) + ]); + if (treeResult.status === "fulfilled") { + tree = treeResult.value; + } + if (recordsResult.status === "fulfilled") { + records = recordsResult.value; + } + } + + // 视图模式: + // - object 指定 → 单步原始视图(调试用)。 + // - turn 指定 → 整轮合并对话视图。 + // - 两者均未指定 → 会话级选中,使用最新 step 重建完整对话。 + const singleStepMode = Boolean(objectParam); + const usageScope = singleStepMode ? "step" : turnParam ? "turn" : "thread"; + const selectedTurn = singleStepMode ? null : (turnParam ?? latestTurnName(tree)); + + let parsedContent: ParsedLlmExchangeContent | null = null; + let rawContent: unknown = null; + let transcript: ParsedLlmExchangeContent | null = null; + let resultOverrides: Record = {}; + let selectedLabel = ""; + + if (singleStepMode && objectParam) { + // 单步原始视图:按 objectKey 拉取该 step 文件内容(忠实还原该次请求,压缩即压缩)。 + selectedLabel = resolveObjectLabel(selectedThreadId ?? "", tree, objectParam); + try { + const data = await fetchObjectContent(objectParam); + parsedContent = data.parsed; + rawContent = data.content; + } catch (err) { + rawContent = err instanceof Error ? err.message : "加载 MinIO 内容失败"; + } + } else if (selectedTurn) { + // 合并对话视图:以该轮最后一个 step 为骨架(其 messages 已是整轮完整历史)。 + const stepKeys = allStepObjectKeys(findTurn(tree, selectedTurn)); + if (stepKeys.length > 0) { + selectedLabel = + usageScope === "thread" + ? `${selectedThreadId ?? ""} · 完整对话` + : `${selectedThreadId ?? ""} / ${selectedTurn} · 合并对话`; + try { + const data = await fetchObjectContent(stepKeys[stepKeys.length - 1]); + transcript = data.parsed; + // 对话级视图要显示完整工具结构:末 step 若含被 compaction 清除的旧结果, + // 从更早 step 还原未压缩原文(无压缩则跳过,省去全量拉取)。 + const hasCleared = transcript.messages.some( + (message) => message.role === "tool" && isClearedResultContent(message.content) + ); + if (hasCleared && stepKeys.length > 1) { + resultOverrides = await buildFullToolResults(stepKeys.slice(0, -1)); + } + } catch { + // 该轮内容加载失败:视图展示空态提示,不阻塞列表。 + } + } + } else if (selectedThreadId) { + selectedLabel = selectedThreadId; + } + + return ( + + ); } diff --git a/apps/agent-trace/src/app/(dashboard)/sessions/page.tsx b/apps/agent-trace/src/app/(dashboard)/sessions/page.tsx deleted file mode 100644 index c8fe5757..00000000 --- a/apps/agent-trace/src/app/(dashboard)/sessions/page.tsx +++ /dev/null @@ -1,128 +0,0 @@ -import type { LlmExchangeRecord, ParsedLlmExchangeContent, ThreadFileTree } from "@screenwright/server/rpc"; - -import { SessionsView } from "@/components/sessions/sessions-view"; - -import { - allStepObjectKeys, - buildFullToolResults, - fetchObjectContent, - fetchThreadRecords, - fetchThreads, - fetchThreadTree, - findTurn, - isClearedResultContent, - latestTurnName, - resolveObjectLabel, - type ThreadsPage -} from "./data"; - -export const dynamic = "force-dynamic"; - -export default async function SessionsPage({ - searchParams -}: { - searchParams: Promise<{ thread?: string; turn?: string; object?: string; evalRun?: string }>; -}) { - const { thread: threadParam, turn: turnParam, object: objectParam, evalRun: evalRunParam } = await searchParams; - - let threads: ThreadsPage | null = null; - let error: string | null = null; - - try { - // 带 evalRun 就切到那一批 eval 的会话域——eval 的 thread 不在真实会话列表里, - // 不切的话左侧没有它的列表项,也就没有文件树可点(只剩右侧一段对话)。 - threads = await fetchThreads(1, 100, evalRunParam); - } catch (err) { - error = err instanceof Error ? err.message : "加载会话列表失败,请确认 Screenwright 已启动"; - } - - // 选中的会话:优先取 URL,其次回退到列表首项。 - const selectedThreadId = threadParam ?? threads?.items[0]?.threadId ?? null; - - let tree: ThreadFileTree | null = null; - let records: LlmExchangeRecord[] = []; - if (selectedThreadId) { - // records 是无条件拉的:执行泳道要靠每行的 branchKey / step / token 画, - // 而泳道在会话级视图(没有 turn / object 参数)下同样要显示。一次 findMany,行数=step 数。 - const [treeResult, recordsResult] = await Promise.allSettled([ - fetchThreadTree(selectedThreadId), - fetchThreadRecords(selectedThreadId) - ]); - if (treeResult.status === "fulfilled") { - tree = treeResult.value; - } - if (recordsResult.status === "fulfilled") { - records = recordsResult.value; - } - } - - // 视图模式: - // - object 指定 → 单步原始视图(调试用)。 - // - turn 指定 → 整轮合并对话视图。 - // - 两者均未指定 → 会话级选中,使用最新 step 重建完整对话。 - const singleStepMode = Boolean(objectParam); - const usageScope = singleStepMode ? "step" : turnParam ? "turn" : "thread"; - const selectedTurn = singleStepMode ? null : (turnParam ?? latestTurnName(tree)); - - let parsedContent: ParsedLlmExchangeContent | null = null; - let rawContent: unknown = null; - let transcript: ParsedLlmExchangeContent | null = null; - let resultOverrides: Record = {}; - let selectedLabel = ""; - - if (singleStepMode && objectParam) { - // 单步原始视图:按 objectKey 拉取该 step 文件内容(忠实还原该次请求,压缩即压缩)。 - selectedLabel = resolveObjectLabel(selectedThreadId ?? "", tree, objectParam); - try { - const data = await fetchObjectContent(objectParam); - parsedContent = data.parsed; - rawContent = data.content; - } catch (err) { - rawContent = err instanceof Error ? err.message : "加载 MinIO 内容失败"; - } - } else if (selectedTurn) { - // 合并对话视图:以该轮最后一个 step 为骨架(其 messages 已是整轮完整历史)。 - const stepKeys = allStepObjectKeys(findTurn(tree, selectedTurn)); - if (stepKeys.length > 0) { - selectedLabel = - usageScope === "thread" - ? `${selectedThreadId ?? ""} · 完整对话` - : `${selectedThreadId ?? ""} / ${selectedTurn} · 合并对话`; - try { - const data = await fetchObjectContent(stepKeys[stepKeys.length - 1]); - transcript = data.parsed; - // 对话级视图要显示完整工具结构:末 step 若含被 compaction 清除的旧结果, - // 从更早 step 还原未压缩原文(无压缩则跳过,省去全量拉取)。 - const hasCleared = transcript.messages.some( - (message) => message.role === "tool" && isClearedResultContent(message.content) - ); - if (hasCleared && stepKeys.length > 1) { - resultOverrides = await buildFullToolResults(stepKeys.slice(0, -1)); - } - } catch { - // 该轮内容加载失败:视图展示空态提示,不阻塞列表。 - } - } - } else if (selectedThreadId) { - selectedLabel = selectedThreadId; - } - - return ( - - ); -} diff --git a/apps/agent-trace/src/components/evals/evals-view.tsx b/apps/agent-trace/src/components/evals/evals-view.tsx index 30d7a7f1..51a0d1b2 100644 --- a/apps/agent-trace/src/components/evals/evals-view.tsx +++ b/apps/agent-trace/src/components/evals/evals-view.tsx @@ -212,7 +212,7 @@ function CaseRow({ result, runId }: { result: EvalCaseResult; runId: string }) { {formatTokenCount(result.totalTokens)} tok {result.threadId && ( 看对话 diff --git a/apps/agent-trace/src/components/sessions/sessions-view.tsx b/apps/agent-trace/src/components/sessions/sessions-view.tsx index 3dd0b7e8..5ab5ebf9 100644 --- a/apps/agent-trace/src/components/sessions/sessions-view.tsx +++ b/apps/agent-trace/src/components/sessions/sessions-view.tsx @@ -161,7 +161,7 @@ export function SessionsView({ 评估批次的会话 {evalRunId} - + ← 回到真实用户会话 diff --git a/apps/agent-trace/src/config/navigation.ts b/apps/agent-trace/src/config/navigation.ts index 24e663c1..ff373b49 100644 --- a/apps/agent-trace/src/config/navigation.ts +++ b/apps/agent-trace/src/config/navigation.ts @@ -1,4 +1,4 @@ -import { FlaskConical, LayoutDashboard, type LucideIcon, MessageSquare, Wrench } from "lucide-react"; +import { FlaskConical, type LucideIcon, MessageSquare, Wrench } from "lucide-react"; export interface NavItem { title: string; @@ -8,14 +8,9 @@ export interface NavItem { } export const mainNavItems: NavItem[] = [ - { - title: "首页", - href: "/", - icon: LayoutDashboard - }, { title: "会话记录", - href: "/sessions", + href: "/", icon: MessageSquare }, { @@ -26,8 +21,7 @@ export const mainNavItems: NavItem[] = [ ]; export const breadcrumbMap: Record = { - "/": "首页", - "/sessions": "会话记录", + "/": "会话记录", "/evals": "评估结果" }; diff --git a/apps/agent-trace/src/lib/funai-session.ts b/apps/agent-trace/src/lib/funai-session.ts new file mode 100644 index 00000000..49957543 --- /dev/null +++ b/apps/agent-trace/src/lib/funai-session.ts @@ -0,0 +1,62 @@ +/** + * agent-trace 访问后端的登录态。 + * + * 后端的 /customApi/* 都要登录,而 agent-trace 是在 Next 服务端直接调接口,没有浏览器里的登录页, + * 所以用环境变量里的账号自动登录,令牌缓存在进程内存里;令牌过期(后端回 401)时重新登录并重试一次。 + * + * 需要在 apps/agent-trace/.env.local 里配置: + * FUNAI_USERNAME=admin + * FUNAI_PASSWORD=... + */ + +const apiBase = () => process.env.FUNAI_API_BASE ?? "http://localhost:4111"; + +let cachedToken: string | undefined; +let loginInFlight: Promise | undefined; + +async function login(): Promise { + const username = process.env.FUNAI_USERNAME; + const password = process.env.FUNAI_PASSWORD; + if (!username || !password) { + throw new Error("agent-trace 需要登录后端:请在 apps/agent-trace/.env.local 配置 FUNAI_USERNAME 和 FUNAI_PASSWORD"); + } + const res = await fetch(`${apiBase()}/user/login`, { + method: "POST", + headers: { "Content-Type": "application/json" }, + body: JSON.stringify({ username, password }), + cache: "no-store" + }); + if (!res.ok) { + throw new Error(`登录后端失败 (${res.status}),请检查 FUNAI_USERNAME / FUNAI_PASSWORD 与 FUNAI_API_BASE`); + } + const json = (await res.json()) as { result?: { token?: string } }; + const token = json.result?.token; + if (!token) { + throw new Error("登录后端成功但没有拿到令牌"); + } + return token; +} + +/** 取令牌;并发请求共用同一次登录,避免页面一次发多个请求时重复登录 */ +export function getToken(forceRefresh = false): Promise { + if (!forceRefresh && cachedToken) { + return Promise.resolve(cachedToken); + } + loginInFlight ??= login() + .then((token) => (cachedToken = token)) + .finally(() => { + loginInFlight = undefined; + }); + return loginInFlight; +} + +/** 带令牌的 fetch:401 时视为令牌过期,重新登录后重试一次 */ +export const authedFetch: typeof fetch = async (input, init) => { + const send = async (forceRefresh: boolean) => { + const headers = new Headers(init?.headers); + headers.set("X-Access-Token", await getToken(forceRefresh)); + return fetch(input, { ...init, headers }); + }; + const res = await send(false); + return res.status === 401 ? send(true) : res; +}; diff --git a/apps/agent-trace/src/lib/server-rpc.ts b/apps/agent-trace/src/lib/server-rpc.ts index 0bc1bdc2..9591a884 100644 --- a/apps/agent-trace/src/lib/server-rpc.ts +++ b/apps/agent-trace/src/lib/server-rpc.ts @@ -1,6 +1,8 @@ import type { ApiClient } from "@screenwright/server/rpc"; import { hc } from "hono/client"; +import { authedFetch } from "./funai-session"; + import "server-only"; /** @@ -11,8 +13,10 @@ const serverApiBase = process.env.FUNAI_API_BASE ?? "http://localhost:4111"; /** * 复用 servers/server 导出的 hono RPC 客户端类型(`Screenwright/rpc`),不再在前端重复手写请求。 * + * 后端要求登录:请求统一经 authedFetch 带上令牌(账号见 funai-session.ts)。 + * * 直接实例化 `hc(base)` 并断言为 Screenwright 的 `apiClient` 类型: * 运行时只依赖 `hono/client`,类型来自 Screenwright 预构建的 `dist/rpcClient.d.ts`, * 避免在 Next 侧重新推导 `hc` 的深层递归类型(会拖慢/拖垮 tsc)。 */ -export const serverRpc = hc(serverApiBase) as unknown as ApiClient; +export const serverRpc = hc(serverApiBase, { fetch: authedFetch }) as unknown as ApiClient; diff --git a/apps/app/.env.desktop b/apps/app/.env.desktop deleted file mode 100644 index c4ad2bb6..00000000 --- a/apps/app/.env.desktop +++ /dev/null @@ -1,19 +0,0 @@ -# 桌面端(Tauri 外壳)构建 / 联调环境 -# 阶段 A:后端 + PG + MinIO 仍由 docker-compose / 本地 pnpm server:dev 提供, -# 这里只把前端的接口地址统一指向本机 funAI(4111)。 -VITE_NODE_ENV=production -# Tauri 从 tauri://localhost 加载,必须走根路径 -VITE_PUBLIC_PATH=/ -# 系统接口(/user、/bi-system 回落路由,均由本机 funAI 提供) -VITE_API_BASE_URL=http://127.0.0.1:4111 -VITE_API_BASE_URL_CITY= -# minio 素材库(docker-compose 里映射到 9002) -VITE_MINIO_BASE_URL=http://127.0.0.1:9002/ -VITE_MINIO_DEFAULT_PREFIX=version-test/ -VITE_RESOURCE_BASE_URL=http://127.0.0.1:4111 -VITE_SOCKET_IO_URL= -VITE_DOCUMENT_URL= -VITE_WEBSITE_ORDER= -VITE_WEBSITE_HOME= -# Mastra / Agent 接口 -VITE_FUNAI_API_URL=http://127.0.0.1:4111 diff --git a/apps/app/.env.production b/apps/app/.env.production new file mode 100644 index 00000000..7dcaf654 --- /dev/null +++ b/apps/app/.env.production @@ -0,0 +1,10 @@ +# 生产构建(容器部署):前端与后端同域,由网关(nginx)按路径分流。 +# 下面几个地址留空 = 同源,浏览器直接用当前页面的域名访问后端。 +VITE_NODE_ENV=production +VITE_PUBLIC_PATH=/ +VITE_API_BASE_URL= +VITE_FUNAI_API_URL= +VITE_RESOURCE_BASE_URL= +# 素材库(MinIO)经网关同域转发:// +VITE_MINIO_BASE_URL=/screenwright/ +VITE_MINIO_DEFAULT_PREFIX= diff --git a/apps/app/package.json b/apps/app/package.json index 468b465c..c13aaafd 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -6,9 +6,7 @@ "type": "module", "scripts": { "dev": "vite --mode development", - "dev:desktop": "vite --mode desktop --port 5173 --strictPort", "build": "pnpm build:lib && pnpm build:fontFace && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build", - "build:desktop": "pnpm build:lib && pnpm build:fontFace && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode desktop", "build:stage": "pnpm build:lib && pnpm build:fontFace && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode staging", "build:prod": "pnpm build:lib && pnpm build:fontFace && cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build", "preview:stage": "pnpm build:stage && vite preview", @@ -39,8 +37,6 @@ "@js-preview/pdf": "^2.0.10", "@kjgl77/datav-vue3": "^1.7.4", "@mastra/client-js": "1.45.0", - "@tauri-apps/api": "^2.11.1", - "@tauri-apps/plugin-dialog": "^2.4.1", "@tinymce/tinymce-vue": "^6.1.0", "@vue/compiler-sfc": "^3.5.16", "@vue/shared": "3.5.21", @@ -93,7 +89,6 @@ "tinymce": "^5.10.2", "vue": "3.5.21", "vue-router": "4.2.2", - "vue3-sketch-ruler": "^1.3.3", "vuedraggable": "^4.1.0", "zod": "^4.1.13" }, diff --git a/apps/app/public/img/rect-tech-panel.png b/apps/app/public/img/rect-tech-panel.png new file mode 100644 index 00000000..e1c3e60f Binary files /dev/null and b/apps/app/public/img/rect-tech-panel.png differ diff --git a/apps/app/public/img/scrollTable.70b511f1.png b/apps/app/public/img/scrollTable.70b511f1.png index f179fc9f..4b28bd81 100644 Binary files a/apps/app/public/img/scrollTable.70b511f1.png and b/apps/app/public/img/scrollTable.70b511f1.png differ diff --git a/apps/app/public/lib/sdk/hooks.bundled.d.ts b/apps/app/public/lib/sdk/hooks.bundled.d.ts index 6db42890..348ecafe 100644 --- a/apps/app/public/lib/sdk/hooks.bundled.d.ts +++ b/apps/app/public/lib/sdk/hooks.bundled.d.ts @@ -2,6 +2,52 @@ // ─── @screenwright/types 内联类型定义 (由 scripts/bundle-sdk-types.mjs 自动生成) ─── +/** + * 原子组件(swtext / swimg)旧数据升级为当前 schema 的兼容层。 + * + * 这不是维护"另一个组件类型":swtext/swimg 的 schema 已经原地替换成新的 CSS 词汇版本, + * 这里的函数只是把历史上已经存进数据库/大屏 JSON 的旧形状数据,在读取时转换成当前 schema + * 能识别的形状。纯函数、幂等,不依赖 Vue/DOM,前后端可共用。 + * + * 判断"是不是旧格式"用的是方案文档 §8.1 的方案 B:检测当前 schema 里已经不存在的旧字段名。 + * 两边 schema 都是 `.strict()` 且基本不重叠字段名,误判风险低。 + * + * 注:@screenwright/core 依赖 @screenwright/types(反向依赖),这里不能 import core 里的 + * lineargradientHandle,渐变字符串拼接在本文件内自成一套最小实现。 + */ +declare const isLegacySwTextOption: (option: Record | null | undefined) => boolean; +/** + * 把旧格式 swtext option 升级为当前 schema。对已经是当前格式(或空)的输入是恒等函数。 + * + * 实现上以 `{...src}` 打底而不是从空对象重建:option 上完全可能同时混着"已经是新格式的字段" + * 和"一个孤立的旧字段"(比如状态动画系统往一个已迁移的组件上直接写了一个旧的 rotateX), + * 从空对象重建会把前者一起丢掉;打底之后只删掉已经被消费/改名的旧字段,其它字段原样保留。 + * + * 未能明确映射的字段(跑马灯换算公式、clickFormatter、textAnimation*)按文档 TBD 处理: + * 不静默丢弃,原样透传到返回对象上。 + */ +declare const upgradeSwTextOption: (option: Record | null | undefined) => Record; +declare const isLegacySwimgOption: (option: Record | null | undefined) => boolean; +/** + * 把旧格式 swimg option 升级为当前 schema。对已经是当前格式(或空)的输入是恒等函数。 + * 以 `{...src}` 打底而不是从空对象重建,原因同 upgradeSwTextOption:避免一个孤立的旧字段 + * (如状态动画系统直接写入的 rotateX)把已经是新格式的其它字段一起冲掉。 + */ +declare const upgradeSwimgOption: (option: Record | null | undefined) => Record; +interface UpgradableComponent { + component: { + prop: string; + }; + option?: Record | null; +} +/** + * 按组件 prop 分发到对应的升级函数。当前只覆盖 swtext / swimg; + * swimgBorder 的合并已从本次范围移除,保持独立、不做处理。 + */ +declare function upgradeComponentOption(c: T): T; + + + import { z } from 'zod'; import { ActiveAnimationList, Animation, AnimationDirection, AnimationInfo, AnimationItem, AnimationType } from '../types'; import { ComponentAnimationConfig, ComponentSettingItem, StatusAnimationMapping, StatusAnimationResponse, TimingFunctionType } from '../types/animation'; @@ -70,7 +116,6 @@ declare const ComponentFlatSchema: z.ZodObject<{ echartbothWayStripBar: import("..").BarEchartEnum.echartbothWayStripBar; echartlineAndBar: import("..").BarEchartEnum.echartlineAndBar; echartpictorialbar: import("..").BarEchartEnum.echartpictorialbar; - echartrank: import("..").BarEchartEnum.echartrank; echartbar: import("..").BarEchartEnum.echartbar; }>, z.ZodEnum<{ echartareaLine: import("..").LineEchartEnum.echartareaLine; @@ -86,21 +131,7 @@ declare const ComponentFlatSchema: z.ZodObject<{ echartloopRingPie: import("..").PieEchartEnum.echartloopRingPie; echartpluralRosePie: import("..").PieEchartEnum.echartpluralRosePie; echartthreePie: import("..").PieEchartEnum.echartthreePie; - }>, z.ZodEnum<{ - echartzebra2: import("..").ProjectEchartEnum.echartzebra2; - echartdoubleValueLine: import("..").ProjectEchartEnum.echartdoubleValueLine; - echartgrowthRateBar: import("..").ProjectEchartEnum.echartgrowthRateBar; - echarteffectScatter: import("..").ProjectEchartEnum.echarteffectScatter; - echartoverlapBar: import("..").ProjectEchartEnum.echartoverlapBar; - echartzebraBarAndLine: import("..").ProjectEchartEnum.echartzebraBarAndLine; - echartthreedBarAndLine: import("..").ProjectEchartEnum.echartthreedBarAndLine; - echartzebra: import("..").ProjectEchartEnum.echartzebra; - echartthreedBar: import("..").ProjectEchartEnum.echartthreedBar; - echartscalePie: import("..").ProjectEchartEnum.echartscalePie; - echartmultiplyRankBar: import("..").ProjectEchartEnum.echartmultiplyRankBar; - echartrankBar: import("..").ProjectEchartEnum.echartrankBar; - echartthreeQuartersPie: import("..").ProjectEchartEnum.echartthreeQuartersPie; - echartthinBar: import("..").ProjectEchartEnum.echartthinBar; + echartthreeQuartersPie: import("..").PieEchartEnum.echartthreeQuartersPie; }>, z.ZodEnum<{ echartring: import("..").RingEchartEnum.echartring; }>, z.ZodEnum<{ @@ -118,6 +149,7 @@ declare const ComponentFlatSchema: z.ZodObject<{ swimg: import("..").MediaEnum.SwImg; "sw-open-video": import("..").MediaEnum.SwOpenVideo; swimgBorder: import("..").MediaEnum.SwImgBorder; + swBox: import("..").MediaEnum.SwBox; swswiper: import("..").MediaEnum.SwSwiper; swSwiperV3: import("..").MediaEnum.SwSwiperV3; swvideo: import("..").MediaEnum.SwVideo; @@ -140,7 +172,6 @@ declare const ComponentFlatSchema: z.ZodObject<{ fullScreenSwitch: import("..").ExtendsEnum.FullScreenSwitch; pageReload: import("..").ExtendsEnum.PageReload; "simple-particle": import("..").ExtendsEnum.SimpleParticle; - "simple-barrage": import("..").ExtendsEnum.SimpleBarrage; "sw-dataContainer": import("..").ExtendsEnum.SwDataContainer; "sw-weather": import("..").ExtendsEnum.SwWeather; "sw-mask-layer": import("..").ExtendsEnum.SwMaskLayer; @@ -216,7 +247,7 @@ declare const ComponentFlatSchema: z.ZodObject<{ left: z.ZodNumber; top: z.ZodNumber; isLock: z.ZodOptional; - zIndex: z.ZodNumber; + zIndex: z.ZodString; display: z.ZodBoolean; option: z.ZodOptional; data: z.ZodOptional; @@ -1180,156 +1211,6 @@ declare const echartbothWayStripBarOptionSchema: z.ZodObject<{ }, z.core.$strip>; type echartbothWayStripBarOption = z.infer; -import { z } from 'zod'; -declare const echartdoubleValueLineDataSchema: z.ZodArray>; -}, z.core.$strip>>; -type echartdoubleValueLineData = z.infer; -/** - * 特殊型折线图配置选项 Schema - */ -declare const echartdoubleValueLineOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - xAxisLabelUtil: z.ZodString; - yAxisLabelUtil: z.ZodString; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; -}, z.core.$strip>; -type echartdoubleValueLineOption = z.infer; - -import { z } from 'zod'; -declare const echarteffectScatterDataSchema: z.ZodArray>; -type echarteffectScatterData = z.infer; -/** - * Top10气泡图配置选项 Schema - */ -declare const echarteffectScatterOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - borderWidth: z.ZodNumber; - borderColor: z.ZodString; - rippleEffectNumber: z.ZodNumber; - rippleEffectPeriod: z.ZodNumber; - rippleEffectScale: z.ZodNumber; - rippleEffectBrushType: z.ZodEnum<{ - fill: "fill"; - stroke: "stroke"; - }>; - points: z.ZodArray; - seriesList: z.ZodArray; - seriesLabelTopShow: z.ZodBoolean; - seriesLabelTopFontFamily: z.ZodString; - seriesLabelTopFontSize: z.ZodNumber; - seriesLabelTopColor: z.ZodString; - seriesLabelTopFontStyle: z.ZodString; - seriesLabelTopFontWeight: z.ZodString; - seriesLabelNameShow: z.ZodBoolean; - seriesLabelNameFontFamily: z.ZodString; - seriesLabelNameFontSize: z.ZodNumber; - seriesLabelNameColor: z.ZodString; - seriesLabelNameFontStyle: z.ZodString; - seriesLabelNameFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - }, z.core.$strip>>; -}, z.core.$strip>; -type echarteffectScatterOption = z.infer; - import { z } from 'zod'; declare const echartfunnelDataSchema: z.ZodArray; type echartgraphOption = z.infer; -import { z } from 'zod'; -declare const echartgrowthRateBarDataSchema: z.ZodArray>; -type echartgrowthRateBarData = z.infer; -/** - * 增长率柱状图配置选项 Schema - */ -declare const echartgrowthRateBarOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; - seriesColor: z.ZodArray; - borderColor: z.ZodArray; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - yAxisLabelHover: z.ZodArray; - yAxisLabelHoverColor: z.ZodArray; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodString; - xAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodBoolean; - xAxisName: z.ZodString; - xAxisNameFontFamily: z.ZodString; - xAxisNameFontSize: z.ZodNumber; - xAxisNameColor: z.ZodString; - xAxisNameFontStyle: z.ZodString; - xAxisNameFontWeight: z.ZodString; - xAxisNamePaddingTop: z.ZodNumber; - xAxisNamePaddingBottom: z.ZodNumber; - xAxisNamePaddingLeft: z.ZodNumber; - xAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; -}, z.core.$strip>; -type echartgrowthRateBarOption = z.infer; - import { z } from 'zod'; declare const echartlineDataSchema: z.ZodArray; import { z } from 'zod'; -declare const echartmultiplyRankBarDataSchema: z.ZodArray>; -type echartmultiplyRankBarData = z.infer; +type echartpictorialbarData = z.infer; /** - * 总数排名图配置选项 Schema + * 象形图配置选项 Schema */ -declare const echartmultiplyRankBarOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesWidth: z.ZodNumber; - intervalColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodOptional>; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - valueShow: z.ZodBoolean; - valueFontFamily: z.ZodString; - valueFontSize: z.ZodNumber; - valueColor: z.ZodString; - valueFontStyle: z.ZodString; - valueFontWeight: z.ZodString; - valueOffSetX: z.ZodNumber; - valueOffSetY: z.ZodNumber; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; -}, z.core.$strip>; -type echartmultiplyRankBarOption = z.infer; - -import { z } from 'zod'; -declare const echartoverlapBarDataSchema: z.ZodArray>; -type echartoverlapBarData = z.infer; -/** - * 堆叠占比图配置选项 Schema - */ -declare const echartoverlapBarOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - seriesWidth: z.ZodArray; - seriesTabsName: z.ZodArray; - barBodyColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - barBodyOpacity: z.ZodArray; - barBorderColor: z.ZodString; - borderWidth: z.ZodNumber; - valueShow: z.ZodArray; - valueFontFamily: z.ZodArray; - valueFontSize: z.ZodArray; - valueColor: z.ZodArray; - valueFontStyle: z.ZodArray; - valueFontWeight: z.ZodArray; - valueOffSetX: z.ZodArray; - valueOffSetY: z.ZodArray; - splitLineFontSize: z.ZodNumber; - splitLineColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - yAxisLabelShow: z.ZodOptional; - yAxisFontFamily: z.ZodOptional; - yAxisFontSize: z.ZodOptional; - yAxisColor: z.ZodOptional; - yAxisFontStyle: z.ZodOptional; - yAxisFontWeight: z.ZodOptional; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - intervalColor: z.ZodString; -}, z.core.$strip>; -type echartoverlapBarOption = z.infer; - -import { z } from 'zod'; -declare const echartpictorialbarDataSchema: z.ZodArray>; -type echartpictorialbarData = z.infer; -/** - * 象形图配置选项 Schema - */ -declare const echartpictorialbarOptionSchema: z.ZodObject<{ +declare const echartpictorialbarOptionSchema: z.ZodObject<{ refresh: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; @@ -2829,199 +2461,6 @@ declare const echartradarOptionSchema: z.ZodObject<{ }, z.core.$strip>; type echartradarOption = z.infer; -import { z } from 'zod'; -declare const echartrankDataSchema: z.ZodArray>; -type echartrankData = z.infer; -/** - * 排名图配置选项 Schema - */ -declare const echartrankOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - stack: z.ZodBoolean; - seriesTabsName: z.ZodArray; - sortType: z.ZodEnum<{ - none: "none"; - asc: "asc"; - desc: "desc"; - }>; - defaultSeriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - defaultSeriesOpacity: z.ZodNumber; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - barGap: z.ZodNumber; - barCategoryGap: z.ZodNumber; - barBorderRadius: z.ZodString; - barBackgroundColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - seriesLabelSuffix: z.ZodString; - defaultSeriesLabelBackground: z.ZodString; - seriesLabelBackground: z.ZodArray; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodString; - xAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodBoolean; - xAxisName: z.ZodString; - xAxisNameFontFamily: z.ZodString; - xAxisNameFontSize: z.ZodNumber; - xAxisNameColor: z.ZodString; - xAxisNameFontStyle: z.ZodString; - xAxisNameFontWeight: z.ZodString; - xAxisNameGap: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - dataZoomShow: z.ZodBoolean; - moveHandleSize: z.ZodNumber; - moveHandleColor: z.ZodString; - moveHandleEmphasisColor: z.ZodString; - dataZoomRight: z.ZodNumber; -}, z.core.$strip>; -type echartrankOption = z.infer; - -import { z } from 'zod'; -declare const echartrankBarDataSchema: z.ZodArray>; -type echartrankBarData = z.infer; -/** - * 排名图配置选项 Schema - */ -declare const echartrankBarOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - seriesWidth: z.ZodNumber; - intervalColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - valueShow: z.ZodBoolean; - valueFontFamily: z.ZodString; - valueFontSize: z.ZodNumber; - valueColor: z.ZodString; - valueFontStyle: z.ZodString; - valueFontWeight: z.ZodString; - valueOffSetX: z.ZodNumber; - valueOffSetY: z.ZodNumber; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; -}, z.core.$strip>; -type echartrankBarOption = z.infer; - import { z } from 'zod'; declare const echartsankeyDataSchema: z.ZodArray; import { z } from 'zod'; -declare const echartscalePieDataSchema: z.ZodArray>; -type echartscalePieData = z.infer; +type echartscatterData = z.infer; /** - * 刻度饼图配置选项 Schema + * 散点图配置选项 Schema */ -declare const echartscalePieOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - seriesOpacity: z.ZodArray; - pieCenterX: z.ZodNumber; - pieCenterY: z.ZodNumber; - pieRadiusMax: z.ZodNumber; - pieRadiusMin: z.ZodNumber; - gaugeShow: z.ZodBoolean; - gaugeRadius: z.ZodNumber; - gaugeLength: z.ZodNumber; - gaugeCenterX: z.ZodNumber; - gaugeCenterY: z.ZodNumber; - gaugeColor: z.ZodString; - seriesLabelShow: z.ZodBoolean; - seriesDistanceToLabelLine: z.ZodNumber; - seriesLabelLineLength: z.ZodNumber; - seriesLabelSeriesShow: z.ZodBoolean; - seriesLabelSeriesFontFamily: z.ZodString; - seriesLabelSeriesFontSize: z.ZodNumber; - seriesLabelSeriesColor: z.ZodString; - seriesLabelSeriesFontStyle: z.ZodString; - seriesLabelSeriesFontWeight: z.ZodString; - seriesLabelPercentShow: z.ZodBoolean; - seriesLabelPercentValue: z.ZodNumber; - seriesLabelPercentFontFamily: z.ZodString; - seriesLabelPercentFontSize: z.ZodNumber; - seriesLabelPercentColor: z.ZodString; - seriesLabelPercentFontStyle: z.ZodString; - seriesLabelPercentFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelUnit: z.ZodString; - seriesLabelUnitFontSize: z.ZodNumber; - seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueLeftPadding: z.ZodNumber; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - legendShow: z.ZodBoolean; - legendItemWidthAndHeight: z.ZodNumber; - legendTextLeftPadding: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; -}, z.core.$strip>; -type echartscalePieOption = z.infer; - -import { z } from 'zod'; -declare const echartscatterDataSchema: z.ZodArray>; -type echartscatterData = z.infer; -/** - * 散点图配置选项 Schema - */ -declare const echartscatterOptionSchema: z.ZodObject<{ +declare const echartscatterOptionSchema: z.ZodObject<{ refresh: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; @@ -3579,15 +2930,15 @@ declare const echartstripBarOptionSchema: z.ZodObject<{ type echartstripBarOption = z.infer; import { z } from 'zod'; -declare const echartthinBarDataSchema: z.ZodArray>; -type echartthinBarData = z.infer; +type echartthreePieData = z.infer; /** - * 细长柱状图配置选项 Schema + * 3D饼图配置选项 Schema */ -declare const echartthinBarOptionSchema: z.ZodObject<{ +declare const echartthreePieOptionSchema: z.ZodObject<{ refresh: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; @@ -3595,1436 +2946,612 @@ declare const echartthinBarOptionSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodString; }, z.core.$strip>>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; + seriesLeft: z.ZodNumber; + seriesTop: z.ZodNumber; + seriesRight: z.ZodNumber; + seriesBottom: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesDistanceToLabelLine: z.ZodNumber; + seriesLabelLineLength: z.ZodNumber; + seriesLabelOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + radial: "radial"; + }>; + seriesLabelSeriesShow: z.ZodBoolean; + seriesLabelSeriesFontFamily: z.ZodString; + seriesLabelSeriesFontSize: z.ZodNumber; + seriesLabelSeriesColor: z.ZodString; + seriesLabelSeriesFontStyle: z.ZodString; + seriesLabelSeriesFontWeight: z.ZodString; + seriesLabelPercentShow: z.ZodBoolean; + seriesLabelPercentValue: z.ZodNumber; + seriesLabelPercentFontFamily: z.ZodString; + seriesLabelPercentFontSize: z.ZodNumber; + seriesLabelPercentColor: z.ZodString; + seriesLabelPercentFontStyle: z.ZodString; + seriesLabelPercentFontWeight: z.ZodString; + seriesLabelValueShow: z.ZodBoolean; + seriesLabelUnit: z.ZodString; + seriesLabelUnitFontSize: z.ZodNumber; + seriesLabelUnitLeftPadding: z.ZodNumber; + seriesLabelValueLeftPadding: z.ZodNumber; + seriesLabelValueFontFamily: z.ZodString; + seriesLabelValueFontSize: z.ZodNumber; + seriesLabelValueColor: z.ZodString; + seriesLabelValueFontStyle: z.ZodString; + seriesLabelValueFontWeight: z.ZodString; + legendShow: z.ZodBoolean; + legendOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + desc: "desc"; + }>; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; + legendTextLeftPadding: z.ZodNumber; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + legendWidth: z.ZodNumber; + legendHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodOptional>; + bottom: z.ZodOptional>; + right: z.ZodOptional>; }, z.core.$strip>; - hoverColor: z.ZodObject<{ + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendSeriesWidthType: z.ZodString; + legendSeriesWidth: z.ZodOptional; + pieRadiusOuter: z.ZodNumber; + pieRoseType: z.ZodBoolean; + pieRadiusInner: z.ZodNumber; + pieStartAngle: z.ZodNumber; + pieClockwise: z.ZodBoolean; + itemBorderWidth: z.ZodNumber; + itemBorderColor: z.ZodString; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + seriesColor: z.ZodArray; + size: z.ZodNumber; + distance: z.ZodNumber; + boxHeight: z.ZodNumber; + autoRotate: z.ZodBoolean; + projection: z.ZodEnum<{ + orthographic: "orthographic"; + perspective: "perspective"; + }>; + autoRotateSpeed: z.ZodNumber; + viewControlX: z.ZodNumber; + viewControlY: z.ZodNumber; + viewControlZ: z.ZodNumber; + alpha: z.ZodNumber; + beta: z.ZodNumber; +}, z.core.$strip>; +type echartthreePieOption = z.infer; + +import { z } from 'zod'; +declare const echartthreeQuartersPieDataSchema: z.ZodArray>; +type echartthreeQuartersPieData = z.infer; +/** + * 环形饼图配置选项 Schema + */ +declare const echartthreeQuartersPieOptionSchema: z.ZodObject<{ + refresh: z.ZodBoolean; + pieRadiusOuter: z.ZodNumber; + dataSeriesName: z.ZodArray; + seriesName: z.ZodArray; + seriesTabsName: z.ZodArray>; + seriesColor: z.ZodArray>; angle: z.ZodUnion; colors: z.ZodOptional>>; - }, z.core.$strip>; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; + }, z.core.$strip>>; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + seriesOpacity: z.ZodArray; + seriesOffsetX: z.ZodNumber; + seriesOffsetY: z.ZodNumber; + seriesRemainColor: z.ZodString; + seriesBottomColor: z.ZodString; + seriesLabelShow: z.ZodBoolean; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelColor: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelFontWeight: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; + legendShow: z.ZodBoolean; + legendItemWidthHeight: z.ZodNumber; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; + legendItemGap: z.ZodNumber; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendUnderlineShow: z.ZodBoolean; + legendUnderlineWidth: z.ZodNumber; + legendUnderlineInterval: z.ZodNumber; + legendUnderlineOffsetX: z.ZodNumber; + legendUnderlineOffsetY: z.ZodNumber; }, z.core.$strip>; -type echartthinBarOption = z.infer; +type echartthreeQuartersPieOption = z.infer; import { z } from 'zod'; -declare const echartthreedBarDataSchema: z.ZodArray; - value: z.ZodNumber; -}, z.core.$strip>>; -type echartthreedBarData = z.infer; +declare const echarttreemapDataSchema: z.ZodArray; +}, unknown, z.core.$ZodTypeInternals<{ + name: string; + value: number; + children?: Array<{ + name: string; + value: number; + children?: any; + }>; +}, unknown>>>; +type echarttreemapData = z.infer; /** - * 3D柱状图配置选项 Schema + * 矩形树图配置选项 Schema */ -declare const echartthreedBarOptionSchema: z.ZodObject<{ +declare const echarttreemapOptionSchema: z.ZodObject<{ refresh: z.ZodBoolean; dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>]>; - seriesTopColor: z.ZodString; - seriesBottomColor: z.ZodString; - hoverColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>]>; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + seriesTabsName: z.ZodArray; + seriesColor: z.ZodArray; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesBorderColor: z.ZodString; + seriesBorderWidth: z.ZodNumber; + seriesChildBorderColor: z.ZodString; + seriesChildBorderWidth: z.ZodNumber; }, z.core.$strip>; -type echartthreedBarOption = z.infer; +type echarttreemapOption = z.infer; import { z } from 'zod'; -declare const echartthreedBarAndLineDataSchema: z.ZodArray>; -type echartthreedBarAndLineData = z.infer; /** - * 3D柱状折线图配置选项 Schema + * 图表类组件的系列匹配检查——跨 `data`/`option` 两个独立 schema,任何一个 per-prop schema + * 单独看都看不到,所以不写进某一个具体图表的 option schema 里,而是作为通用规则,在 + * `data`/`option` 合并成同一个 schema 后用 `.superRefine(seriesAlignmentSuperRefine)` 挂上去。 + * + * 20 余个 echart 组件(EchartlineAndBar/Echartbar/EchartRadar/Echartpie...)的渲染代码都是 + * 同一套写法:先从 `data[].seriesName` 收集出实际存在的系列名,再用 `option.dataSeriesName[i]` + * 逐个去 `indexOf` 匹配、取到下标后才去读 `seriesType[i]`/`seriesBarColor[i]` 等一整批样式数组 + * (`option.dataUnitName` 配 tooltip 单位是同一个模式)。 + * + * 配不上(字符串不完全相等,大小写/多余空格都算不等)不会报错——`indexOf` 返回 -1 直接跳过, + * 那个系列的样式/单位悄悄留空;渲染时要么退回硬编码默认色,要么因为 `seriesType[idx]` 是 + * undefined,既不等于 "bar" 也不等于 "line",被 `list.filter(item => item)` 整个过滤掉—— + * agent 对此毫无感知。`option.seriesType` 数组长度还会反过来截断 data 里的系列数 + * (`optionData.splice(seriesType.length)`),数组短了,多出来的系列直接被砍掉不渲染。 + * + * 字段名(`data[].seriesName` / `option.dataSeriesName` / `option.seriesType` / + * `option.dataUnitName`)是这批组件共享的约定,不属于任何一个组件独有,因此这里做纯运行时的 + * 鸭子类型检查,而不依赖某个具体组件的 data/option 类型。 + */ +declare function seriesAlignmentSuperRefine(val: { + data?: unknown; + option?: Record; +}, ctx: z.RefinementCtx): void; + +import { z } from 'zod'; +/** + * 全屏切换 (fullScreenSwitch) + * 扩展 + * + * ## 数据结构 + * 无数据字段(data为空数组) */ -declare const echartthreedBarAndLineOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - seriesTopColor: z.ZodString; - seriesBottomColor: z.ZodString; - seriesHoverColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - seriesHoverOpacity: z.ZodNumber; - seriesHoverTopColor: z.ZodString; - seriesHoverBottomColor: z.ZodString; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - seriesLineColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>]>; - seriesLineOpacity: z.ZodUnion]>; - seriesLineWidth: z.ZodUnion]>; - seriesSmoothShow: z.ZodUnion]>; - seriesSmooth: z.ZodUnion]>; - seriesConnectNulls: z.ZodOptional]>>; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodUnion]>; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodUnion]>; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodOptional; - yAxisMax: z.ZodOptional; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodUnion]>; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodUnion]>; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodUnion]>; - xAxisColor: z.ZodString; - yAxisColor: z.ZodUnion]>; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodUnion]>; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodUnion]>; - yAxisNameShow: z.ZodOptional; - yAxisName: z.ZodOptional; - yAxisNameFontFamily: z.ZodOptional; - yAxisNameFontSize: z.ZodOptional; - yAxisNameColor: z.ZodOptional; - yAxisNameFontStyle: z.ZodOptional; - yAxisNameFontWeight: z.ZodOptional; - yAxisNamePaddingTop: z.ZodOptional; - yAxisNamePaddingBottom: z.ZodOptional; - yAxisNamePaddingLeft: z.ZodOptional; - yAxisNamePaddingRight: z.ZodOptional; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodUnion]>; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodUnion]>; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodUnion]>; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodUnion]>; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodUnion]>; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodUnion]>; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodUnion]>; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodUnion]>; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodUnion]>; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodUnion]>; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodUnion]>; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodUnion]>; - tooltipFixed: z.ZodNumber; +declare const fullScreenSwitchDataSchema: z.ZodArray; +type fullScreenSwitchData = z.infer; +declare const fullScreenSwitchOptionSchema: z.ZodObject<{ + fullScreenImg: z.ZodString; + unFullScreenImg: z.ZodString; }, z.core.$strip>; -type echartthreedBarAndLineOption = z.infer; +type fullScreenSwitchOption = z.infer; import { z } from 'zod'; -declare const echartthreePieDataSchema: z.ZodArray>; -type echartthreePieData = z.infer; /** - * 3D饼图配置选项 Schema + * 页面刷新 (pageReload) + * 扩展 + * + * ## 数据结构 + * 无数据字段(data为空数组) */ -declare const echartthreePieOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesLeft: z.ZodNumber; - seriesTop: z.ZodNumber; - seriesRight: z.ZodNumber; - seriesBottom: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesDistanceToLabelLine: z.ZodNumber; - seriesLabelLineLength: z.ZodNumber; - seriesLabelOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - radial: "radial"; - }>; - seriesLabelSeriesShow: z.ZodBoolean; - seriesLabelSeriesFontFamily: z.ZodString; - seriesLabelSeriesFontSize: z.ZodNumber; - seriesLabelSeriesColor: z.ZodString; - seriesLabelSeriesFontStyle: z.ZodString; - seriesLabelSeriesFontWeight: z.ZodString; - seriesLabelPercentShow: z.ZodBoolean; - seriesLabelPercentValue: z.ZodNumber; - seriesLabelPercentFontFamily: z.ZodString; - seriesLabelPercentFontSize: z.ZodNumber; - seriesLabelPercentColor: z.ZodString; - seriesLabelPercentFontStyle: z.ZodString; - seriesLabelPercentFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelUnit: z.ZodString; - seriesLabelUnitFontSize: z.ZodNumber; - seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueLeftPadding: z.ZodNumber; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - legendShow: z.ZodBoolean; - legendOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - desc: "desc"; - }>; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendTextLeftPadding: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendSeriesWidthType: z.ZodString; - legendSeriesWidth: z.ZodOptional; - pieRadiusOuter: z.ZodNumber; - pieRoseType: z.ZodBoolean; - pieRadiusInner: z.ZodNumber; - pieStartAngle: z.ZodNumber; - pieClockwise: z.ZodBoolean; - itemBorderWidth: z.ZodNumber; - itemBorderColor: z.ZodString; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesColor: z.ZodArray; - size: z.ZodNumber; - distance: z.ZodNumber; - boxHeight: z.ZodNumber; - autoRotate: z.ZodBoolean; - projection: z.ZodEnum<{ - orthographic: "orthographic"; - perspective: "perspective"; - }>; - autoRotateSpeed: z.ZodNumber; - viewControlX: z.ZodNumber; - viewControlY: z.ZodNumber; - viewControlZ: z.ZodNumber; - alpha: z.ZodNumber; - beta: z.ZodNumber; +declare const pageReloadDataSchema: z.ZodArray; +type pageReloadData = z.infer; +declare const pageReloadOptionSchema: z.ZodObject<{ + icon: z.ZodString; + iconHeight: z.ZodNumber; + iconWidth: z.ZodNumber; + opacity: z.ZodNumber; + pageReloadType: z.ZodString; + pageReloadTypeClick: z.ZodString; }, z.core.$strip>; -type echartthreePieOption = z.infer; +type pageReloadOption = z.infer; import { z } from 'zod'; -declare const echartthreeQuartersPieDataSchema: z.ZodArray>; -type echartthreeQuartersPieData = z.infer; /** - * 环形饼图配置选项 Schema + * 上升粒子 (simple-particle) + * 扩展 + * + * ## 数据结构 + * 无数据字段(data为空数组) */ -declare const echartthreeQuartersPieOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - pieRadiusOuter: z.ZodNumber; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; +type simpleParticleData = z.infer; +declare const simpleParticleOptionSchema: z.ZodObject<{ + size: z.ZodNumber; + number: z.ZodNumber; + direction: z.ZodString; + speed: z.ZodNumber; + colorList: z.ZodArray>; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesOpacity: z.ZodArray; - seriesOffsetX: z.ZodNumber; - seriesOffsetY: z.ZodNumber; - seriesRemainColor: z.ZodString; - seriesBottomColor: z.ZodString; - seriesLabelShow: z.ZodBoolean; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelColor: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelFontWeight: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - legendShow: z.ZodBoolean; - legendItemWidthHeight: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendItemGap: z.ZodNumber; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendUnderlineShow: z.ZodBoolean; - legendUnderlineWidth: z.ZodNumber; - legendUnderlineInterval: z.ZodNumber; - legendUnderlineOffsetX: z.ZodNumber; - legendUnderlineOffsetY: z.ZodNumber; }, z.core.$strip>; -type echartthreeQuartersPieOption = z.infer; +type simpleParticleOption = z.infer; import { z } from 'zod'; -declare const echarttreemapDataSchema: z.ZodArray; -}, unknown, z.core.$ZodTypeInternals<{ - name: string; - value: number; - children?: Array<{ - name: string; - value: number; - children?: any; - }>; -}, unknown>>>; -type echarttreemapData = z.infer; /** - * 矩形树图配置选项 Schema + * 闪点组件 (simpleStar) + * 扩展 + * + * ## 数据结构 + * 无数据字段(data为空数组) */ -declare const echarttreemapOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesTabsName: z.ZodArray; - seriesColor: z.ZodArray; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesBorderColor: z.ZodString; - seriesBorderWidth: z.ZodNumber; - seriesChildBorderColor: z.ZodString; - seriesChildBorderWidth: z.ZodNumber; +declare const simpleStarDataSchema: z.ZodArray; +type simpleStarData = z.infer; +declare const simpleStarOptionSchema: z.ZodObject<{ + color: z.ZodString; + dotNum: z.ZodNumber; + radio: z.ZodNumber; }, z.core.$strip>; -type echarttreemapOption = z.infer; +type simpleStarOption = z.infer; import { z } from 'zod'; -declare const echartzebraDataSchema: z.ZodArray>; -type echartzebraData = z.infer; -/** - * 斑马柱状图配置选项 Schema - */ -declare const echartzebraOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - hoverColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - intervalColor: z.ZodString; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisLabelLimit: z.ZodBoolean; - xAxisLabelLimitNum: z.ZodNumber; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; +type ftDataContainerData = z.infer; +declare const swDataContainerOptionSchema: z.ZodObject<{ + text: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontStyle: z.ZodString; + fontWeight: z.ZodString; + backgroundColor: z.ZodString; }, z.core.$strip>; -type echartzebraOption = z.infer; +type ftDataContainerOption = z.infer; import { z } from 'zod'; -declare const echartzebra2DataSchema: z.ZodArray>; -type echartzebra2Data = z.infer; -/** - * 斑马柱状图2配置选项 Schema - */ -declare const echartzebra2OptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - stack: z.ZodBoolean; - barWidth: z.ZodNumber; - barCategoryGap: z.ZodNumber; - barBlockItemHeight: z.ZodNumber; - barBlockItemInterval: z.ZodNumber; - barBlockItemRadio: z.ZodNumber; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - extremeShow: z.ZodArray; - extremeType: z.ZodArray>; - xAxisSplitLineType: z.ZodString; - yAxisSplitLineType: z.ZodString; - extremeColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - extremeOpacity: z.ZodArray; - extremeColorpicker: z.ZodArray; - markLineDataType: z.ZodArray; - markLineData: z.ZodArray; - markLineSymbolStart: z.ZodArray; - markLineSymbolStartImage: z.ZodArray; - markLineSymbolEnd: z.ZodArray; - markLineSymbolEndImage: z.ZodArray; - markLineSymbolWidth: z.ZodArray; - markLineSymbolHeight: z.ZodArray; - markLineLabelShow: z.ZodArray; - markLineLabelPosition: z.ZodArray; - markLineLabelDistance: z.ZodArray; - markLineLabelCustom: z.ZodArray; - markLineLabelFontFamily: z.ZodArray; - markLineLabelFontStyle: z.ZodArray; - markLineLabelFontSize: z.ZodArray; - markLineLabelColor: z.ZodArray; - markLineLabelFontWeight: z.ZodArray; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; +type ftDigitalHumanData = z.infer; +declare const swDigitalHumanOptionSchema: z.ZodObject<{ + autoPlay: z.ZodBoolean; + loopBack: z.ZodBoolean; + autoHide: z.ZodBoolean; + showQrcode: z.ZodBoolean; + showCaptions: z.ZodBoolean; + showMsgInput: z.ZodBoolean; + currentSession: z.ZodBoolean; + welcome: z.ZodString; + defaultImage: z.ZodString; + defaultVideo: z.ZodString; + humanType: z.ZodString; + aiChatShow: z.ZodBoolean; + aiChatAct: z.ZodString; + aiChatInt: z.ZodString; + aiChatModel: z.ZodString; + aiChatWidth: z.ZodNumber; + aiChatHeight: z.ZodNumber; + aiChatBottom: z.ZodNumber; + aiChatLeft: z.ZodNumber; + aiChatCompWidth: z.ZodNumber; + aiChatCompHeight: z.ZodNumber; + acFontFamily: z.ZodString; + acFontSize: z.ZodNumber; + acFontColor: z.ZodString; + borderRadius: z.ZodNumber; + backgroundType: z.ZodString; + backgroundColor: z.ZodString; + backgroundImage: z.ZodString; + voiceImg: z.ZodString; + voiceStartImg: z.ZodString; + renderHumanUrl: z.ZodString; + sendMsgUrl: z.ZodString; + instructionCodeSet: z.ZodArray; + compositeOption: z.ZodObject<{ + seriesId: z.ZodUnknown; + name: z.ZodString; + image: z.ZodString; + clothes: z.ZodUnknown; + motion: z.ZodNumber; + voice: z.ZodNumber; + rate: z.ZodNumber; + pitch: z.ZodNumber; + volume: z.ZodNumber; + type: z.ZodString; + actions: z.ZodArray>; + knowledgeBase: z.ZodBoolean; + knowledgeBaseName: z.ZodString; + knowledgeBaseFile: z.ZodString; + knowledgeBaseData: z.ZodArray>; + userId: z.ZodUnknown; + emotion: z.ZodNumber; + captions: z.ZodBoolean; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + fontColor: z.ZodString; + fontWeight: z.ZodBoolean; + fontStyle: z.ZodBoolean; + textTranslateX: z.ZodNumber; + textTranslateY: z.ZodNumber; + }, z.core.$strip>; + compositeList: z.ZodArray; + sendQrcodeX: z.ZodNumber; + sendQrcodeY: z.ZodNumber; + sendQrcodeSize: z.ZodNumber; + sendCaptionsStaleTimer: z.ZodNumber; + sendInputX: z.ZodNumber; + sendInputY: z.ZodNumber; + sendInputFontFamily: z.ZodString; + sendInputFontSize: z.ZodNumber; + sendInputFontColor: z.ZodString; + sendInputAskTitle: z.ZodString; + sendInputAskWords: z.ZodString; + sendQrcodeUrl: z.ZodString; + sendDialogX: z.ZodNumber; + sendDialogY: z.ZodNumber; + sendDialogW: z.ZodNumber; + sendDialogH: z.ZodNumber; + sendDialogBgImage: z.ZodString; + sendDialogBgColor: z.ZodString; + sendDialogBgType: z.ZodString; + sendDialogFontFamily: z.ZodString; + sendDialogFontSize: z.ZodNumber; + sendDialogFontColor: z.ZodString; + sendDialogFontBgColorL: z.ZodString; + sendDialogFontBgColorR: z.ZodString; + sendDialogHeadBgImageL: z.ZodString; + sendDialogHeadBgImageR: z.ZodString; + analysisDialogWidth: z.ZodNumber; + analysisDialogHeight: z.ZodNumber; + analysisDialogMoveX: z.ZodNumber; + analysisDialogMoveY: z.ZodNumber; + analysisDialogBgType: z.ZodString; + analysisDialogBgImage: z.ZodString; + analysisDialogBgColor: z.ZodString; + analysisFontFamily: z.ZodString; + analysisFontSize: z.ZodNumber; + analysisFontColor: z.ZodString; + wakeWord: z.ZodString; + asrUrl: z.ZodString; + asrType: z.ZodString; + baiduASRAppid: z.ZodUnknown; + baiduASRAppKey: z.ZodString; + baiduASRUrl: z.ZodString; + showAnalysis: z.ZodBoolean; }, z.core.$strip>; -type echartzebra2Option = z.infer; +type ftDigitalHumanOption = z.infer; import { z } from 'zod'; -declare const echartzebraBarAndLineDataSchema: z.ZodArray>; -type echartzebraBarAndLineData = z.infer; -/** - * 斑马柱状折线图配置选项 Schema - */ -declare const echartzebraBarAndLineOptionSchema: z.ZodObject<{ +type ftMaskLayerData = z.infer; +declare const swMaskLayerOptionSchema: z.ZodObject<{ + linearGradient: z.ZodObject<{ + markColor: z.ZodString; + markPosition: z.ZodNumber; + markRadius: z.ZodNumber; + markOpacity: z.ZodNumber; + }, z.core.$strip>; + radioactiveGradation: z.ZodObject<{ + markColor: z.ZodString; + markOpacityRadius: z.ZodNumber; + markOpacity: z.ZodNumber; + markUnOpacityRadius: z.ZodNumber; + showLengthWidthRatio: z.ZodBoolean; + lengthWidthRatio: z.ZodNumber; + }, z.core.$strip>; + markType: z.ZodString; + pointerEvents: z.ZodBoolean; refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesType: z.ZodArray>; - seriesWidth: z.ZodArray; - seriesBarColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>; - seriesBarOpacity: z.ZodArray; - intervalColor: z.ZodArray; - seriesLineColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>; - seriesLineOpacity: z.ZodArray; - seriesLineWidth: z.ZodArray; - seriesSmoothShow: z.ZodArray; - seriesSmooth: z.ZodArray; - seriesConnectNulls: z.ZodArray; - seriesSymbolShow: z.ZodArray; - seriesSymbol: z.ZodArray; - seriesSymbolImage: z.ZodArray; - seriesSymbolWidth: z.ZodArray; - seriesSymbolHeight: z.ZodArray; - seriesItemColor: z.ZodArray; - seriesItemBorderWidth: z.ZodArray; - seriesItemBorderColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - seriesAreaOpacity: z.ZodOptional>; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodOptional; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodOptional; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodOptional; - yAxisMax: z.ZodOptional; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodOptional; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodOptional; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodOptional; - xAxisColor: z.ZodString; - yAxisColor: z.ZodOptional; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodOptional; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodOptional; - yAxisNameShow: z.ZodOptional; - yAxisName: z.ZodOptional; - yAxisNameFontFamily: z.ZodOptional; - yAxisNameFontSize: z.ZodOptional; - yAxisNameColor: z.ZodOptional; - yAxisNameFontStyle: z.ZodOptional; - yAxisNameFontWeight: z.ZodOptional; - yAxisNamePaddingTop: z.ZodOptional; - yAxisNamePaddingBottom: z.ZodOptional; - yAxisNamePaddingLeft: z.ZodOptional; - yAxisNamePaddingRight: z.ZodOptional; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodOptional; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodOptional; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodOptional; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodOptional; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodOptional; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodOptional; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodOptional; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodOptional; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodOptional; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodOptional; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodOptional; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; -}, z.core.$strip>; -type echartzebraBarAndLineOption = z.infer; - -import { z } from 'zod'; -/** - * 全屏切换 (fullScreenSwitch) - * 扩展 - * - * ## 数据结构 - * 无数据字段(data为空数组) - */ -declare const fullScreenSwitchDataSchema: z.ZodArray; -type fullScreenSwitchData = z.infer; -declare const fullScreenSwitchOptionSchema: z.ZodObject<{ - fullScreenImg: z.ZodString; - unFullScreenImg: z.ZodString; -}, z.core.$strip>; -type fullScreenSwitchOption = z.infer; - -import { z } from 'zod'; -/** - * 页面刷新 (pageReload) - * 扩展 - * - * ## 数据结构 - * 无数据字段(data为空数组) - */ -declare const pageReloadDataSchema: z.ZodArray; -type pageReloadData = z.infer; -declare const pageReloadOptionSchema: z.ZodObject<{ - icon: z.ZodString; - iconHeight: z.ZodNumber; - iconWidth: z.ZodNumber; - opacity: z.ZodNumber; - pageReloadType: z.ZodString; - pageReloadTypeClick: z.ZodString; + backdropFilter: z.ZodBoolean; + backdropFilterBlur: z.ZodNumber; + backdropFilterSaturate: z.ZodNumber; }, z.core.$strip>; -type pageReloadOption = z.infer; +type ftMaskLayerOption = z.infer; import { z } from 'zod'; -declare const simpleBarrageDataSchema: z.ZodArray>; -type simpleBarrageData = z.infer; -declare const simpleBarrageOptionSchema: z.ZodObject<{ - imageWidth: z.ZodNumber; - imageHeight: z.ZodNumber; - imageMinHeight: z.ZodNumber; - imageMaxHeight: z.ZodNumber; - imageObjectFit: z.ZodString; - scale: z.ZodNumber; - importType: z.ZodString; - importConfig: z.ZodObject<{ - apiUrl: z.ZodString; - method: z.ZodString; - body: z.ZodArray; - headers: z.ZodArray; - }, z.core.$strip>; - loop: z.ZodBoolean; - lineNum: z.ZodNumber; - isHover: z.ZodBoolean; - speed: z.ZodNumber; - stylesList: z.ZodArray; - }, z.core.$strip>>; +type ftUnrealEngineData = z.infer; +declare const swUnrealEngineOptionSchema: z.ZodObject<{ + muted: z.ZodBoolean; + initLoad: z.ZodBoolean; + id: z.ZodString; + url: z.ZodString; + publishPath: z.ZodString; + cover: z.ZodString; + version: z.ZodString; + sceneJsonPath: z.ZodString; + sceneList: z.ZodArray; + bluePrintOption: z.ZodArray; }, z.core.$strip>; -type simpleBarrageOption = z.infer; +type ftUnrealEngineOption = z.infer; import { z } from 'zod'; -/** - * 上升粒子 (simple-particle) - * 扩展 - * - * ## 数据结构 - * 无数据字段(data为空数组) - */ -declare const simpleParticleDataSchema: z.ZodArray; -type simpleParticleData = z.infer; -declare const simpleParticleOptionSchema: z.ZodObject<{ - size: z.ZodNumber; - number: z.ZodNumber; +declare const swWeatherDataSchema: z.ZodArray; + wind: z.ZodObject<{ + direction: z.ZodString; + level: z.ZodString; + }, z.core.$strip>; +}, z.core.$strip>>; +type ftWeatherData = z.infer; +declare const swWeatherOptionSchema: z.ZodObject<{ + weatherType: z.ZodString; + isIcon: z.ZodBoolean; + isWeather: z.ZodBoolean; + isTemperature: z.ZodBoolean; + isWind: z.ZodBoolean; direction: z.ZodString; - speed: z.ZodNumber; - colorList: z.ZodArray>; }, z.core.$strip>; -type simpleParticleOption = z.infer; +type ftWeatherOption = z.infer; import { z } from 'zod'; -/** - * 闪点组件 (simpleStar) - * 扩展 - * - * ## 数据结构 - * 无数据字段(data为空数组) - */ -declare const simpleStarDataSchema: z.ZodArray; -type simpleStarData = z.infer; -declare const simpleStarOptionSchema: z.ZodObject<{ - color: z.ZodString; - dotNum: z.ZodNumber; - radio: z.ZodNumber; +declare const uePeerStreamingDataSchema: z.ZodArray>; +type uePeerStreamingData = z.infer; +declare const uePeerStreamingOptionSchema: z.ZodObject<{ + muted: z.ZodBoolean; + initLoad: z.ZodBoolean; + pixelStreamingUrl: z.ZodString; + cover: z.ZodString; }, z.core.$strip>; -type simpleStarOption = z.infer; +type uePeerStreamingOption = z.infer; import { z } from 'zod'; -declare const swDataContainerDataSchema: z.ZodArray>; -type ftDataContainerData = z.infer; -declare const swDataContainerOptionSchema: z.ZodObject<{ +type uePixelStreamingData = z.infer; +declare const uePixelStreamingOptionSchema: z.ZodObject<{ + muted: z.ZodBoolean; + initLoad: z.ZodBoolean; + pixelStreamingUrl: z.ZodString; + cover: z.ZodString; +}, z.core.$strip>; +type uePixelStreamingOption = z.infer; + +import { z } from 'zod'; +declare const ueVesselDataSchema: z.ZodArray>; +type ueVesselData = z.infer; +declare const ueVesselOptionSchema: z.ZodObject<{ + msgName: z.ZodString; fontSize: z.ZodNumber; - color: z.ZodString; - fontStyle: z.ZodString; - fontWeight: z.ZodString; + fontWeight: z.ZodBoolean; + fontStyle: z.ZodBoolean; + fontFamily: z.ZodString; + fontColor: z.ZodString; backgroundColor: z.ZodString; }, z.core.$strip>; -type ftDataContainerOption = z.infer; - -import { z } from 'zod'; -declare const swDigitalHumanDataSchema: z.ZodArray>; -type ftDigitalHumanData = z.infer; -declare const swDigitalHumanOptionSchema: z.ZodObject<{ - autoPlay: z.ZodBoolean; - loopBack: z.ZodBoolean; - autoHide: z.ZodBoolean; - showQrcode: z.ZodBoolean; - showCaptions: z.ZodBoolean; - showMsgInput: z.ZodBoolean; - currentSession: z.ZodBoolean; - welcome: z.ZodString; - defaultImage: z.ZodString; - defaultVideo: z.ZodString; - humanType: z.ZodString; - aiChatShow: z.ZodBoolean; - aiChatAct: z.ZodString; - aiChatInt: z.ZodString; - aiChatModel: z.ZodString; - aiChatWidth: z.ZodNumber; - aiChatHeight: z.ZodNumber; - aiChatBottom: z.ZodNumber; - aiChatLeft: z.ZodNumber; - aiChatCompWidth: z.ZodNumber; - aiChatCompHeight: z.ZodNumber; - acFontFamily: z.ZodString; - acFontSize: z.ZodNumber; - acFontColor: z.ZodString; - borderRadius: z.ZodNumber; - backgroundType: z.ZodString; - backgroundColor: z.ZodString; - backgroundImage: z.ZodString; - voiceImg: z.ZodString; - voiceStartImg: z.ZodString; - renderHumanUrl: z.ZodString; - sendMsgUrl: z.ZodString; - instructionCodeSet: z.ZodArray; - compositeOption: z.ZodObject<{ - seriesId: z.ZodUnknown; - name: z.ZodString; - image: z.ZodString; - clothes: z.ZodUnknown; - motion: z.ZodNumber; - voice: z.ZodNumber; - rate: z.ZodNumber; - pitch: z.ZodNumber; - volume: z.ZodNumber; - type: z.ZodString; - actions: z.ZodArray>; - knowledgeBase: z.ZodBoolean; - knowledgeBaseName: z.ZodString; - knowledgeBaseFile: z.ZodString; - knowledgeBaseData: z.ZodArray>; - userId: z.ZodUnknown; - emotion: z.ZodNumber; - captions: z.ZodBoolean; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - fontColor: z.ZodString; - fontWeight: z.ZodBoolean; - fontStyle: z.ZodBoolean; - textTranslateX: z.ZodNumber; - textTranslateY: z.ZodNumber; - }, z.core.$strip>; - compositeList: z.ZodArray; - sendQrcodeX: z.ZodNumber; - sendQrcodeY: z.ZodNumber; - sendQrcodeSize: z.ZodNumber; - sendCaptionsStaleTimer: z.ZodNumber; - sendInputX: z.ZodNumber; - sendInputY: z.ZodNumber; - sendInputFontFamily: z.ZodString; - sendInputFontSize: z.ZodNumber; - sendInputFontColor: z.ZodString; - sendInputAskTitle: z.ZodString; - sendInputAskWords: z.ZodString; - sendQrcodeUrl: z.ZodString; - sendDialogX: z.ZodNumber; - sendDialogY: z.ZodNumber; - sendDialogW: z.ZodNumber; - sendDialogH: z.ZodNumber; - sendDialogBgImage: z.ZodString; - sendDialogBgColor: z.ZodString; - sendDialogBgType: z.ZodString; - sendDialogFontFamily: z.ZodString; - sendDialogFontSize: z.ZodNumber; - sendDialogFontColor: z.ZodString; - sendDialogFontBgColorL: z.ZodString; - sendDialogFontBgColorR: z.ZodString; - sendDialogHeadBgImageL: z.ZodString; - sendDialogHeadBgImageR: z.ZodString; - analysisDialogWidth: z.ZodNumber; - analysisDialogHeight: z.ZodNumber; - analysisDialogMoveX: z.ZodNumber; - analysisDialogMoveY: z.ZodNumber; - analysisDialogBgType: z.ZodString; - analysisDialogBgImage: z.ZodString; - analysisDialogBgColor: z.ZodString; - analysisFontFamily: z.ZodString; - analysisFontSize: z.ZodNumber; - analysisFontColor: z.ZodString; - wakeWord: z.ZodString; - asrUrl: z.ZodString; - asrType: z.ZodString; - baiduASRAppid: z.ZodUnknown; - baiduASRAppKey: z.ZodString; - baiduASRUrl: z.ZodString; - showAnalysis: z.ZodBoolean; -}, z.core.$strip>; -type ftDigitalHumanOption = z.infer; - -import { z } from 'zod'; -declare const swMaskLayerDataSchema: z.ZodArray>; -type ftMaskLayerData = z.infer; -declare const swMaskLayerOptionSchema: z.ZodObject<{ - linearGradient: z.ZodObject<{ - markColor: z.ZodString; - markPosition: z.ZodNumber; - markRadius: z.ZodNumber; - markOpacity: z.ZodNumber; - }, z.core.$strip>; - radioactiveGradation: z.ZodObject<{ - markColor: z.ZodString; - markOpacityRadius: z.ZodNumber; - markOpacity: z.ZodNumber; - markUnOpacityRadius: z.ZodNumber; - showLengthWidthRatio: z.ZodBoolean; - lengthWidthRatio: z.ZodNumber; - }, z.core.$strip>; - markType: z.ZodString; - pointerEvents: z.ZodBoolean; - refresh: z.ZodBoolean; - backdropFilter: z.ZodBoolean; - backdropFilterBlur: z.ZodNumber; - backdropFilterSaturate: z.ZodNumber; -}, z.core.$strip>; -type ftMaskLayerOption = z.infer; - -import { z } from 'zod'; -declare const swUnrealEngineDataSchema: z.ZodArray>; -type ftUnrealEngineData = z.infer; -declare const swUnrealEngineOptionSchema: z.ZodObject<{ - muted: z.ZodBoolean; - initLoad: z.ZodBoolean; - id: z.ZodString; - url: z.ZodString; - publishPath: z.ZodString; - cover: z.ZodString; - version: z.ZodString; - sceneJsonPath: z.ZodString; - sceneList: z.ZodArray; - bluePrintOption: z.ZodArray; -}, z.core.$strip>; -type ftUnrealEngineOption = z.infer; - -import { z } from 'zod'; -declare const swWeatherDataSchema: z.ZodArray; - wind: z.ZodObject<{ - direction: z.ZodString; - level: z.ZodString; - }, z.core.$strip>; -}, z.core.$strip>>; -type ftWeatherData = z.infer; -declare const swWeatherOptionSchema: z.ZodObject<{ - weatherType: z.ZodString; - isIcon: z.ZodBoolean; - isWeather: z.ZodBoolean; - isTemperature: z.ZodBoolean; - isWind: z.ZodBoolean; - direction: z.ZodString; - fontSize: z.ZodNumber; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - fontFamily: z.ZodString; - fontColor: z.ZodString; - textTranslateX: z.ZodNumber; - textTranslateY: z.ZodNumber; - baseTime: z.ZodNumber; - currentCity: z.ZodUnknown; - iconWidth: z.ZodNumber; - iconHeight: z.ZodNumber; - connector: z.ZodString; - suffix: z.ZodString; - seriesTabsList: z.ZodArray>; -}, z.core.$strip>; -type ftWeatherOption = z.infer; - -import { z } from 'zod'; -declare const uePeerStreamingDataSchema: z.ZodArray>; -type uePeerStreamingData = z.infer; -declare const uePeerStreamingOptionSchema: z.ZodObject<{ - muted: z.ZodBoolean; - initLoad: z.ZodBoolean; - pixelStreamingUrl: z.ZodString; - cover: z.ZodString; -}, z.core.$strip>; -type uePeerStreamingOption = z.infer; - -import { z } from 'zod'; -declare const uePixelStreamingDataSchema: z.ZodArray>; -type uePixelStreamingData = z.infer; -declare const uePixelStreamingOptionSchema: z.ZodObject<{ - muted: z.ZodBoolean; - initLoad: z.ZodBoolean; - pixelStreamingUrl: z.ZodString; - cover: z.ZodString; -}, z.core.$strip>; -type uePixelStreamingOption = z.infer; - -import { z } from 'zod'; -declare const ueVesselDataSchema: z.ZodArray>; -type ueVesselData = z.infer; -declare const ueVesselOptionSchema: z.ZodObject<{ - msgName: z.ZodString; - fontSize: z.ZodNumber; - fontWeight: z.ZodBoolean; - fontStyle: z.ZodBoolean; - fontFamily: z.ZodString; - fontColor: z.ZodString; - backgroundColor: z.ZodString; -}, z.core.$strip>; -type ueVesselOption = z.infer; +type ueVesselOption = z.infer; /** * Screenwright 图表组件数据结构 Schema 导出 @@ -5732,8 +4259,32 @@ declare const swFlopPerformanceOptionSchema: z.ZodObject<{ autoIncrement: z.ZodBoolean; incrementFrequency: z.ZodNumber; randomRange: z.ZodNumber; + setFontLinear: z.ZodOptional; + suffixSetFontLinear: z.ZodOptional; + suffixFontLinearColor: z.ZodOptional; + duration: z.ZodOptional; + shadowShow: z.ZodOptional; + shadowColor: z.ZodOptional; + shadowX: z.ZodOptional; + shadowY: z.ZodOptional; + shadowFuzzy: z.ZodOptional; + padding: z.ZodOptional; + delayLoading: z.ZodOptional; + delayTime: z.ZodOptional; }, z.core.$strip>; type ftFlopPerformanceOption = z.infer; +/** + * 开关字段联动检查——不揉进 `swFlopPerformanceOptionSchema` 本体,只在运行时校验入口(见 + * `componentSuperRefineMap`)挂上,避免真实历史数据(比如只填了 fontLinearColor、 + * setFontLinear 干脆没这个键的旧组件)被当成"类型不对"而拖累 schema 一致性测试。 + * + * 每条规则对应 useSwFlop.ts 里"值存在但对应开关未开,视觉上不生效"的情况: + * fontLinearColor / setFontLinear、suffixFontLinearColor / suffixSetFontLinear、 + * shadowColor 等阴影字段 / shadowShow、delayTime / delayLoading。 + */ +declare function swFlopPerformanceSuperRefine(val: { + option?: Partial; +}, ctx: z.RefinementCtx): void; import { z } from 'zod'; declare const formCheckboxDataSchema: z.ZodArray; import { z } from 'zod'; -declare const ftiframeDataSchema: z.ZodArray>; -type FtiframeData = z.infer; /** - * iframe配置选项 Schema + * 矩形 (swBox) + * 媒体 + * + * 纯 CSS 盒子,用于蒙层、渐变块、分隔区、发光边框、毛玻璃底板。无数据。 + */ +declare const swBoxDataSchema: z.ZodArray; +type SwBoxData = z.infer; +declare const swBoxOptionSchema: z.ZodObject<{ + background: z.ZodOptional; + border: z.ZodOptional; + borderRadius: z.ZodOptional>; + boxShadow: z.ZodOptional; + backdropFilter: z.ZodOptional; + opacity: z.ZodOptional; + clipPath: z.ZodOptional; + transform: z.ZodOptional; + animation: z.ZodOptional; + pointerEvents: z.ZodOptional; +}, z.core.$strict>; +type SwBoxOption = z.infer; + +import { z } from 'zod'; +declare const ftiframeDataSchema: z.ZodArray>; +type FtiframeData = z.infer; +/** + * iframe配置选项 Schema */ declare const ftiframeOptionSchema: z.ZodObject<{ extendIframeUrl: z.ZodString; @@ -7516,66 +6090,22 @@ type SwimgData = z.infer; * 图片配置选项 Schema */ declare const swimgOptionSchema: z.ZodObject<{ - cover: z.ZodString; - url: z.ZodString; - duration: z.ZodString; - pointerEvents: z.ZodBoolean; - opacity: z.ZodNumber; - mixBlendMode: z.ZodString; - rotateShow: z.ZodBoolean; - rotateX: z.ZodNumber; - rotateY: z.ZodNumber; - rotateZ: z.ZodNumber; - animationShow: z.ZodBoolean; - animationLoop: z.ZodBoolean; - animationSpeed: z.ZodEnum<{ - constant: "constant"; - "slow-fast-slow": "slow-fast-slow"; - "start-slow": "start-slow"; - "end-slow": "end-slow"; - }>; - animationSpeedNum: z.ZodNumber; - animationTime: z.ZodNumber; - animationDelayed: z.ZodNumber; - animationInterval: z.ZodNumber; - animationType: z.ZodEnum<{ - opacity: "opacity"; - default: "default"; - zoom: "zoom"; - clockwise: "clockwise"; - counterclockwise: "counterclockwise"; - backAndForth: "backAndForth"; - upOrDown: "upOrDown"; - customize: "customize"; - }>; - gaussianBlurShow: z.ZodBoolean; - gaussianBlur: z.ZodNumber; - brightnessShow: z.ZodBoolean; - brightness: z.ZodNumber; - contrastShow: z.ZodBoolean; - contrast: z.ZodNumber; - grayscaleShow: z.ZodBoolean; - grayscale: z.ZodNumber; - hueShow: z.ZodBoolean; - hue: z.ZodNumber; - invertShow: z.ZodBoolean; - invert: z.ZodNumber; - saturateShow: z.ZodBoolean; - saturate: z.ZodNumber; - sepiaShow: z.ZodBoolean; - sepia: z.ZodNumber; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - openReview: z.ZodBoolean; - reviewImageWidth: z.ZodNumber; - backdropFilter: z.ZodBoolean; - backdropFilterBlur: z.ZodNumber; - backdropFilterSaturate: z.ZodNumber; -}, z.core.$strip>; + objectFit: z.ZodOptional>; + background: z.ZodOptional; + opacity: z.ZodOptional; + borderRadius: z.ZodOptional; + filter: z.ZodOptional; + mixBlendMode: z.ZodOptional; + transform: z.ZodOptional; + animation: z.ZodOptional; + keyframes: z.ZodOptional>>>; + transition: z.ZodOptional; + pointerEvents: z.ZodOptional; +}, z.core.$strict>; type SwimgOption = z.infer; import { z } from 'zod'; @@ -7899,1875 +6429,740 @@ declare const componentPropSchemaMap: { textTranslateX: z.ZodNumber; textTranslateY: z.ZodNumber; backgroundColor: z.ZodString; - backgroundImage: z.ZodString; - backgroundImageType: z.ZodString; - backgroundType: z.ZodString; - titleBgType: z.ZodString; - titleBgColor: z.ZodString; - titleBgImage: z.ZodString; - titleBgImageType: z.ZodString; - fontSize: z.ZodNumber; - fontWeight: z.ZodBoolean; - fontStyle: z.ZodBoolean; - fontFamily: z.ZodString; - fontColor: z.ZodString; - isTextShadow: z.ZodBoolean; - textShadow: z.ZodObject<{ - x: z.ZodNumber; - y: z.ZodNumber; - blur: z.ZodNumber; - color: z.ZodString; - extend: z.ZodNumber; - }, z.core.$strip>; - textPosition: z.ZodString; - textAlign: z.ZodString; - iconWidth: z.ZodNumber; - iconHeight: z.ZodNumber; - padding: z.ZodArray; - objectFit: z.ZodString; - borderBgImage: z.ZodString; - borderBgSize: z.ZodString; - videoBoxWidth: z.ZodNumber; - videoBoxHeight: z.ZodNumber; - pagerIconWidth: z.ZodNumber; - pagerIconHeight: z.ZodNumber; - pagerHeight: z.ZodNumber; - pagerfontSize: z.ZodNumber; - pagerfontWeight: z.ZodBoolean; - pagerfontStyle: z.ZodBoolean; - pagerfontFamily: z.ZodString; - pagerfontColor: z.ZodString; - pagerletterSpacing: z.ZodNumber; - pagerfontSize2: z.ZodNumber; - pagerfontWeight2: z.ZodBoolean; - pagerfontStyle2: z.ZodBoolean; - pagerfontFamily2: z.ZodString; - pagerfontColor2: z.ZodString; - pagerletterSpacing2: z.ZodNumber; - }, z.core.$strip>; - }; - readonly customCollapse: { - readonly data: z.ZodArray>>; - readonly option: z.ZodObject<{ - type: z.ZodString; - accordionKeys: z.ZodString; - titleHeight: z.ZodNumber; - contentHeight: z.ZodNumber; - paddingTop: z.ZodNumber; - paddingLeft: z.ZodNumber; - backgroudSize: z.ZodString; - backgroudImage: z.ZodString; - titleBgSize: z.ZodString; - titleBgImage: z.ZodString; - fontColor: z.ZodString; - fontSize: z.ZodNumber; - letterSpacing: z.ZodNumber; - fontWeight: z.ZodBoolean; - fontFamily: z.ZodString; - fontStyle: z.ZodBoolean; - textAlign: z.ZodString; - textTranslateX: z.ZodNumber; - textTranslateY: z.ZodNumber; - isTextShadow: z.ZodBoolean; - textShadow: z.ZodObject<{ - color: z.ZodString; - x: z.ZodNumber; - y: z.ZodNumber; - blur: z.ZodNumber; - extend: z.ZodNumber; - }, z.core.$strip>; - imageWidth: z.ZodNumber; - imageHeight: z.ZodNumber; - translateX: z.ZodNumber; - translateY: z.ZodNumber; - radiusTop: z.ZodNumber; - radiusRight: z.ZodNumber; - radiusBottom: z.ZodNumber; - radiusLeft: z.ZodNumber; - contentBgSize: z.ZodString; - contentBgImage: z.ZodString; - paddingTop2: z.ZodNumber; - paddingLeft2: z.ZodNumber; - fontColor2: z.ZodString; - fontSize2: z.ZodNumber; - letterSpacing2: z.ZodNumber; - fontWeight2: z.ZodBoolean; - fontFamily2: z.ZodString; - fontStyle2: z.ZodBoolean; - lineHeight2: z.ZodNumber; - isTextShadow2: z.ZodBoolean; - textShadow2: z.ZodObject<{ - color: z.ZodString; - x: z.ZodNumber; - y: z.ZodNumber; - blur: z.ZodNumber; - extend: z.ZodNumber; - }, z.core.$strip>; - seriesTabsList: z.ZodArray; - value: z.ZodString; - imageSize: z.ZodString; - title: z.ZodString; - }, z.core.$strip>>; - }, z.core.$strip>; - }; - readonly customTableList: { - readonly data: z.ZodArray>>; - readonly option: z.ZodObject<{ - column: z.ZodArray; - name: z.ZodString; - alias: z.ZodString; - icon: z.ZodOptional; - word: z.ZodOptional; - seriesYContentType: z.ZodString; - seriesYZIndex: z.ZodNumber; - seriesYOffsetWidth: z.ZodNumber; - seriesYOffsetY: z.ZodNumber; - seriesYOffsetX: z.ZodNumber; - seriesYOffsetHeight: z.ZodNumber; - seriesYFontFamily: z.ZodString; - seriesYFontSize: z.ZodNumber; - seriesYColor: z.ZodString; - seriesYFontStyle: z.ZodString; - seriesYFontWeight: z.ZodString; - seriesYTextWritingMode: z.ZodOptional>; - seriesYLineHeight: z.ZodNumber; - seriesYLetterSpacing: z.ZodNumber; - seriesYTabsName: z.ZodString; - seriesYIsMapping: z.ZodOptional; - seriesYOverFlow: z.ZodOptional; - seriesYTextAlign: z.ZodOptional; - styleAssignList: z.ZodOptional>>; - defaultObj: z.ZodOptional>; - backgroundImage: z.ZodOptional; - backgroundImageType: z.ZodOptional; - backgroundType: z.ZodOptional; - borderColor: z.ZodOptional; - borderLineType: z.ZodOptional>; - borderWidth: z.ZodOptional; - btnBorderShow: z.ZodOptional; - btnShadowInBlur: z.ZodOptional; - btnShadowInColor: z.ZodOptional>; - btnShadowInX: z.ZodOptional; - btnShadowInY: z.ZodOptional; - btnShadowOutBlur: z.ZodOptional; - btnShadowOutColor: z.ZodOptional>; - btnShadowOutX: z.ZodOptional; - btnShadowOutY: z.ZodOptional; - btnShadowShow: z.ZodOptional; - isTextShadow: z.ZodOptional; - seriesYColor: z.ZodOptional; - seriesYFontFamily: z.ZodOptional; - seriesYFontSize: z.ZodOptional; - seriesYFontStyle: z.ZodOptional>; - seriesYFontWeight: z.ZodOptional>; - seriesYLetterSpacing: z.ZodOptional; - seriesYLineHeight: z.ZodOptional; - styleAssignList: z.ZodOptional>>; - textShadowBlur: z.ZodOptional; - textShadowColor: z.ZodOptional; - textShadowX: z.ZodOptional; - textShadowY: z.ZodOptional; - textTranslateX: z.ZodOptional>; - textTranslateY: z.ZodOptional>; - }, z.core.$strip>>; - hoverObj: z.ZodOptional>; - backgroundImage: z.ZodOptional; - backgroundImageType: z.ZodOptional; - backgroundType: z.ZodOptional; - borderColor: z.ZodOptional; - borderLineType: z.ZodOptional>; - borderWidth: z.ZodOptional; - btnBorderShow: z.ZodOptional; - btnShadowInBlur: z.ZodOptional; - btnShadowInColor: z.ZodOptional>; - btnShadowInX: z.ZodOptional; - btnShadowInY: z.ZodOptional; - btnShadowOutBlur: z.ZodOptional; - btnShadowOutColor: z.ZodOptional>; - btnShadowOutX: z.ZodOptional; - btnShadowOutY: z.ZodOptional; - btnShadowShow: z.ZodOptional; - isTextShadow: z.ZodOptional; - seriesYColor: z.ZodOptional; - seriesYFontFamily: z.ZodOptional; - seriesYFontSize: z.ZodOptional; - seriesYFontStyle: z.ZodOptional>; - seriesYFontWeight: z.ZodOptional>; - seriesYLetterSpacing: z.ZodOptional; - seriesYLineHeight: z.ZodOptional; - styleAssignList: z.ZodOptional>>; - textShadowBlur: z.ZodOptional; - textShadowColor: z.ZodOptional; - textShadowX: z.ZodOptional; - textShadowY: z.ZodOptional; - textTranslateX: z.ZodOptional>; - textTranslateY: z.ZodOptional>; - }, z.core.$strip>>; - activeObj: z.ZodOptional>; - backgroundImage: z.ZodOptional; - backgroundImageType: z.ZodOptional; - backgroundType: z.ZodOptional; - borderColor: z.ZodOptional; - borderLineType: z.ZodOptional>; - borderWidth: z.ZodOptional; - btnBorderShow: z.ZodOptional; - btnShadowInBlur: z.ZodOptional; - btnShadowInColor: z.ZodOptional>; - btnShadowInX: z.ZodOptional; - btnShadowInY: z.ZodOptional; - btnShadowOutBlur: z.ZodOptional; - btnShadowOutColor: z.ZodOptional>; - btnShadowOutX: z.ZodOptional; - btnShadowOutY: z.ZodOptional; - btnShadowShow: z.ZodOptional; - isTextShadow: z.ZodOptional; - seriesYColor: z.ZodOptional; - seriesYFontFamily: z.ZodOptional; - seriesYFontSize: z.ZodOptional; - seriesYFontStyle: z.ZodOptional>; - seriesYFontWeight: z.ZodOptional>; - seriesYLetterSpacing: z.ZodOptional; - seriesYLineHeight: z.ZodOptional; - styleAssignList: z.ZodOptional>>; - textShadowBlur: z.ZodOptional; - textShadowColor: z.ZodOptional; - textShadowX: z.ZodOptional; - textShadowY: z.ZodOptional; - textTranslateX: z.ZodOptional>; - textTranslateY: z.ZodOptional>; - }, z.core.$strip>>; - }, z.core.$strip>>; - globalConfig: z.ZodObject<{ - globalBgShow: z.ZodBoolean; - globalRowCount: z.ZodNumber; - globalRowLineMarginBottom: z.ZodNumber; - animationShow: z.ZodBoolean; - globalScroll: z.ZodBoolean; - globalScrollTime: z.ZodNumber; - scrollYBarShow: z.ZodBoolean; - globalScrollYTrackWidth: z.ZodNumber; - globalScrollYTrackBackground: z.ZodString; - globalScrollYThumbWidth: z.ZodNumber; - globalScrollYThumbBackground: z.ZodString; - globalBgType: z.ZodString; - globalBgImage: z.ZodString; - globalScrollYTrackBorderRadius: z.ZodNumber; - globalScrollYThumbBorderRadius: z.ZodNumber; - globalBgColor: z.ZodString; - translateX: z.ZodNumber; - translateY: z.ZodNumber; - globalTranslateX: z.ZodNumber; - globalTranslateY: z.ZodNumber; - }, z.core.$strip>; - rowConfig: z.ZodObject<{ - listRowWidth: z.ZodNumber; - listRowHeight: z.ZodNumber; - listRowBgType: z.ZodString; - listRowBgColor: z.ZodString; - listRowBgImage: z.ZodString; - selectedShow: z.ZodBoolean; - selectedBgType: z.ZodString; - selectedBgColor: z.ZodString; - selectedBgImage: z.ZodString; - hoverShow: z.ZodBoolean; - hoverBgType: z.ZodString; - hoverBgColor: z.ZodString; - listRowStatusShow: z.ZodBoolean; - seriesXTabsName: z.ZodArray; - listRowStatusList: z.ZodArray; - listRowMappingKey: z.ZodString; - }, z.core.$strip>; - refresh: z.ZodBoolean; - columns: z.ZodNumber; - }, z.core.$strip>; - }; - readonly swcollection: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - type: z.ZodString; - scroll: z.ZodBoolean; - scrollBar: z.ZodBoolean; - speed: z.ZodNumber; - speedPosition: z.ZodString; - padding: z.ZodArray; - backgroundType: z.ZodString; - background: z.ZodString; - backgroundImage: z.ZodString; - cardLen: z.ZodNumber; - cardMarginRight: z.ZodNumber; - cardBackgroundType: z.ZodString; - cardBackgroundColor: z.ZodString; - cardBackgroundImage: z.ZodString; - cardPadding: z.ZodArray; - cardObjectFit: z.ZodString; - cardBgObjectFit: z.ZodString; - controls: z.ZodBoolean; - loopPlay: z.ZodBoolean; - autoPlay: z.ZodBoolean; - muted: z.ZodBoolean; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - spacing: z.ZodNumber; - titleWidth: z.ZodNumber; - titleHeight: z.ZodNumber; - textTranslateX: z.ZodNumber; - textTranslateY: z.ZodNumber; - titleBackgroundType: z.ZodString; - titleBackgroundColor: z.ZodString; - titleBackgroundImage: z.ZodString; - }, z.core.$strip>; - }; - readonly swdatetime: { - readonly data: z.ZodArray; - readonly option: z.ZodObject<{ - format: z.ZodString; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - textAlign: z.ZodString; - textAlignVertical: z.ZodString; - split: z.ZodNumber; - backgroundColor: z.ZodString; - }, z.core.$strip>; - }; - readonly swmultiLine: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - type: z.ZodString; - scroll: z.ZodBoolean; - speed: z.ZodNumber; - textDeraction: z.ZodString; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - lineHeight: z.ZodNumber; - selectedTextType: z.ZodString; - selectedTextColor: z.ZodString; - selectedTextOpacity: z.ZodNumber; - textAlign: z.ZodString; - textAlignVertical: z.ZodString; - split: z.ZodNumber; - whiteSpace: z.ZodBoolean; - textIndent: z.ZodNumber; - lineMarginTop: z.ZodNumber; - lineMarginBottom: z.ZodNumber; - lineMarginLeft: z.ZodNumber; - lineMarginRight: z.ZodNumber; - backgroundColor: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - icon: z.ZodNullable; - iconWidth: z.ZodNumber; - iconHeight: z.ZodNumber; - iconMargin: z.ZodArray; - }, z.core.$strip>; - }; - readonly swProgress: { - readonly data: z.ZodArray>>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - columnShow: z.ZodBoolean; - columnViews: z.ZodBoolean; - animationShow: z.ZodBoolean; - cursorShow: z.ZodBoolean; - align: z.ZodString; - header: z.ZodBoolean; - scroll: z.ZodBoolean; - scrollTime: z.ZodNumber; - fontSize: z.ZodNumber; - count: z.ZodNumber; - lineMarginBottom: z.ZodNumber; - index: z.ZodBoolean; - scrollCount: z.ZodNumber; - headerHeight: z.ZodNumber; - headerFontSize: z.ZodNumber; - headerFontFamily: z.ZodString; - headerlineHeight: z.ZodNumber; - backgroundType: z.ZodString; - backgroundImage: z.ZodString; - headerletterSpacing: z.ZodNumber; - headerFontStyle: z.ZodString; - headerFontWeight: z.ZodString; - headerBackground: z.ZodString; - headerColor: z.ZodString; - headerShow: z.ZodBoolean; - headerTextAlign: z.ZodString; - column: z.ZodArray; - }, z.core.$strip>>; - selectedShow: z.ZodBoolean; - selectedFontSize: z.ZodNumber; - selectedFontFamily: z.ZodString; - selectedletterSpacing: z.ZodNumber; - selectedFontStyle: z.ZodString; - selectedFontWeight: z.ZodString; - selectedColor: z.ZodString; - selectedlineHeight: z.ZodNumber; - selectedMode: z.ZodString; - selectedBgType: z.ZodString; - selectedBgColor: z.ZodString; - selectedBgOpacity: z.ZodNumber; - selectedBgImage: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - rowName: z.ZodArray; - rowTitle: z.ZodString; - initialValue: z.ZodNumber; - rowWidth: z.ZodNumber; - rowSpace: z.ZodNumber; - rowAlign: z.ZodString; - rowKey: z.ZodArray; - rowOffsetX: z.ZodArray; - rowOffsetY: z.ZodArray; - rowBgWidth: z.ZodArray; - rowBgHeight: z.ZodArray; - rowBgType: z.ZodArray; - rowBgColor: z.ZodArray; - rowBgOpacity: z.ZodArray; - rowBgImage: z.ZodArray; - rowFontSize: z.ZodArray; - rowFontFamily: z.ZodArray; - rowletterSpacing: z.ZodArray; - rowFontStyle: z.ZodArray; - rowFontWeight: z.ZodArray; - rowColor: z.ZodArray; - rowlineHeight: z.ZodArray; - rowShow: z.ZodBoolean; - bodyBackground: z.ZodString; - bodyColor: z.ZodString; - borderColor: z.ZodString; - bodyTextAlign: z.ZodString; - nthColor: z.ZodString; - othColor: z.ZodString; - seriesXTabsName: z.ZodArray; - seriesXbackgroundType: z.ZodArray; - seriesXbackgroundImage: z.ZodArray; - seriesXBackground: z.ZodArray; - seriesXBorderColor: z.ZodArray; - seriesXBorderWidth: z.ZodArray; - seriesXRadius: z.ZodArray; - seriesXOffsetX: z.ZodArray; - seriesYWidth: z.ZodArray; - seriesYMarginLeft: z.ZodArray; - seriesYbackgroundImage: z.ZodArray; - seriesYBackground: z.ZodArray; - seriesYBorderColor: z.ZodArray; - seriesYBorderWidth: z.ZodArray; - seriesYFontSize: z.ZodArray; - seriesYFontFamily: z.ZodArray; - seriesYletterSpacing: z.ZodArray; - seriesYFontStyle: z.ZodArray; - seriesYFontWeight: z.ZodArray; - seriesYColor: z.ZodArray; - seriesYContentType: z.ZodArray; - seriesYTextAlign: z.ZodArray; - seriesYOverFlow: z.ZodArray; - seriesYlineHeight: z.ZodArray; - seriesYOffsetX: z.ZodArray; - seriesYOffsetY: z.ZodArray; - seriesYTabsName: z.ZodArray; - maskImage: z.ZodArray; - imageWidth: z.ZodArray; - imageHeight: z.ZodArray; - percentageShow: z.ZodArray; - decimalSave: z.ZodArray; - suffixShow: z.ZodArray; - thousandSplit: z.ZodArray; - suffixFontSize: z.ZodArray; - suffixFontFamily: z.ZodArray; - suffixletterSpacing: z.ZodArray; - suffixFontStyle: z.ZodArray; - suffixFontWeight: z.ZodArray; - suffixColor: z.ZodArray; - suffixlineHeight: z.ZodArray; - suffixOffsetX: z.ZodArray; - suffixOffsetY: z.ZodArray; - suffixContent: z.ZodArray; - statusConfigValue: z.ZodArray>; - statusConfigImg: z.ZodArray>; - statusConfigWidth: z.ZodArray>; - statusConfigHeight: z.ZodArray>; - statusConfigName: z.ZodArray>; - styleAssignKeyValue: z.ZodOptional>>; - styleAssignFontFamily: z.ZodOptional>>; - styleAssignFontSize: z.ZodOptional>>; - styleAssignHeight: z.ZodOptional>>; - styleAssignletterSpacing: z.ZodOptional>>; - styleAssignColor: z.ZodOptional>>; - styleAssignFontStyle: z.ZodOptional>>; - styleAssignFontWeight: z.ZodOptional>>; - styleAssignName: z.ZodOptional>>; - styleAssignBgImg: z.ZodOptional>>; - styleAssignBgWdith: z.ZodOptional>>; - styleAssignBgHeight: z.ZodOptional>>; - styleAssignBgLeft: z.ZodOptional>>; - }, z.core.$strip>; - }; - readonly swRichtext: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - content: z.ZodString; - textAnimationType: z.ZodString; - textAnimationTiming: z.ZodNumber; - textAnimationDelay: z.ZodNumber; - startScroll: z.ZodBoolean; - scrollLoop: z.ZodBoolean; - scrollInterval: z.ZodNumber; - }, z.core.$strip>; - }; - readonly swScroll: { - readonly data: z.ZodArray>>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - columnShow: z.ZodBoolean; - columnViews: z.ZodBoolean; - animationShow: z.ZodBoolean; - cursorShow: z.ZodBoolean; - textStyleShow: z.ZodBoolean; - align: z.ZodString; - header: z.ZodBoolean; - scroll: z.ZodBoolean; - scrollTime: z.ZodNumber; - scrollTimeType: z.ZodOptional; - scrollSingleTime: z.ZodOptional; - fontSize: z.ZodNumber; - count: z.ZodNumber; - lineMarginBottom: z.ZodNumber; - index: z.ZodBoolean; - scrollCount: z.ZodNumber; - headerHeight: z.ZodNumber; - headerFontSize: z.ZodNumber; - headerFontFamily: z.ZodString; - headerlineHeight: z.ZodNumber; - borderShow: z.ZodBoolean; - backgroundType: z.ZodString; - backgroundImage: z.ZodString; - headerletterSpacing: z.ZodNumber; - headerFontStyle: z.ZodString; - headerFontWeight: z.ZodString; - headerBackground: z.ZodString; - headerColor: z.ZodString; - activeKeys: z.ZodOptional; - headerShow: z.ZodBoolean; - headerTextAlign: z.ZodString; - column: z.ZodArray; - }, z.core.$strip>>; - selectedShow: z.ZodBoolean; - selectedFontSize: z.ZodNumber; - selectedFontFamily: z.ZodString; - selectedletterSpacing: z.ZodNumber; - selectedFontStyle: z.ZodString; - selectedFontWeight: z.ZodString; - selectedColor: z.ZodString; - selectedlineHeight: z.ZodNumber; - selectedMode: z.ZodString; - selectedBgType: z.ZodString; - selectedBgColor: z.ZodString; - selectedBgOpacity: z.ZodNumber; - selectedBgImage: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - rowName: z.ZodArray; - rowTitle: z.ZodString; - initialValue: z.ZodNumber; - rowWidth: z.ZodNumber; - rowSpace: z.ZodNumber; - rowAlign: z.ZodString; - rowKey: z.ZodArray; - rowOffsetX: z.ZodArray; - rowOffsetY: z.ZodArray; - rowBgWidth: z.ZodArray; - rowBgHeight: z.ZodArray; - rowBgType: z.ZodArray; - rowBgColor: z.ZodArray; - rowBgOpacity: z.ZodArray; - rowBgImage: z.ZodArray; - rowFontSize: z.ZodArray; - rowFontFamily: z.ZodArray; - rowletterSpacing: z.ZodArray; - rowFontStyle: z.ZodArray; - rowFontWeight: z.ZodArray; - rowColor: z.ZodArray; - rowlineHeight: z.ZodArray; - rowShow: z.ZodBoolean; - bodyBackground: z.ZodString; - bodyColor: z.ZodString; - borderColor: z.ZodString; - bodyTextAlign: z.ZodString; - nthColor: z.ZodString; - othColor: z.ZodString; - seriesXTabsName: z.ZodArray; - seriesXbackgroundType: z.ZodArray; - seriesXbackgroundImage: z.ZodArray; - seriesXBackground: z.ZodArray; - seriesXBorderColor: z.ZodArray; - seriesXBorderWidth: z.ZodArray; - seriesXRadius: z.ZodArray; - seriesXOffsetX: z.ZodArray; - seriesYWidth: z.ZodArray; - seriesYMarginLeft: z.ZodArray; - seriesYbackgroundImage: z.ZodArray; - seriesYBackground: z.ZodArray; - seriesYBorderColor: z.ZodArray; - seriesYBorderWidth: z.ZodArray; - seriesYFontSize: z.ZodArray; - seriesYFontFamily: z.ZodArray; - seriesYletterSpacing: z.ZodArray; - seriesYFontStyle: z.ZodArray; - seriesYFontWeight: z.ZodArray; - seriesYColor: z.ZodArray; - seriesYContentType: z.ZodArray; - seriesYTextAlign: z.ZodArray; - seriesYOverFlow: z.ZodArray; - seriesYlineHeight: z.ZodArray; - seriesYOffsetX: z.ZodArray; - seriesYOffsetY: z.ZodArray; - seriesYTabsName: z.ZodArray; - maskImage: z.ZodArray; - imageWidth: z.ZodArray; - imageHeight: z.ZodArray; - suffixShow: z.ZodArray; - thousandSplit: z.ZodArray; - suffixFontSize: z.ZodArray; - suffixFontFamily: z.ZodArray; - suffixletterSpacing: z.ZodArray; - suffixFontStyle: z.ZodArray; - suffixFontWeight: z.ZodArray; - suffixColor: z.ZodArray; - suffixlineHeight: z.ZodArray; - suffixOffsetX: z.ZodArray; - suffixOffsetY: z.ZodArray; - suffixContent: z.ZodArray; - statusConfigValue: z.ZodArray>; - statusConfigImg: z.ZodArray>; - statusConfigWidth: z.ZodArray>; - statusConfigHeight: z.ZodArray>; - statusConfigName: z.ZodArray>; - styleAssignKeyValue: z.ZodArray>; - styleAssignFontFamily: z.ZodArray>; - styleAssignFontSize: z.ZodArray>; - styleAssignHeight: z.ZodArray>; - styleAssignletterSpacing: z.ZodArray>; - styleAssignColor: z.ZodArray>; - styleAssignFontStyle: z.ZodArray>; - styleAssignFontWeight: z.ZodArray>; - styleAssignName: z.ZodArray>; - styleAssignBgImg: z.ZodArray>; - styleAssignBgWdith: z.ZodArray>; - styleAssignBgHeight: z.ZodArray>; - styleAssignBgLeft: z.ZodArray>; - globalScrollYTrackWidth: z.ZodOptional; - globalScrollYTrackBackground: z.ZodOptional; - globalScrollYTrackBorderRadius: z.ZodOptional; - globalScrollYThumbWidth: z.ZodOptional; - globalScrollYThumbBackground: z.ZodOptional; - globalScrollYThumbBorderRadius: z.ZodOptional; - progressYConfig: z.ZodArray>; - }, z.core.$strip>; - }; - readonly swText2: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - iswrap: z.ZodBoolean; - lineHeight: z.ZodNumber; - split: z.ZodNumber; - textAlign: z.ZodString; - textAlignVertical: z.ZodString; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - selectedTextType: z.ZodString; - selectedTextColor: z.ZodString; - selectedTextOpacity: z.ZodNumber; - backgroundColor: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - cardList: z.ZodArray>; - }, z.core.$strip>; - }; - readonly swtext: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - type: z.ZodOptional>; - link: z.ZodOptional; - linkHref: z.ZodOptional; - linkTarget: z.ZodOptional; - pointerEvents: z.ZodOptional; - writingMode: z.ZodOptional; - textOrientation: z.ZodOptional; - iswrap: z.ZodOptional; - fontFamily: z.ZodOptional; - fontSize: z.ZodOptional; - color: z.ZodOptional; - fontWeight: z.ZodOptional>; - fontStyle: z.ZodOptional; - lineHeight: z.ZodOptional; - selectedTextType: z.ZodOptional>; - selectedTextColor: z.ZodOptional>; - }, z.core.$strip>]>>; - selectedTextOpacity: z.ZodOptional; - multiGradientColors: z.ZodOptional>>; - textAlign: z.ZodOptional; - textAlignVertical: z.ZodOptional; - split: z.ZodOptional; - backgroundColor: z.ZodOptional; - shadowShow: z.ZodOptional; - shadowColor: z.ZodOptional; - shadowX: z.ZodOptional; - shadowY: z.ZodOptional; - shadowFuzzy: z.ZodOptional; - shadowExtension: z.ZodOptional; - opacity: z.ZodOptional; - rotateX: z.ZodOptional; - rotateY: z.ZodOptional; - rotateZ: z.ZodOptional; - }, z.core.$strict>; - }; - readonly swTextWordCloud: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - type: z.ZodString; - scroll: z.ZodBoolean; - speed: z.ZodNumber; - maxNumber: z.ZodNumber; - dragControl: z.ZodBoolean; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - textFontSize: z.ZodNumber; - color: z.ZodString; - seriesColor: z.ZodArray; - }, z.core.$strip>; - }; - readonly echartareaLine: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - seriesAreaColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesAreaOpacity: z.ZodArray; - seriesLineColor: z.ZodArray; - seriesLineWidth: z.ZodArray; - seriesSmoothShow: z.ZodArray; - seriesSmooth: z.ZodArray; - seriesConnectNulls: z.ZodArray; - seriesSymbolShow: z.ZodArray; - seriesSymbol: z.ZodArray; - seriesSymbolImage: z.ZodArray; - seriesSymbolWidth: z.ZodArray; - seriesSymbolHeight: z.ZodArray; - seriesItemColor: z.ZodArray; - seriesItemBorderWidth: z.ZodArray; - seriesItemBorderColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - markLineDataType: z.ZodArray>; - markLineData: z.ZodArray; - markLineSymbolStart: z.ZodArray; - markLineSymbolStartImage: z.ZodArray; - markLineSymbolEnd: z.ZodArray; - markLineSymbolEndImage: z.ZodArray; - markLineSymbolWidth: z.ZodArray; - markLineSymbolHeight: z.ZodArray; - markLineLabelShow: z.ZodArray; - markLineLabelPosition: z.ZodArray>; - markLineLabelDistance: z.ZodArray; - markLineLabelCustom: z.ZodArray; - markLineLabelFontFamily: z.ZodArray; - markLineLabelFontStyle: z.ZodArray; - markLineLabelFontSize: z.ZodArray; - markLineLabelColor: z.ZodArray; - markLineLabelFontWeight: z.ZodArray; - markLineLabelPaddingTop: z.ZodArray; - markLineLabelPaddingRight: z.ZodArray; - markLineLabelPaddingBottom: z.ZodArray; - markLineLabelPaddingLeft: z.ZodArray; - markLineLineColor: z.ZodArray; - markLineLineWidth: z.ZodArray; - markLineLineType: z.ZodArray>; - markLineShow: z.ZodArray; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodOptional>; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - boundaryGap: z.ZodBoolean; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipTriggerOn: z.ZodBoolean; - tooltipOffsetX: z.ZodNumber; - tooltipOffsetY: z.ZodNumber; - tooltipBackground: z.ZodString; - tooltipWidth: z.ZodNumber; - tooltipHeight: z.ZodNumber; - tooltipPaddingTop: z.ZodNumber; - tooltipPaddingBottom: z.ZodNumber; - tooltipPaddingLeft: z.ZodNumber; - tooltipPaddingRight: z.ZodNumber; - tooltipNameFontFamily: z.ZodString; - tooltipNameFontSize: z.ZodNumber; - tooltipNameColor: z.ZodString; - tooltipNameFontWeight: z.ZodString; - tooltipNameFontStyle: z.ZodString; - tooltipAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - tooltipNameOffsetX: z.ZodNumber; - tooltipNameOffsetY: z.ZodNumber; - tooltipArrLineHeight: z.ZodNumber; - tooltipSeriesNameFontFamily: z.ZodString; - tooltipSeriesNameFontSize: z.ZodNumber; - tooltipSeriesNameColor: z.ZodString; - tooltipSeriesNameFontWeight: z.ZodString; - tooltipSeriesNameFontStyle: z.ZodString; - tooltipValueFontFamily: z.ZodString; - tooltipValueFontSize: z.ZodNumber; - tooltipValueColor: z.ZodString; - tooltipValueFontWeight: z.ZodString; - tooltipValueFontStyle: z.ZodString; - tooltipUnit: z.ZodArray; - tooltipUnitFontFamily: z.ZodString; - tooltipUnitFontSize: z.ZodNumber; - tooltipUnitColor: z.ZodString; - tooltipUnitFontWeight: z.ZodString; - tooltipUnitFontStyle: z.ZodString; - tooltipUnitOffsetX: z.ZodNumber; - tooltipUnitOffsetY: z.ZodNumber; - tooltipMarkerSize: z.ZodNumber; - dataUnitName: z.ZodArray; - unitTabsName: z.ZodArray>; - tooltipAxisPointerWidth: z.ZodNumber; - tooltipAxisPointerColor: z.ZodString; - xAxisLabelCustom: z.ZodOptional>; - }, z.core.$strip>; - }; - readonly echartbar: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - stack: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - angle: z.ZodUnion; - colors: z.ZodArray; - per: z.ZodNumber; - }, z.core.$strip>>; - }, z.core.$strip>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - extremeShow: z.ZodArray; - extremeType: z.ZodArray>; - extremeColor: z.ZodArray; - angle: z.ZodUnion; - colors: z.ZodArray; - per: z.ZodNumber; - }, z.core.$strip>>; - }, z.core.$strip>>; - extremeOpacity: z.ZodArray; - extremeColorpicker: z.ZodArray; - markLineDataType: z.ZodArray>; - markLineData: z.ZodArray; - markLineSymbolStart: z.ZodArray; - markLineSymbolStartImage: z.ZodArray; - markLineSymbolEnd: z.ZodArray; - markLineSymbolEndImage: z.ZodArray; - markLineSymbolWidth: z.ZodArray; - markLineSymbolHeight: z.ZodArray; - markLineLabelShow: z.ZodArray; - markLineLabelPosition: z.ZodArray>; - markLineLabelDistance: z.ZodArray; - markLineLabelCustom: z.ZodArray; - markLineLabelFontFamily: z.ZodArray; - markLineLabelFontStyle: z.ZodArray; - markLineLabelFontSize: z.ZodArray; - markLineLabelColor: z.ZodArray; - markLineLabelFontWeight: z.ZodArray; - markLineLabelPaddingTop: z.ZodArray; - markLineLabelPaddingRight: z.ZodArray; - markLineLabelPaddingBottom: z.ZodArray; - markLineLabelPaddingLeft: z.ZodArray; - markLineLineColor: z.ZodArray; - markLineLineWidth: z.ZodArray; - markLineLineType: z.ZodArray>; - markLineShow: z.ZodArray; - barGap: z.ZodNumber; - barCategoryGap: z.ZodNumber; - barBorderRadius: z.ZodString; - barBackgroundColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodUnion; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisLabelLimit: z.ZodBoolean; - xAxisLabelLimitNum: z.ZodNumber; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - xAxisSplitLineType: z.ZodString; - yAxisSplitLineType: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - dataZoomShow: z.ZodBoolean; - moveHandleSize: z.ZodNumber; - moveHandleColor: z.ZodString; - moveHandleEmphasisColor: z.ZodString; - dataZoomBottom: z.ZodNumber; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipTriggerOn: z.ZodBoolean; - tooltipOffsetX: z.ZodNumber; - tooltipOffsetY: z.ZodNumber; - tooltipBackground: z.ZodString; - tooltipWidth: z.ZodNumber; - tooltipHeight: z.ZodNumber; - tooltipPaddingTop: z.ZodNumber; - tooltipPaddingBottom: z.ZodNumber; - tooltipPaddingLeft: z.ZodNumber; - tooltipPaddingRight: z.ZodNumber; - tooltipNameFontFamily: z.ZodString; - tooltipNameFontSize: z.ZodNumber; - tooltipNameColor: z.ZodString; - tooltipNameFontWeight: z.ZodString; - tooltipNameFontStyle: z.ZodString; - tooltipAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - tooltipNameOffsetX: z.ZodNumber; - tooltipNameOffsetY: z.ZodNumber; - tooltipArrLineHeight: z.ZodNumber; - tooltipSeriesNameFontFamily: z.ZodString; - tooltipSeriesNameFontSize: z.ZodNumber; - tooltipSeriesNameColor: z.ZodString; - tooltipSeriesNameFontWeight: z.ZodString; - tooltipSeriesNameFontStyle: z.ZodString; - tooltipValueFontFamily: z.ZodString; - tooltipValueFontSize: z.ZodNumber; - tooltipValueColor: z.ZodString; - tooltipValueFontWeight: z.ZodString; - tooltipValueFontStyle: z.ZodString; - tooltipUnit: z.ZodArray; - tooltipUnitFontFamily: z.ZodString; - tooltipUnitFontSize: z.ZodNumber; - tooltipUnitColor: z.ZodString; - tooltipUnitFontWeight: z.ZodString; - tooltipUnitFontStyle: z.ZodString; - tooltipUnitOffsetX: z.ZodNumber; - tooltipUnitOffsetY: z.ZodNumber; - tooltipMarkerSize: z.ZodNumber; - dataUnitName: z.ZodArray; - unitTabsName: z.ZodArray; + textPosition: z.ZodString; + textAlign: z.ZodString; + iconWidth: z.ZodNumber; + iconHeight: z.ZodNumber; + padding: z.ZodArray; + objectFit: z.ZodString; + borderBgImage: z.ZodString; + borderBgSize: z.ZodString; + videoBoxWidth: z.ZodNumber; + videoBoxHeight: z.ZodNumber; + pagerIconWidth: z.ZodNumber; + pagerIconHeight: z.ZodNumber; + pagerHeight: z.ZodNumber; + pagerfontSize: z.ZodNumber; + pagerfontWeight: z.ZodBoolean; + pagerfontStyle: z.ZodBoolean; + pagerfontFamily: z.ZodString; + pagerfontColor: z.ZodString; + pagerletterSpacing: z.ZodNumber; + pagerfontSize2: z.ZodNumber; + pagerfontWeight2: z.ZodBoolean; + pagerfontStyle2: z.ZodBoolean; + pagerfontFamily2: z.ZodString; + pagerfontColor2: z.ZodString; + pagerletterSpacing2: z.ZodNumber; + }, z.core.$strip>; + }; + readonly customCollapse: { + readonly data: z.ZodArray>>; + readonly option: z.ZodObject<{ + type: z.ZodString; + accordionKeys: z.ZodString; + titleHeight: z.ZodNumber; + contentHeight: z.ZodNumber; + paddingTop: z.ZodNumber; + paddingLeft: z.ZodNumber; + backgroudSize: z.ZodString; + backgroudImage: z.ZodString; + titleBgSize: z.ZodString; + titleBgImage: z.ZodString; + fontColor: z.ZodString; + fontSize: z.ZodNumber; + letterSpacing: z.ZodNumber; + fontWeight: z.ZodBoolean; + fontFamily: z.ZodString; + fontStyle: z.ZodBoolean; + textAlign: z.ZodString; + textTranslateX: z.ZodNumber; + textTranslateY: z.ZodNumber; + isTextShadow: z.ZodBoolean; + textShadow: z.ZodObject<{ + color: z.ZodString; + x: z.ZodNumber; + y: z.ZodNumber; + blur: z.ZodNumber; + extend: z.ZodNumber; + }, z.core.$strip>; + imageWidth: z.ZodNumber; + imageHeight: z.ZodNumber; + translateX: z.ZodNumber; + translateY: z.ZodNumber; + radiusTop: z.ZodNumber; + radiusRight: z.ZodNumber; + radiusBottom: z.ZodNumber; + radiusLeft: z.ZodNumber; + contentBgSize: z.ZodString; + contentBgImage: z.ZodString; + paddingTop2: z.ZodNumber; + paddingLeft2: z.ZodNumber; + fontColor2: z.ZodString; + fontSize2: z.ZodNumber; + letterSpacing2: z.ZodNumber; + fontWeight2: z.ZodBoolean; + fontFamily2: z.ZodString; + fontStyle2: z.ZodBoolean; + lineHeight2: z.ZodNumber; + isTextShadow2: z.ZodBoolean; + textShadow2: z.ZodObject<{ + color: z.ZodString; + x: z.ZodNumber; + y: z.ZodNumber; + blur: z.ZodNumber; + extend: z.ZodNumber; + }, z.core.$strip>; + seriesTabsList: z.ZodArray; value: z.ZodString; + imageSize: z.ZodString; + title: z.ZodString; }, z.core.$strip>>; - tooltipAxisPointerWidth: z.ZodNumber; - tooltipAxisPointerColor: z.ZodString; }, z.core.$strip>; }; - readonly echartbothWayStripBar: { - readonly data: z.ZodArray>; + readonly customTableList: { + readonly data: z.ZodArray>>; readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; name: z.ZodString; - value: z.ZodString; - }, z.core.$strip>>; - seriesColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - extremeShow: z.ZodArray; - extremeType: z.ZodArray>; - extremeColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - extremeOpacity: z.ZodArray; - extremeColorpicker: z.ZodArray; - barCategoryGap: z.ZodNumber; - barBorderRadius: z.ZodString; - barBackgroundColor: z.ZodString; - gridLeft: z.ZodArray; - gridTop: z.ZodNumber; - gridRight: z.ZodArray; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodOptional>; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; + alias: z.ZodString; + icon: z.ZodOptional; + word: z.ZodOptional; + seriesYContentType: z.ZodString; + seriesYZIndex: z.ZodNumber; + seriesYOffsetWidth: z.ZodNumber; + seriesYOffsetY: z.ZodNumber; + seriesYOffsetX: z.ZodNumber; + seriesYOffsetHeight: z.ZodNumber; + seriesYFontFamily: z.ZodString; + seriesYFontSize: z.ZodNumber; + seriesYColor: z.ZodString; + seriesYFontStyle: z.ZodString; + seriesYFontWeight: z.ZodString; + seriesYTextWritingMode: z.ZodOptional>; + seriesYLineHeight: z.ZodNumber; + seriesYLetterSpacing: z.ZodNumber; + seriesYTabsName: z.ZodString; + seriesYIsMapping: z.ZodOptional; + seriesYOverFlow: z.ZodOptional; + seriesYTextAlign: z.ZodOptional; + styleAssignList: z.ZodOptional>>; + defaultObj: z.ZodOptional>; + backgroundImage: z.ZodOptional; + backgroundImageType: z.ZodOptional; + backgroundType: z.ZodOptional; + borderColor: z.ZodOptional; + borderLineType: z.ZodOptional>; + borderWidth: z.ZodOptional; + btnBorderShow: z.ZodOptional; + btnShadowInBlur: z.ZodOptional; + btnShadowInColor: z.ZodOptional>; + btnShadowInX: z.ZodOptional; + btnShadowInY: z.ZodOptional; + btnShadowOutBlur: z.ZodOptional; + btnShadowOutColor: z.ZodOptional>; + btnShadowOutX: z.ZodOptional; + btnShadowOutY: z.ZodOptional; + btnShadowShow: z.ZodOptional; + isTextShadow: z.ZodOptional; + seriesYColor: z.ZodOptional; + seriesYFontFamily: z.ZodOptional; + seriesYFontSize: z.ZodOptional; + seriesYFontStyle: z.ZodOptional>; + seriesYFontWeight: z.ZodOptional>; + seriesYLetterSpacing: z.ZodOptional; + seriesYLineHeight: z.ZodOptional; + styleAssignList: z.ZodOptional>>; + textShadowBlur: z.ZodOptional; + textShadowColor: z.ZodOptional; + textShadowX: z.ZodOptional; + textShadowY: z.ZodOptional; + textTranslateX: z.ZodOptional>; + textTranslateY: z.ZodOptional>; + }, z.core.$strip>>; + hoverObj: z.ZodOptional>; + backgroundImage: z.ZodOptional; + backgroundImageType: z.ZodOptional; + backgroundType: z.ZodOptional; + borderColor: z.ZodOptional; + borderLineType: z.ZodOptional>; + borderWidth: z.ZodOptional; + btnBorderShow: z.ZodOptional; + btnShadowInBlur: z.ZodOptional; + btnShadowInColor: z.ZodOptional>; + btnShadowInX: z.ZodOptional; + btnShadowInY: z.ZodOptional; + btnShadowOutBlur: z.ZodOptional; + btnShadowOutColor: z.ZodOptional>; + btnShadowOutX: z.ZodOptional; + btnShadowOutY: z.ZodOptional; + btnShadowShow: z.ZodOptional; + isTextShadow: z.ZodOptional; + seriesYColor: z.ZodOptional; + seriesYFontFamily: z.ZodOptional; + seriesYFontSize: z.ZodOptional; + seriesYFontStyle: z.ZodOptional>; + seriesYFontWeight: z.ZodOptional>; + seriesYLetterSpacing: z.ZodOptional; + seriesYLineHeight: z.ZodOptional; + styleAssignList: z.ZodOptional>>; + textShadowBlur: z.ZodOptional; + textShadowColor: z.ZodOptional; + textShadowX: z.ZodOptional; + textShadowY: z.ZodOptional; + textTranslateX: z.ZodOptional>; + textTranslateY: z.ZodOptional>; + }, z.core.$strip>>; + activeObj: z.ZodOptional>; + backgroundImage: z.ZodOptional; + backgroundImageType: z.ZodOptional; + backgroundType: z.ZodOptional; + borderColor: z.ZodOptional; + borderLineType: z.ZodOptional>; + borderWidth: z.ZodOptional; + btnBorderShow: z.ZodOptional; + btnShadowInBlur: z.ZodOptional; + btnShadowInColor: z.ZodOptional>; + btnShadowInX: z.ZodOptional; + btnShadowInY: z.ZodOptional; + btnShadowOutBlur: z.ZodOptional; + btnShadowOutColor: z.ZodOptional>; + btnShadowOutX: z.ZodOptional; + btnShadowOutY: z.ZodOptional; + btnShadowShow: z.ZodOptional; + isTextShadow: z.ZodOptional; + seriesYColor: z.ZodOptional; + seriesYFontFamily: z.ZodOptional; + seriesYFontSize: z.ZodOptional; + seriesYFontStyle: z.ZodOptional>; + seriesYFontWeight: z.ZodOptional>; + seriesYLetterSpacing: z.ZodOptional; + seriesYLineHeight: z.ZodOptional; + styleAssignList: z.ZodOptional>>; + textShadowBlur: z.ZodOptional; + textShadowColor: z.ZodOptional; + textShadowX: z.ZodOptional; + textShadowY: z.ZodOptional; + textTranslateX: z.ZodOptional>; + textTranslateY: z.ZodOptional>; + }, z.core.$strip>>; + }, z.core.$strip>>; + globalConfig: z.ZodObject<{ + globalBgShow: z.ZodBoolean; + globalRowCount: z.ZodNumber; + globalRowLineMarginBottom: z.ZodNumber; + animationShow: z.ZodBoolean; + globalScroll: z.ZodBoolean; + globalScrollTime: z.ZodNumber; + scrollYBarShow: z.ZodBoolean; + globalScrollYTrackWidth: z.ZodNumber; + globalScrollYTrackBackground: z.ZodString; + globalScrollYThumbWidth: z.ZodNumber; + globalScrollYThumbBackground: z.ZodString; + globalBgType: z.ZodString; + globalBgImage: z.ZodString; + globalScrollYTrackBorderRadius: z.ZodNumber; + globalScrollYThumbBorderRadius: z.ZodNumber; + globalBgColor: z.ZodString; + translateX: z.ZodNumber; + translateY: z.ZodNumber; + globalTranslateX: z.ZodNumber; + globalTranslateY: z.ZodNumber; }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodArray; - xAxisShow: z.ZodArray; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodArray; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodArray; - xAxisMax: z.ZodArray; - xAxisMargin: z.ZodArray; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodArray; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodArray; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodArray; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodArray; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodArray; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodArray; - xAxisName: z.ZodArray; - xAxisNameFontFamily: z.ZodArray; - xAxisNameFontSize: z.ZodArray; - xAxisNameColor: z.ZodArray; - xAxisNameFontStyle: z.ZodArray; - xAxisNameFontWeight: z.ZodArray; - xAxisNameGap: z.ZodArray; - xAxisLineShow: z.ZodArray; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodArray; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodArray; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodArray; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodArray; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodArray; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodArray; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodArray; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodArray; - yAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodArray; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodArray; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; + rowConfig: z.ZodObject<{ + listRowWidth: z.ZodNumber; + listRowHeight: z.ZodNumber; + listRowBgType: z.ZodString; + listRowBgColor: z.ZodString; + listRowBgImage: z.ZodString; + selectedShow: z.ZodBoolean; + selectedBgType: z.ZodString; + selectedBgColor: z.ZodString; + selectedBgImage: z.ZodString; + hoverShow: z.ZodBoolean; + hoverBgType: z.ZodString; + hoverBgColor: z.ZodString; + listRowStatusShow: z.ZodBoolean; + seriesXTabsName: z.ZodArray; + listRowStatusList: z.ZodArray; + listRowMappingKey: z.ZodString; + }, z.core.$strip>; + refresh: z.ZodBoolean; + columns: z.ZodNumber; }, z.core.$strip>; }; - readonly echartdoubleValueLine: { + readonly swcollection: { readonly data: z.ZodArray>; + src: z.ZodString; + title: z.ZodString; }, z.core.$strip>>; readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - xAxisLabelUtil: z.ZodString; - yAxisLabelUtil: z.ZodString; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; + type: z.ZodString; + scroll: z.ZodBoolean; + scrollBar: z.ZodBoolean; + speed: z.ZodNumber; + speedPosition: z.ZodString; + padding: z.ZodArray; + backgroundType: z.ZodString; + background: z.ZodString; + backgroundImage: z.ZodString; + cardLen: z.ZodNumber; + cardMarginRight: z.ZodNumber; + cardBackgroundType: z.ZodString; + cardBackgroundColor: z.ZodString; + cardBackgroundImage: z.ZodString; + cardPadding: z.ZodArray; + cardObjectFit: z.ZodString; + cardBgObjectFit: z.ZodString; + controls: z.ZodBoolean; + loopPlay: z.ZodBoolean; + autoPlay: z.ZodBoolean; + muted: z.ZodBoolean; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + spacing: z.ZodNumber; + titleWidth: z.ZodNumber; + titleHeight: z.ZodNumber; + textTranslateX: z.ZodNumber; + textTranslateY: z.ZodNumber; + titleBackgroundType: z.ZodString; + titleBackgroundColor: z.ZodString; + titleBackgroundImage: z.ZodString; + }, z.core.$strip>; + }; + readonly swdatetime: { + readonly data: z.ZodArray; + readonly option: z.ZodObject<{ + format: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + textAlign: z.ZodString; + textAlignVertical: z.ZodString; + split: z.ZodNumber; + backgroundColor: z.ZodString; }, z.core.$strip>; }; - readonly echarteffectScatter: { + readonly swmultiLine: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - borderWidth: z.ZodNumber; - borderColor: z.ZodString; - rippleEffectNumber: z.ZodNumber; - rippleEffectPeriod: z.ZodNumber; - rippleEffectScale: z.ZodNumber; - rippleEffectBrushType: z.ZodEnum<{ - fill: "fill"; - stroke: "stroke"; - }>; - points: z.ZodArray; - seriesList: z.ZodArray; - seriesLabelTopShow: z.ZodBoolean; - seriesLabelTopFontFamily: z.ZodString; - seriesLabelTopFontSize: z.ZodNumber; - seriesLabelTopColor: z.ZodString; - seriesLabelTopFontStyle: z.ZodString; - seriesLabelTopFontWeight: z.ZodString; - seriesLabelNameShow: z.ZodBoolean; - seriesLabelNameFontFamily: z.ZodString; - seriesLabelNameFontSize: z.ZodNumber; - seriesLabelNameColor: z.ZodString; - seriesLabelNameFontStyle: z.ZodString; - seriesLabelNameFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - }, z.core.$strip>>; + type: z.ZodString; + scroll: z.ZodBoolean; + speed: z.ZodNumber; + textDeraction: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + lineHeight: z.ZodNumber; + selectedTextType: z.ZodString; + selectedTextColor: z.ZodString; + selectedTextOpacity: z.ZodNumber; + textAlign: z.ZodString; + textAlignVertical: z.ZodString; + split: z.ZodNumber; + whiteSpace: z.ZodBoolean; + textIndent: z.ZodNumber; + lineMarginTop: z.ZodNumber; + lineMarginBottom: z.ZodNumber; + lineMarginLeft: z.ZodNumber; + lineMarginRight: z.ZodNumber; + backgroundColor: z.ZodString; + shadowShow: z.ZodBoolean; + shadowColor: z.ZodString; + shadowX: z.ZodNumber; + shadowY: z.ZodNumber; + shadowFuzzy: z.ZodNumber; + shadowExtension: z.ZodNumber; + icon: z.ZodNullable; + iconWidth: z.ZodNumber; + iconHeight: z.ZodNumber; + iconMargin: z.ZodArray; }, z.core.$strip>; }; - readonly echartfunnel: { - readonly data: z.ZodArray>; + readonly swProgress: { + readonly data: z.ZodArray>>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; - radius: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; }, z.core.$strip>>; - seriesColor: z.ZodArray; - barGap: z.ZodNumber; - barCategoryGap: z.ZodNumber; - seriesOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - seriesSort: z.ZodEnum<{ - none: "none"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesGap: z.ZodNumber; - seriesFunnelAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - labelPosition: z.ZodEnum<{ - left: "left"; - right: "right"; - top: "top"; - bottom: "bottom"; - center: "center"; - inside: "inside"; - insideLeft: "insideLeft"; - insideRight: "insideRight"; - }>; - borderShow: z.ZodBoolean; + selectedShow: z.ZodBoolean; + selectedFontSize: z.ZodNumber; + selectedFontFamily: z.ZodString; + selectedletterSpacing: z.ZodNumber; + selectedFontStyle: z.ZodString; + selectedFontWeight: z.ZodString; + selectedColor: z.ZodString; + selectedlineHeight: z.ZodNumber; + selectedMode: z.ZodString; + selectedBgType: z.ZodString; + selectedBgColor: z.ZodString; + selectedBgOpacity: z.ZodNumber; + selectedBgImage: z.ZodString; + shadowShow: z.ZodBoolean; + shadowColor: z.ZodString; + shadowX: z.ZodNumber; + shadowY: z.ZodNumber; + shadowFuzzy: z.ZodNumber; + shadowExtension: z.ZodNumber; + rowName: z.ZodArray; + rowTitle: z.ZodString; + initialValue: z.ZodNumber; + rowWidth: z.ZodNumber; + rowSpace: z.ZodNumber; + rowAlign: z.ZodString; + rowKey: z.ZodArray; + rowOffsetX: z.ZodArray; + rowOffsetY: z.ZodArray; + rowBgWidth: z.ZodArray; + rowBgHeight: z.ZodArray; + rowBgType: z.ZodArray; + rowBgColor: z.ZodArray; + rowBgOpacity: z.ZodArray; + rowBgImage: z.ZodArray; + rowFontSize: z.ZodArray; + rowFontFamily: z.ZodArray; + rowletterSpacing: z.ZodArray; + rowFontStyle: z.ZodArray; + rowFontWeight: z.ZodArray; + rowColor: z.ZodArray; + rowlineHeight: z.ZodArray; + rowShow: z.ZodBoolean; + bodyBackground: z.ZodString; + bodyColor: z.ZodString; borderColor: z.ZodString; - borderWidth: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodUnion; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; + bodyTextAlign: z.ZodString; + nthColor: z.ZodString; + othColor: z.ZodString; + seriesXTabsName: z.ZodArray; + seriesXbackgroundType: z.ZodArray; + seriesXbackgroundImage: z.ZodArray; + seriesXBackground: z.ZodArray; + seriesXBorderColor: z.ZodArray; + seriesXBorderWidth: z.ZodArray; + seriesXRadius: z.ZodArray; + seriesXOffsetX: z.ZodArray; + seriesYWidth: z.ZodArray; + seriesYMarginLeft: z.ZodArray; + seriesYbackgroundImage: z.ZodArray; + seriesYBackground: z.ZodArray; + seriesYBorderColor: z.ZodArray; + seriesYBorderWidth: z.ZodArray; + seriesYFontSize: z.ZodArray; + seriesYFontFamily: z.ZodArray; + seriesYletterSpacing: z.ZodArray; + seriesYFontStyle: z.ZodArray; + seriesYFontWeight: z.ZodArray; + seriesYColor: z.ZodArray; + seriesYContentType: z.ZodArray; + seriesYTextAlign: z.ZodArray; + seriesYOverFlow: z.ZodArray; + seriesYlineHeight: z.ZodArray; + seriesYOffsetX: z.ZodArray; + seriesYOffsetY: z.ZodArray; + seriesYTabsName: z.ZodArray; + maskImage: z.ZodArray; + imageWidth: z.ZodArray; + imageHeight: z.ZodArray; + percentageShow: z.ZodArray; + decimalSave: z.ZodArray; + suffixShow: z.ZodArray; + thousandSplit: z.ZodArray; + suffixFontSize: z.ZodArray; + suffixFontFamily: z.ZodArray; + suffixletterSpacing: z.ZodArray; + suffixFontStyle: z.ZodArray; + suffixFontWeight: z.ZodArray; + suffixColor: z.ZodArray; + suffixlineHeight: z.ZodArray; + suffixOffsetX: z.ZodArray; + suffixOffsetY: z.ZodArray; + suffixContent: z.ZodArray; + statusConfigValue: z.ZodArray>; + statusConfigImg: z.ZodArray>; + statusConfigWidth: z.ZodArray>; + statusConfigHeight: z.ZodArray>; + statusConfigName: z.ZodArray>; + styleAssignKeyValue: z.ZodOptional>>; + styleAssignFontFamily: z.ZodOptional>>; + styleAssignFontSize: z.ZodOptional>>; + styleAssignHeight: z.ZodOptional>>; + styleAssignletterSpacing: z.ZodOptional>>; + styleAssignColor: z.ZodOptional>>; + styleAssignFontStyle: z.ZodOptional>>; + styleAssignFontWeight: z.ZodOptional>>; + styleAssignName: z.ZodOptional>>; + styleAssignBgImg: z.ZodOptional>>; + styleAssignBgWdith: z.ZodOptional>>; + styleAssignBgHeight: z.ZodOptional>>; + styleAssignBgLeft: z.ZodOptional>>; }, z.core.$strip>; }; - readonly echartgraph: { + readonly swRichtext: { readonly data: z.ZodArray>; + readonly option: z.ZodObject<{ + content: z.ZodString; + textAnimationType: z.ZodString; + textAnimationTiming: z.ZodNumber; + textAnimationDelay: z.ZodNumber; + startScroll: z.ZodBoolean; + scrollLoop: z.ZodBoolean; + scrollInterval: z.ZodNumber; + }, z.core.$strip>; + }; + readonly swScroll: { + readonly data: z.ZodArray>>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; + align: z.ZodOptional>; }, z.core.$strip>>; - points: z.ZodArray; - pointColor: z.ZodArray; - labelPosition: z.ZodArray>; - pointsSymbol: z.ZodArray; - pointsSymbolImage: z.ZodArray; - pointsSymbolWidth: z.ZodArray; - pointsSymbolHeight: z.ZodArray; - linkName: z.ZodArray; - links: z.ZodArray; + height: z.ZodDefault; + background: z.ZodDefault; + color: z.ZodDefault; + fontSize: z.ZodDefault; + }, z.core.$strip>; + rowStyle: z.ZodObject<{ + height: z.ZodDefault; + fontSize: z.ZodDefault; + color: z.ZodDefault; + background: z.ZodDefault; + stripeBackground: z.ZodOptional; + align: z.ZodDefault>; + }, z.core.$strip>; + columnStyleOverrides: z.ZodOptional; + background: z.ZodOptional; + fontSize: z.ZodOptional; + align: z.ZodOptional>; + }, z.core.$strip>>>; + rowIndex: z.ZodOptional; + title: z.ZodDefault; + width: z.ZodDefault; + startFrom: z.ZodDefault; + }, z.core.$strip>>; + scroll: z.ZodOptional; + visibleRows: z.ZodDefault; + speed: z.ZodDefault; }, z.core.$strip>>; - seriesLinksSymbolSize: z.ZodNumber; - seriesLinksLineWidth: z.ZodNumber; - seriesLinksLineType: z.ZodArray>; - seriesLabelAlign: z.ZodArray>; - seriesLabelVerticalAlign: z.ZodArray>; - seriesLabelNameShow: z.ZodArray; - seriesLabelNameColor: z.ZodArray; - seriesLabelNameFontFamily: z.ZodArray; - seriesLabelNameFontSize: z.ZodArray; - seriesLabelNameFontWeight: z.ZodArray; - seriesLabelNameFontStyle: z.ZodArray; - seriesLabelValueShow: z.ZodArray; - seriesLabelValueColor: z.ZodArray; - seriesLabelValueFontFamily: z.ZodArray; - seriesLabelValueFontSize: z.ZodArray; - seriesLabelValueFontWeight: z.ZodArray; - seriesLabelValueFontStyle: z.ZodArray; }, z.core.$strip>; }; - readonly echartgrowthRateBar: { + readonly swText2: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray; - seriesColor: z.ZodArray; - borderColor: z.ZodArray; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - yAxisLabelHover: z.ZodArray; - yAxisLabelHoverColor: z.ZodArray; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodString; - xAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodBoolean; - xAxisName: z.ZodString; - xAxisNameFontFamily: z.ZodString; - xAxisNameFontSize: z.ZodNumber; - xAxisNameColor: z.ZodString; - xAxisNameFontStyle: z.ZodString; - xAxisNameFontWeight: z.ZodString; - xAxisNamePaddingTop: z.ZodNumber; - xAxisNamePaddingBottom: z.ZodNumber; - xAxisNamePaddingLeft: z.ZodNumber; - xAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + iswrap: z.ZodBoolean; + lineHeight: z.ZodNumber; + split: z.ZodNumber; + textAlign: z.ZodString; + textAlignVertical: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + selectedTextType: z.ZodString; + selectedTextColor: z.ZodString; + selectedTextOpacity: z.ZodNumber; + backgroundColor: z.ZodString; + shadowShow: z.ZodBoolean; + shadowColor: z.ZodString; + shadowX: z.ZodNumber; + shadowY: z.ZodNumber; + shadowFuzzy: z.ZodNumber; + shadowExtension: z.ZodNumber; + cardList: z.ZodArray>; }, z.core.$strip>; }; - readonly echartline: { + readonly swtext: { + readonly data: z.ZodArray; + }, z.core.$strip>>; + readonly option: z.ZodObject<{ + fontFamily: z.ZodOptional; + fontSize: z.ZodOptional; + fontWeight: z.ZodOptional>; + fontStyle: z.ZodOptional>; + letterSpacing: z.ZodOptional; + lineHeight: z.ZodOptional; + color: z.ZodOptional; + textShadow: z.ZodOptional; + background: z.ZodOptional; + opacity: z.ZodOptional; + textAlign: z.ZodOptional>; + verticalAlign: z.ZodOptional>; + whiteSpace: z.ZodOptional>; + textOverflow: z.ZodOptional>; + writingMode: z.ZodOptional>; + textOrientation: z.ZodOptional>; + transform: z.ZodOptional; + animation: z.ZodOptional; + template: z.ZodOptional; + decimals: z.ZodOptional; + thousands: z.ZodOptional; + marquee: z.ZodOptional>; + }, z.core.$strip>>; + href: z.ZodOptional; + target: z.ZodOptional>; + pointerEvents: z.ZodOptional; + }, z.core.$strict>; + }; + readonly swTextWordCloud: { + readonly data: z.ZodArray>; + readonly option: z.ZodObject<{ + type: z.ZodString; + scroll: z.ZodBoolean; + speed: z.ZodNumber; + maxNumber: z.ZodNumber; + dragControl: z.ZodBoolean; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + textFontSize: z.ZodNumber; + color: z.ZodString; + seriesColor: z.ZodArray; + }, z.core.$strip>; + }; + readonly echartareaLine: { readonly data: z.ZodArray>; seriesColorpicker: z.ZodArray; seriesOpacity: z.ZodArray; + seriesAreaColor: z.ZodArray; + angle: z.ZodOptional>; + colors: z.ZodOptional; + per: z.ZodOptional; + }, z.core.$strip>>>; + }, z.core.$loose>>; + seriesAreaOpacity: z.ZodArray; seriesLineColor: z.ZodArray; seriesLineWidth: z.ZodArray; seriesSmoothShow: z.ZodArray; @@ -9812,6 +7216,44 @@ declare const componentPropSchemaMap: { seriesLabelFontStyle: z.ZodArray; seriesLabelOffsetX: z.ZodArray; seriesLabelOffsetY: z.ZodArray; + markLineDataType: z.ZodArray>; + markLineData: z.ZodArray; + markLineSymbolStart: z.ZodArray; + markLineSymbolStartImage: z.ZodArray; + markLineSymbolEnd: z.ZodArray; + markLineSymbolEndImage: z.ZodArray; + markLineSymbolWidth: z.ZodArray; + markLineSymbolHeight: z.ZodArray; + markLineLabelShow: z.ZodArray; + markLineLabelPosition: z.ZodArray>; + markLineLabelDistance: z.ZodArray; + markLineLabelCustom: z.ZodArray; + markLineLabelFontFamily: z.ZodArray; + markLineLabelFontStyle: z.ZodArray; + markLineLabelFontSize: z.ZodArray; + markLineLabelColor: z.ZodArray; + markLineLabelFontWeight: z.ZodArray; + markLineLabelPaddingTop: z.ZodArray; + markLineLabelPaddingRight: z.ZodArray; + markLineLabelPaddingBottom: z.ZodArray; + markLineLabelPaddingLeft: z.ZodArray; + markLineLineColor: z.ZodArray; + markLineLineWidth: z.ZodArray; + markLineLineType: z.ZodArray>; + markLineShow: z.ZodArray; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; gridRight: z.ZodNumber; @@ -9962,12 +7404,9 @@ declare const componentPropSchemaMap: { tooltipAxisPointerWidth: z.ZodNumber; tooltipAxisPointerColor: z.ZodString; xAxisLabelCustom: z.ZodOptional>; - shadowBlur: z.ZodOptional>; - shadowColor: z.ZodOptional>; - tooltipLabelGapSapce: z.ZodOptional; }, z.core.$strip>; }; - readonly echartlineAndBar: { + readonly echartbar: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; + stack: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesType: z.ZodArray>; - seriesBarColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; + angle: z.ZodUnion; + colors: z.ZodArray; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesBarOpacity: z.ZodArray; - seriesAreaOpacity: z.ZodArray; - seriesAreaColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional>; + }, z.core.$strip>>; + seriesColorpicker: z.ZodArray; + seriesOpacity: z.ZodArray; + extremeShow: z.ZodArray; + extremeType: z.ZodArray>; + extremeColor: z.ZodArray; + angle: z.ZodUnion; + colors: z.ZodArray; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesLineColor: z.ZodArray; - seriesLineWidth: z.ZodArray; - seriesSmoothShow: z.ZodArray; - seriesSmooth: z.ZodArray; - seriesConnectNulls: z.ZodArray; - seriesSymbolShow: z.ZodArray; - seriesSymbol: z.ZodArray; - seriesSymbolImage: z.ZodArray; - seriesSymbolWidth: z.ZodArray; - seriesSymbolHeight: z.ZodArray; - seriesItemColor: z.ZodArray; - seriesItemBorderWidth: z.ZodArray; - seriesItemBorderColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; + per: z.ZodNumber; + }, z.core.$strip>>; + }, z.core.$strip>>; + extremeOpacity: z.ZodArray; + extremeColorpicker: z.ZodArray; + markLineDataType: z.ZodArray>; + markLineData: z.ZodArray; + markLineSymbolStart: z.ZodArray; + markLineSymbolStartImage: z.ZodArray; + markLineSymbolEnd: z.ZodArray; + markLineSymbolEndImage: z.ZodArray; + markLineSymbolWidth: z.ZodArray; + markLineSymbolHeight: z.ZodArray; + markLineLabelShow: z.ZodArray; + markLineLabelPosition: z.ZodArray>; + markLineLabelDistance: z.ZodArray; + markLineLabelCustom: z.ZodArray; + markLineLabelFontFamily: z.ZodArray; + markLineLabelFontStyle: z.ZodArray; + markLineLabelFontSize: z.ZodArray; + markLineLabelColor: z.ZodArray; + markLineLabelFontWeight: z.ZodArray; + markLineLabelPaddingTop: z.ZodArray; + markLineLabelPaddingRight: z.ZodArray; + markLineLabelPaddingBottom: z.ZodArray; + markLineLabelPaddingLeft: z.ZodArray; + markLineLineColor: z.ZodArray; + markLineLineWidth: z.ZodArray; + markLineLineType: z.ZodArray>; + markLineShow: z.ZodArray; barGap: z.ZodNumber; barCategoryGap: z.ZodNumber; + barBorderRadius: z.ZodString; barBackgroundColor: z.ZodString; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; @@ -10046,10 +7506,8 @@ declare const componentPropSchemaMap: { legendTextLeftPadding: z.ZodNumber; legendSelectedMode: z.ZodBoolean; legendGrid: z.ZodObject<{ - top: z.ZodOptional>; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; + top: z.ZodUnion; + left: z.ZodUnion; }, z.core.$strip>; legendOffsetX: z.ZodNumber; legendOffsetY: z.ZodNumber; @@ -10059,74 +7517,89 @@ declare const componentPropSchemaMap: { }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; + yAxisInverse: z.ZodBoolean; xAxisInverse: z.ZodBoolean; xAxisShow: z.ZodBoolean; + yAxisShow: z.ZodBoolean; xAxisLabelShow: z.ZodBoolean; + yAxisLabelShow: z.ZodBoolean; xAxisType: z.ZodEnum<{ value: "value"; category: "category"; time: "time"; log: "log"; }>; + xAxisLabelLimit: z.ZodBoolean; + xAxisLabelLimitNum: z.ZodNumber; xAxisInterval: z.ZodNumber; xAxisRotate: z.ZodNumber; + yAxisMin: z.ZodString; + yAxisMax: z.ZodString; xAxisMargin: z.ZodNumber; + yAxisMargin: z.ZodNumber; xAxisFontFamily: z.ZodString; + yAxisFontFamily: z.ZodString; xAxisFontSize: z.ZodNumber; + yAxisFontSize: z.ZodNumber; xAxisColor: z.ZodString; + yAxisColor: z.ZodString; xAxisFontStyle: z.ZodString; + yAxisFontStyle: z.ZodString; xAxisFontWeight: z.ZodString; + yAxisFontWeight: z.ZodString; + yAxisNameShow: z.ZodBoolean; + yAxisName: z.ZodString; + yAxisNameFontFamily: z.ZodString; + yAxisNameFontSize: z.ZodNumber; + yAxisNameColor: z.ZodString; + yAxisNameFontStyle: z.ZodString; + yAxisNameFontWeight: z.ZodString; + yAxisNamePaddingTop: z.ZodNumber; + yAxisNamePaddingBottom: z.ZodNumber; + yAxisNamePaddingLeft: z.ZodNumber; + yAxisNamePaddingRight: z.ZodNumber; xAxisLineShow: z.ZodBoolean; + yAxisLineShow: z.ZodBoolean; xAxisLineColor: z.ZodString; + yAxisLineColor: z.ZodString; xAxisLineWidth: z.ZodNumber; + yAxisLineWidth: z.ZodNumber; xAxisLineOpacity: z.ZodNumber; + yAxisLineOpacity: z.ZodNumber; xAxisTickShow: z.ZodBoolean; + yAxisTickShow: z.ZodBoolean; xAxisTickColor: z.ZodString; + yAxisTickColor: z.ZodString; xAxisTickWidth: z.ZodNumber; + yAxisTickWidth: z.ZodNumber; xAxisTickLength: z.ZodNumber; + yAxisTickLength: z.ZodNumber; xAxisSplitLineShow: z.ZodBoolean; + yAxisSplitLineShow: z.ZodBoolean; xAxisSplitLineInterval: z.ZodNumber; xAxisSplitLineWidth: z.ZodNumber; + yAxisSplitLineWidth: z.ZodNumber; xAxisSplitLineColor: z.ZodString; - yAxisInverse: z.ZodArray; - yAxisShow: z.ZodArray; - yAxisLabelShow: z.ZodArray; - yAxisMin: z.ZodArray; - yAxisMax: z.ZodArray; - yAxisMargin: z.ZodArray; - yAxisFontFamily: z.ZodArray; - yAxisFontSize: z.ZodArray; - yAxisColor: z.ZodArray; - yAxisFontStyle: z.ZodArray; - yAxisFontWeight: z.ZodArray; - yAxisNameShow: z.ZodArray; - yAxisName: z.ZodArray; - yAxisNameFontFamily: z.ZodArray; - yAxisNameFontSize: z.ZodArray; - yAxisNameColor: z.ZodArray; - yAxisNameFontStyle: z.ZodArray; - yAxisNameFontWeight: z.ZodArray; - yAxisNamePaddingTop: z.ZodArray; - yAxisNamePaddingBottom: z.ZodArray; - yAxisNamePaddingLeft: z.ZodArray; - yAxisNamePaddingRight: z.ZodArray; - yAxisLineShow: z.ZodArray; - yAxisLineColor: z.ZodArray; - yAxisLineWidth: z.ZodArray; - yAxisLineOpacity: z.ZodArray; - yAxisTickShow: z.ZodArray; - yAxisTickColor: z.ZodArray; - yAxisTickWidth: z.ZodArray; - yAxisTickLength: z.ZodArray; - yAxisSplitLineShow: z.ZodArray; - yAxisSplitLineInterval: z.ZodOptional; - yAxisSplitLineWidth: z.ZodArray; - yAxisSplitLineColor: z.ZodArray; - yAxisIndex: z.ZodArray; + yAxisSplitLineColor: z.ZodString; + xAxisSplitLineType: z.ZodString; + yAxisSplitLineType: z.ZodString; dataLoop: z.ZodBoolean; dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; dataLoopRollNum: z.ZodNumber; + dataZoomShow: z.ZodBoolean; + moveHandleSize: z.ZodNumber; + moveHandleColor: z.ZodString; + moveHandleEmphasisColor: z.ZodString; + dataZoomBottom: z.ZodNumber; tooltipLoop: z.ZodBoolean; tooltipLoopInterval: z.ZodNumber; tooltipTriggerOn: z.ZodBoolean; @@ -10178,124 +7651,9 @@ declare const componentPropSchemaMap: { }, z.core.$strip>>; tooltipAxisPointerWidth: z.ZodNumber; tooltipAxisPointerColor: z.ZodString; - xAxisLabelCustom: z.ZodOptional>; - }, z.core.$strip>; - }; - readonly echartloopRingPie: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesLeft: z.ZodNumber; - seriesTop: z.ZodNumber; - seriesRight: z.ZodNumber; - seriesBottom: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelValueBottomPadding: z.ZodNumber; - seriesLabelSeriesShow: z.ZodBoolean; - seriesLabelSeriesFontFamily: z.ZodString; - seriesLabelSeriesFontSize: z.ZodNumber; - seriesLabelSeriesColor: z.ZodString; - seriesLabelSeriesFontStyle: z.ZodString; - seriesLabelSeriesFontWeight: z.ZodString; - seriesLabelPercentShow: z.ZodBoolean; - seriesLabelPercentValue: z.ZodNumber; - seriesLabelPercentFontFamily: z.ZodString; - seriesLabelPercentFontSize: z.ZodNumber; - seriesLabelPercentColor: z.ZodString; - seriesLabelPercentFontStyle: z.ZodString; - seriesLabelPercentFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelUnit: z.ZodString; - seriesLabelUnitFontSize: z.ZodNumber; - seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - legendShow: z.ZodBoolean; - legendOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendTextLeftPadding: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendGrid: z.ZodObject<{ - top: z.ZodOptional>; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendSeriesWidthType: z.ZodString; - legendSeriesWidth: z.ZodOptional; - pieRadiusOuter: z.ZodNumber; - pieRoseType: z.ZodBoolean; - pieRadiusInner: z.ZodNumber; - piePaddingNum: z.ZodNumber; - pieStartAngle: z.ZodNumber; - pieClockwise: z.ZodBoolean; - itemBorderWidth: z.ZodNumber; - itemBorderColor: z.ZodString; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesColor: z.ZodArray; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipTriggerOn: z.ZodBoolean; - seriesEmphasisScale: z.ZodBoolean; - seriesEmphasisScaleSize: z.ZodNumber; }, z.core.$strip>; }; - readonly echartmultiplyRankBar: { + readonly echartbothWayStripBar: { readonly data: z.ZodArray; }, z.core.$strip>>>; }, z.core.$loose>>; - seriesWidth: z.ZodNumber; - intervalColor: z.ZodString; - gridLeft: z.ZodNumber; + seriesColorpicker: z.ZodArray; + seriesOpacity: z.ZodArray; + extremeShow: z.ZodArray; + extremeType: z.ZodArray>; + extremeColor: z.ZodArray; + angle: z.ZodOptional>; + colors: z.ZodOptional; + per: z.ZodOptional; + }, z.core.$strip>>>; + }, z.core.$loose>>; + extremeOpacity: z.ZodArray; + extremeColorpicker: z.ZodArray; + barCategoryGap: z.ZodNumber; + barBorderRadius: z.ZodString; + barBackgroundColor: z.ZodString; + gridLeft: z.ZodArray; gridTop: z.ZodNumber; - gridRight: z.ZodNumber; + gridRight: z.ZodArray; gridBottom: z.ZodNumber; legendShow: z.ZodBoolean; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; legendWidth: z.ZodNumber; legendHeight: z.ZodNumber; legendItemWidth: z.ZodNumber; @@ -10348,154 +7720,130 @@ declare const componentPropSchemaMap: { }, z.core.$strip>; legendOffsetX: z.ZodNumber; legendOffsetY: z.ZodNumber; - valueShow: z.ZodBoolean; - valueFontFamily: z.ZodString; - valueFontSize: z.ZodNumber; - valueColor: z.ZodString; - valueFontStyle: z.ZodString; - valueFontWeight: z.ZodString; - valueOffSetX: z.ZodNumber; - valueOffSetY: z.ZodNumber; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echartoverlapBar: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - seriesWidth: z.ZodArray; - seriesTabsName: z.ZodArray; - barBodyColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - barBodyOpacity: z.ZodArray; - barBorderColor: z.ZodString; - borderWidth: z.ZodNumber; - valueShow: z.ZodArray; - valueFontFamily: z.ZodArray; - valueFontSize: z.ZodArray; - valueColor: z.ZodArray; - valueFontStyle: z.ZodArray; - valueFontWeight: z.ZodArray; - valueOffSetX: z.ZodArray; - valueOffSetY: z.ZodArray; - splitLineFontSize: z.ZodNumber; - splitLineColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - yAxisLabelShow: z.ZodOptional; - yAxisFontFamily: z.ZodOptional; - yAxisFontSize: z.ZodOptional; - yAxisColor: z.ZodOptional; - yAxisFontStyle: z.ZodOptional; - yAxisFontWeight: z.ZodOptional; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + xNameFontSize: z.ZodNumber; + yNameFontSize: z.ZodNumber; + seriesLabelShow: z.ZodArray; + seriesLabelColor: z.ZodArray; + seriesLabelFontFamily: z.ZodArray; + seriesLabelFontSize: z.ZodArray; + seriesLabelFontWeight: z.ZodArray; + seriesLabelFontStyle: z.ZodArray; + seriesLabelOffsetX: z.ZodArray; + seriesLabelOffsetY: z.ZodArray; + yAxisInverse: z.ZodBoolean; + xAxisInverse: z.ZodArray; + xAxisShow: z.ZodArray; + yAxisShow: z.ZodBoolean; + xAxisLabelShow: z.ZodArray; + yAxisLabelShow: z.ZodBoolean; + yAxisType: z.ZodEnum<{ + value: "value"; + category: "category"; + time: "time"; + log: "log"; + }>; + yAxisInterval: z.ZodNumber; + yAxisRotate: z.ZodNumber; + xAxisMin: z.ZodArray; + xAxisMax: z.ZodArray; + xAxisMargin: z.ZodArray; + yAxisMargin: z.ZodNumber; + xAxisFontFamily: z.ZodArray; + yAxisFontFamily: z.ZodString; + xAxisFontSize: z.ZodArray; + yAxisFontSize: z.ZodNumber; + xAxisColor: z.ZodArray; + yAxisColor: z.ZodString; + xAxisFontStyle: z.ZodArray; + yAxisFontStyle: z.ZodString; + xAxisFontWeight: z.ZodArray; + yAxisFontWeight: z.ZodString; + xAxisNameShow: z.ZodArray; + xAxisName: z.ZodArray; + xAxisNameFontFamily: z.ZodArray; + xAxisNameFontSize: z.ZodArray; + xAxisNameColor: z.ZodArray; + xAxisNameFontStyle: z.ZodArray; + xAxisNameFontWeight: z.ZodArray; + xAxisNameGap: z.ZodArray; + xAxisLineShow: z.ZodArray; + yAxisLineShow: z.ZodBoolean; + xAxisLineColor: z.ZodArray; + yAxisLineColor: z.ZodString; + xAxisLineWidth: z.ZodArray; + yAxisLineWidth: z.ZodNumber; + xAxisLineOpacity: z.ZodArray; + yAxisLineOpacity: z.ZodNumber; + xAxisTickShow: z.ZodArray; + yAxisTickShow: z.ZodBoolean; + xAxisTickColor: z.ZodArray; + yAxisTickColor: z.ZodString; + xAxisTickWidth: z.ZodArray; + yAxisTickWidth: z.ZodNumber; + xAxisTickLength: z.ZodArray; + yAxisTickLength: z.ZodNumber; + xAxisSplitLineShow: z.ZodArray; + yAxisSplitLineShow: z.ZodBoolean; + yAxisSplitLineInterval: z.ZodNumber; + xAxisSplitLineWidth: z.ZodArray; + yAxisSplitLineWidth: z.ZodNumber; + xAxisSplitLineColor: z.ZodArray; + yAxisSplitLineColor: z.ZodString; dataLoop: z.ZodBoolean; dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; dataLoopRollNum: z.ZodNumber; - intervalColor: z.ZodString; }, z.core.$strip>; }; - readonly echartpictorialbar: { + readonly echartfunnel: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; + radius: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; - extremeShow: z.ZodArray; - extremeType: z.ZodArray>; - extremeColor: z.ZodArray; - angle: z.ZodOptional>; - colors: z.ZodOptional; - per: z.ZodOptional; - }, z.core.$strip>>>; - }, z.core.$loose>>; - extremeOpacity: z.ZodArray; - extremeColorpicker: z.ZodArray; - markLineShow: z.ZodOptional; - markLineDataType: z.ZodOptional>; - markLineData: z.ZodOptional>; - markLineSymbolStart: z.ZodOptional>; - markLineSymbolStartImage: z.ZodOptional>; - markLineSymbolEnd: z.ZodOptional>; - markLineSymbolEndImage: z.ZodOptional>; - markLineSymbolWidth: z.ZodOptional>; - markLineSymbolHeight: z.ZodOptional>; - markLineLabelShow: z.ZodOptional>; - markLineLabelPosition: z.ZodOptional>; - markLineLabelDistance: z.ZodOptional>; - markLineLabelCustom: z.ZodOptional>; - markLineLabelFontFamily: z.ZodOptional>; - markLineLabelFontStyle: z.ZodOptional>; - markLineLabelFontSize: z.ZodOptional>; - markLineLabelColor: z.ZodOptional>; - markLineLabelFontWeight: z.ZodOptional>; - markLineLabelPaddingTop: z.ZodOptional>; - markLineLabelPaddingRight: z.ZodOptional>; - markLineLabelPaddingBottom: z.ZodOptional>; - markLineLabelPaddingLeft: z.ZodOptional>; - markLineLineColor: z.ZodOptional>; - markLineLineWidth: z.ZodOptional>; - markLineLineType: z.ZodOptional>; + seriesColor: z.ZodArray; barGap: z.ZodNumber; barCategoryGap: z.ZodNumber; - symbol: z.ZodString; - symbolWidth: z.ZodNumber; - symbolHeight: z.ZodNumber; + seriesOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + seriesSort: z.ZodEnum<{ + none: "none"; + ascending: "ascending"; + descending: "descending"; + }>; + seriesGap: z.ZodNumber; + seriesFunnelAlign: z.ZodEnum<{ + left: "left"; + right: "right"; + center: "center"; + }>; + labelPosition: z.ZodEnum<{ + left: "left"; + right: "right"; + top: "top"; + bottom: "bottom"; + center: "center"; + inside: "inside"; + insideLeft: "insideLeft"; + insideRight: "insideRight"; + }>; + borderShow: z.ZodBoolean; + borderColor: z.ZodString; + borderWidth: z.ZodNumber; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; gridRight: z.ZodNumber; @@ -10511,23 +7859,29 @@ declare const componentPropSchemaMap: { legendColor: z.ZodString; legendFontStyle: z.ZodString; legendFontWeight: z.ZodString; - valueShow: z.ZodOptional; - valueFontFamily: z.ZodOptional; - valueFontSize: z.ZodOptional; - valueColor: z.ZodOptional; - valueFontStyle: z.ZodOptional; - valueFontWeight: z.ZodOptional; - valueOffSetX: z.ZodOptional; - valueOffSetY: z.ZodOptional; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; + legendTextLeftPadding: z.ZodNumber; + legendSelectedMode: z.ZodBoolean; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodUnion; + }, z.core.$strip>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; }, z.core.$strip>; }; - readonly echartpie: { + readonly echartgraph: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ @@ -10538,157 +7892,57 @@ declare const componentPropSchemaMap: { name: z.ZodString; value: z.ZodString; }, z.core.$strip>>; - seriesLeft: z.ZodNumber; - seriesTop: z.ZodNumber; - seriesRight: z.ZodNumber; - seriesBottom: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesDistanceToLabelLine: z.ZodNumber; - seriesLabelLineLength: z.ZodNumber; - seriesLabelOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - radial: "radial"; - }>; - seriesLabelSeriesShow: z.ZodBoolean; - seriesLabelSeriesFontFamily: z.ZodString; - seriesLabelSeriesFontSize: z.ZodNumber; - seriesLabelSeriesColor: z.ZodString; - seriesLabelSeriesFontStyle: z.ZodString; - seriesLabelSeriesFontWeight: z.ZodString; - seriesLabelPercentShow: z.ZodBoolean; - seriesLabelPercentValue: z.ZodNumber; - seriesLabelPercentFontFamily: z.ZodString; - seriesLabelPercentFontSize: z.ZodNumber; - seriesLabelPercentColor: z.ZodString; - seriesLabelPercentFontStyle: z.ZodString; - seriesLabelPercentFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelUnit: z.ZodString; - seriesLabelUnitFontSize: z.ZodNumber; - seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueLeftPadding: z.ZodNumber; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - legendShow: z.ZodBoolean; - legendOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendTextLeftPadding: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendGrid: z.ZodOptional; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; + points: z.ZodArray; + pointColor: z.ZodArray; + labelPosition: z.ZodArray>; + pointsSymbol: z.ZodArray; + pointsSymbolImage: z.ZodArray; + pointsSymbolWidth: z.ZodArray; + pointsSymbolHeight: z.ZodArray; + linkName: z.ZodArray; + links: z.ZodArray>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendSeriesWidthType: z.ZodString; - legendSeriesWidth: z.ZodOptional; - pieRadiusOuter: z.ZodNumber; - pieRoseType: z.ZodBoolean; - pieRadiusInner: z.ZodNumber; - pieStartAngle: z.ZodNumber; - pieClockwise: z.ZodBoolean; - itemBorderWidth: z.ZodNumber; - itemBorderColor: z.ZodString; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesColor: z.ZodArray; - tooltipLoop: z.ZodOptional; - tooltipLoopInterval: z.ZodOptional; - tooltipTriggerOn: z.ZodOptional; - tooltipOffsetX: z.ZodOptional; - tooltipOffsetY: z.ZodOptional; - tooltipBackground: z.ZodOptional; - tooltipWidth: z.ZodOptional; - tooltipHeight: z.ZodOptional; - tooltipPaddingTop: z.ZodOptional; - tooltipPaddingBottom: z.ZodOptional; - tooltipPaddingLeft: z.ZodOptional; - tooltipPaddingRight: z.ZodOptional; - tooltipNameFontFamily: z.ZodOptional; - tooltipNameFontSize: z.ZodOptional; - tooltipNameColor: z.ZodOptional; - tooltipNameFontWeight: z.ZodOptional; - tooltipNameFontStyle: z.ZodOptional; - tooltipAlign: z.ZodOptional>; + seriesLabelAlign: z.ZodArray>; - tooltipNameOffsetX: z.ZodOptional; - tooltipNameOffsetY: z.ZodOptional; - tooltipArrLineHeight: z.ZodOptional; - tooltipSeriesNameFontFamily: z.ZodOptional; - tooltipSeriesNameFontSize: z.ZodOptional; - tooltipSeriesNameColor: z.ZodOptional; - tooltipSeriesNameFontWeight: z.ZodOptional; - tooltipSeriesNameFontStyle: z.ZodOptional; - tooltipValueFontFamily: z.ZodOptional; - tooltipValueFontSize: z.ZodOptional; - tooltipValueColor: z.ZodOptional; - tooltipValueFontWeight: z.ZodOptional; - tooltipValueFontStyle: z.ZodOptional; - tooltipUnit: z.ZodOptional>; - tooltipUnitFontFamily: z.ZodOptional; - tooltipUnitFontSize: z.ZodOptional; - tooltipUnitColor: z.ZodOptional; - tooltipUnitFontWeight: z.ZodOptional; - tooltipUnitFontStyle: z.ZodOptional; - tooltipUnitOffsetX: z.ZodOptional; - tooltipUnitOffsetY: z.ZodOptional; - tooltipMarkerSize: z.ZodOptional; - tooltipAxisPointerWidth: z.ZodOptional; - tooltipAxisPointerColor: z.ZodOptional; - seriesEmphasisScale: z.ZodOptional; - seriesEmphasisScaleSize: z.ZodOptional; + seriesLabelVerticalAlign: z.ZodArray>; + seriesLabelNameShow: z.ZodArray; + seriesLabelNameColor: z.ZodArray; + seriesLabelNameFontFamily: z.ZodArray; + seriesLabelNameFontSize: z.ZodArray; + seriesLabelNameFontWeight: z.ZodArray; + seriesLabelNameFontStyle: z.ZodArray; + seriesLabelValueShow: z.ZodArray; + seriesLabelValueColor: z.ZodArray; + seriesLabelValueFontFamily: z.ZodArray; + seriesLabelValueFontSize: z.ZodArray; + seriesLabelValueFontWeight: z.ZodArray; + seriesLabelValueFontStyle: z.ZodArray; }, z.core.$strip>; }; - readonly echartpluralRosePie: { + readonly echartline: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; - stack: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; + seriesColor: z.ZodArray; + angle: z.ZodOptional>; + colors: z.ZodOptional; + per: z.ZodOptional; + }, z.core.$strip>>>; + }, z.core.$loose>>; seriesColorpicker: z.ZodArray; - barCategoryGap: z.ZodNumber; + seriesOpacity: z.ZodArray; + seriesLineColor: z.ZodArray; + seriesLineWidth: z.ZodArray; + seriesSmoothShow: z.ZodArray; + seriesSmooth: z.ZodArray; + seriesConnectNulls: z.ZodArray; + seriesSymbolShow: z.ZodArray; + seriesSymbol: z.ZodArray; + seriesSymbolImage: z.ZodArray; + seriesSymbolWidth: z.ZodArray; + seriesSymbolHeight: z.ZodArray; + seriesItemColor: z.ZodArray; + seriesItemBorderWidth: z.ZodArray; + seriesItemBorderColor: z.ZodArray; + seriesLabelShow: z.ZodArray; + seriesLabelColor: z.ZodArray; + seriesLabelFontFamily: z.ZodArray; + seriesLabelFontSize: z.ZodArray; + seriesLabelFontWeight: z.ZodArray; + seriesLabelFontStyle: z.ZodArray; + seriesLabelOffsetX: z.ZodArray; + seriesLabelOffsetY: z.ZodArray; + gridLeft: z.ZodNumber; + gridTop: z.ZodNumber; + gridRight: z.ZodNumber; + gridBottom: z.ZodNumber; legendShow: z.ZodBoolean; legendWidth: z.ZodNumber; legendHeight: z.ZodNumber; @@ -10720,7 +8005,7 @@ declare const componentPropSchemaMap: { legendTextLeftPadding: z.ZodNumber; legendSelectedMode: z.ZodBoolean; legendGrid: z.ZodObject<{ - top: z.ZodUnion; + top: z.ZodOptional>; left: z.ZodOptional>; bottom: z.ZodOptional>; right: z.ZodOptional>; @@ -10733,74 +8018,69 @@ declare const componentPropSchemaMap: { }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - polarCenterX: z.ZodNumber; - polarCenterY: z.ZodNumber; - polarRadiusMax: z.ZodNumber; - polarRadiusMin: z.ZodNumber; - angleAxisInverse: z.ZodBoolean; - angleAxisShow: z.ZodBoolean; - angleAxisStartAngle: z.ZodNumber; - angleAxisLabelShow: z.ZodBoolean; - angleAxisInterval: z.ZodNumber; - angleAxisMargin: z.ZodNumber; - angleAxisFontFamily: z.ZodString; - angleAxisFontSize: z.ZodNumber; - angleAxisColor: z.ZodString; - angleAxisFontStyle: z.ZodString; - angleAxisFontWeight: z.ZodString; - angleAxisLineShow: z.ZodBoolean; - angleAxisLineColor: z.ZodString; - angleAxisLineWidth: z.ZodNumber; - angleAxisLineOpacity: z.ZodNumber; - angleAxisTickShow: z.ZodBoolean; - angleAxisTickColor: z.ZodString; - angleAxisTickWidth: z.ZodNumber; - angleAxisTickLength: z.ZodNumber; - angleAxisSplitLineShow: z.ZodBoolean; - angleAxisSplitLineWidth: z.ZodNumber; - angleAxisSplitLineColor: z.ZodString; - radiusAxisInverse: z.ZodBoolean; - radiusAxisShow: z.ZodBoolean; - radiusAxisLabelShow: z.ZodBoolean; - radiusAxisMin: z.ZodString; - radiusAxisMax: z.ZodString; - radiusAxisMargin: z.ZodNumber; - radiusAxisFontFamily: z.ZodString; - radiusAxisFontSize: z.ZodNumber; - radiusAxisColor: z.ZodString; - radiusAxisFontStyle: z.ZodString; - radiusAxisFontWeight: z.ZodString; - radiusAxisNameShow: z.ZodBoolean; - radiusAxisName: z.ZodString; - radiusAxisNameFontFamily: z.ZodString; - radiusAxisNameFontSize: z.ZodNumber; - radiusAxisNameColor: z.ZodString; - radiusAxisNameFontStyle: z.ZodString; - radiusAxisNameFontWeight: z.ZodString; - radiusAxisNamePaddingTop: z.ZodNumber; - radiusAxisNamePaddingBottom: z.ZodNumber; - radiusAxisNamePaddingLeft: z.ZodNumber; - radiusAxisNamePaddingRight: z.ZodNumber; - radiusAxisLineShow: z.ZodBoolean; - radiusAxisLineColor: z.ZodString; - radiusAxisLineWidth: z.ZodNumber; - radiusAxisLineOpacity: z.ZodNumber; - radiusAxisTickShow: z.ZodBoolean; - radiusAxisTickColor: z.ZodString; - radiusAxisTickWidth: z.ZodNumber; - radiusAxisTickLength: z.ZodNumber; - radiusAxisSplitLineShow: z.ZodBoolean; - radiusAxisSplitLineNumber: z.ZodNumber; - radiusAxisSplitLineWidth: z.ZodNumber; - radiusAxisSplitLineColor: z.ZodString; + boundaryGap: z.ZodBoolean; + yAxisInverse: z.ZodBoolean; + xAxisInverse: z.ZodBoolean; + xAxisShow: z.ZodBoolean; + yAxisShow: z.ZodBoolean; + xAxisLabelShow: z.ZodBoolean; + yAxisLabelShow: z.ZodBoolean; + xAxisType: z.ZodEnum<{ + value: "value"; + category: "category"; + time: "time"; + log: "log"; + }>; + xAxisInterval: z.ZodNumber; + xAxisRotate: z.ZodNumber; + yAxisMin: z.ZodString; + yAxisMax: z.ZodString; + xAxisMargin: z.ZodNumber; + yAxisMargin: z.ZodNumber; + xAxisFontFamily: z.ZodString; + yAxisFontFamily: z.ZodString; + xAxisFontSize: z.ZodNumber; + yAxisFontSize: z.ZodNumber; + xAxisColor: z.ZodString; + yAxisColor: z.ZodString; + xAxisFontStyle: z.ZodString; + yAxisFontStyle: z.ZodString; + xAxisFontWeight: z.ZodString; + yAxisFontWeight: z.ZodString; + yAxisNameShow: z.ZodBoolean; + yAxisName: z.ZodString; + yAxisNameFontFamily: z.ZodString; + yAxisNameFontSize: z.ZodNumber; + yAxisNameColor: z.ZodString; + yAxisNameFontStyle: z.ZodString; + yAxisNameFontWeight: z.ZodString; + yAxisNamePaddingTop: z.ZodNumber; + yAxisNamePaddingBottom: z.ZodNumber; + yAxisNamePaddingLeft: z.ZodNumber; + yAxisNamePaddingRight: z.ZodNumber; + xAxisLineShow: z.ZodBoolean; + yAxisLineShow: z.ZodBoolean; + xAxisLineColor: z.ZodString; + yAxisLineColor: z.ZodString; + xAxisLineWidth: z.ZodNumber; + yAxisLineWidth: z.ZodNumber; + xAxisLineOpacity: z.ZodNumber; + yAxisLineOpacity: z.ZodNumber; + xAxisTickShow: z.ZodBoolean; + yAxisTickShow: z.ZodBoolean; + xAxisTickColor: z.ZodString; + yAxisTickColor: z.ZodString; + xAxisTickWidth: z.ZodNumber; + yAxisTickWidth: z.ZodNumber; + xAxisTickLength: z.ZodNumber; + yAxisTickLength: z.ZodNumber; + xAxisSplitLineShow: z.ZodBoolean; + yAxisSplitLineShow: z.ZodBoolean; + xAxisSplitLineInterval: z.ZodNumber; + xAxisSplitLineWidth: z.ZodNumber; + yAxisSplitLineWidth: z.ZodNumber; + xAxisSplitLineColor: z.ZodString; + yAxisSplitLineColor: z.ZodString; dataLoop: z.ZodBoolean; dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; @@ -10856,9 +8136,13 @@ declare const componentPropSchemaMap: { }, z.core.$strip>>; tooltipAxisPointerWidth: z.ZodNumber; tooltipAxisPointerColor: z.ZodString; + xAxisLabelCustom: z.ZodOptional>; + shadowBlur: z.ZodOptional>; + shadowColor: z.ZodOptional>; + tooltipLabelGapSapce: z.ZodOptional; }, z.core.$strip>; }; - readonly echartradar: { + readonly echartlineAndBar: { readonly data: z.ZodArray>; - radarCenterX: z.ZodNumber; - radarCenterY: z.ZodNumber; - radarRadiusMax: z.ZodNumber; - radarRadiusMin: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodOptional>; - bottom: z.ZodOptional>; - right: z.ZodOptional>; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - radarMin: z.ZodNumber; - radarMax: z.ZodNumber; - radarShape: z.ZodEnum<{ - circle: "circle"; - polygon: "polygon"; - }>; - radarNameShow: z.ZodBoolean; - radarNameGap: z.ZodNumber; - radarNameFontFamily: z.ZodString; - radarNameFontSize: z.ZodNumber; - radarNameColor: z.ZodString; - radarNameFontStyle: z.ZodString; - radarNameFontWeight: z.ZodString; - radarLineShow: z.ZodBoolean; - radarLineColor: z.ZodString; - radarLineWidth: z.ZodNumber; - radarTickShow: z.ZodBoolean; - radarSplitNumber: z.ZodNumber; - radarTickColor: z.ZodString; - radarTickWidth: z.ZodNumber; - radarTickLength: z.ZodNumber; - radarLabelShow: z.ZodBoolean; - radarLabelMaxShow: z.ZodBoolean; - radarLabelMinShow: z.ZodBoolean; - radarLabelMargin: z.ZodNumber; - radarLabelFontFamily: z.ZodString; - radarLabelFontSize: z.ZodNumber; - radarLabelColor: z.ZodString; - radarLabelFontStyle: z.ZodString; - radarLabelFontWeight: z.ZodString; - radarSplitLineShow: z.ZodBoolean; - radarSplitLineWidth: z.ZodNumber; - radarSplitLineColor: z.ZodString; - radarSplitAreaTabsName: z.ZodArray; - radarSplitAreaColor: z.ZodArray; + seriesType: z.ZodArray>; + seriesBarColor: z.ZodArray; + angle: z.ZodOptional>; + colors: z.ZodOptional; + per: z.ZodOptional; + }, z.core.$strip>>>; + }, z.core.$loose>>; + seriesBarOpacity: z.ZodArray; + seriesAreaOpacity: z.ZodArray; + seriesAreaColor: z.ZodArray; + angle: z.ZodOptional>; + colors: z.ZodOptional; + per: z.ZodOptional; + }, z.core.$strip>>>; + }, z.core.$loose>>; seriesLineColor: z.ZodArray; seriesLineWidth: z.ZodArray; - seriesLineShadowColor: z.ZodArray; - seriesLineShadowOffsetX: z.ZodArray; - seriesLineShadowOffsetY: z.ZodArray; - seriesLineShadowBlur: z.ZodArray; - seriesLineShadowBlurExtension: z.ZodNumber; + seriesSmoothShow: z.ZodArray; + seriesSmooth: z.ZodArray; + seriesConnectNulls: z.ZodArray; + seriesSymbolShow: z.ZodArray; seriesSymbol: z.ZodArray; seriesSymbolImage: z.ZodArray; seriesSymbolWidth: z.ZodArray; @@ -10958,45 +8192,16 @@ declare const componentPropSchemaMap: { seriesItemColor: z.ZodArray; seriesItemBorderWidth: z.ZodArray; seriesItemBorderColor: z.ZodArray; - seriesAreaColor: z.ZodArray; - }, z.core.$strip>; - }; - readonly echartrank: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - stack: z.ZodBoolean; - seriesTabsName: z.ZodArray; - sortType: z.ZodEnum<{ - none: "none"; - asc: "asc"; - desc: "desc"; - }>; - defaultSeriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - defaultSeriesOpacity: z.ZodNumber; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - seriesColorpicker: z.ZodArray; - seriesOpacity: z.ZodArray; + seriesLabelShow: z.ZodArray; + seriesLabelColor: z.ZodArray; + seriesLabelFontFamily: z.ZodArray; + seriesLabelFontSize: z.ZodArray; + seriesLabelFontWeight: z.ZodArray; + seriesLabelFontStyle: z.ZodArray; + seriesLabelOffsetX: z.ZodArray; + seriesLabelOffsetY: z.ZodArray; barGap: z.ZodNumber; barCategoryGap: z.ZodNumber; - barBorderRadius: z.ZodString; barBackgroundColor: z.ZodString; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; @@ -11016,7 +8221,7 @@ declare const componentPropSchemaMap: { legendTextLeftPadding: z.ZodNumber; legendSelectedMode: z.ZodBoolean; legendGrid: z.ZodObject<{ - top: z.ZodUnion; + top: z.ZodOptional>; left: z.ZodOptional>; bottom: z.ZodOptional>; right: z.ZodOptional>; @@ -11029,203 +8234,129 @@ declare const componentPropSchemaMap: { }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - seriesLabelSuffix: z.ZodString; - defaultSeriesLabelBackground: z.ZodString; - seriesLabelBackground: z.ZodArray; - yAxisInverse: z.ZodBoolean; xAxisInverse: z.ZodBoolean; xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ + xAxisType: z.ZodEnum<{ value: "value"; category: "category"; time: "time"; log: "log"; }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodString; - xAxisMax: z.ZodString; + xAxisInterval: z.ZodNumber; + xAxisRotate: z.ZodNumber; xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; xAxisColor: z.ZodString; - yAxisColor: z.ZodString; xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodBoolean; - xAxisName: z.ZodString; - xAxisNameFontFamily: z.ZodString; - xAxisNameFontSize: z.ZodNumber; - xAxisNameColor: z.ZodString; - xAxisNameFontStyle: z.ZodString; - xAxisNameFontWeight: z.ZodString; - xAxisNameGap: z.ZodNumber; xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineInterval: z.ZodNumber; + xAxisSplitLineInterval: z.ZodNumber; xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; - dataZoomShow: z.ZodBoolean; - moveHandleSize: z.ZodNumber; - moveHandleColor: z.ZodString; - moveHandleEmphasisColor: z.ZodString; - dataZoomRight: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echartrankBar: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - seriesWidth: z.ZodNumber; - intervalColor: z.ZodString; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - valueShow: z.ZodBoolean; - valueFontFamily: z.ZodString; - valueFontSize: z.ZodNumber; - valueColor: z.ZodString; - valueFontStyle: z.ZodString; - valueFontWeight: z.ZodString; - valueOffSetX: z.ZodNumber; - valueOffSetY: z.ZodNumber; - nameFontFamily: z.ZodString; - nameFontSize: z.ZodNumber; - nameColor: z.ZodString; - nameFontStyle: z.ZodString; - nameFontWeight: z.ZodString; - nameWidth: z.ZodNumber; - nameLeftPadding: z.ZodNumber; + yAxisInverse: z.ZodArray; + yAxisShow: z.ZodArray; + yAxisLabelShow: z.ZodArray; + yAxisMin: z.ZodArray; + yAxisMax: z.ZodArray; + yAxisMargin: z.ZodArray; + yAxisFontFamily: z.ZodArray; + yAxisFontSize: z.ZodArray; + yAxisColor: z.ZodArray; + yAxisFontStyle: z.ZodArray; + yAxisFontWeight: z.ZodArray; + yAxisNameShow: z.ZodArray; + yAxisName: z.ZodArray; + yAxisNameFontFamily: z.ZodArray; + yAxisNameFontSize: z.ZodArray; + yAxisNameColor: z.ZodArray; + yAxisNameFontStyle: z.ZodArray; + yAxisNameFontWeight: z.ZodArray; + yAxisNamePaddingTop: z.ZodArray; + yAxisNamePaddingBottom: z.ZodArray; + yAxisNamePaddingLeft: z.ZodArray; + yAxisNamePaddingRight: z.ZodArray; + yAxisLineShow: z.ZodArray; + yAxisLineColor: z.ZodArray; + yAxisLineWidth: z.ZodArray; + yAxisLineOpacity: z.ZodArray; + yAxisTickShow: z.ZodArray; + yAxisTickColor: z.ZodArray; + yAxisTickWidth: z.ZodArray; + yAxisTickLength: z.ZodArray; + yAxisSplitLineShow: z.ZodArray; + yAxisSplitLineInterval: z.ZodOptional; + yAxisSplitLineWidth: z.ZodArray; + yAxisSplitLineColor: z.ZodArray; + yAxisIndex: z.ZodArray; dataLoop: z.ZodBoolean; dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; dataLoopRollNum: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echartsankey: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - points: z.ZodArray; - pointColor: z.ZodArray; - labelPosition: z.ZodArray>; - linkName: z.ZodArray; - links: z.ZodArray; + tooltipNameOffsetX: z.ZodNumber; + tooltipNameOffsetY: z.ZodNumber; + tooltipArrLineHeight: z.ZodNumber; + tooltipSeriesNameFontFamily: z.ZodString; + tooltipSeriesNameFontSize: z.ZodNumber; + tooltipSeriesNameColor: z.ZodString; + tooltipSeriesNameFontWeight: z.ZodString; + tooltipSeriesNameFontStyle: z.ZodString; + tooltipValueFontFamily: z.ZodString; + tooltipValueFontSize: z.ZodNumber; + tooltipValueColor: z.ZodString; + tooltipValueFontWeight: z.ZodString; + tooltipValueFontStyle: z.ZodString; + tooltipUnit: z.ZodArray; + tooltipUnitFontFamily: z.ZodString; + tooltipUnitFontSize: z.ZodNumber; + tooltipUnitColor: z.ZodString; + tooltipUnitFontWeight: z.ZodString; + tooltipUnitFontStyle: z.ZodString; + tooltipUnitOffsetX: z.ZodNumber; + tooltipUnitOffsetY: z.ZodNumber; + tooltipMarkerSize: z.ZodNumber; + dataUnitName: z.ZodArray; + unitTabsName: z.ZodArray>; - seriesLeft: z.ZodNumber; - seriesTop: z.ZodNumber; - seriesRight: z.ZodNumber; - seriesBottom: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - tooltip: z.ZodObject<{ - show: z.ZodBoolean; - backgroundColor: z.ZodString; - color: z.ZodString; - }, z.core.$strip>; - series: z.ZodObject<{ - draggable: z.ZodBoolean; - nodeGap: z.ZodNumber; - lineStyle: z.ZodObject<{ - color: z.ZodEnum<{ - custom: "custom"; - target: "target"; - source: "source"; - }>; - customColor: z.ZodString; - opacity: z.ZodNumber; - curveness: z.ZodNumber; - }, z.core.$strip>; - }, z.core.$strip>; - seriesLabel: z.ZodObject<{ - padding: z.ZodArray; - align: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - nodeWidth: z.ZodNumber; - nodeAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - justify: "justify"; - }>; - verticalAlign: z.ZodEnum<{ - top: "top"; - bottom: "bottom"; - middle: "middle"; - }>; - }, z.core.$strip>; + tooltipAxisPointerWidth: z.ZodNumber; + tooltipAxisPointerColor: z.ZodString; + xAxisLabelCustom: z.ZodOptional>; }, z.core.$strip>; }; - readonly echartscalePie: { + readonly echartloopRingPie: { readonly data: z.ZodArray>; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>; - seriesOpacity: z.ZodArray; - pieCenterX: z.ZodNumber; - pieCenterY: z.ZodNumber; - pieRadiusMax: z.ZodNumber; - pieRadiusMin: z.ZodNumber; - gaugeShow: z.ZodBoolean; - gaugeRadius: z.ZodNumber; - gaugeLength: z.ZodNumber; - gaugeCenterX: z.ZodNumber; - gaugeCenterY: z.ZodNumber; - gaugeColor: z.ZodString; + seriesLeft: z.ZodNumber; + seriesTop: z.ZodNumber; + seriesRight: z.ZodNumber; + seriesBottom: z.ZodNumber; seriesLabelShow: z.ZodBoolean; - seriesDistanceToLabelLine: z.ZodNumber; - seriesLabelLineLength: z.ZodNumber; + seriesLabelValueBottomPadding: z.ZodNumber; seriesLabelSeriesShow: z.ZodBoolean; seriesLabelSeriesFontFamily: z.ZodString; seriesLabelSeriesFontSize: z.ZodNumber; @@ -11277,20 +8392,46 @@ declare const componentPropSchemaMap: { seriesLabelUnit: z.ZodString; seriesLabelUnitFontSize: z.ZodNumber; seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueLeftPadding: z.ZodNumber; seriesLabelValueFontFamily: z.ZodString; seriesLabelValueFontSize: z.ZodNumber; seriesLabelValueColor: z.ZodString; seriesLabelValueFontStyle: z.ZodString; seriesLabelValueFontWeight: z.ZodString; legendShow: z.ZodBoolean; - legendItemWidthAndHeight: z.ZodNumber; + legendOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; legendTextLeftPadding: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; legendOrient: z.ZodEnum<{ horizontal: "horizontal"; vertical: "vertical"; @@ -11299,184 +8440,37 @@ declare const componentPropSchemaMap: { legendHeight: z.ZodNumber; legendItemGap: z.ZodNumber; legendGrid: z.ZodObject<{ - top: z.ZodUnion; + top: z.ZodOptional>; left: z.ZodOptional>; bottom: z.ZodOptional>; right: z.ZodOptional>; }, z.core.$strip>; legendOffsetX: z.ZodNumber; legendOffsetY: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echartscatter: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray; - seriesSymbolSize: z.ZodArray; - seriesItemBorderShow: z.ZodArray; - seriesItemBorderColor: z.ZodArray; - seriesItemBorderWidth: z.ZodArray; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodUnion; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - boundaryGap: z.ZodBoolean; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; + legendSeriesWidthType: z.ZodString; + legendSeriesWidth: z.ZodOptional; + pieRadiusOuter: z.ZodNumber; + pieRoseType: z.ZodBoolean; + pieRadiusInner: z.ZodNumber; + piePaddingNum: z.ZodNumber; + pieStartAngle: z.ZodNumber; + pieClockwise: z.ZodBoolean; + itemBorderWidth: z.ZodNumber; + itemBorderColor: z.ZodString; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - dataLoop: z.ZodBoolean; - dataLoopInterval: z.ZodNumber; - dataLoopDisplayRows: z.ZodNumber; - dataLoopRollNum: z.ZodNumber; + seriesColor: z.ZodArray; tooltipLoop: z.ZodBoolean; tooltipLoopInterval: z.ZodNumber; tooltipTriggerOn: z.ZodBoolean; - tooltipOffsetX: z.ZodNumber; - tooltipOffsetY: z.ZodNumber; - tooltipBackground: z.ZodString; - tooltipWidth: z.ZodNumber; - tooltipHeight: z.ZodNumber; - tooltipPaddingTop: z.ZodNumber; - tooltipPaddingBottom: z.ZodNumber; - tooltipPaddingLeft: z.ZodNumber; - tooltipPaddingRight: z.ZodNumber; - tooltipNameFontFamily: z.ZodString; - tooltipNameFontSize: z.ZodNumber; - tooltipNameColor: z.ZodString; - tooltipNameFontWeight: z.ZodString; - tooltipNameFontStyle: z.ZodString; - tooltipAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - tooltipNameOffsetX: z.ZodNumber; - tooltipNameOffsetY: z.ZodNumber; - tooltipArrLineHeight: z.ZodNumber; - tooltipSeriesNameFontFamily: z.ZodString; - tooltipSeriesNameFontSize: z.ZodNumber; - tooltipSeriesNameColor: z.ZodString; - tooltipSeriesNameFontWeight: z.ZodString; - tooltipSeriesNameFontStyle: z.ZodString; - tooltipValueFontFamily: z.ZodString; - tooltipValueFontSize: z.ZodNumber; - tooltipValueColor: z.ZodString; - tooltipValueFontWeight: z.ZodString; - tooltipValueFontStyle: z.ZodString; - tooltipUnit: z.ZodArray; - tooltipUnitFontFamily: z.ZodString; - tooltipUnitFontSize: z.ZodNumber; - tooltipUnitColor: z.ZodString; - tooltipUnitFontWeight: z.ZodString; - tooltipUnitFontStyle: z.ZodString; - tooltipUnitOffsetX: z.ZodNumber; - tooltipUnitOffsetY: z.ZodNumber; - tooltipMarkerSize: z.ZodNumber; - dataUnitName: z.ZodArray; - unitTabsName: z.ZodArray>; - tooltipAxisPointerWidth: z.ZodNumber; - tooltipAxisPointerColor: z.ZodString; + seriesEmphasisScale: z.ZodBoolean; + seriesEmphasisScaleSize: z.ZodNumber; }, z.core.$strip>; }; - readonly echartstripBar: { + readonly echartpictorialbar: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; - stack: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; seriesColor: z.ZodArray>; - angle: z.ZodUnion; + type: z.ZodOptional; + angle: z.ZodOptional>; colors: z.ZodOptional; + per: z.ZodOptional; }, z.core.$strip>>>; - }, z.core.$strip>>; + }, z.core.$loose>>; seriesColorpicker: z.ZodArray; seriesOpacity: z.ZodArray; extremeShow: z.ZodArray; @@ -11507,19 +8500,45 @@ declare const componentPropSchemaMap: { min: "min"; }>>; extremeColor: z.ZodArray>; - angle: z.ZodUnion; + type: z.ZodOptional; + angle: z.ZodOptional>; colors: z.ZodOptional; + per: z.ZodOptional; }, z.core.$strip>>>; - }, z.core.$strip>>; + }, z.core.$loose>>; extremeOpacity: z.ZodArray; extremeColorpicker: z.ZodArray; + markLineShow: z.ZodOptional; + markLineDataType: z.ZodOptional>; + markLineData: z.ZodOptional>; + markLineSymbolStart: z.ZodOptional>; + markLineSymbolStartImage: z.ZodOptional>; + markLineSymbolEnd: z.ZodOptional>; + markLineSymbolEndImage: z.ZodOptional>; + markLineSymbolWidth: z.ZodOptional>; + markLineSymbolHeight: z.ZodOptional>; + markLineLabelShow: z.ZodOptional>; + markLineLabelPosition: z.ZodOptional>; + markLineLabelDistance: z.ZodOptional>; + markLineLabelCustom: z.ZodOptional>; + markLineLabelFontFamily: z.ZodOptional>; + markLineLabelFontStyle: z.ZodOptional>; + markLineLabelFontSize: z.ZodOptional>; + markLineLabelColor: z.ZodOptional>; + markLineLabelFontWeight: z.ZodOptional>; + markLineLabelPaddingTop: z.ZodOptional>; + markLineLabelPaddingRight: z.ZodOptional>; + markLineLabelPaddingBottom: z.ZodOptional>; + markLineLabelPaddingLeft: z.ZodOptional>; + markLineLineColor: z.ZodOptional>; + markLineLineWidth: z.ZodOptional>; + markLineLineType: z.ZodOptional>; barGap: z.ZodNumber; barCategoryGap: z.ZodNumber; - barBorderRadius: z.ZodString; - barBackgroundColor: z.ZodString; + symbol: z.ZodString; + symbolWidth: z.ZodNumber; + symbolHeight: z.ZodNumber; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; gridRight: z.ZodNumber; @@ -11528,161 +8547,30 @@ declare const componentPropSchemaMap: { legendWidth: z.ZodNumber; legendHeight: z.ZodNumber; legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - legendTextLeftPadding: z.ZodNumber; - legendSelectedMode: z.ZodBoolean; - legendGrid: z.ZodObject<{ - top: z.ZodUnion; - left: z.ZodUnion; - }, z.core.$strip>; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesLabelColor: z.ZodString; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelFontWeight: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - seriesLabelSuffix: z.ZodString; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - yAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - yAxisInterval: z.ZodNumber; - yAxisRotate: z.ZodNumber; - xAxisMin: z.ZodString; - xAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - xAxisNameShow: z.ZodBoolean; - xAxisName: z.ZodString; - xAxisNameFontFamily: z.ZodString; - xAxisNameFontSize: z.ZodNumber; - xAxisNameColor: z.ZodString; - xAxisNameFontStyle: z.ZodString; - xAxisNameFontWeight: z.ZodString; - xAxisNameGap: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; + legendItemHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendFontFamily: z.ZodString; + legendFontSize: z.ZodNumber; + legendColor: z.ZodString; + legendFontStyle: z.ZodString; + legendFontWeight: z.ZodString; + valueShow: z.ZodOptional; + valueFontFamily: z.ZodOptional; + valueFontSize: z.ZodOptional; + valueColor: z.ZodOptional; + valueFontStyle: z.ZodOptional; + valueFontWeight: z.ZodOptional; + valueOffSetX: z.ZodOptional; + valueOffSetY: z.ZodOptional; dataLoop: z.ZodBoolean; dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; dataLoopRollNum: z.ZodNumber; - dataZoomShow: z.ZodBoolean; - moveHandleSize: z.ZodNumber; - moveHandleColor: z.ZodString; - moveHandleEmphasisColor: z.ZodString; - dataZoomRight: z.ZodNumber; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipTriggerOn: z.ZodBoolean; - tooltipOffsetX: z.ZodNumber; - tooltipOffsetY: z.ZodNumber; - tooltipBackground: z.ZodString; - tooltipWidth: z.ZodNumber; - tooltipHeight: z.ZodNumber; - tooltipPaddingTop: z.ZodNumber; - tooltipPaddingBottom: z.ZodNumber; - tooltipPaddingLeft: z.ZodNumber; - tooltipPaddingRight: z.ZodNumber; - tooltipNameFontFamily: z.ZodString; - tooltipNameFontSize: z.ZodNumber; - tooltipNameColor: z.ZodString; - tooltipNameFontWeight: z.ZodString; - tooltipNameFontStyle: z.ZodString; - tooltipAlign: z.ZodEnum<{ - left: "left"; - right: "right"; - center: "center"; - }>; - tooltipNameOffsetX: z.ZodNumber; - tooltipNameOffsetY: z.ZodNumber; - tooltipArrLineHeight: z.ZodNumber; - tooltipSeriesNameFontFamily: z.ZodString; - tooltipSeriesNameFontSize: z.ZodNumber; - tooltipSeriesNameColor: z.ZodString; - tooltipSeriesNameFontWeight: z.ZodString; - tooltipSeriesNameFontStyle: z.ZodString; - tooltipValueFontFamily: z.ZodString; - tooltipValueFontSize: z.ZodNumber; - tooltipValueColor: z.ZodString; - tooltipValueFontWeight: z.ZodString; - tooltipValueFontStyle: z.ZodString; - tooltipUnit: z.ZodArray; - tooltipUnitFontFamily: z.ZodString; - tooltipUnitFontSize: z.ZodNumber; - tooltipUnitColor: z.ZodString; - tooltipUnitFontWeight: z.ZodString; - tooltipUnitFontStyle: z.ZodString; - tooltipUnitOffsetX: z.ZodNumber; - tooltipUnitOffsetY: z.ZodNumber; - tooltipMarkerSize: z.ZodNumber; - dataUnitName: z.ZodArray; - unitTabsName: z.ZodArray>; - tooltipAxisPointerWidth: z.ZodNumber; - tooltipAxisPointerColor: z.ZodString; - tooltipLabelGapSapce: z.ZodOptional; }, z.core.$strip>; }; - readonly echartthinBar: { + readonly echartpie: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ @@ -11693,224 +8581,327 @@ declare const componentPropSchemaMap: { name: z.ZodString; value: z.ZodString; }, z.core.$strip>>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - hoverColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; + seriesLeft: z.ZodNumber; + seriesTop: z.ZodNumber; + seriesRight: z.ZodNumber; + seriesBottom: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesDistanceToLabelLine: z.ZodNumber; + seriesLabelLineLength: z.ZodNumber; + seriesLabelOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + radial: "radial"; }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + seriesLabelSeriesShow: z.ZodBoolean; + seriesLabelSeriesFontFamily: z.ZodString; + seriesLabelSeriesFontSize: z.ZodNumber; + seriesLabelSeriesColor: z.ZodString; + seriesLabelSeriesFontStyle: z.ZodString; + seriesLabelSeriesFontWeight: z.ZodString; + seriesLabelPercentShow: z.ZodBoolean; + seriesLabelPercentValue: z.ZodNumber; + seriesLabelPercentFontFamily: z.ZodString; + seriesLabelPercentFontSize: z.ZodNumber; + seriesLabelPercentColor: z.ZodString; + seriesLabelPercentFontStyle: z.ZodString; + seriesLabelPercentFontWeight: z.ZodString; + seriesLabelValueShow: z.ZodBoolean; + seriesLabelUnit: z.ZodString; + seriesLabelUnitFontSize: z.ZodNumber; + seriesLabelUnitLeftPadding: z.ZodNumber; + seriesLabelValueLeftPadding: z.ZodNumber; + seriesLabelValueFontFamily: z.ZodString; + seriesLabelValueFontSize: z.ZodNumber; + seriesLabelValueColor: z.ZodString; + seriesLabelValueFontStyle: z.ZodString; + seriesLabelValueFontWeight: z.ZodString; + legendShow: z.ZodBoolean; + legendOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; + legendTextLeftPadding: z.ZodNumber; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + legendWidth: z.ZodNumber; + legendHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendGrid: z.ZodOptional; + left: z.ZodOptional>; + bottom: z.ZodOptional>; + right: z.ZodOptional>; + }, z.core.$strip>>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendSeriesWidthType: z.ZodString; + legendSeriesWidth: z.ZodOptional; + pieRadiusOuter: z.ZodNumber; + pieRoseType: z.ZodBoolean; + pieRadiusInner: z.ZodNumber; + pieStartAngle: z.ZodNumber; + pieClockwise: z.ZodBoolean; + itemBorderWidth: z.ZodNumber; + itemBorderColor: z.ZodString; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + seriesColor: z.ZodArray; + tooltipLoop: z.ZodOptional; + tooltipLoopInterval: z.ZodOptional; + tooltipTriggerOn: z.ZodOptional; + tooltipOffsetX: z.ZodOptional; + tooltipOffsetY: z.ZodOptional; + tooltipBackground: z.ZodOptional; + tooltipWidth: z.ZodOptional; + tooltipHeight: z.ZodOptional; + tooltipPaddingTop: z.ZodOptional; + tooltipPaddingBottom: z.ZodOptional; + tooltipPaddingLeft: z.ZodOptional; + tooltipPaddingRight: z.ZodOptional; + tooltipNameFontFamily: z.ZodOptional; + tooltipNameFontSize: z.ZodOptional; + tooltipNameColor: z.ZodOptional; + tooltipNameFontWeight: z.ZodOptional; + tooltipNameFontStyle: z.ZodOptional; + tooltipAlign: z.ZodOptional>; + tooltipNameOffsetX: z.ZodOptional; + tooltipNameOffsetY: z.ZodOptional; + tooltipArrLineHeight: z.ZodOptional; + tooltipSeriesNameFontFamily: z.ZodOptional; + tooltipSeriesNameFontSize: z.ZodOptional; + tooltipSeriesNameColor: z.ZodOptional; + tooltipSeriesNameFontWeight: z.ZodOptional; + tooltipSeriesNameFontStyle: z.ZodOptional; + tooltipValueFontFamily: z.ZodOptional; + tooltipValueFontSize: z.ZodOptional; + tooltipValueColor: z.ZodOptional; + tooltipValueFontWeight: z.ZodOptional; + tooltipValueFontStyle: z.ZodOptional; + tooltipUnit: z.ZodOptional>; + tooltipUnitFontFamily: z.ZodOptional; + tooltipUnitFontSize: z.ZodOptional; + tooltipUnitColor: z.ZodOptional; + tooltipUnitFontWeight: z.ZodOptional; + tooltipUnitFontStyle: z.ZodOptional; + tooltipUnitOffsetX: z.ZodOptional; + tooltipUnitOffsetY: z.ZodOptional; + tooltipMarkerSize: z.ZodOptional; + tooltipAxisPointerWidth: z.ZodOptional; + tooltipAxisPointerColor: z.ZodOptional; + seriesEmphasisScale: z.ZodOptional; + seriesEmphasisScaleSize: z.ZodOptional; }, z.core.$strip>; }; - readonly echartthreedBar: { + readonly echartpluralRosePie: { readonly data: z.ZodArray; + name: z.ZodString; + seriesName: z.ZodString; value: z.ZodNumber; }, z.core.$strip>>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; + stack: z.ZodBoolean; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>]>; - seriesTopColor: z.ZodString; - seriesBottomColor: z.ZodString; - hoverColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>>]>; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; + seriesColor: z.ZodArray; + seriesColorpicker: z.ZodArray; + barCategoryGap: z.ZodNumber; + legendShow: z.ZodBoolean; + legendWidth: z.ZodNumber; + legendHeight: z.ZodNumber; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendFontFamily: z.ZodString; + legendFontSize: z.ZodNumber; + legendColor: z.ZodString; + legendFontStyle: z.ZodString; + legendFontWeight: z.ZodString; + legendTextLeftPadding: z.ZodNumber; + legendSelectedMode: z.ZodBoolean; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodOptional>; + bottom: z.ZodOptional>; + right: z.ZodOptional>; + }, z.core.$strip>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodBoolean; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodNumber; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodString; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodNumber; - xAxisColor: z.ZodString; - yAxisColor: z.ZodString; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodString; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodBoolean; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodString; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodNumber; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodNumber; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodBoolean; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodString; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodNumber; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodNumber; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodNumber; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodString; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; + polarCenterX: z.ZodNumber; + polarCenterY: z.ZodNumber; + polarRadiusMax: z.ZodNumber; + polarRadiusMin: z.ZodNumber; + angleAxisInverse: z.ZodBoolean; + angleAxisShow: z.ZodBoolean; + angleAxisStartAngle: z.ZodNumber; + angleAxisLabelShow: z.ZodBoolean; + angleAxisInterval: z.ZodNumber; + angleAxisMargin: z.ZodNumber; + angleAxisFontFamily: z.ZodString; + angleAxisFontSize: z.ZodNumber; + angleAxisColor: z.ZodString; + angleAxisFontStyle: z.ZodString; + angleAxisFontWeight: z.ZodString; + angleAxisLineShow: z.ZodBoolean; + angleAxisLineColor: z.ZodString; + angleAxisLineWidth: z.ZodNumber; + angleAxisLineOpacity: z.ZodNumber; + angleAxisTickShow: z.ZodBoolean; + angleAxisTickColor: z.ZodString; + angleAxisTickWidth: z.ZodNumber; + angleAxisTickLength: z.ZodNumber; + angleAxisSplitLineShow: z.ZodBoolean; + angleAxisSplitLineWidth: z.ZodNumber; + angleAxisSplitLineColor: z.ZodString; + radiusAxisInverse: z.ZodBoolean; + radiusAxisShow: z.ZodBoolean; + radiusAxisLabelShow: z.ZodBoolean; + radiusAxisMin: z.ZodString; + radiusAxisMax: z.ZodString; + radiusAxisMargin: z.ZodNumber; + radiusAxisFontFamily: z.ZodString; + radiusAxisFontSize: z.ZodNumber; + radiusAxisColor: z.ZodString; + radiusAxisFontStyle: z.ZodString; + radiusAxisFontWeight: z.ZodString; + radiusAxisNameShow: z.ZodBoolean; + radiusAxisName: z.ZodString; + radiusAxisNameFontFamily: z.ZodString; + radiusAxisNameFontSize: z.ZodNumber; + radiusAxisNameColor: z.ZodString; + radiusAxisNameFontStyle: z.ZodString; + radiusAxisNameFontWeight: z.ZodString; + radiusAxisNamePaddingTop: z.ZodNumber; + radiusAxisNamePaddingBottom: z.ZodNumber; + radiusAxisNamePaddingLeft: z.ZodNumber; + radiusAxisNamePaddingRight: z.ZodNumber; + radiusAxisLineShow: z.ZodBoolean; + radiusAxisLineColor: z.ZodString; + radiusAxisLineWidth: z.ZodNumber; + radiusAxisLineOpacity: z.ZodNumber; + radiusAxisTickShow: z.ZodBoolean; + radiusAxisTickColor: z.ZodString; + radiusAxisTickWidth: z.ZodNumber; + radiusAxisTickLength: z.ZodNumber; + radiusAxisSplitLineShow: z.ZodBoolean; + radiusAxisSplitLineNumber: z.ZodNumber; + radiusAxisSplitLineWidth: z.ZodNumber; + radiusAxisSplitLineColor: z.ZodString; + dataLoop: z.ZodBoolean; + dataLoopInterval: z.ZodNumber; + dataLoopDisplayRows: z.ZodNumber; + dataLoopRollNum: z.ZodNumber; tooltipLoop: z.ZodBoolean; tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + tooltipTriggerOn: z.ZodBoolean; + tooltipOffsetX: z.ZodNumber; + tooltipOffsetY: z.ZodNumber; + tooltipBackground: z.ZodString; + tooltipWidth: z.ZodNumber; + tooltipHeight: z.ZodNumber; + tooltipPaddingTop: z.ZodNumber; + tooltipPaddingBottom: z.ZodNumber; + tooltipPaddingLeft: z.ZodNumber; + tooltipPaddingRight: z.ZodNumber; + tooltipNameFontFamily: z.ZodString; + tooltipNameFontSize: z.ZodNumber; + tooltipNameColor: z.ZodString; + tooltipNameFontWeight: z.ZodString; + tooltipNameFontStyle: z.ZodString; + tooltipAlign: z.ZodEnum<{ + left: "left"; + right: "right"; + center: "center"; + }>; + tooltipNameOffsetX: z.ZodNumber; + tooltipNameOffsetY: z.ZodNumber; + tooltipArrLineHeight: z.ZodNumber; + tooltipSeriesNameFontFamily: z.ZodString; + tooltipSeriesNameFontSize: z.ZodNumber; + tooltipSeriesNameColor: z.ZodString; + tooltipSeriesNameFontWeight: z.ZodString; + tooltipSeriesNameFontStyle: z.ZodString; + tooltipValueFontFamily: z.ZodString; + tooltipValueFontSize: z.ZodNumber; + tooltipValueColor: z.ZodString; + tooltipValueFontWeight: z.ZodString; + tooltipValueFontStyle: z.ZodString; + tooltipUnit: z.ZodArray; + tooltipUnitFontFamily: z.ZodString; + tooltipUnitFontSize: z.ZodNumber; + tooltipUnitColor: z.ZodString; + tooltipUnitFontWeight: z.ZodString; + tooltipUnitFontStyle: z.ZodString; + tooltipUnitOffsetX: z.ZodNumber; + tooltipUnitOffsetY: z.ZodNumber; + tooltipMarkerSize: z.ZodNumber; + dataUnitName: z.ZodArray; + unitTabsName: z.ZodArray>; + tooltipAxisPointerWidth: z.ZodNumber; + tooltipAxisPointerColor: z.ZodString; }, z.core.$strip>; }; - readonly echartthreedBarAndLine: { + readonly echartradar: { readonly data: z.ZodArray>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - seriesTopColor: z.ZodString; - seriesBottomColor: z.ZodString; - seriesHoverColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - seriesHoverOpacity: z.ZodNumber; - seriesHoverTopColor: z.ZodString; - seriesHoverBottomColor: z.ZodString; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; - seriesLineColor: z.ZodUnion>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>, z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>]>; - seriesLineOpacity: z.ZodUnion]>; - seriesLineWidth: z.ZodUnion]>; - seriesSmoothShow: z.ZodUnion]>; - seriesSmooth: z.ZodUnion]>; - seriesConnectNulls: z.ZodOptional]>>; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; + radarCenterX: z.ZodNumber; + radarCenterY: z.ZodNumber; + radarRadiusMax: z.ZodNumber; + radarRadiusMin: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; legendShow: z.ZodBoolean; legendWidth: z.ZodNumber; legendHeight: z.ZodNumber; @@ -11984,167 +8938,8 @@ declare const componentPropSchemaMap: { legendColor: z.ZodString; legendFontStyle: z.ZodString; legendFontWeight: z.ZodString; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodUnion]>; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodUnion]>; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; - }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodOptional; - yAxisMax: z.ZodOptional; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodUnion]>; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodUnion]>; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodUnion]>; - xAxisColor: z.ZodString; - yAxisColor: z.ZodUnion]>; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodUnion]>; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodUnion]>; - yAxisNameShow: z.ZodOptional; - yAxisName: z.ZodOptional; - yAxisNameFontFamily: z.ZodOptional; - yAxisNameFontSize: z.ZodOptional; - yAxisNameColor: z.ZodOptional; - yAxisNameFontStyle: z.ZodOptional; - yAxisNameFontWeight: z.ZodOptional; - yAxisNamePaddingTop: z.ZodOptional; - yAxisNamePaddingBottom: z.ZodOptional; - yAxisNamePaddingLeft: z.ZodOptional; - yAxisNamePaddingRight: z.ZodOptional; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodUnion]>; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodUnion]>; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodUnion]>; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodUnion]>; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodUnion]>; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodUnion]>; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodUnion]>; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodUnion]>; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodUnion]>; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodUnion]>; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodUnion]>; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodUnion]>; - tooltipFixed: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echartthreePie: { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesName: z.ZodArray; - seriesTabsName: z.ZodArray>; - seriesLeft: z.ZodNumber; - seriesTop: z.ZodNumber; - seriesRight: z.ZodNumber; - seriesBottom: z.ZodNumber; - seriesLabelShow: z.ZodBoolean; - seriesDistanceToLabelLine: z.ZodNumber; - seriesLabelLineLength: z.ZodNumber; - seriesLabelOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - radial: "radial"; - }>; - seriesLabelSeriesShow: z.ZodBoolean; - seriesLabelSeriesFontFamily: z.ZodString; - seriesLabelSeriesFontSize: z.ZodNumber; - seriesLabelSeriesColor: z.ZodString; - seriesLabelSeriesFontStyle: z.ZodString; - seriesLabelSeriesFontWeight: z.ZodString; - seriesLabelPercentShow: z.ZodBoolean; - seriesLabelPercentValue: z.ZodNumber; - seriesLabelPercentFontFamily: z.ZodString; - seriesLabelPercentFontSize: z.ZodNumber; - seriesLabelPercentColor: z.ZodString; - seriesLabelPercentFontStyle: z.ZodString; - seriesLabelPercentFontWeight: z.ZodString; - seriesLabelValueShow: z.ZodBoolean; - seriesLabelUnit: z.ZodString; - seriesLabelUnitFontSize: z.ZodNumber; - seriesLabelUnitLeftPadding: z.ZodNumber; - seriesLabelValueLeftPadding: z.ZodNumber; - seriesLabelValueFontFamily: z.ZodString; - seriesLabelValueFontSize: z.ZodNumber; - seriesLabelValueColor: z.ZodString; - seriesLabelValueFontStyle: z.ZodString; - seriesLabelValueFontWeight: z.ZodString; - legendShow: z.ZodBoolean; - legendOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - desc: "desc"; - }>; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; legendTextLeftPadding: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendOrient: z.ZodEnum<{ - horizontal: "horizontal"; - vertical: "vertical"; - }>; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemGap: z.ZodNumber; + legendSelectedMode: z.ZodBoolean; legendGrid: z.ZodObject<{ top: z.ZodUnion; left: z.ZodOptional>; @@ -12153,153 +8948,147 @@ declare const componentPropSchemaMap: { }, z.core.$strip>; legendOffsetX: z.ZodNumber; legendOffsetY: z.ZodNumber; - legendSeriesWidthType: z.ZodString; - legendSeriesWidth: z.ZodOptional; - pieRadiusOuter: z.ZodNumber; - pieRoseType: z.ZodBoolean; - pieRadiusInner: z.ZodNumber; - pieStartAngle: z.ZodNumber; - pieClockwise: z.ZodBoolean; - itemBorderWidth: z.ZodNumber; - itemBorderColor: z.ZodString; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; }>; - seriesColor: z.ZodArray; - size: z.ZodNumber; - distance: z.ZodNumber; - boxHeight: z.ZodNumber; - autoRotate: z.ZodBoolean; - projection: z.ZodEnum<{ - orthographic: "orthographic"; - perspective: "perspective"; + radarMin: z.ZodNumber; + radarMax: z.ZodNumber; + radarShape: z.ZodEnum<{ + circle: "circle"; + polygon: "polygon"; }>; - autoRotateSpeed: z.ZodNumber; - viewControlX: z.ZodNumber; - viewControlY: z.ZodNumber; - viewControlZ: z.ZodNumber; - alpha: z.ZodNumber; - beta: z.ZodNumber; + radarNameShow: z.ZodBoolean; + radarNameGap: z.ZodNumber; + radarNameFontFamily: z.ZodString; + radarNameFontSize: z.ZodNumber; + radarNameColor: z.ZodString; + radarNameFontStyle: z.ZodString; + radarNameFontWeight: z.ZodString; + radarLineShow: z.ZodBoolean; + radarLineColor: z.ZodString; + radarLineWidth: z.ZodNumber; + radarTickShow: z.ZodBoolean; + radarSplitNumber: z.ZodNumber; + radarTickColor: z.ZodString; + radarTickWidth: z.ZodNumber; + radarTickLength: z.ZodNumber; + radarLabelShow: z.ZodBoolean; + radarLabelMaxShow: z.ZodBoolean; + radarLabelMinShow: z.ZodBoolean; + radarLabelMargin: z.ZodNumber; + radarLabelFontFamily: z.ZodString; + radarLabelFontSize: z.ZodNumber; + radarLabelColor: z.ZodString; + radarLabelFontStyle: z.ZodString; + radarLabelFontWeight: z.ZodString; + radarSplitLineShow: z.ZodBoolean; + radarSplitLineWidth: z.ZodNumber; + radarSplitLineColor: z.ZodString; + radarSplitAreaTabsName: z.ZodArray; + radarSplitAreaColor: z.ZodArray; + seriesLineColor: z.ZodArray; + seriesLineWidth: z.ZodArray; + seriesLineShadowColor: z.ZodArray; + seriesLineShadowOffsetX: z.ZodArray; + seriesLineShadowOffsetY: z.ZodArray; + seriesLineShadowBlur: z.ZodArray; + seriesLineShadowBlurExtension: z.ZodNumber; + seriesSymbol: z.ZodArray; + seriesSymbolImage: z.ZodArray; + seriesSymbolWidth: z.ZodArray; + seriesSymbolHeight: z.ZodArray; + seriesItemColor: z.ZodArray; + seriesItemBorderWidth: z.ZodArray; + seriesItemBorderColor: z.ZodArray; + seriesAreaColor: z.ZodArray; }, z.core.$strip>; }; - readonly echartthreeQuartersPie: { + readonly echartsankey: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; - pieRadiusOuter: z.ZodNumber; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; + points: z.ZodArray; + pointColor: z.ZodArray; + labelPosition: z.ZodArray>; + linkName: z.ZodArray; + links: z.ZodArray>; - seriesOrder: z.ZodEnum<{ - default: "default"; - ascending: "ascending"; - descending: "descending"; - }>; - seriesOpacity: z.ZodArray; - seriesOffsetX: z.ZodNumber; - seriesOffsetY: z.ZodNumber; - seriesRemainColor: z.ZodString; - seriesBottomColor: z.ZodString; - seriesLabelShow: z.ZodBoolean; - seriesLabelFontFamily: z.ZodString; - seriesLabelFontSize: z.ZodNumber; - seriesLabelColor: z.ZodString; - seriesLabelFontStyle: z.ZodString; - seriesLabelFontWeight: z.ZodString; - seriesLabelOffsetX: z.ZodNumber; - seriesLabelOffsetY: z.ZodNumber; - legendShow: z.ZodBoolean; - legendItemWidthHeight: z.ZodNumber; - legendSeriesShow: z.ZodBoolean; - legendSeriesFontFamily: z.ZodString; - legendSeriesFontSize: z.ZodNumber; - legendSeriesColor: z.ZodString; - legendSeriesFontStyle: z.ZodString; - legendSeriesFontWeight: z.ZodString; - legendPercentShow: z.ZodBoolean; - legendPercent: z.ZodNumber; - legendPercentLeftPadding: z.ZodNumber; - legendPercentFontFamily: z.ZodString; - legendPercentFontSize: z.ZodNumber; - legendPercentColor: z.ZodString; - legendPercentFontStyle: z.ZodString; - legendPercentFontWeight: z.ZodString; - legendPercentColorFollow: z.ZodBoolean; - legendValueShow: z.ZodBoolean; - legendUnit: z.ZodString; - legendUnitFontSize: z.ZodNumber; - legendUnitLeftPadding: z.ZodNumber; - legendValueLeftPadding: z.ZodNumber; - legendValueColorFollow: z.ZodBoolean; - legendValueFontFamily: z.ZodString; - legendValueFontSize: z.ZodNumber; - legendValueColor: z.ZodString; - legendValueFontStyle: z.ZodString; - legendValueFontWeight: z.ZodString; - legendItemGap: z.ZodNumber; - legendOffsetX: z.ZodNumber; - legendOffsetY: z.ZodNumber; - legendUnderlineShow: z.ZodBoolean; - legendUnderlineWidth: z.ZodNumber; - legendUnderlineInterval: z.ZodNumber; - legendUnderlineOffsetX: z.ZodNumber; - legendUnderlineOffsetY: z.ZodNumber; - }, z.core.$strip>; - }; - readonly echarttreemap: { - readonly data: z.ZodArray; - }, unknown, z.core.$ZodTypeInternals<{ - name: string; - value: number; - children?: Array<{ - name: string; - value: number; - children?: any; - }>; - }, unknown>>>; - readonly option: z.ZodObject<{ - refresh: z.ZodBoolean; - dataSeriesName: z.ZodArray; - seriesTabsName: z.ZodArray; - seriesColor: z.ZodArray; + seriesLeft: z.ZodNumber; + seriesTop: z.ZodNumber; + seriesRight: z.ZodNumber; + seriesBottom: z.ZodNumber; seriesLabelShow: z.ZodBoolean; seriesLabelColor: z.ZodString; seriesLabelFontFamily: z.ZodString; seriesLabelFontSize: z.ZodNumber; seriesLabelFontWeight: z.ZodString; seriesLabelFontStyle: z.ZodString; - seriesBorderColor: z.ZodString; - seriesBorderWidth: z.ZodNumber; - seriesChildBorderColor: z.ZodString; - seriesChildBorderWidth: z.ZodNumber; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; + tooltip: z.ZodObject<{ + show: z.ZodBoolean; + backgroundColor: z.ZodString; + color: z.ZodString; + }, z.core.$strip>; + series: z.ZodObject<{ + draggable: z.ZodBoolean; + nodeGap: z.ZodNumber; + lineStyle: z.ZodObject<{ + color: z.ZodEnum<{ + custom: "custom"; + target: "target"; + source: "source"; + }>; + customColor: z.ZodString; + opacity: z.ZodNumber; + curveness: z.ZodNumber; + }, z.core.$strip>; + }, z.core.$strip>; + seriesLabel: z.ZodObject<{ + padding: z.ZodArray; + align: z.ZodEnum<{ + left: "left"; + right: "right"; + center: "center"; + }>; + nodeWidth: z.ZodNumber; + nodeAlign: z.ZodEnum<{ + left: "left"; + right: "right"; + justify: "justify"; + }>; + verticalAlign: z.ZodEnum<{ + top: "top"; + bottom: "bottom"; + middle: "middle"; + }>; + }, z.core.$strip>; }, z.core.$strip>; }; - readonly echartzebra: { + readonly echartscatter: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ @@ -12310,33 +9099,41 @@ declare const componentPropSchemaMap: { name: z.ZodString; value: z.ZodString; }, z.core.$strip>>; - seriesColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - hoverColor: z.ZodObject<{ - type: z.ZodOptional>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>; - intervalColor: z.ZodString; - isSort: z.ZodBoolean; - isHover: z.ZodBoolean; - seriesWidth: z.ZodNumber; - seriesOpacity: z.ZodNumber; + seriesColor: z.ZodArray; + seriesSymbolSize: z.ZodArray; + seriesItemBorderShow: z.ZodArray; + seriesItemBorderColor: z.ZodArray; + seriesItemBorderWidth: z.ZodArray; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; gridRight: z.ZodNumber; gridBottom: z.ZodNumber; + legendShow: z.ZodBoolean; + legendWidth: z.ZodNumber; + legendHeight: z.ZodNumber; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendFontFamily: z.ZodString; + legendFontSize: z.ZodNumber; + legendColor: z.ZodString; + legendFontStyle: z.ZodString; + legendFontWeight: z.ZodString; + legendTextLeftPadding: z.ZodNumber; + legendSelectedMode: z.ZodBoolean; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodUnion; + }, z.core.$strip>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; + boundaryGap: z.ZodBoolean; yAxisInverse: z.ZodBoolean; xAxisInverse: z.ZodBoolean; xAxisShow: z.ZodBoolean; @@ -12349,8 +9146,6 @@ declare const componentPropSchemaMap: { time: "time"; log: "log"; }>; - xAxisLabelLimit: z.ZodBoolean; - xAxisLabelLimitNum: z.ZodNumber; xAxisInterval: z.ZodNumber; xAxisRotate: z.ZodNumber; yAxisMin: z.ZodString; @@ -12401,13 +9196,64 @@ declare const componentPropSchemaMap: { yAxisSplitLineWidth: z.ZodNumber; xAxisSplitLineColor: z.ZodString; yAxisSplitLineColor: z.ZodString; + dataLoop: z.ZodBoolean; + dataLoopInterval: z.ZodNumber; + dataLoopDisplayRows: z.ZodNumber; + dataLoopRollNum: z.ZodNumber; tooltipLoop: z.ZodBoolean; tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + tooltipTriggerOn: z.ZodBoolean; + tooltipOffsetX: z.ZodNumber; + tooltipOffsetY: z.ZodNumber; + tooltipBackground: z.ZodString; + tooltipWidth: z.ZodNumber; + tooltipHeight: z.ZodNumber; + tooltipPaddingTop: z.ZodNumber; + tooltipPaddingBottom: z.ZodNumber; + tooltipPaddingLeft: z.ZodNumber; + tooltipPaddingRight: z.ZodNumber; + tooltipNameFontFamily: z.ZodString; + tooltipNameFontSize: z.ZodNumber; + tooltipNameColor: z.ZodString; + tooltipNameFontWeight: z.ZodString; + tooltipNameFontStyle: z.ZodString; + tooltipAlign: z.ZodEnum<{ + left: "left"; + right: "right"; + center: "center"; + }>; + tooltipNameOffsetX: z.ZodNumber; + tooltipNameOffsetY: z.ZodNumber; + tooltipArrLineHeight: z.ZodNumber; + tooltipSeriesNameFontFamily: z.ZodString; + tooltipSeriesNameFontSize: z.ZodNumber; + tooltipSeriesNameColor: z.ZodString; + tooltipSeriesNameFontWeight: z.ZodString; + tooltipSeriesNameFontStyle: z.ZodString; + tooltipValueFontFamily: z.ZodString; + tooltipValueFontSize: z.ZodNumber; + tooltipValueColor: z.ZodString; + tooltipValueFontWeight: z.ZodString; + tooltipValueFontStyle: z.ZodString; + tooltipUnit: z.ZodArray; + tooltipUnitFontFamily: z.ZodString; + tooltipUnitFontSize: z.ZodNumber; + tooltipUnitColor: z.ZodString; + tooltipUnitFontWeight: z.ZodString; + tooltipUnitFontStyle: z.ZodString; + tooltipUnitOffsetX: z.ZodNumber; + tooltipUnitOffsetY: z.ZodNumber; + tooltipMarkerSize: z.ZodNumber; + dataUnitName: z.ZodArray; + unitTabsName: z.ZodArray>; + tooltipAxisPointerWidth: z.ZodNumber; + tooltipAxisPointerColor: z.ZodString; }, z.core.$strip>; }; - readonly echartzebra2: { + readonly echartstripBar: { readonly data: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesColor: z.ZodArray>; angle: z.ZodUnion; colors: z.ZodOptional>>; - }, z.core.$strip>]>>; + }, z.core.$strip>>; seriesColorpicker: z.ZodArray; seriesOpacity: z.ZodArray; extremeShow: z.ZodArray; @@ -12442,8 +9283,6 @@ declare const componentPropSchemaMap: { max: "max"; min: "min"; }>>; - xAxisSplitLineType: z.ZodString; - yAxisSplitLineType: z.ZodString; extremeColor: z.ZodArray>; angle: z.ZodUnion; @@ -12454,23 +9293,10 @@ declare const componentPropSchemaMap: { }, z.core.$strip>>; extremeOpacity: z.ZodArray; extremeColorpicker: z.ZodArray; - markLineDataType: z.ZodArray; - markLineData: z.ZodArray; - markLineSymbolStart: z.ZodArray; - markLineSymbolStartImage: z.ZodArray; - markLineSymbolEnd: z.ZodArray; - markLineSymbolEndImage: z.ZodArray; - markLineSymbolWidth: z.ZodArray; - markLineSymbolHeight: z.ZodArray; - markLineLabelShow: z.ZodArray; - markLineLabelPosition: z.ZodArray; - markLineLabelDistance: z.ZodArray; - markLineLabelCustom: z.ZodArray; - markLineLabelFontFamily: z.ZodArray; - markLineLabelFontStyle: z.ZodArray; - markLineLabelFontSize: z.ZodArray; - markLineLabelColor: z.ZodArray; - markLineLabelFontWeight: z.ZodArray; + barGap: z.ZodNumber; + barCategoryGap: z.ZodNumber; + barBorderRadius: z.ZodString; + barBackgroundColor: z.ZodString; gridLeft: z.ZodNumber; gridTop: z.ZodNumber; gridRight: z.ZodNumber; @@ -12486,24 +9312,45 @@ declare const componentPropSchemaMap: { legendColor: z.ZodString; legendFontStyle: z.ZodString; legendFontWeight: z.ZodString; + legendTextLeftPadding: z.ZodNumber; + legendSelectedMode: z.ZodBoolean; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodUnion; + }, z.core.$strip>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; xNameFontSize: z.ZodNumber; yNameFontSize: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; + seriesLabelSuffix: z.ZodString; yAxisInverse: z.ZodBoolean; xAxisInverse: z.ZodBoolean; xAxisShow: z.ZodBoolean; yAxisShow: z.ZodBoolean; xAxisLabelShow: z.ZodBoolean; yAxisLabelShow: z.ZodBoolean; - xAxisType: z.ZodEnum<{ + yAxisType: z.ZodEnum<{ value: "value"; category: "category"; time: "time"; log: "log"; }>; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodString; - yAxisMax: z.ZodString; + yAxisInterval: z.ZodNumber; + yAxisRotate: z.ZodNumber; + xAxisMin: z.ZodString; + xAxisMax: z.ZodString; xAxisMargin: z.ZodNumber; yAxisMargin: z.ZodNumber; xAxisFontFamily: z.ZodString; @@ -12516,17 +9363,14 @@ declare const componentPropSchemaMap: { yAxisFontStyle: z.ZodString; xAxisFontWeight: z.ZodString; yAxisFontWeight: z.ZodString; - yAxisNameShow: z.ZodBoolean; - yAxisName: z.ZodString; - yAxisNameFontFamily: z.ZodString; - yAxisNameFontSize: z.ZodNumber; - yAxisNameColor: z.ZodString; - yAxisNameFontStyle: z.ZodString; - yAxisNameFontWeight: z.ZodString; - yAxisNamePaddingTop: z.ZodNumber; - yAxisNamePaddingBottom: z.ZodNumber; - yAxisNamePaddingLeft: z.ZodNumber; - yAxisNamePaddingRight: z.ZodNumber; + xAxisNameShow: z.ZodBoolean; + xAxisName: z.ZodString; + xAxisNameFontFamily: z.ZodString; + xAxisNameFontSize: z.ZodNumber; + xAxisNameColor: z.ZodString; + xAxisNameFontStyle: z.ZodString; + xAxisNameFontWeight: z.ZodString; + xAxisNameGap: z.ZodNumber; xAxisLineShow: z.ZodBoolean; yAxisLineShow: z.ZodBoolean; xAxisLineColor: z.ZodString; @@ -12545,7 +9389,7 @@ declare const componentPropSchemaMap: { yAxisTickLength: z.ZodNumber; xAxisSplitLineShow: z.ZodBoolean; yAxisSplitLineShow: z.ZodBoolean; - xAxisSplitLineInterval: z.ZodNumber; + yAxisSplitLineInterval: z.ZodNumber; xAxisSplitLineWidth: z.ZodNumber; yAxisSplitLineWidth: z.ZodNumber; xAxisSplitLineColor: z.ZodString; @@ -12554,150 +9398,306 @@ declare const componentPropSchemaMap: { dataLoopInterval: z.ZodNumber; dataLoopDisplayRows: z.ZodNumber; dataLoopRollNum: z.ZodNumber; + dataZoomShow: z.ZodBoolean; + moveHandleSize: z.ZodNumber; + moveHandleColor: z.ZodString; + moveHandleEmphasisColor: z.ZodString; + dataZoomRight: z.ZodNumber; + tooltipLoop: z.ZodBoolean; + tooltipLoopInterval: z.ZodNumber; + tooltipTriggerOn: z.ZodBoolean; + tooltipOffsetX: z.ZodNumber; + tooltipOffsetY: z.ZodNumber; + tooltipBackground: z.ZodString; + tooltipWidth: z.ZodNumber; + tooltipHeight: z.ZodNumber; + tooltipPaddingTop: z.ZodNumber; + tooltipPaddingBottom: z.ZodNumber; + tooltipPaddingLeft: z.ZodNumber; + tooltipPaddingRight: z.ZodNumber; + tooltipNameFontFamily: z.ZodString; + tooltipNameFontSize: z.ZodNumber; + tooltipNameColor: z.ZodString; + tooltipNameFontWeight: z.ZodString; + tooltipNameFontStyle: z.ZodString; + tooltipAlign: z.ZodEnum<{ + left: "left"; + right: "right"; + center: "center"; + }>; + tooltipNameOffsetX: z.ZodNumber; + tooltipNameOffsetY: z.ZodNumber; + tooltipArrLineHeight: z.ZodNumber; + tooltipSeriesNameFontFamily: z.ZodString; + tooltipSeriesNameFontSize: z.ZodNumber; + tooltipSeriesNameColor: z.ZodString; + tooltipSeriesNameFontWeight: z.ZodString; + tooltipSeriesNameFontStyle: z.ZodString; + tooltipValueFontFamily: z.ZodString; + tooltipValueFontSize: z.ZodNumber; + tooltipValueColor: z.ZodString; + tooltipValueFontWeight: z.ZodString; + tooltipValueFontStyle: z.ZodString; + tooltipUnit: z.ZodArray; + tooltipUnitFontFamily: z.ZodString; + tooltipUnitFontSize: z.ZodNumber; + tooltipUnitColor: z.ZodString; + tooltipUnitFontWeight: z.ZodString; + tooltipUnitFontStyle: z.ZodString; + tooltipUnitOffsetX: z.ZodNumber; + tooltipUnitOffsetY: z.ZodNumber; + tooltipMarkerSize: z.ZodNumber; + dataUnitName: z.ZodArray; + unitTabsName: z.ZodArray>; + tooltipAxisPointerWidth: z.ZodNumber; + tooltipAxisPointerColor: z.ZodString; + tooltipLabelGapSapce: z.ZodOptional; + }, z.core.$strip>; + }; + readonly echartthreePie: { + readonly data: z.ZodArray>; + readonly option: z.ZodObject<{ + refresh: z.ZodBoolean; + dataSeriesName: z.ZodArray; + seriesName: z.ZodArray; + seriesTabsName: z.ZodArray>; + seriesLeft: z.ZodNumber; + seriesTop: z.ZodNumber; + seriesRight: z.ZodNumber; + seriesBottom: z.ZodNumber; + seriesLabelShow: z.ZodBoolean; + seriesDistanceToLabelLine: z.ZodNumber; + seriesLabelLineLength: z.ZodNumber; + seriesLabelOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + radial: "radial"; + }>; + seriesLabelSeriesShow: z.ZodBoolean; + seriesLabelSeriesFontFamily: z.ZodString; + seriesLabelSeriesFontSize: z.ZodNumber; + seriesLabelSeriesColor: z.ZodString; + seriesLabelSeriesFontStyle: z.ZodString; + seriesLabelSeriesFontWeight: z.ZodString; + seriesLabelPercentShow: z.ZodBoolean; + seriesLabelPercentValue: z.ZodNumber; + seriesLabelPercentFontFamily: z.ZodString; + seriesLabelPercentFontSize: z.ZodNumber; + seriesLabelPercentColor: z.ZodString; + seriesLabelPercentFontStyle: z.ZodString; + seriesLabelPercentFontWeight: z.ZodString; + seriesLabelValueShow: z.ZodBoolean; + seriesLabelUnit: z.ZodString; + seriesLabelUnitFontSize: z.ZodNumber; + seriesLabelUnitLeftPadding: z.ZodNumber; + seriesLabelValueLeftPadding: z.ZodNumber; + seriesLabelValueFontFamily: z.ZodString; + seriesLabelValueFontSize: z.ZodNumber; + seriesLabelValueColor: z.ZodString; + seriesLabelValueFontStyle: z.ZodString; + seriesLabelValueFontWeight: z.ZodString; + legendShow: z.ZodBoolean; + legendOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + desc: "desc"; + }>; + legendItemWidth: z.ZodNumber; + legendItemHeight: z.ZodNumber; + legendTextLeftPadding: z.ZodNumber; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; + legendOrient: z.ZodEnum<{ + horizontal: "horizontal"; + vertical: "vertical"; + }>; + legendWidth: z.ZodNumber; + legendHeight: z.ZodNumber; + legendItemGap: z.ZodNumber; + legendGrid: z.ZodObject<{ + top: z.ZodUnion; + left: z.ZodOptional>; + bottom: z.ZodOptional>; + right: z.ZodOptional>; + }, z.core.$strip>; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendSeriesWidthType: z.ZodString; + legendSeriesWidth: z.ZodOptional; + pieRadiusOuter: z.ZodNumber; + pieRoseType: z.ZodBoolean; + pieRadiusInner: z.ZodNumber; + pieStartAngle: z.ZodNumber; + pieClockwise: z.ZodBoolean; + itemBorderWidth: z.ZodNumber; + itemBorderColor: z.ZodString; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + seriesColor: z.ZodArray; + size: z.ZodNumber; + distance: z.ZodNumber; + boxHeight: z.ZodNumber; + autoRotate: z.ZodBoolean; + projection: z.ZodEnum<{ + orthographic: "orthographic"; + perspective: "perspective"; + }>; + autoRotateSpeed: z.ZodNumber; + viewControlX: z.ZodNumber; + viewControlY: z.ZodNumber; + viewControlZ: z.ZodNumber; + alpha: z.ZodNumber; + beta: z.ZodNumber; }, z.core.$strip>; }; - readonly echartzebraBarAndLine: { + readonly echartthreeQuartersPie: { readonly data: z.ZodArray>; readonly option: z.ZodObject<{ refresh: z.ZodBoolean; + pieRadiusOuter: z.ZodNumber; dataSeriesName: z.ZodArray; seriesName: z.ZodArray; seriesTabsName: z.ZodArray>; - seriesType: z.ZodArray>; - seriesWidth: z.ZodArray; - seriesBarColor: z.ZodArray>; - angle: z.ZodUnion; - colors: z.ZodOptional>>; - }, z.core.$strip>]>>; - seriesBarOpacity: z.ZodArray; - intervalColor: z.ZodArray; - seriesLineColor: z.ZodArray>; angle: z.ZodUnion; colors: z.ZodOptional>>; - }, z.core.$strip>]>>; - seriesLineOpacity: z.ZodArray; - seriesLineWidth: z.ZodArray; - seriesSmoothShow: z.ZodArray; - seriesSmooth: z.ZodArray; - seriesConnectNulls: z.ZodArray; - seriesSymbolShow: z.ZodArray; - seriesSymbol: z.ZodArray; - seriesSymbolImage: z.ZodArray; - seriesSymbolWidth: z.ZodArray; - seriesSymbolHeight: z.ZodArray; - seriesItemColor: z.ZodArray; - seriesItemBorderWidth: z.ZodArray; - seriesItemBorderColor: z.ZodArray; - seriesLabelShow: z.ZodArray; - seriesLabelColor: z.ZodArray; - seriesLabelFontFamily: z.ZodArray; - seriesLabelFontSize: z.ZodArray; - seriesLabelFontWeight: z.ZodArray; - seriesLabelFontStyle: z.ZodArray; - seriesLabelOffsetX: z.ZodArray; - seriesLabelOffsetY: z.ZodArray; - seriesAreaOpacity: z.ZodOptional>; - gridLeft: z.ZodNumber; - gridTop: z.ZodNumber; - gridRight: z.ZodNumber; - gridBottom: z.ZodNumber; + }, z.core.$strip>>; + seriesOrder: z.ZodEnum<{ + default: "default"; + ascending: "ascending"; + descending: "descending"; + }>; + seriesOpacity: z.ZodArray; + seriesOffsetX: z.ZodNumber; + seriesOffsetY: z.ZodNumber; + seriesRemainColor: z.ZodString; + seriesBottomColor: z.ZodString; + seriesLabelShow: z.ZodBoolean; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelColor: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesLabelFontWeight: z.ZodString; + seriesLabelOffsetX: z.ZodNumber; + seriesLabelOffsetY: z.ZodNumber; legendShow: z.ZodBoolean; - legendWidth: z.ZodNumber; - legendHeight: z.ZodNumber; - legendItemWidth: z.ZodNumber; - legendItemHeight: z.ZodNumber; + legendItemWidthHeight: z.ZodNumber; + legendSeriesShow: z.ZodBoolean; + legendSeriesFontFamily: z.ZodString; + legendSeriesFontSize: z.ZodNumber; + legendSeriesColor: z.ZodString; + legendSeriesFontStyle: z.ZodString; + legendSeriesFontWeight: z.ZodString; + legendPercentShow: z.ZodBoolean; + legendPercent: z.ZodNumber; + legendPercentLeftPadding: z.ZodNumber; + legendPercentFontFamily: z.ZodString; + legendPercentFontSize: z.ZodNumber; + legendPercentColor: z.ZodString; + legendPercentFontStyle: z.ZodString; + legendPercentFontWeight: z.ZodString; + legendPercentColorFollow: z.ZodBoolean; + legendValueShow: z.ZodBoolean; + legendUnit: z.ZodString; + legendUnitFontSize: z.ZodNumber; + legendUnitLeftPadding: z.ZodNumber; + legendValueLeftPadding: z.ZodNumber; + legendValueColorFollow: z.ZodBoolean; + legendValueFontFamily: z.ZodString; + legendValueFontSize: z.ZodNumber; + legendValueColor: z.ZodString; + legendValueFontStyle: z.ZodString; + legendValueFontWeight: z.ZodString; legendItemGap: z.ZodNumber; - legendFontFamily: z.ZodString; - legendFontSize: z.ZodNumber; - legendColor: z.ZodString; - legendFontStyle: z.ZodString; - legendFontWeight: z.ZodString; - xNameFontSize: z.ZodNumber; - yNameFontSize: z.ZodNumber; - yAxisInverse: z.ZodBoolean; - xAxisInverse: z.ZodBoolean; - xAxisShow: z.ZodBoolean; - yAxisShow: z.ZodOptional; - xAxisLabelShow: z.ZodBoolean; - yAxisLabelShow: z.ZodOptional; - xAxisType: z.ZodEnum<{ - value: "value"; - category: "category"; - time: "time"; - log: "log"; + legendOffsetX: z.ZodNumber; + legendOffsetY: z.ZodNumber; + legendUnderlineShow: z.ZodBoolean; + legendUnderlineWidth: z.ZodNumber; + legendUnderlineInterval: z.ZodNumber; + legendUnderlineOffsetX: z.ZodNumber; + legendUnderlineOffsetY: z.ZodNumber; + }, z.core.$strip>; + }; + readonly echarttreemap: { + readonly data: z.ZodArray; - xAxisInterval: z.ZodNumber; - xAxisRotate: z.ZodNumber; - yAxisMin: z.ZodOptional; - yAxisMax: z.ZodOptional; - xAxisMargin: z.ZodNumber; - yAxisMargin: z.ZodOptional; - xAxisFontFamily: z.ZodString; - yAxisFontFamily: z.ZodOptional; - xAxisFontSize: z.ZodNumber; - yAxisFontSize: z.ZodOptional; - xAxisColor: z.ZodString; - yAxisColor: z.ZodOptional; - xAxisFontStyle: z.ZodString; - yAxisFontStyle: z.ZodOptional; - xAxisFontWeight: z.ZodString; - yAxisFontWeight: z.ZodOptional; - yAxisNameShow: z.ZodOptional; - yAxisName: z.ZodOptional; - yAxisNameFontFamily: z.ZodOptional; - yAxisNameFontSize: z.ZodOptional; - yAxisNameColor: z.ZodOptional; - yAxisNameFontStyle: z.ZodOptional; - yAxisNameFontWeight: z.ZodOptional; - yAxisNamePaddingTop: z.ZodOptional; - yAxisNamePaddingBottom: z.ZodOptional; - yAxisNamePaddingLeft: z.ZodOptional; - yAxisNamePaddingRight: z.ZodOptional; - xAxisLineShow: z.ZodBoolean; - yAxisLineShow: z.ZodOptional; - xAxisLineColor: z.ZodString; - yAxisLineColor: z.ZodOptional; - xAxisLineWidth: z.ZodNumber; - yAxisLineWidth: z.ZodOptional; - xAxisLineOpacity: z.ZodNumber; - yAxisLineOpacity: z.ZodOptional; - xAxisTickShow: z.ZodBoolean; - yAxisTickShow: z.ZodOptional; - xAxisTickColor: z.ZodString; - yAxisTickColor: z.ZodOptional; - xAxisTickWidth: z.ZodNumber; - yAxisTickWidth: z.ZodOptional; - xAxisTickLength: z.ZodNumber; - yAxisTickLength: z.ZodOptional; - xAxisSplitLineShow: z.ZodBoolean; - yAxisSplitLineShow: z.ZodOptional; - xAxisSplitLineInterval: z.ZodNumber; - xAxisSplitLineWidth: z.ZodNumber; - yAxisSplitLineWidth: z.ZodOptional; - xAxisSplitLineColor: z.ZodString; - yAxisSplitLineColor: z.ZodOptional; - tooltipLoop: z.ZodBoolean; - tooltipLoopInterval: z.ZodNumber; - tooltipUnit: z.ZodString; - tooltipFixed: z.ZodNumber; + }, unknown, z.core.$ZodTypeInternals<{ + name: string; + value: number; + children?: Array<{ + name: string; + value: number; + children?: any; + }>; + }, unknown>>>; + readonly option: z.ZodObject<{ + refresh: z.ZodBoolean; + dataSeriesName: z.ZodArray; + seriesTabsName: z.ZodArray; + seriesColor: z.ZodArray; + seriesLabelShow: z.ZodBoolean; + seriesLabelColor: z.ZodString; + seriesLabelFontFamily: z.ZodString; + seriesLabelFontSize: z.ZodNumber; + seriesLabelFontWeight: z.ZodString; + seriesLabelFontStyle: z.ZodString; + seriesBorderColor: z.ZodString; + seriesBorderWidth: z.ZodNumber; + seriesChildBorderColor: z.ZodString; + seriesChildBorderWidth: z.ZodNumber; }, z.core.$strip>; }; readonly "rank-progress": { @@ -12917,66 +9917,37 @@ declare const componentPropSchemaMap: { value: z.ZodString; }, z.core.$strip>>; readonly option: z.ZodObject<{ - cover: z.ZodString; - url: z.ZodString; - duration: z.ZodString; - pointerEvents: z.ZodBoolean; - opacity: z.ZodNumber; - mixBlendMode: z.ZodString; - rotateShow: z.ZodBoolean; - rotateX: z.ZodNumber; - rotateY: z.ZodNumber; - rotateZ: z.ZodNumber; - animationShow: z.ZodBoolean; - animationLoop: z.ZodBoolean; - animationSpeed: z.ZodEnum<{ - constant: "constant"; - "slow-fast-slow": "slow-fast-slow"; - "start-slow": "start-slow"; - "end-slow": "end-slow"; - }>; - animationSpeedNum: z.ZodNumber; - animationTime: z.ZodNumber; - animationDelayed: z.ZodNumber; - animationInterval: z.ZodNumber; - animationType: z.ZodEnum<{ - opacity: "opacity"; - default: "default"; - zoom: "zoom"; - clockwise: "clockwise"; - counterclockwise: "counterclockwise"; - backAndForth: "backAndForth"; - upOrDown: "upOrDown"; - customize: "customize"; - }>; - gaussianBlurShow: z.ZodBoolean; - gaussianBlur: z.ZodNumber; - brightnessShow: z.ZodBoolean; - brightness: z.ZodNumber; - contrastShow: z.ZodBoolean; - contrast: z.ZodNumber; - grayscaleShow: z.ZodBoolean; - grayscale: z.ZodNumber; - hueShow: z.ZodBoolean; - hue: z.ZodNumber; - invertShow: z.ZodBoolean; - invert: z.ZodNumber; - saturateShow: z.ZodBoolean; - saturate: z.ZodNumber; - sepiaShow: z.ZodBoolean; - sepia: z.ZodNumber; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - openReview: z.ZodBoolean; - reviewImageWidth: z.ZodNumber; - backdropFilter: z.ZodBoolean; - backdropFilterBlur: z.ZodNumber; - backdropFilterSaturate: z.ZodNumber; - }, z.core.$strip>; + objectFit: z.ZodOptional>; + background: z.ZodOptional; + opacity: z.ZodOptional; + borderRadius: z.ZodOptional; + filter: z.ZodOptional; + mixBlendMode: z.ZodOptional; + transform: z.ZodOptional; + animation: z.ZodOptional; + keyframes: z.ZodOptional>>>; + transition: z.ZodOptional; + pointerEvents: z.ZodOptional; + }, z.core.$strict>; + }; + readonly swBox: { + readonly data: z.ZodArray; + readonly option: z.ZodObject<{ + background: z.ZodOptional; + border: z.ZodOptional; + borderRadius: z.ZodOptional>; + boxShadow: z.ZodOptional; + backdropFilter: z.ZodOptional; + opacity: z.ZodOptional; + clipPath: z.ZodOptional; + transform: z.ZodOptional; + animation: z.ZodOptional; + pointerEvents: z.ZodOptional; + }, z.core.$strict>; }; readonly "sw-open-video": { readonly data: z.ZodArray; + suffixSetFontLinear: z.ZodOptional; + suffixFontLinearColor: z.ZodOptional; + duration: z.ZodOptional; + shadowShow: z.ZodOptional; + shadowColor: z.ZodOptional; + shadowX: z.ZodOptional; + shadowY: z.ZodOptional; + shadowFuzzy: z.ZodOptional; + padding: z.ZodOptional; + delayLoading: z.ZodOptional; + delayTime: z.ZodOptional; }, z.core.$strip>; }; readonly swdynamicratio: { @@ -13783,7 +10766,8 @@ declare const componentPropSchemaMap: { }, z.core.$strip>>; }, z.core.$strip>>; readonly option: z.ZodObject<{ - echartFormatter: z.ZodString; + echartsOption: z.ZodOptional>; + echartFormatter: z.ZodOptional; }, z.core.$strip>; }; readonly "vue-part": { @@ -15438,47 +12422,6 @@ declare const componentPropSchemaMap: { pageReloadTypeClick: z.ZodString; }, z.core.$strip>; }; - readonly "simple-barrage": { - readonly data: z.ZodArray>; - readonly option: z.ZodObject<{ - imageWidth: z.ZodNumber; - imageHeight: z.ZodNumber; - imageMinHeight: z.ZodNumber; - imageMaxHeight: z.ZodNumber; - imageObjectFit: z.ZodString; - scale: z.ZodNumber; - importType: z.ZodString; - importConfig: z.ZodObject<{ - apiUrl: z.ZodString; - method: z.ZodString; - body: z.ZodArray; - headers: z.ZodArray; - }, z.core.$strip>; - loop: z.ZodBoolean; - lineNum: z.ZodNumber; - isHover: z.ZodBoolean; - speed: z.ZodNumber; - stylesList: z.ZodArray; - }, z.core.$strip>>; - }, z.core.$strip>; - }; readonly "simple-particle": { readonly data: z.ZodArray; readonly option: z.ZodObject<{ @@ -15545,6 +12488,29 @@ type ComponentPropSchemas = { }; }; +import { z } from 'zod'; +import { ComponentProp } from './propSchemaMap'; +type SuperRefineFn = (val: { + data?: unknown; + option?: Record; + component?: { + width?: number; + height?: number; + }; +}, ctx: z.RefinementCtx) => void; +/** + * 组件专属的跨字段业务规则(开关联动、数组长度一致性……),按 prop 注册。 + * + * 这些规则刻意不写进各自的 `xxxOptionSchema` 本体——写进去会导致 + * `component-schema.test.ts` 那类"真实 fixture 必须零错误通过 schema"的回归测试失败, + * 因为真实历史数据经常不满足这些业务约束(比如只填了 fontLinearColor、setFontLinear + * 干脆没这个键),但那仍是合法的、已经渲染过的组件,不该被当成类型错误。 + * + * 只有 `validateComponentContent`(运行时对 agent 编辑结果的校验)这条路径会用到这个 + * registry,走的是"只警告不阻断"的 warnings 通道,见该函数注释。 + */ +declare const componentSuperRefineMap: Partial>; + import { z } from 'zod'; /** Artifact 应用预览模式。 */ declare const ArtifactAppPreviewModeSchema: z.ZodEnum<{ @@ -15880,259 +12846,85 @@ import { z } from 'zod'; */ declare const ftdatetimeDataSchema: z.ZodArray; type FtdatetimeData = z.infer; -/** - * 实时时间配置选项 Schema - */ -declare const ftdatetimeOptionSchema: z.ZodObject<{ - format: z.ZodString; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - textAlign: z.ZodString; - textAlignVertical: z.ZodString; - split: z.ZodNumber; - backgroundColor: z.ZodString; -}, z.core.$strip>; -type FtdatetimeOption = z.infer; - -import { z } from 'zod'; -declare const swMultiLineDataSchema: z.ZodArray>; -type FtMultiLineData = z.infer; -/** - * 多行文本配置选项 Schema - */ -declare const swMultiLineOptionSchema: z.ZodObject<{ - type: z.ZodString; - scroll: z.ZodBoolean; - speed: z.ZodNumber; - textDeraction: z.ZodString; - fontFamily: z.ZodString; - fontSize: z.ZodNumber; - color: z.ZodString; - fontWeight: z.ZodString; - fontStyle: z.ZodString; - lineHeight: z.ZodNumber; - selectedTextType: z.ZodString; - selectedTextColor: z.ZodString; - selectedTextOpacity: z.ZodNumber; - textAlign: z.ZodString; - textAlignVertical: z.ZodString; - split: z.ZodNumber; - whiteSpace: z.ZodBoolean; - textIndent: z.ZodNumber; - lineMarginTop: z.ZodNumber; - lineMarginBottom: z.ZodNumber; - lineMarginLeft: z.ZodNumber; - lineMarginRight: z.ZodNumber; - backgroundColor: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - icon: z.ZodNullable; - iconWidth: z.ZodNumber; - iconHeight: z.ZodNumber; - iconMargin: z.ZodArray; -}, z.core.$strip>; -type FtMultiLineOption = z.infer; - -import { z } from 'zod'; -declare const swProgressDataSchema: z.ZodArray>>; -type FtProgressData = z.infer; -/** - * 进度条表格配置选项 Schema - */ -declare const swProgressOptionSchema: z.ZodObject<{ - refresh: z.ZodBoolean; - columnShow: z.ZodBoolean; - columnViews: z.ZodBoolean; - animationShow: z.ZodBoolean; - cursorShow: z.ZodBoolean; - align: z.ZodString; - header: z.ZodBoolean; - scroll: z.ZodBoolean; - scrollTime: z.ZodNumber; - fontSize: z.ZodNumber; - count: z.ZodNumber; - lineMarginBottom: z.ZodNumber; - index: z.ZodBoolean; - scrollCount: z.ZodNumber; - headerHeight: z.ZodNumber; - headerFontSize: z.ZodNumber; - headerFontFamily: z.ZodString; - headerlineHeight: z.ZodNumber; - backgroundType: z.ZodString; - backgroundImage: z.ZodString; - headerletterSpacing: z.ZodNumber; - headerFontStyle: z.ZodString; - headerFontWeight: z.ZodString; - headerBackground: z.ZodString; - headerColor: z.ZodString; - headerShow: z.ZodBoolean; - headerTextAlign: z.ZodString; - column: z.ZodArray; - }, z.core.$strip>>; - selectedShow: z.ZodBoolean; - selectedFontSize: z.ZodNumber; - selectedFontFamily: z.ZodString; - selectedletterSpacing: z.ZodNumber; - selectedFontStyle: z.ZodString; - selectedFontWeight: z.ZodString; - selectedColor: z.ZodString; - selectedlineHeight: z.ZodNumber; - selectedMode: z.ZodString; - selectedBgType: z.ZodString; - selectedBgColor: z.ZodString; - selectedBgOpacity: z.ZodNumber; - selectedBgImage: z.ZodString; - shadowShow: z.ZodBoolean; - shadowColor: z.ZodString; - shadowX: z.ZodNumber; - shadowY: z.ZodNumber; - shadowFuzzy: z.ZodNumber; - shadowExtension: z.ZodNumber; - rowName: z.ZodArray; - rowTitle: z.ZodString; - initialValue: z.ZodNumber; - rowWidth: z.ZodNumber; - rowSpace: z.ZodNumber; - rowAlign: z.ZodString; - rowKey: z.ZodArray; - rowOffsetX: z.ZodArray; - rowOffsetY: z.ZodArray; - rowBgWidth: z.ZodArray; - rowBgHeight: z.ZodArray; - rowBgType: z.ZodArray; - rowBgColor: z.ZodArray; - rowBgOpacity: z.ZodArray; - rowBgImage: z.ZodArray; - rowFontSize: z.ZodArray; - rowFontFamily: z.ZodArray; - rowletterSpacing: z.ZodArray; - rowFontStyle: z.ZodArray; - rowFontWeight: z.ZodArray; - rowColor: z.ZodArray; - rowlineHeight: z.ZodArray; - rowShow: z.ZodBoolean; - bodyBackground: z.ZodString; - bodyColor: z.ZodString; - borderColor: z.ZodString; - bodyTextAlign: z.ZodString; - nthColor: z.ZodString; - othColor: z.ZodString; - seriesXTabsName: z.ZodArray; - seriesXbackgroundType: z.ZodArray; - seriesXbackgroundImage: z.ZodArray; - seriesXBackground: z.ZodArray; - seriesXBorderColor: z.ZodArray; - seriesXBorderWidth: z.ZodArray; - seriesXRadius: z.ZodArray; - seriesXOffsetX: z.ZodArray; - seriesYWidth: z.ZodArray; - seriesYMarginLeft: z.ZodArray; - seriesYbackgroundImage: z.ZodArray; - seriesYBackground: z.ZodArray; - seriesYBorderColor: z.ZodArray; - seriesYBorderWidth: z.ZodArray; - seriesYFontSize: z.ZodArray; - seriesYFontFamily: z.ZodArray; - seriesYletterSpacing: z.ZodArray; - seriesYFontStyle: z.ZodArray; - seriesYFontWeight: z.ZodArray; - seriesYColor: z.ZodArray; - seriesYContentType: z.ZodArray; - seriesYTextAlign: z.ZodArray; - seriesYOverFlow: z.ZodArray; - seriesYlineHeight: z.ZodArray; - seriesYOffsetX: z.ZodArray; - seriesYOffsetY: z.ZodArray; - seriesYTabsName: z.ZodArray; - maskImage: z.ZodArray; - imageWidth: z.ZodArray; - imageHeight: z.ZodArray; - percentageShow: z.ZodArray; - decimalSave: z.ZodArray; - suffixShow: z.ZodArray; - thousandSplit: z.ZodArray; - suffixFontSize: z.ZodArray; - suffixFontFamily: z.ZodArray; - suffixletterSpacing: z.ZodArray; - suffixFontStyle: z.ZodArray; - suffixFontWeight: z.ZodArray; - suffixColor: z.ZodArray; - suffixlineHeight: z.ZodArray; - suffixOffsetX: z.ZodArray; - suffixOffsetY: z.ZodArray; - suffixContent: z.ZodArray; - statusConfigValue: z.ZodArray>; - statusConfigImg: z.ZodArray>; - statusConfigWidth: z.ZodArray>; - statusConfigHeight: z.ZodArray>; - statusConfigName: z.ZodArray>; - styleAssignKeyValue: z.ZodOptional>>; - styleAssignFontFamily: z.ZodOptional>>; - styleAssignFontSize: z.ZodOptional>>; - styleAssignHeight: z.ZodOptional>>; - styleAssignletterSpacing: z.ZodOptional>>; - styleAssignColor: z.ZodOptional>>; - styleAssignFontStyle: z.ZodOptional>>; - styleAssignFontWeight: z.ZodOptional>>; - styleAssignName: z.ZodOptional>>; - styleAssignBgImg: z.ZodOptional>>; - styleAssignBgWdith: z.ZodOptional>>; - styleAssignBgHeight: z.ZodOptional>>; - styleAssignBgLeft: z.ZodOptional>>; +/** + * 实时时间配置选项 Schema + */ +declare const ftdatetimeOptionSchema: z.ZodObject<{ + format: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + textAlign: z.ZodString; + textAlignVertical: z.ZodString; + split: z.ZodNumber; + backgroundColor: z.ZodString; }, z.core.$strip>; -type FtProgressOption = z.infer; +type FtdatetimeOption = z.infer; import { z } from 'zod'; -declare const swRichtextDataSchema: z.ZodArray>; -type FtRichtextData = z.infer; +type FtMultiLineData = z.infer; /** - * 富文本配置选项 Schema + * 多行文本配置选项 Schema */ -declare const swRichtextOptionSchema: z.ZodObject<{ - content: z.ZodString; - textAnimationType: z.ZodString; - textAnimationTiming: z.ZodNumber; - textAnimationDelay: z.ZodNumber; - startScroll: z.ZodBoolean; - scrollLoop: z.ZodBoolean; - scrollInterval: z.ZodNumber; +declare const swMultiLineOptionSchema: z.ZodObject<{ + type: z.ZodString; + scroll: z.ZodBoolean; + speed: z.ZodNumber; + textDeraction: z.ZodString; + fontFamily: z.ZodString; + fontSize: z.ZodNumber; + color: z.ZodString; + fontWeight: z.ZodString; + fontStyle: z.ZodString; + lineHeight: z.ZodNumber; + selectedTextType: z.ZodString; + selectedTextColor: z.ZodString; + selectedTextOpacity: z.ZodNumber; + textAlign: z.ZodString; + textAlignVertical: z.ZodString; + split: z.ZodNumber; + whiteSpace: z.ZodBoolean; + textIndent: z.ZodNumber; + lineMarginTop: z.ZodNumber; + lineMarginBottom: z.ZodNumber; + lineMarginLeft: z.ZodNumber; + lineMarginRight: z.ZodNumber; + backgroundColor: z.ZodString; + shadowShow: z.ZodBoolean; + shadowColor: z.ZodString; + shadowX: z.ZodNumber; + shadowY: z.ZodNumber; + shadowFuzzy: z.ZodNumber; + shadowExtension: z.ZodNumber; + icon: z.ZodNullable; + iconWidth: z.ZodNumber; + iconHeight: z.ZodNumber; + iconMargin: z.ZodArray; }, z.core.$strip>; -type FtRichtextOption = z.infer; +type FtMultiLineOption = z.infer; import { z } from 'zod'; -declare const swScrollDataSchema: z.ZodArray>>; -type FtScrollData = z.infer; +declare const swProgressDataSchema: z.ZodArray>>; +type FtProgressData = z.infer; /** - * 轮播表格配置选项 Schema + * 进度条表格配置选项 Schema */ -declare const swScrollOptionSchema: z.ZodObject<{ +declare const swProgressOptionSchema: z.ZodObject<{ refresh: z.ZodBoolean; columnShow: z.ZodBoolean; columnViews: z.ZodBoolean; animationShow: z.ZodBoolean; cursorShow: z.ZodBoolean; - textStyleShow: z.ZodBoolean; align: z.ZodString; header: z.ZodBoolean; scroll: z.ZodBoolean; scrollTime: z.ZodNumber; - scrollTimeType: z.ZodOptional; - scrollSingleTime: z.ZodOptional; fontSize: z.ZodNumber; count: z.ZodNumber; lineMarginBottom: z.ZodNumber; @@ -16142,7 +12934,6 @@ declare const swScrollOptionSchema: z.ZodObject<{ headerFontSize: z.ZodNumber; headerFontFamily: z.ZodString; headerlineHeight: z.ZodNumber; - borderShow: z.ZodBoolean; backgroundType: z.ZodString; backgroundImage: z.ZodString; headerletterSpacing: z.ZodNumber; @@ -16150,7 +12941,6 @@ declare const swScrollOptionSchema: z.ZodObject<{ headerFontWeight: z.ZodString; headerBackground: z.ZodString; headerColor: z.ZodString; - activeKeys: z.ZodOptional; headerShow: z.ZodBoolean; headerTextAlign: z.ZodString; column: z.ZodArray; imageWidth: z.ZodArray; imageHeight: z.ZodArray; + percentageShow: z.ZodArray; + decimalSave: z.ZodArray; suffixShow: z.ZodArray; thousandSplit: z.ZodArray; suffixFontSize: z.ZodArray; @@ -16253,109 +13045,182 @@ declare const swScrollOptionSchema: z.ZodObject<{ statusConfigWidth: z.ZodArray>; statusConfigHeight: z.ZodArray>; statusConfigName: z.ZodArray>; - styleAssignKeyValue: z.ZodArray>; - styleAssignFontFamily: z.ZodArray>; - styleAssignFontSize: z.ZodArray>; - styleAssignHeight: z.ZodArray>; - styleAssignletterSpacing: z.ZodArray>; - styleAssignColor: z.ZodArray>; - styleAssignFontStyle: z.ZodArray>; - styleAssignFontWeight: z.ZodArray>; - styleAssignName: z.ZodArray>; - styleAssignBgImg: z.ZodArray>; - styleAssignBgWdith: z.ZodArray>; - styleAssignBgHeight: z.ZodArray>; - styleAssignBgLeft: z.ZodArray>; - globalScrollYTrackWidth: z.ZodOptional; - globalScrollYTrackBackground: z.ZodOptional; - globalScrollYTrackBorderRadius: z.ZodOptional; - globalScrollYThumbWidth: z.ZodOptional; - globalScrollYThumbBackground: z.ZodOptional; - globalScrollYThumbBorderRadius: z.ZodOptional; - progressYConfig: z.ZodArray>>; + styleAssignFontFamily: z.ZodOptional>>; + styleAssignFontSize: z.ZodOptional>>; + styleAssignHeight: z.ZodOptional>>; + styleAssignletterSpacing: z.ZodOptional>>; + styleAssignColor: z.ZodOptional>>; + styleAssignFontStyle: z.ZodOptional>>; + styleAssignFontWeight: z.ZodOptional>>; + styleAssignName: z.ZodOptional>>; + styleAssignBgImg: z.ZodOptional>>; + styleAssignBgWdith: z.ZodOptional>>; + styleAssignBgHeight: z.ZodOptional>>; + styleAssignBgLeft: z.ZodOptional>>; +}, z.core.$strip>; +type FtProgressOption = z.infer; + +import { z } from 'zod'; +declare const swRichtextDataSchema: z.ZodArray>; +type SwRichtextData = z.infer; +/** + * 富文本配置选项 Schema + */ +declare const swRichtextOptionSchema: z.ZodObject<{ + content: z.ZodString; + textAnimationType: z.ZodString; + textAnimationTiming: z.ZodNumber; + textAnimationDelay: z.ZodNumber; + startScroll: z.ZodBoolean; + scrollLoop: z.ZodBoolean; + scrollInterval: z.ZodNumber; +}, z.core.$strip>; +type SwRichtextOption = z.infer; + +import { z } from 'zod'; +declare const swScrollDataSchema: z.ZodArray>>; +type FtScrollData = z.infer; +/** + * 轮播表格配置选项 Schema + */ +declare const swScrollOptionSchema: z.ZodObject<{ + refresh: z.ZodBoolean; + columns: z.ZodArray; + align: z.ZodOptional>; + }, z.core.$strip>>; + header: z.ZodObject<{ + show: z.ZodDefault; + height: z.ZodDefault; + background: z.ZodDefault; + color: z.ZodDefault; + fontSize: z.ZodDefault; + }, z.core.$strip>; + rowStyle: z.ZodObject<{ + height: z.ZodDefault; + fontSize: z.ZodDefault; + color: z.ZodDefault; + background: z.ZodDefault; + stripeBackground: z.ZodOptional; + align: z.ZodDefault>; + }, z.core.$strip>; + columnStyleOverrides: z.ZodOptional; + background: z.ZodOptional; + fontSize: z.ZodOptional; + align: z.ZodOptional>; + }, z.core.$strip>>>; + rowIndex: z.ZodOptional; + title: z.ZodDefault; + width: z.ZodDefault; + startFrom: z.ZodDefault; + }, z.core.$strip>>; + scroll: z.ZodOptional; + visibleRows: z.ZodDefault; + speed: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; type FtScrollOption = z.infer; +/** + * 联动检查——不揉进 `swScrollOptionSchema` 本体(原因见 swFlopPerformanceSuperRefine 的注释: + * 真实历史数据可能不满足这些业务约束,但仍是合法的、已渲染过的组件,不该被 schema 一致性 + * 测试当成类型错误),只在运行时校验入口(`componentSuperRefineMap`)挂上。 + * + * 新结构里列宽默认自动分配、样式按 key 覆盖,原来"数组长度要对齐""像素总和要精确匹配容器 + * 宽度"这类结构性 bug 已经不可能出现,只保留一条业务提示:可视行数应明显小于数据行数。 + */ +declare function swScrollSuperRefine(val: { + data?: unknown; + option?: Partial; +}, ctx: z.RefinementCtx): void; import { z } from 'zod'; declare const swTextDataSchema: z.ZodArray; }, z.core.$strip>>; type FtTextData = z.infer; /** * 文本框/跑马灯/超链接配置选项 Schema */ declare const swTextOptionSchema: z.ZodObject<{ - type: z.ZodOptional>; - link: z.ZodOptional; - linkHref: z.ZodOptional; - linkTarget: z.ZodOptional; - pointerEvents: z.ZodOptional; - writingMode: z.ZodOptional; - textOrientation: z.ZodOptional; - iswrap: z.ZodOptional; fontFamily: z.ZodOptional; fontSize: z.ZodOptional; - color: z.ZodOptional; - fontWeight: z.ZodOptional>; - fontStyle: z.ZodOptional; - lineHeight: z.ZodOptional; - selectedTextType: z.ZodOptional>; + fontStyle: z.ZodOptional>; - selectedTextColor: z.ZodOptional>; - }, z.core.$strip>]>>; - selectedTextOpacity: z.ZodOptional; - multiGradientColors: z.ZodOptional>>; - textAlign: z.ZodOptional; - textAlignVertical: z.ZodOptional; - split: z.ZodOptional; - backgroundColor: z.ZodOptional; - shadowShow: z.ZodOptional; - shadowColor: z.ZodOptional; - shadowX: z.ZodOptional; - shadowY: z.ZodOptional; - shadowFuzzy: z.ZodOptional; - shadowExtension: z.ZodOptional; + letterSpacing: z.ZodOptional; + lineHeight: z.ZodOptional; + color: z.ZodOptional; + textShadow: z.ZodOptional; + background: z.ZodOptional; opacity: z.ZodOptional; - rotateX: z.ZodOptional; - rotateY: z.ZodOptional; - rotateZ: z.ZodOptional; + textAlign: z.ZodOptional>; + verticalAlign: z.ZodOptional>; + whiteSpace: z.ZodOptional>; + textOverflow: z.ZodOptional>; + writingMode: z.ZodOptional>; + textOrientation: z.ZodOptional>; + transform: z.ZodOptional; + animation: z.ZodOptional; + template: z.ZodOptional; + decimals: z.ZodOptional; + thousands: z.ZodOptional; + marquee: z.ZodOptional>; + }, z.core.$strip>>; + href: z.ZodOptional; + target: z.ZodOptional>; + pointerEvents: z.ZodOptional; }, z.core.$strict>; type FtTextOption = z.infer; @@ -16485,7 +13350,8 @@ type EchartcommonData = z.infer; * Echarts通用型配置选项 Schema */ declare const echartcommonOptionSchema: z.ZodObject<{ - echartFormatter: z.ZodString; + echartsOption: z.ZodOptional>; + echartFormatter: z.ZodOptional; }, z.core.$strip>; type EchartcommonOption = z.infer; @@ -16532,7 +13398,6 @@ declare const BarEchartEnumSchema: z.ZodEnum<{ echartbothWayStripBar: BarEchartEnum.echartbothWayStripBar; echartlineAndBar: BarEchartEnum.echartlineAndBar; echartpictorialbar: BarEchartEnum.echartpictorialbar; - echartrank: BarEchartEnum.echartrank; echartbar: BarEchartEnum.echartbar; }>; declare const lineEchartEnumSchema: z.ZodEnum<{ @@ -16551,22 +13416,7 @@ declare const pieEchartEnumSchema: z.ZodEnum<{ echartloopRingPie: import("..").PieEchartEnum.echartloopRingPie; echartpluralRosePie: import("..").PieEchartEnum.echartpluralRosePie; echartthreePie: import("..").PieEchartEnum.echartthreePie; -}>; -declare const projectEchartEnumSchema: z.ZodEnum<{ - echartzebra2: import("..").ProjectEchartEnum.echartzebra2; - echartdoubleValueLine: import("..").ProjectEchartEnum.echartdoubleValueLine; - echartgrowthRateBar: import("..").ProjectEchartEnum.echartgrowthRateBar; - echarteffectScatter: import("..").ProjectEchartEnum.echarteffectScatter; - echartoverlapBar: import("..").ProjectEchartEnum.echartoverlapBar; - echartzebraBarAndLine: import("..").ProjectEchartEnum.echartzebraBarAndLine; - echartthreedBarAndLine: import("..").ProjectEchartEnum.echartthreedBarAndLine; - echartzebra: import("..").ProjectEchartEnum.echartzebra; - echartthreedBar: import("..").ProjectEchartEnum.echartthreedBar; - echartscalePie: import("..").ProjectEchartEnum.echartscalePie; - echartmultiplyRankBar: import("..").ProjectEchartEnum.echartmultiplyRankBar; - echartrankBar: import("..").ProjectEchartEnum.echartrankBar; - echartthreeQuartersPie: import("..").ProjectEchartEnum.echartthreeQuartersPie; - echartthinBar: import("..").ProjectEchartEnum.echartthinBar; + echartthreeQuartersPie: import("..").PieEchartEnum.echartthreeQuartersPie; }>; declare const ringEchartEnumSchema: z.ZodEnum<{ echartring: import("..").RingEchartEnum.echartring; @@ -16589,6 +13439,7 @@ declare const mediaEnumSchema: z.ZodEnum<{ swimg: import("..").MediaEnum.SwImg; "sw-open-video": import("..").MediaEnum.SwOpenVideo; swimgBorder: import("..").MediaEnum.SwImgBorder; + swBox: import("..").MediaEnum.SwBox; swswiper: import("..").MediaEnum.SwSwiper; swSwiperV3: import("..").MediaEnum.SwSwiperV3; swvideo: import("..").MediaEnum.SwVideo; @@ -16683,7 +13534,6 @@ declare const extendsEnumTypeSchema: z.ZodEnum<{ fullScreenSwitch: import("..").ExtendsEnum.FullScreenSwitch; pageReload: import("..").ExtendsEnum.PageReload; "simple-particle": import("..").ExtendsEnum.SimpleParticle; - "simple-barrage": import("..").ExtendsEnum.SimpleBarrage; "sw-dataContainer": import("..").ExtendsEnum.SwDataContainer; "sw-weather": import("..").ExtendsEnum.SwWeather; "sw-mask-layer": import("..").ExtendsEnum.SwMaskLayer; @@ -16701,7 +13551,6 @@ declare const allComponentTypeSchema: z.ZodUnion, z.ZodEnum<{ echartareaLine: import("..").LineEchartEnum.echartareaLine; @@ -16717,21 +13566,7 @@ declare const allComponentTypeSchema: z.ZodUnion, z.ZodEnum<{ - echartzebra2: import("..").ProjectEchartEnum.echartzebra2; - echartdoubleValueLine: import("..").ProjectEchartEnum.echartdoubleValueLine; - echartgrowthRateBar: import("..").ProjectEchartEnum.echartgrowthRateBar; - echarteffectScatter: import("..").ProjectEchartEnum.echarteffectScatter; - echartoverlapBar: import("..").ProjectEchartEnum.echartoverlapBar; - echartzebraBarAndLine: import("..").ProjectEchartEnum.echartzebraBarAndLine; - echartthreedBarAndLine: import("..").ProjectEchartEnum.echartthreedBarAndLine; - echartzebra: import("..").ProjectEchartEnum.echartzebra; - echartthreedBar: import("..").ProjectEchartEnum.echartthreedBar; - echartscalePie: import("..").ProjectEchartEnum.echartscalePie; - echartmultiplyRankBar: import("..").ProjectEchartEnum.echartmultiplyRankBar; - echartrankBar: import("..").ProjectEchartEnum.echartrankBar; - echartthreeQuartersPie: import("..").ProjectEchartEnum.echartthreeQuartersPie; - echartthinBar: import("..").ProjectEchartEnum.echartthinBar; + echartthreeQuartersPie: import("..").PieEchartEnum.echartthreeQuartersPie; }>, z.ZodEnum<{ echartring: import("..").RingEchartEnum.echartring; }>, z.ZodEnum<{ @@ -16749,6 +13584,7 @@ declare const allComponentTypeSchema: z.ZodUnion & Record) => * 每个用例相互独立,一个失败不影响其他用例继续运行。 */ -import { AllComponentType, ComponentType, DataSourceType } from './component'; + + +import { AllComponentType, ComponentType } from './component'; /** * @description 动作类型枚举 */ @@ -17072,10 +13909,6 @@ declare enum ActionTypeEnum { * @description 切换状态 */ SwitchState = "switchState", - /** - * @description 切换终端控制状态 - */ - SwitchTCState = "switchTCState", /** * @description 切换场景状态 */ @@ -17148,14 +13981,6 @@ declare enum ActionTypeEnum { * @description 鼠标移出 */ MouseLeave = "mouseLeave", - /** - * @description 发送UE4消息 - */ - SendUe4Msg = "sendUe4Msg", - /** - * @description 发送UE4静态消息 - */ - SendUe4MsgStatic = "sendUe4MsgStatic", /** * @description 视频全屏 */ @@ -17164,10 +13989,6 @@ declare enum ActionTypeEnum { * @description 视频切换 */ VideoToSwitch = "videoToSwitch", - /** - * @description 发送AI消息 - */ - SendAIManMsgStatic = "sendAIManMsgStatic", /** * @description 轮播卡切换索引 */ @@ -17329,16 +14150,6 @@ declare enum ActionAnimationTypeEnum { SlideUp = "slideUp", SlideDown = "slideDown" } -/** - * TCP/UDP数据类型枚举 - * @description 定义TCP/UDP通信的数据类型 - */ -declare enum tcpudpDataTypeEnum { - None = "", - TCP = "1", - UDP = "2", - WebSocket = "3" -} /** * 可见性类型枚举 */ @@ -17346,20 +14157,6 @@ declare enum VisibleTypeEnum { Show = "show", Hide = "hide" } -/** - * UE4消息类型枚举 - */ -declare enum MessageTypeEnum { - String = "string", - Json = "json" -} -/** - * UDP发送类型枚举 - */ -declare enum UDPSendtypeEnum { - Unicast = "unicast", - Broadcasting = "broadcasting" -} /** * 参数类型枚举 */ @@ -17608,38 +14405,6 @@ interface GlMapIconActive { /** 未匹配时是否清空选中 */ clearWhenMiss: boolean; } -/** - * UE4引擎配置 - * @description 定义与UE4引擎的通信配置 - */ -interface Ue4Config { - /** 消息名称 */ - messageName: string; - /** 消息JSON */ - messageJson: string; - /** 消息内容 */ - messageContent: string; - /** 消息类型 */ - messageType: string; -} -/** - * TCP/UDP协议配置 - * @description 定义TCP/UDP数据传输配置 - */ -interface TcpudpConfig { - /** 数据类型 */ - dataType: tcpudpDataTypeEnum; - /** 数据源ID */ - dataSourceId: string; - /** 数据源对象 */ - dataSourceObj: DataSourceType | null; - /** 发送数据 */ - sendData: string; - /** 发送类型 */ - sendType: string; - /** 数据延迟(毫秒) */ - dataDelay: number; -} /** * 动作接口 * @description 定义事件的具体执行动作,包含所有可能的动作配置 @@ -17715,18 +14480,14 @@ interface Action { translate?: Translate; /** @description 加密密钥(可为空) */ encodeKey?: string | null; - /** @description UE4引擎配置 */ - ue4Config?: Ue4Config; /** @description UE4 蓝图 key,用于切换蓝图 */ blueprintKey?: string; /** @description 自定义动作类型标识 */ - customActionType?: "component" | "message" | "statusAnimation"; + customActionType?: "component" | "statusAnimation"; /** @description 面板状态动画ID */ panelStatusAnimationId?: string; /** @description 面板状态ID */ panelStatusId?: string; - /** @description TCP/UDP协议配置 */ - tcpudpConfig?: TcpudpConfig; /** @description 项目函数名称 */ projectFunName?: string; /** @description 项目参数列表 */ @@ -17739,8 +14500,6 @@ interface Action { projectParamCode?: string; /** @description 轮播卡片标签名称 */ swiperCardTabsName?: string; - /** @description 数字人消息内容 */ - aiManMsgContent?: string; /** @description 广播ID(可为空) */ setBroadcastId?: string | null; /** @description 视频开始时间(秒,可为空) */ @@ -17993,8 +14752,8 @@ interface ComponentAnimationConfig { image?: string; /** @description 字体大小 */ fontSize?: number; - /** @description 层级 */ - zIndex: number; + /** @description 层级(字符串排序键;旧数据是数字) */ + zIndex: string | number; /** @description 视频 */ video?: string; } @@ -18211,7 +14970,7 @@ interface Animation { } import { LayerInfo, SceneObjectExplosion } from './action'; -import { BarEchartEnum, ExhibitEnum, ExtendsEnum, InteractiveEnum, LineEchartEnum, MediaEnum, PanelEnum, PieEchartEnum, ProjectEchartEnum, ScatterEchartEnum, SceneEnum, TextEnum, ThirdPartEnum } from './componentProp'; +import { BarEchartEnum, ExhibitEnum, ExtendsEnum, InteractiveEnum, LineEchartEnum, MediaEnum, PanelEnum, PieEchartEnum, ScatterEchartEnum, SceneEnum, TextEnum, ThirdPartEnum } from './componentProp'; import { EventTypeEnum } from './event'; /** * 组件属性映射事件 @@ -18567,11 +15326,6 @@ interface EchartpictorialbarEvents { handleClick: (throwValue: any) => void; }; } -interface EchartrankEvents { - [key: `${BarEchartEnum.echartrank}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} /** * ECharts 折线图组件事件接口 */ @@ -18587,68 +15341,38 @@ interface EchartareaLineEvents { } /** * ECharts 饼图组件事件接口 - */ -interface EchartpieEvents { - [key: `${PieEchartEnum.echartpie}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -interface EchartloopRingPieEvents { - [key: `${PieEchartEnum.echartloopRingPie}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -interface EchartpluralRosePieEvents { - [key: `${PieEchartEnum.echartpluralRosePie}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -interface EchartthreePieEvents { - [key: `${PieEchartEnum.echartthreePie}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -/** - * ECharts 散点图组件事件接口 - */ -interface EchartscatterEvents { - [key: `${ScatterEchartEnum.echartscatter}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -/** - * ECharts 项目图表组件事件接口 - */ -interface EchartzebraEvents { - [key: `${ProjectEchartEnum.echartzebra}-${string}`]: { - handleClick: (throwValue: any) => void; - }; -} -interface Echartzebra2Events { - [key: `${ProjectEchartEnum.echartzebra2}-${string}`]: { + */ +interface EchartpieEvents { + [key: `${PieEchartEnum.echartpie}-${string}`]: { handleClick: (throwValue: any) => void; }; } -interface EchartrankBarEvents { - [key: `${ProjectEchartEnum.echartrankBar}-${string}`]: { +interface EchartloopRingPieEvents { + [key: `${PieEchartEnum.echartloopRingPie}-${string}`]: { handleClick: (throwValue: any) => void; }; } -interface EchartthreeQuartersPieEvents { - [key: `${ProjectEchartEnum.echartthreeQuartersPie}-${string}`]: { +interface EchartpluralRosePieEvents { + [key: `${PieEchartEnum.echartpluralRosePie}-${string}`]: { handleClick: (throwValue: any) => void; }; } -interface EchartthinBarEvents { - [key: `${ProjectEchartEnum.echartthinBar}-${string}`]: { +interface EchartthreePieEvents { + [key: `${PieEchartEnum.echartthreePie}-${string}`]: { handleClick: (throwValue: any) => void; }; } -interface EchartscalePieEvents { - [key: `${ProjectEchartEnum.echartscalePie}-${string}`]: { +/** + * ECharts 散点图组件事件接口 + */ +interface EchartscatterEvents { + [key: `${ScatterEchartEnum.echartscatter}-${string}`]: { handleClick: (throwValue: any) => void; }; } +/** + * ECharts 项目图表组件事件接口 + */ interface FtUnrealEngineEvents { [key: `${ExtendsEnum.SwUnrealEngine}-${string}`]: { setupBlueprintData: (throwValue: any) => void; @@ -18722,11 +15446,6 @@ interface ftVuePartEvents { handleClick: (info: any) => void; }; } -interface FtSimpleBarrageEvents { - [key: `${ExtendsEnum.SimpleBarrage}-${number}`]: { - handleClick: () => void; - }; -} interface PageReloadEvents { [key: `${ExtendsEnum.PageReload}-${number}`]: { handleClick: () => void; @@ -18746,8 +15465,8 @@ interface ImagesList3dEvents { handleEvensChangeActiveSpinnerIndex: (actionSelect: string) => void; }; } -type TotalPanelEventMap = DynamicPanelEvents & ThreeSceneEvents & IndustrySceneEvents & CitySceneEvents & SubtabsEvents & MultiSubtabsEvents & RollSubtabsEvents & FtMutualEvents & FtLegendEvents & FtSearchEvents & FtCustomSelectEvents & FtVoiveControlEvents & FtPageQueryEvents & FtCascaderEvents & FtSingleSelectedLegendEvents & FormNavMenuEvents & FtTimerShaftEvents & PointTimelineEvents & FtPageTurningEvents & FtDateTimePickerEvents & FtProgressEvents & FtTextWordCloudEvents & CtVideoPanelEvents & FtScrollEvents & FtSwiperCardEvents & CustomTableListEvents & EchartcommonMapEvents & EchartGlMapEvents & ftParticlesEvents & EchartbarEvents & EchartstripBarEvents & EchartbothWayStripBarEvents & EchartlineAndBarEvents & EchartpictorialbarEvents & EchartrankEvents & EchartlineEvents & EchartareaLineEvents & EchartpieEvents & EchartloopRingPieEvents & EchartpluralRosePieEvents & EchartthreePieEvents & EchartscatterEvents & EchartzebraEvents & Echartzebra2Events & EchartrankBarEvents & EchartthreeQuartersPieEvents & EchartthinBarEvents & EchartscalePieEvents & FtVideoEvents & ftDigitalHumanEvents & ftVuePartEvents & FtSimpleBarrageEvents & PageReloadEvents & FtUnrealEngineEvents & videoProgressEvents; -type toAddEvent = DynamicPanelEvents | ThreeSceneEvents | IndustrySceneEvents | CitySceneEvents | SubtabsEvents | MultiSubtabsEvents | RollSubtabsEvents | FtMutualEvents | FtLegendEvents | FtSearchEvents | FtCustomSelectEvents | FtVoiveControlEvents | FtPageQueryEvents | FtCascaderEvents | FtSingleSelectedLegendEvents | FormNavMenuEvents | FtTimerShaftEvents | PointTimelineEvents | FtPageTurningEvents | FtDateTimePickerEvents | FtProgressEvents | FtTextWordCloudEvents | CtVideoPanelEvents | FtScrollEvents | FtSwiperCardEvents | CustomTableListEvents | EchartcommonMapEvents | EchartGlMapEvents | ftParticlesEvents | EchartbarEvents | EchartstripBarEvents | EchartbothWayStripBarEvents | EchartlineAndBarEvents | EchartpictorialbarEvents | EchartrankEvents | EchartlineEvents | EchartareaLineEvents | EchartpieEvents | EchartloopRingPieEvents | EchartpluralRosePieEvents | EchartthreePieEvents | EchartscatterEvents | EchartzebraEvents | Echartzebra2Events | EchartrankBarEvents | EchartthreeQuartersPieEvents | EchartthinBarEvents | EchartscalePieEvents | FtVideoEvents | ftDigitalHumanEvents | ftVuePartEvents | FtSimpleBarrageEvents | PageReloadEvents | scrollPickerEvents | ImagesList3dEvents | FtUnrealEngineEvents | videoProgressEvents; +type TotalPanelEventMap = DynamicPanelEvents & ThreeSceneEvents & IndustrySceneEvents & CitySceneEvents & SubtabsEvents & MultiSubtabsEvents & RollSubtabsEvents & FtMutualEvents & FtLegendEvents & FtSearchEvents & FtCustomSelectEvents & FtVoiveControlEvents & FtPageQueryEvents & FtCascaderEvents & FtSingleSelectedLegendEvents & FormNavMenuEvents & FtTimerShaftEvents & PointTimelineEvents & FtPageTurningEvents & FtDateTimePickerEvents & FtProgressEvents & FtTextWordCloudEvents & CtVideoPanelEvents & FtScrollEvents & FtSwiperCardEvents & CustomTableListEvents & EchartcommonMapEvents & EchartGlMapEvents & ftParticlesEvents & EchartbarEvents & EchartstripBarEvents & EchartbothWayStripBarEvents & EchartlineAndBarEvents & EchartpictorialbarEvents & EchartlineEvents & EchartareaLineEvents & EchartpieEvents & EchartloopRingPieEvents & EchartpluralRosePieEvents & EchartthreePieEvents & EchartscatterEvents & FtVideoEvents & ftDigitalHumanEvents & ftVuePartEvents & PageReloadEvents & FtUnrealEngineEvents & videoProgressEvents; +type toAddEvent = DynamicPanelEvents | ThreeSceneEvents | IndustrySceneEvents | CitySceneEvents | SubtabsEvents | MultiSubtabsEvents | RollSubtabsEvents | FtMutualEvents | FtLegendEvents | FtSearchEvents | FtCustomSelectEvents | FtVoiveControlEvents | FtPageQueryEvents | FtCascaderEvents | FtSingleSelectedLegendEvents | FormNavMenuEvents | FtTimerShaftEvents | PointTimelineEvents | FtPageTurningEvents | FtDateTimePickerEvents | FtProgressEvents | FtTextWordCloudEvents | CtVideoPanelEvents | FtScrollEvents | FtSwiperCardEvents | CustomTableListEvents | EchartcommonMapEvents | EchartGlMapEvents | ftParticlesEvents | EchartbarEvents | EchartstripBarEvents | EchartbothWayStripBarEvents | EchartlineAndBarEvents | EchartpictorialbarEvents | EchartlineEvents | EchartareaLineEvents | EchartpieEvents | EchartloopRingPieEvents | EchartpluralRosePieEvents | EchartthreePieEvents | EchartscatterEvents | FtVideoEvents | ftDigitalHumanEvents | ftVuePartEvents | PageReloadEvents | scrollPickerEvents | ImagesList3dEvents | FtUnrealEngineEvents | videoProgressEvents; import { Animation } from './component-animation'; import { AllComponentType, ExtendsChildComponentEnum, FolderEnum } from './componentProp'; @@ -18825,8 +15544,8 @@ interface StandardComponentType | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -21185,7 +17776,7 @@ declare const sdk: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -21399,78 +17990,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -21559,7 +18088,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -21778,78 +18307,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -21966,7 +18433,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -22185,78 +18652,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -22339,7 +18744,7 @@ declare const sdk: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -22553,78 +18958,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -22842,7 +19185,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -23061,78 +19404,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -23236,7 +19517,7 @@ declare const sdk: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -23450,78 +19731,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -23610,7 +19829,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -23829,78 +20048,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -24017,7 +20174,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -24236,78 +20393,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -24390,7 +20485,7 @@ declare const sdk: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -24604,78 +20699,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -24878,9 +20911,6 @@ declare const sdk: { editCanvas: vue.Ref<{ editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -24888,9 +20918,6 @@ declare const sdk: { }, EditCanvasType | { editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -25515,7 +21542,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -25734,78 +21761,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -25909,7 +21874,7 @@ declare const screenwright: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -26123,78 +22088,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -26283,7 +22186,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -26502,78 +22405,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -26690,7 +22531,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -26909,78 +22750,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -27063,7 +22842,7 @@ declare const screenwright: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -27277,78 +23056,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -27566,7 +23283,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -27785,78 +23502,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -27960,7 +23615,7 @@ declare const screenwright: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -28174,78 +23829,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -28334,7 +23927,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -28553,78 +24146,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -28741,7 +24272,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -28960,78 +24491,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -29114,7 +24583,7 @@ declare const screenwright: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -29328,78 +24797,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -29602,9 +25009,6 @@ declare const screenwright: { editCanvas: vue.Ref<{ editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -29612,9 +25016,6 @@ declare const screenwright: { }, EditCanvasType | { editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; diff --git a/apps/app/public/lib/sdk/hooks.d.ts b/apps/app/public/lib/sdk/hooks.d.ts index 04c736b7..45c95d77 100644 --- a/apps/app/public/lib/sdk/hooks.d.ts +++ b/apps/app/public/lib/sdk/hooks.d.ts @@ -120,10 +120,6 @@ interface TargetChartType { declare enum EditCanvasTypeEnum { EDIT_LAYOUT_DOM = "editLayoutDom", EDIT_CONTENT_DOM = "editContentDom", - OFFSET = "offset", - SCALE = "scale", - USER_SCALE = "userScale", - LOCK_SCALE = "lockScale", IS_CREATE = "isCreate", IS_DRAG = "isDrag", IS_SELECT = "isSelect", @@ -136,9 +132,6 @@ declare enum MouseEventButton { interface EditCanvasType { editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -184,12 +177,6 @@ interface Translate { toX: number; toY: number; } -interface Ue4Config { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; -} interface SceneObjectExplosion { index: string; lidName: string; @@ -239,13 +226,12 @@ declare const CoreType_StandardComponentType: typeof StandardComponentType; type CoreType_TargetChartType = TargetChartType; declare const CoreType_TempPool: typeof TempPool; type CoreType_Translate = Translate; -type CoreType_Ue4Config = Ue4Config; declare const CoreType_WebSocketDataSource: typeof WebSocketDataSource; type CoreType_direction = direction; declare const CoreType_direction: typeof direction; declare const CoreType_renderFolderType: typeof renderFolderType; declare namespace CoreType { - export { type CoreType_Action as Action, CoreType_ActionAnimation as ActionAnimation, CoreType_AllComponentType as AllComponentType, CoreType_Animation as Animation, CoreType_BindComponent as BindComponent, CoreType_Callback as Callback, CoreType_CallbackManager as CallbackManager, CoreType_CallbackSource as CallbackSource, CoreType_CallbackTarget as CallbackTarget, CoreType_ChildComponent as ChildComponent, CoreType_ComponentMinioAsset as ComponentMinioAsset, CoreType_ComponentType as ComponentType, CoreType_Condition as Condition, CoreType_ContextMenuType as ContextMenuType, CoreType_DataRemark as DataRemark, CoreType_DataSourceType as DataSourceType, CoreType_DataType as DataType, CoreType_DbItem as DbItem, CoreType_DragKeyEnum as DragKeyEnum, AllEchartEnum as EchartEnum, type CoreType_EditCanvasType as EditCanvasType, CoreType_EditCanvasTypeEnum as EditCanvasTypeEnum, CoreType_EncodeAction as EncodeAction, CoreType_EncodeEvent as EncodeEvent, Event$1 as Event, ExhibitEnum as ExhibitEnumType, CoreType_Filter as Filter, FolderEnum as FolderType, type CoreType_IComponent as IComponent, CoreType_IotAddress as IotAddress, type CoreType_LayerInfo as LayerInfo, CoreType_ListenArg as ListenArg, type CoreType_MenuOptionsItemType as MenuOptionsItemType, CoreType_MinioResource as MinioResource, CoreType_MouseEventButton as MouseEventButton, CoreType_PanelEnum as PanelEnum, type CoreType_Scale as Scale, type CoreType_SceneObjectExplosion as SceneObjectExplosion, CoreType_StandardComponentType as StandardComponentType, type CoreType_TargetChartType as TargetChartType, CoreType_TempPool as TempPool, ThirdPartEnum as ThirdPartEnumType, type CoreType_Translate as Translate, type CoreType_Ue4Config as Ue4Config, CoreType_WebSocketDataSource as WebSocketDataSource, CoreType_direction as direction, ExtendsChildComponentEnum as extendsChildComponentEnumType, ExtendsEnum as extendsEnumType, IndicatorEnum as indicatorEnum, InteractiveEnum as interactiveEnum, MediaEnum as mediaEnum, CoreType_renderFolderType as renderFolderType, SceneEnum as sceneEnumType, TextEnum as textEnum, ThreeComponentEnum as threeComponentEnum }; + export { type CoreType_Action as Action, CoreType_ActionAnimation as ActionAnimation, CoreType_AllComponentType as AllComponentType, CoreType_Animation as Animation, CoreType_BindComponent as BindComponent, CoreType_Callback as Callback, CoreType_CallbackManager as CallbackManager, CoreType_CallbackSource as CallbackSource, CoreType_CallbackTarget as CallbackTarget, CoreType_ChildComponent as ChildComponent, CoreType_ComponentMinioAsset as ComponentMinioAsset, CoreType_ComponentType as ComponentType, CoreType_Condition as Condition, CoreType_ContextMenuType as ContextMenuType, CoreType_DataRemark as DataRemark, CoreType_DataSourceType as DataSourceType, CoreType_DataType as DataType, CoreType_DbItem as DbItem, CoreType_DragKeyEnum as DragKeyEnum, AllEchartEnum as EchartEnum, type CoreType_EditCanvasType as EditCanvasType, CoreType_EditCanvasTypeEnum as EditCanvasTypeEnum, CoreType_EncodeAction as EncodeAction, CoreType_EncodeEvent as EncodeEvent, Event$1 as Event, ExhibitEnum as ExhibitEnumType, CoreType_Filter as Filter, FolderEnum as FolderType, type CoreType_IComponent as IComponent, CoreType_IotAddress as IotAddress, type CoreType_LayerInfo as LayerInfo, CoreType_ListenArg as ListenArg, type CoreType_MenuOptionsItemType as MenuOptionsItemType, CoreType_MinioResource as MinioResource, CoreType_MouseEventButton as MouseEventButton, CoreType_PanelEnum as PanelEnum, type CoreType_Scale as Scale, type CoreType_SceneObjectExplosion as SceneObjectExplosion, CoreType_StandardComponentType as StandardComponentType, type CoreType_TargetChartType as TargetChartType, CoreType_TempPool as TempPool, ThirdPartEnum as ThirdPartEnumType, type CoreType_Translate as Translate, CoreType_WebSocketDataSource as WebSocketDataSource, CoreType_direction as direction, ExtendsChildComponentEnum as extendsChildComponentEnumType, ExtendsEnum as extendsEnumType, IndicatorEnum as indicatorEnum, InteractiveEnum as interactiveEnum, MediaEnum as mediaEnum, CoreType_renderFolderType as renderFolderType, SceneEnum as sceneEnumType, TextEnum as textEnum, ThreeComponentEnum as threeComponentEnum }; } declare const sdk: { @@ -278,7 +264,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -497,78 +483,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -672,7 +596,7 @@ declare const sdk: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -886,78 +810,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -1046,7 +908,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -1265,78 +1127,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -1453,7 +1253,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -1672,78 +1472,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -1826,7 +1564,7 @@ declare const sdk: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -2040,78 +1778,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -2329,7 +2005,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -2548,78 +2224,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -2723,7 +2337,7 @@ declare const sdk: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -2937,78 +2551,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -3097,7 +2649,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -3316,78 +2868,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -3504,7 +2994,7 @@ declare const sdk: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -3723,78 +3213,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -3877,7 +3305,7 @@ declare const sdk: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -4091,78 +3519,16 @@ declare const sdk: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -4365,9 +3731,6 @@ declare const sdk: { editCanvas: vue.Ref<{ editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -4375,9 +3738,6 @@ declare const sdk: { }, EditCanvasType | { editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -5002,7 +4362,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -5221,78 +4581,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -5396,7 +4694,7 @@ declare const screenwright: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -5610,78 +4908,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -5770,7 +5006,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -5989,78 +5225,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -6177,7 +5351,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -6396,78 +5570,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -6550,7 +5662,7 @@ declare const screenwright: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -6764,78 +5876,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -7053,7 +6103,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -7272,78 +6322,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -7447,7 +6435,7 @@ declare const screenwright: { children?: /*elided*/ any[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -7661,78 +6649,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -7821,7 +6747,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -8040,78 +6966,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -8228,7 +7092,7 @@ declare const screenwright: { left: number; top: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; option: any; data: any; @@ -8447,78 +7311,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -8601,7 +7403,7 @@ declare const screenwright: { }[] | undefined; left: number; isLock?: boolean | undefined; - zIndex: number; + zIndex: string; display: boolean; listenArgs: { filterName: string; @@ -8815,78 +7617,16 @@ declare const screenwright: { toY: number; } | undefined; encodeKey?: string | null | undefined; - ue4Config?: { - messageName: string; - messageJson: string; - messageContent: string; - messageType: string; - } | undefined; blueprintKey?: string | undefined; - customActionType?: "component" | "message" | "statusAnimation" | undefined; + customActionType?: "component" | "statusAnimation" | undefined; panelStatusAnimationId?: string | undefined; panelStatusId?: string | undefined; - tcpudpConfig?: { - dataType: _screenwright_types.tcpudpDataTypeEnum; - dataSourceId: string; - dataSourceObj: Record | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - name: string; - description: string; - type: string; - url: string; - dataGroupId: number | null; - fileName: string; - size: number; - charsetName: string; - layerIds: string; - config?: string | undefined; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - dataGroupId: number | null; - name: string; - description: string; - type: string; - desIp: string; - desPort: number; - localPort: number; - charsetName: string; - layerIds: number[]; - } | { - createdBy: string; - createdTime: string; - updatedBy: string; - updatedTime: string; - id: number; - userId: number; - type: string; - name: string; - description: string; - config: string; - dataGroupId: number | null; - layerIds: string; - baseUrl: string; - } | null; - sendData: string; - sendType: string; - dataDelay: number; - } | undefined; projectFunName?: string | undefined; projectParamList?: any[] | undefined; projectParamType?: string | undefined; projectParamValue?: Record | undefined; projectParamCode?: string | undefined; swiperCardTabsName?: string | undefined; - aiManMsgContent?: string | undefined; setBroadcastId?: string | null | undefined; videoStartTime?: number | undefined; videoEndTime?: number | undefined; @@ -9089,9 +7829,6 @@ declare const screenwright: { editCanvas: vue.Ref<{ editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; @@ -9099,9 +7836,6 @@ declare const screenwright: { }, EditCanvasType | { editLayoutDom: HTMLElement | null; editContentDom: HTMLElement | null; - offset: number; - userScale: number; - lockScale: boolean; isCreate: boolean; isDrag: boolean; isSelect: boolean; diff --git a/apps/app/src/App.vue b/apps/app/src/App.vue index b301c624..3fae013c 100644 --- a/apps/app/src/App.vue +++ b/apps/app/src/App.vue @@ -1,6 +1,5 @@ @@ -17,7 +73,15 @@ import { computed } from "vue"; import Icon from "@/components/Icon/index.vue"; +import { + imageSlotsOf, + isGenerationRunning, + requestedImageCount, + resultUrlsOf, + useGenerationProgress +} from "../hooks/useGenerationProgress"; import type { V5ToolPart } from "./AssistantMessage.vue"; +import MediaAttachmentPreview from "./MediaAttachmentPreview.vue"; const props = defineProps<{ part: V5ToolPart; @@ -26,12 +90,98 @@ const props = defineProps<{ /** 需要在标题栏展示目标路径的高频工具(按注册对象 key 命名,兼容旧的 tool id 命名) */ const PATH_TOOLS = new Set(["readFileTool", "editFilesTool", "read_file", "edit_files"]); +/** 结果里带图片 url、需要直接出图预览的工具 */ +const IMAGE_TOOLS = new Set(["createImageTool", "captureCanvasTool", "capture_canvas", "readFileTool", "read_file"]); + const toolName = computed(() => props.part.toolName ?? props.part.type.replace(/^tool-/, "")); const isPathTool = computed(() => PATH_TOOLS.has(toolName.value)); const isError = computed(() => props.part.state === "output-error"); +// 生图 / 生视频要等一两分钟:生成期间按 toolCallId 轮询后端进度,前台和后台执行共用这一套 +const generating = computed(() => isGenerationRunning(toolName.value, props.part.state, props.part.output)); +const { progress: generationProgress } = useGenerationProgress(() => props.part.toolCallId, generating); + +/** 进度条的展示数据:还没查到进度时先显示「准备中」,不让卡片在等待的头几秒是空的 */ +const generationView = computed(() => { + if (!generating.value) { + return null; + } + const data = generationProgress.value; + const count = requestedImageCount(props.part.input); + if (!data || data.status === "unknown") { + // 查不到进度 = 这次调用还没开始执行:前台时同一步里的调用是排队一个个跑的,后面的要等前面的做完 + return { percent: 0, stage: "等待开始", elapsed: "", count }; + } + // 完成 / 失败后收起进度条:完成的结果在下面出图,失败的原因在下面写出来 + if (data.status === "done" || data.status === "failed") { + return null; + } + const elapsed = data.elapsedSec > 0 ? `已等 ${data.elapsedSec} 秒` : ""; + return { percent: data.percent, stage: data.stage, elapsed, count }; +}); + +/** 后台生成失败时,卡片的结果不会变成错误(它停在占位文字上),失败原因从进度里取 */ +const generationFailure = computed(() => { + const data = generationProgress.value; + return generating.value && data?.status === "failed" ? (data.error ?? "生成失败") : ""; +}); + +/** + * 工具结果只在 output-available 之后才可信;但生成类工具在前台串行执行时,卡片要等整步结束才变成 + * output-available,而图早就生成好了——此时用进度接口带回来的地址先出图,不让用户干等。 + */ +const readyOutput = computed(() => (props.part.state === "output-available" ? props.part.output : undefined)); + +const collectionOutput = computed(() => { + if (!["searchMediaAssetsTool", "importMediaAssetsTool"].includes(toolName.value)) { + return undefined; + } + return readyOutput.value as + | { + assets?: Array<{ type?: string; url?: string; title?: string; contentType?: string }>; + note?: string; + errors?: string[]; + } + | undefined; +}); +const collectedAssets = computed(() => + (collectionOutput.value?.assets ?? []).flatMap((asset) => + typeof asset.url === "string" && (asset.type === "image" || asset.type === "video") + ? [{ url: asset.url, filename: asset.title ?? "素材", mediaType: asset.contentType || `${asset.type}/*` }] + : [] + ) +); +const collectionNote = computed(() => collectionOutput.value?.note || collectionOutput.value?.errors?.join("\n") || ""); + +/** 图片区域:生成中每张一个呼吸占位,出图后换成图,没生成出来的标失败 */ +const imageSlots = computed(() => { + if (!IMAGE_TOOLS.has(toolName.value)) { + return []; + } + return imageSlotsOf( + readyOutput.value, + generationProgress.value, + requestedImageCount(props.part.input), + generating.value + ); +}); + +/** 点开大图时在已出的图里左右翻 */ +const previewUrls = computed(() => imageSlots.value.flatMap((slot) => (slot.kind === "image" ? [slot.url] : []))); + +const generatedVideos = computed(() => { + if (toolName.value !== "createVideoTool") { + return []; + } + return resultUrlsOf(readyOutput.value, generationProgress.value).map((url, index) => ({ + url, + filename: `生成视频 ${index + 1}`, + mediaType: "video/mp4" + })); +}); + const errorMessage = computed(() => { const raw = props.part.errorText ?? ""; if (!raw) { @@ -138,5 +288,95 @@ const pathText = computed(() => { white-space: pre-wrap; word-break: break-all; } + + &__images { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-top: 6px; + } + + &__collected-assets { + display: flex; + flex-wrap: wrap; + gap: 8px; + margin-top: 6px; + } + + &__collection-note { + margin-top: 6px; + color: $color-text-secondary; + font-size: 12px; + white-space: pre-wrap; + } + + &__image-thumb { + display: block; + width: 320px; + height: 180px; + border-radius: 6px; + border: 1px solid $color-primary-20; + cursor: zoom-in; + } + + // 一次出多张时缩小,一排放得下两张,别让六张图把对话撑得很长 + &__images--multi &__image-thumb { + width: 156px; + height: 88px; + } + + &__image-pending { + cursor: default; + background: $color-primary-20; + animation: tool-call-breathe 1.8s ease-in-out infinite; + } + + &__image-failed { + display: flex; + align-items: center; + justify-content: center; + cursor: default; + color: #f56c6c; + font-size: 12px; + border-style: dashed; + border-color: #f56c6c; + } + + @keyframes tool-call-breathe { + 0%, + 100% { + opacity: 0.25; + } + 50% { + opacity: 0.7; + } + } + + &__progress { + margin-top: 6px; + width: 320px; + } + + &__progress-text { + display: flex; + justify-content: space-between; + margin-bottom: 4px; + font-size: 12px; + color: $color-text-dim; + } + + &__progress-track { + height: 4px; + overflow: hidden; + border-radius: 999px; + background: $color-primary-18; + } + + &__progress-bar { + height: 100%; + border-radius: inherit; + background: $color-primary; + transition: width 0.6s ease; + } } diff --git a/apps/app/src/views/build/components/agentBI/components/UserMessage.vue b/apps/app/src/views/build/components/agentBI/components/UserMessage.vue index bfa30a26..c53ef273 100644 --- a/apps/app/src/views/build/components/agentBI/components/UserMessage.vue +++ b/apps/app/src/views/build/components/agentBI/components/UserMessage.vue @@ -1,16 +1,13 @@ - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/controlEncodes/useControlEncodes.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/controlEncodes/useControlEncodes.ts deleted file mode 100644 index 236a53c0..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/controlEncodes/useControlEncodes.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { computed, ref } from "vue"; - -import { ElMessage } from "element-plus"; - -import { updateLargeScreen } from "@/api/library"; -import { useEditStore } from "@/views/build/components/buildRender/hooks/useEditStore"; -import { useLargeScreenInfo } from "@/views/build/useLargeScreenInfo"; -import { useEncodeCommunication } from "@/views/view/useEncodeCommunication"; - -/** - * 控制编码组件业务逻辑 - */ -export const useControlEncodes = () => { - const { encodedControlValues } = useEncodeCommunication(); - const { selectTargetData } = useEditStore(); - const { navInfo } = useLargeScreenInfo(); - /** - * 当前组件的控制编码值 - * 从 encodedControlValues 中读取当前选中组件的编码,支持双向绑定 - */ - const codeValue = computed({ - get: () => { - if (!selectTargetData.value?.length) return ""; - - const currentComponentId = `${selectTargetData.value[0].id}`; - const targetEncode = encodedControlValues.value.find((item) => item.id === currentComponentId); - return targetEncode?.code || ""; - }, - set: (value: string) => { - if (!selectTargetData.value?.length) return; - - const currentComponentId = `${selectTargetData.value[0].id}`; - - /** - * id-code-value - */ - - const targetEncodeIndex = encodedControlValues.value.findIndex((item) => item.id === currentComponentId); - - if (targetEncodeIndex !== -1) { - // 更新existing编码 - 使用浅拷贝 - const newEncodedValues = [...encodedControlValues.value]; - newEncodedValues[targetEncodeIndex] = { - id: currentComponentId, - code: value, - value: selectTargetData.value[0]?.data?.[0]?.value ?? "" - }; - encodedControlValues.value = newEncodedValues; - } else { - // 添加新编码 - 先删除原有相同id的数据,再添加新数据 - const filteredValues = encodedControlValues.value.filter((item) => item.id !== currentComponentId); - encodedControlValues.value = [ - ...filteredValues, - { - id: currentComponentId, - code: value, - value: selectTargetData.value[0]?.data?.[0]?.value ?? "" - } - ]; - } - } - }); - - /** - * 处理编码变更 - * @param value 新的编码值 - */ - const handleCodeChange = () => { - const update = () => { - const updateParams = { - encodedControl: JSON.stringify(navInfo.value.encodedControl), - id: Number(navInfo.value.id) - }; - updateLargeScreen(updateParams); - }; - update(); - }; - - // 内部状态 - const isFocused = ref(false); - - /** - * 验证控制编码格式 - * @param code 编码字符串 - */ - const validateControlCode = (code: string): boolean => { - if (!code.trim()) return true; // 允许为空 - - // 验证规则:只允许字母、数字、下划线、中划线 - const regex = /^[a-zA-Z0-9_-]+$/; - if (!regex.test(code)) { - ElMessage.warning("控制编码只能包含字母、数字、下划线和中划线"); - return false; - } - - // 长度验证 - if (code.length > 50) { - ElMessage.warning("控制编码长度不能超过50个字符"); - return false; - } - - return true; - }; - - /** - * 格式化控制编码 - * @param code 原始编码 - */ - const formatControlCode = (code: string): string => { - // 去除首尾空格,转换为小写 - return code.trim().toLowerCase(); - }; - - /** - * 处理输入框失焦 - */ - const handleBlur = () => { - isFocused.value = false; - - // 失焦时进行最终验证和格式化 - if (codeValue.value) { - const formattedValue = formatControlCode(codeValue.value); - if (validateControlCode(formattedValue)) { - codeValue.value = formattedValue; - } - } - }; - - /** - * 处理输入框聚焦 - */ - const handleFocus = () => { - isFocused.value = true; - }; - - return { - // 状态 - codeValue, - isFocused, - - // 方法 - handleCodeChange, - handleBlur, - handleFocus, - validateControlCode, - formatControlCode - }; -}; diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/ActionComponentMapping.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/ActionComponentMapping.ts index 46f8a476..057fe2df 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/ActionComponentMapping.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/ActionComponentMapping.ts @@ -9,19 +9,13 @@ import AnimationPlayback from "./actions/AnimationPlayback.vue"; import ApiInstruction from "./actions/ApiInstruction.vue"; import FocusLayer from "./actions/FocusLayer.vue"; import FollowIcon from "./actions/FollowIcon.vue"; -import GlMapIconActive from "./actions/GlMapIconActive.vue"; -import GlMapRegionLift from "./actions/GlMapRegionLift.vue"; -import GlMapSceneRoam from "./actions/GlMapSceneRoam.vue"; import HandleSceneObjExplosion from "./actions/HandleSceneObjExplosion.vue"; import ProjectFunction from "./actions/ProjectFunction.vue"; -import SendAIManMsg from "./actions/SendAIManMsg.vue"; -import SendUE4Msg from "./actions/SendUE4Msg.vue"; import SetDelay from "./actions/SetDelay.vue"; import SetIndex from "./actions/SetIndex.vue"; import SetStateAnimation from "./actions/SetStateAnimation.vue"; import ShowHide from "./actions/Show&Hide.vue"; import SwiperCardChangeIndexPage from "./actions/SwiperCardChangeIndexPage.vue"; -import SwitchMapChildComponent from "./actions/SwitchMapChildComponent.vue"; import SwitchSceneChildComponent from "./actions/SwitchSceneChildComponent.vue"; import SwitchSceneLevel from "./actions/SwitchSceneLevel.vue"; import SwitchSceneObject from "./actions/SwitchSceneObject.vue"; @@ -40,9 +34,6 @@ export const actionComponentMap: Record = { [ActionTypeEnum.Show]: ShowHide, [ActionTypeEnum.Hide]: ShowHide, [ActionTypeEnum.ShowHide]: ShowHide, - [ActionTypeEnum.SendUe4Msg]: SendUE4Msg, - [ActionTypeEnum.SendUe4MsgStatic]: SendUE4Msg, - [ActionTypeEnum.SendAIManMsgStatic]: SendAIManMsg, [ActionTypeEnum.SwitchSceneStatus]: SwitchSceneStatus, [ActionTypeEnum.SwitchSceneRoam]: SwitchSceneRoam, [ActionTypeEnum.SwitchSceneLevel]: SwitchSceneLevel, @@ -71,10 +62,6 @@ export const actionComponentMap: Record = { [ActionTypeEnum.VideoToRewind]: VideoToRewind, [ActionTypeEnum.SwitchSceneChildComponentVisible]: SwitchSceneChildComponent, - [ActionTypeEnum.SwitchMapChildComponentVisible]: SwitchMapChildComponent, - [ActionTypeEnum.GlMapRegionLift]: GlMapRegionLift, - [ActionTypeEnum.GlMapSceneRoam]: GlMapSceneRoam, - [ActionTypeEnum.GlMapIconActive]: GlMapIconActive, [ActionTypeEnum.Moving]: ActionMoving, [ActionTypeEnum.Scaling]: ActionScaling, [ActionTypeEnum.ScalingHide]: ActionScaling, diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapIconActive.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapIconActive.vue deleted file mode 100644 index d1c916be..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapIconActive.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapRegionLift.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapRegionLift.vue deleted file mode 100644 index 2255f6b0..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapRegionLift.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapSceneRoam.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapSceneRoam.vue deleted file mode 100644 index ba453925..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/GlMapSceneRoam.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendAIManMsg.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendAIManMsg.vue deleted file mode 100644 index 3940b5ac..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendAIManMsg.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendUE4Msg.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendUE4Msg.vue deleted file mode 100644 index 2f85ed0b..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SendUE4Msg.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SwitchMapChildComponent.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SwitchMapChildComponent.vue deleted file mode 100644 index 7fc53f81..00000000 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/componentActionConfigs/actions/SwitchMapChildComponent.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/customEvent.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/customEvent.vue index 15d591ce..ce08bc06 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/customEvent.vue +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/customEvent.vue @@ -130,10 +130,6 @@ -
- -
-
-
- -
- - - diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/options.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/options.ts index 40935a06..c821d440 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/options.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/interactiveConfig/options.ts @@ -28,18 +28,11 @@ import { customTableListOptions, EncodeEventTypeEnum, EventTypeEnum, - MessageTypeEnum, - messageTypeOptions, ParameterTypeEnum, parameterTypeOptions, SceneObjectExplosionType, sceneObjectExplosionTypeOptions, - tcpudpDataTypeEnum, - tcpudpDataTypeOptions, timingFunction, - UDPSendtypeEnum, - UDPSendtypeListOptions, - ueMessageTypeOptions, VisibleTypeEnum, visibleTypeOptions } from "../../../constants/index"; @@ -174,30 +167,15 @@ export const templateActions = (): Action => { toY: 0 }, encodeKey: null, - ue4Config: { - messageName: "", - messageJson: "", - messageContent: "", - messageType: MessageTypeEnum.String - }, customActionType: "component", // 动作-类型 panelStatusAnimationId: "", // 面板状态动画ID panelStatusId: "", // 面板状态ID - tcpudpConfig: { - dataType: tcpudpDataTypeEnum.None, - dataSourceId: "", - dataSourceObj: null, - sendData: "", - sendType: UDPSendtypeEnum.Unicast, - dataDelay: 0 - }, projectFunName: "", projectParamList: [], projectParamType: ParameterTypeEnum.Default, projectParamValue: {}, projectParamCode: "", swiperCardTabsName: "", - aiManMsgContent: "", setBroadcastId: null, videoStartTime: 0, videoEndTime: 0, @@ -333,31 +311,6 @@ export const createTemplateAction = (actionType: ActionTypeEnum): Partial { [ConfigFieldEnum.ConditionType]: conditionTypeOptions, [ConfigFieldEnum.ConditionCompare]: conditionCompareOptions, [ConfigFieldEnum.VisibleType]: visibleTypeOptions, - [ConfigFieldEnum.MessageType]: messageTypeOptions, - [ConfigFieldEnum.UeMessageType]: ueMessageTypeOptions, [ConfigFieldEnum.CustomTableList]: customTableListOptions, - [ConfigFieldEnum.TcpudpDataType]: tcpudpDataTypeOptions, - [ConfigFieldEnum.UDPSendtypeList]: UDPSendtypeListOptions, [ConfigFieldEnum.ParameterType]: parameterTypeOptions, [ConfigFieldEnum.AnimationOutType]: animationOutList, [ConfigFieldEnum.SceneObjectExplosionType]: sceneObjectExplosionTypeOptions @@ -642,7 +553,7 @@ export const moreActionSExcludes = () => { export const switchStateProp = (prop: AllComponentType) => { const getComponent2ActionMap = createComponent2ActionMapGetter(); const propActions = getComponent2ActionMap().get(prop) || ""; - return propActions.includes(ActionTypeEnum.SwitchState) || propActions.includes(ActionTypeEnum.SwitchTCState); + return propActions.includes(ActionTypeEnum.SwitchState); }; export const switchSceneStatusProp = (prop: AllComponentType) => { @@ -690,12 +601,6 @@ export const switchSceneChildComponentVisibleProp = (prop: AllComponentType) => return propActions.includes(ActionTypeEnum.SwitchSceneChildComponentVisible); }; -export const switchMapChildComponentVisibleProp = (prop: AllComponentType) => { - const getComponent2ActionMap = createComponent2ActionMapGetter(); - const propActions = getComponent2ActionMap().get(prop) || ""; - return propActions.includes(ActionTypeEnum.SwitchMapChildComponentVisible); -}; - export const handleApiInstructionProp = (prop: AllComponentType) => { const getComponent2ActionMap = createComponent2ActionMapGetter(); const propActions = getComponent2ActionMap().get(prop) || ""; @@ -715,7 +620,6 @@ export const hasCustomEvents = (prop: AllComponentType) => { interactiveEnum.SwSearch, interactiveEnum.SwTimerShaft, interactiveEnum.SwCustomSelect, - "echartcommonMap", "threescene", interactiveEnum.SwLegend, textEnum.SwTextWordCloud, diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/PropertyValueEditor.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/PropertyValueEditor.vue index cd5dab88..6d479572 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/PropertyValueEditor.vue +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/PropertyValueEditor.vue @@ -84,9 +84,9 @@ import { computed, ref, watch } from "vue"; import { useImagePreviewDialog } from "@screenwright/material/exhibit"; -import { FileType } from "@/components/SwUpload/SwUpload"; -import SwUpload from "@/components/SwUpload/index.vue"; import Icon from "@/components/Icon/index.vue"; +import SwUpload from "@/components/SwUpload/index.vue"; +import { FileType } from "@/components/SwUpload/SwUpload"; import { setMinioUrl } from "@/utils/config"; import type { ComponentAnimationConfig, PropertyNode } from "../type"; @@ -133,7 +133,7 @@ const openImagePreviewHandler = async () => { // 数字类型属性配置 const numberTypeProperties: Record< - keyof Omit, + keyof Omit, { precision: number; step: number; min?: number; max?: number } > = { // 旋转类属性,精度为2,步长为0.1,范围[-360, 360] @@ -148,8 +148,6 @@ const numberTypeProperties: Record< height: { precision: 0, step: 1, min: 0 }, // 透明度,精度为2,步长为0.01,范围[0, 1] opacity: { precision: 2, step: 0.01, min: 0, max: 1 }, - // 层级,精度为0,步长为1,最小值为0 - zIndex: { precision: 0, step: 1, min: 0 }, // 字体大小,精度为0,步长为1,最小值为0 fontSize: { precision: 0, step: 1, min: 0 } }; diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/hooks/generators/mappings.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/hooks/generators/mappings.ts index 2314e08e..d6632719 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/hooks/generators/mappings.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/components/hooks/generators/mappings.ts @@ -1,3 +1,5 @@ +import { normalizeZIndex } from "@screenwright/core"; + import { interactiveEnum, mediaEnum, textEnum } from "@/components/componentEntry/type"; import type { PropertyMapping } from "./types"; @@ -57,14 +59,16 @@ export const DEFAULT_PROPERTY_MAPPINGS: PropertyMapping[] = [ source: "zIndex", target: "zIndex", type: PropertyMappingType.DIRECT, - validator: (value) => typeof value === "number", + // 层级是字符串排序键;旧的状态动画数据里存的是数字,应用到组件上时换成键 + validator: (value) => typeof value === "string" || typeof value === "number", + transformer: (value) => normalizeZIndex(value), description: "层级", group: "zIndex" } ]; -const advanceMappings: PropertyMapping[] = [ - // 外观组属性 +// 外观组属性:opacity 字段名在原子组件迁移前后都叫 option.opacity,所有组件通用 +const opacityMapping: PropertyMapping[] = [ { source: "opacity", target: "option.opacity", @@ -72,9 +76,14 @@ const advanceMappings: PropertyMapping[] = [ validator: (value) => typeof value === "number" && value >= 0 && value <= 1, description: "透明度", group: "appearance" - }, + } +]; - // 旋转组属性 +// 旋转组属性:仅适用于仍然使用离散 rotateX/Y/Z 字段的组件(如 SwVideo/SwMutual)。 +// swimg/swtext 迁移到新 schema 后旋转已经并入通用的 option.transform 字符串, +// 不再有离散的 rotateX/Y/Z 字段,所以这两个组件不再拼进这组映射(否则状态动画面板 +// 会显示一个写了也不生效的"旋转"属性组)。 +const rotationMappings: PropertyMapping[] = [ { source: "rotateX", target: "option.rotateX", @@ -101,6 +110,9 @@ const advanceMappings: PropertyMapping[] = [ } ]; +// 保留原名/原组合,供其他未在 COMPONENT_TYPE_MAPPINGS 里单独列出的组件类型兜底使用(见文件末尾 fallback) +const advanceMappings: PropertyMapping[] = [...opacityMapping, ...rotationMappings]; + const ftImgMappings: PropertyMapping[] = [ { source: "image", diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/type.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/type.ts index 3f94787b..932bf81d 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/type.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/type.ts @@ -71,8 +71,8 @@ export interface ComponentAnimationConfig { /** @description 字体大小 */ fontSize?: number; - /** @description 层级 */ - zIndex: number; + /** @description 层级(字符串排序键;旧数据是数字) */ + zIndex: string | number; /** @description 视频 */ video?: string; diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/utils/utils.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/utils/utils.ts index aaed74b4..e3a730c1 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/utils/utils.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/statusAnimation/utils/utils.ts @@ -325,9 +325,10 @@ const PROPERTY_GROUP_CONFIG: Record> = name: "显示", type: "boolean" }, + // 层级是字符串排序键(越大越靠上),没有数值含义 zIndex: { name: "层级", - type: "number" + type: "string" }, // 图片组 image: { diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/components/useDataApi.ts b/apps/app/src/views/build/components/buildConfig/attrsRender/components/useDataApi.ts index 6008f7d1..da08880d 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/components/useDataApi.ts +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/components/useDataApi.ts @@ -6,7 +6,6 @@ import type { dbModelReq } from "@/model/DataModel"; import { DataSourceType } from "@/views/source/type"; import type { ComponentType } from "../../../buildRender/type"; -import { tcpudpDataTypeEnum } from "../../constants"; export type ApiFunction = (params: dbModelReq) => Promise; export interface DataSource { @@ -24,13 +23,6 @@ const apiMap = new Map([ [DataSourceType.TCPUDP, getDataSocketList] ]); -const dataTypeMapDataSourceType = { - [tcpudpDataTypeEnum.None]: DataSourceType.LOCAL, - [tcpudpDataTypeEnum.TCP]: DataSourceType.TCPUDP, - [tcpudpDataTypeEnum.UDP]: DataSourceType.TCPUDP, - [tcpudpDataTypeEnum.WebSocket]: DataSourceType.WEBSOCKET -}; - const useDataApi = createGlobalState((type?: DataSourceType) => { const options = ref< Array< @@ -79,4 +71,4 @@ const useDataApi = createGlobalState((type?: DataSourceType) => { return { options, getMenuApi, getOptionData, setOptions }; }); -export { dataTypeMapDataSourceType, useDataApi }; +export { useDataApi }; diff --git a/apps/app/src/views/build/components/buildConfig/attrsRender/interactiveConfig.vue b/apps/app/src/views/build/components/buildConfig/attrsRender/interactiveConfig.vue index 9d2b506a..accb7fff 100644 --- a/apps/app/src/views/build/components/buildConfig/attrsRender/interactiveConfig.vue +++ b/apps/app/src/views/build/components/buildConfig/attrsRender/interactiveConfig.vue @@ -1,7 +1,6 @@ @@ -123,6 +130,16 @@ const props = defineProps({ type: Boolean, default: false }, + /** agent 正在通过 edit_files 改这个组件——叠一层扫光提示,改完自动消失 */ + isEditing: { + type: Boolean, + default: false + }, + /** 移出了画布可视窗口:隐藏(display: none),见 useCanvasCulling */ + culled: { + type: Boolean, + default: false + }, unitPavenType: { type: String, default: "px" @@ -311,6 +328,11 @@ const shapeModalShow = computed(() => { cursor: default !important; } + // 用类而不是 v-show:v-show 在 Transition 里,切换会重放进入动画 + &.is-culled { + display: none !important; + } + .has-bind::after { content: "\e658"; color: #ffffff; @@ -352,7 +374,13 @@ const shapeModalShow = computed(() => { width: 32px; height: 16px; line-height: 16px; - background: linear-gradient(to right, #e8aa2e 0%, #e8aa2e 50%, var(--sw-theme-color) 50%, var(--sw-theme-color) 100%); + background: linear-gradient( + to right, + #e8aa2e 0%, + #e8aa2e 50%, + var(--sw-theme-color) 50%, + var(--sw-theme-color) 100% + ); position: absolute; right: 0 !important; top: 0 !important; @@ -373,5 +401,46 @@ const shapeModalShow = computed(() => { box-shadow: 0 0 0 2px var(--sw-theme-color) inset; } } + + &.is-editing { + box-shadow: 0 0 0 1px color-mix(in srgb, var(--sw-theme-color) 70%, transparent) inset; + } + + .editing-scan { + position: absolute; + inset: 0; + overflow: hidden; + pointer-events: none; // 纯展示,不拦截下面的点击/拖拽 + z-index: 2; + + &::before { + content: ""; + position: absolute; + left: 0; + right: 0; + top: -30%; + height: 30%; + // 拖尾渐隐 + 底部收成一条亮线,模拟自上而下的扫描 + background: linear-gradient( + 180deg, + transparent 0%, + rgba(255, 255, 255, 0) 55%, + rgba(255, 255, 255, 0.12) 80%, + rgba(255, 255, 255, 0.45) 97%, + rgba(255, 255, 255, 0.6) 100% + ); + filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.3)); + animation: editing-scan-sweep 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite; + } + } +} + +@keyframes editing-scan-sweep { + 0% { + top: -30%; + } + 100% { + top: 100%; + } } diff --git a/apps/app/src/views/build/components/buildRender/Group.vue b/apps/app/src/views/build/components/buildRender/Group.vue index b18a27b5..3182d384 100644 --- a/apps/app/src/views/build/components/buildRender/Group.vue +++ b/apps/app/src/views/build/components/buildRender/Group.vue @@ -15,6 +15,8 @@ :isLock="groupData.isLock" :display="show && groupData.display" :isSelect="targetChart.selectId.includes(`${groupData.id}`)" + :isEditing="editingComponentIds.has(`${groupData.id}`)" + :culled="culled" @click.stop="mouseClickHandle($event, groupData)" @mousedown="!disabled && mousedownHandle($event, groupData)" @mouseenter="mouseenterHandle($event, groupData)" @@ -46,6 +48,7 @@ :display="item.display" :disabled="disabled" :isSelect="targetChart.selectId.includes(`${item.id}`)" + :isEditing="editingComponentIds.has(`${item.id}`)" @click.stop="mouseClickHandle($event, item)" @mousedown="!disabled && mousedownHandle($event, item)" @mouseenter="mouseenterHandle($event, item)" @@ -70,6 +73,9 @@ diff --git a/apps/app/src/views/build/components/glPathEditor/GlMapPathEditorSession.ts b/apps/app/src/views/build/components/glPathEditor/GlMapPathEditorSession.ts deleted file mode 100644 index c2d75807..00000000 --- a/apps/app/src/views/build/components/glPathEditor/GlMapPathEditorSession.ts +++ /dev/null @@ -1,1113 +0,0 @@ -import { cloneDeep } from "lodash-es"; -import * as THREE from "three"; -import { TransformControls } from "three/examples/jsm/controls/TransformControls.js"; - -import type { GlMapEditorRuntimeContext } from "@/components/ScreenwrightSceneComponent/component/echartGlmap/geojsonMapInstance"; -import { - clonePathEditorConfig, - clonePathEditorDocument, - createEmptyPathEditorPath, - type PathEditorProfile, - type PathEditorConfig, - type PathEditorDocument, - type PathEditorPath, - type PathEditorPoint -} from "@/views/build/components/buildConfig/sceneComponent/sceneGlobal/echartGlmapPathEditorUtils"; - -type EditorMode = "select" | "preDraw" | "draw"; -const PATH_LINE_Z_OFFSET = 0.01; -const PATH_HANDLE_Z_OFFSET = PATH_LINE_Z_OFFSET; - -export interface PathEditorMapApi { - pickMapLocalPositionFromClient(clientX: number, clientY: number): THREE.Vector3 | null; - lngLatToMapLocalPosition(point: [number, number], zOffset?: number): THREE.Vector3 | null; - mapLocalPositionToLngLat(position: THREE.Vector3): [number, number] | null; -} - -export interface PathEditorSelectionSnapshot { - kind: "none" | "path" | "point"; - pathId: string | null; - pointId: string | null; - uuid: string; - id: string; - name: string; - lnglat: [number, number] | null; - closed: boolean; - data: Record; -} - -interface PathEditorSessionOptions { - runtime: GlMapEditorRuntimeContext; - mapApi: PathEditorMapApi; - overlayHost: HTMLElement; - document: PathEditorDocument; - config: PathEditorConfig; - profile: PathEditorProfile; - defaultClosed: boolean; - onSelectionChange?: (selection: PathEditorSelectionSnapshot) => void; - onDocumentCommit?: (document: PathEditorDocument) => void; - onModeChange?: (mode: EditorMode) => void; -} - -export class GlMapPathEditorSession { - private readonly runtime: GlMapEditorRuntimeContext; - private readonly mapApi: PathEditorMapApi; - private readonly overlayHost: HTMLElement; - private readonly rootGroup = new THREE.Group(); - private readonly itemMap = new Map(); - private readonly raycaster = new THREE.Raycaster(); - private readonly onSelectionChange?: (selection: PathEditorSelectionSnapshot) => void; - private readonly onDocumentCommit?: (document: PathEditorDocument) => void; - private readonly onModeChange?: (mode: EditorMode) => void; - private documentData: PathEditorDocument; - private config: PathEditorConfig; - private profile: PathEditorProfile; - private defaultClosed: boolean; - private gridHelper: THREE.GridHelper | null = null; - private transformControls: TransformControls | null = null; - private transformHelper: THREE.Object3D | null = null; - private transformAnchor: THREE.Object3D | null = null; - private transformChanged = false; - private selectedPathId: string | null = null; - private selectedPointId: string | null = null; - private drawingPathId: string | null = null; - private previewLocalPoint: THREE.Vector3 | null = null; - private mode: EditorMode = "select"; - private overlayResizeObserver: ResizeObserver | null = null; - private originalDampingEnabled: boolean | null = null; - private originalDampingFactor: number | null = null; - private overlaySyncFrameId: number | null = null; - private isCameraNavigating = false; - private pointDragState: { - pathId: string; - pointId: string; - moved: boolean; - onMove: (event: MouseEvent) => void; - onUp: () => void; - } | null = null; - - constructor(options: PathEditorSessionOptions) { - this.runtime = options.runtime; - this.mapApi = options.mapApi; - this.overlayHost = options.overlayHost; - this.documentData = clonePathEditorDocument(options.document); - this.config = clonePathEditorConfig(options.config); - this.profile = options.profile; - this.defaultClosed = options.defaultClosed; - this.onSelectionChange = options.onSelectionChange; - this.onDocumentCommit = options.onDocumentCommit; - this.onModeChange = options.onModeChange; - this.rootGroup.name = "glPathEditorRoot"; - if (this.profile === "fence") { - Object.values(this.documentData.paths).forEach((path) => { - path.closed = true; - }); - } - } - - public mount(): void { - (this.runtime.mapGroup || this.runtime.scene).add(this.rootGroup); - if (this.runtime.controls) { - this.runtime.controls.enablePan = true; - this.originalDampingEnabled = this.runtime.controls.enableDamping; - this.originalDampingFactor = this.runtime.controls.dampingFactor; - this.runtime.controls.enableDamping = false; - this.runtime.controls.dampingFactor = 0; - } - this.runtime.controls?.addEventListener("change", this.handleControlsChange); - this.runtime.controls?.addEventListener("start", this.handleControlsStart); - this.runtime.controls?.addEventListener("end", this.handleControlsEnd); - this.buildGrid(); - this.buildTransformControls(); - this.syncItems(); - this.bindEvents(); - this.observeOverlayResize(); - this.syncAllOverlayProjection(); - this.emitSelectionChange(); - this.emitModeChange(); - } - - public dispose(): void { - this.cancelPointDrag(); - this.unbindEvents(); - this.overlayResizeObserver?.disconnect(); - this.overlayResizeObserver = null; - if (this.overlaySyncFrameId) { - cancelAnimationFrame(this.overlaySyncFrameId); - this.overlaySyncFrameId = null; - } - this.runtime.controls?.removeEventListener("change", this.handleControlsChange); - this.runtime.controls?.removeEventListener("start", this.handleControlsStart); - this.runtime.controls?.removeEventListener("end", this.handleControlsEnd); - this.itemMap.forEach((item) => item.dispose()); - this.itemMap.clear(); - if (this.gridHelper) { - this.gridHelper.removeFromParent(); - disposeMaterialLike(this.gridHelper.material); - this.gridHelper = null; - } - if (this.transformControls) { - this.transformControls.detach(); - if (this.transformHelper) { - this.runtime.scene.remove(this.transformHelper); - this.transformHelper = null; - } - this.transformControls.dispose(); - this.transformControls = null; - } - this.transformAnchor?.removeFromParent(); - this.transformAnchor = null; - this.rootGroup.removeFromParent(); - if (this.runtime.controls) { - this.runtime.controls.enablePan = true; - this.runtime.controls.enabled = true; - if (this.originalDampingEnabled !== null) { - this.runtime.controls.enableDamping = this.originalDampingEnabled; - } - if (this.originalDampingFactor !== null) { - this.runtime.controls.dampingFactor = this.originalDampingFactor; - } - } - } - - public getRootGroup(): THREE.Group { - return this.rootGroup; - } - - public getOverlayHost(): HTMLElement { - return this.overlayHost; - } - - public getDocument(): PathEditorDocument { - return clonePathEditorDocument(this.documentData); - } - - public getConfig(): PathEditorConfig { - return clonePathEditorConfig(this.config); - } - - public getMode(): EditorMode { - return this.mode; - } - - public getPath(pathId: string): PathEditorPath | null { - return this.documentData.paths[pathId] || null; - } - - public getRenderablePath(pathId: string) { - const path = this.getPath(pathId); - if (!path) { - return null; - } - - return { - path, - localPoints: path.points.map((point) => this.lngLatToLocal(point.lnglat)).filter(Boolean) as THREE.Vector3[], - previewPoint: this.drawingPathId === pathId ? this.previewLocalPoint : null, - selectedPointId: this.selectedPathId === pathId ? this.selectedPointId : null, - selectedPath: this.selectedPathId === pathId - }; - } - - public getLineStyle(selected: boolean) { - const opacity = THREE.MathUtils.clamp((this.config.line.opacity ?? 100) / 100, 0, 1); - return { - visible: this.config.line.show, - color: selected ? "#ffffff" : this.config.line.color, - opacity: selected ? Math.min(1, opacity + 0.15) : opacity - }; - } - - public isPathSelected(pathId: string): boolean { - return this.selectedPathId === pathId; - } - - public shouldShowAddButtons(pathId: string): boolean { - return ( - this.isPathSelected(pathId) && - !this.isCameraNavigating && - this.config.controlMode === "plane" && - this.mode !== "draw" && - this.mode !== "preDraw" - ); - } - - public getSelectionSnapshot(): PathEditorSelectionSnapshot { - const selectedPath = this.selectedPathId ? this.documentData.paths[this.selectedPathId] : null; - const selectedPoint = - selectedPath && this.selectedPointId - ? selectedPath.points.find((item) => item.id === this.selectedPointId) - : null; - - if (selectedPoint && selectedPath) { - return { - kind: "point", - pathId: selectedPath.id, - pointId: selectedPoint.id, - uuid: selectedPoint.id, - id: selectedPoint.customId || selectedPoint.id, - name: selectedPoint.name, - lnglat: [...selectedPoint.lnglat] as [number, number], - closed: selectedPath.closed, - data: cloneDeep(selectedPoint.userData || {}) - }; - } - - if (selectedPath) { - return { - kind: "path", - pathId: selectedPath.id, - pointId: null, - uuid: selectedPath.id, - id: selectedPath.id, - name: selectedPath.name, - lnglat: null, - closed: selectedPath.closed, - data: cloneDeep(selectedPath.userData || {}) - }; - } - - return { - kind: "none", - pathId: null, - pointId: null, - uuid: "", - id: "", - name: "", - lnglat: null, - closed: false, - data: {} - }; - } - - public setControlMode(mode: "plane" | "transform"): void { - this.config.controlMode = mode; - this.syncTransformSelection(); - } - - public updateGridConfig(grid: PathEditorConfig["grid"]): void { - this.config.grid = cloneDeep(grid); - this.buildGrid(); - this.syncAllOverlayProjection(); - } - - public updateLineConfig(line: PathEditorConfig["line"]): void { - this.config.line = cloneDeep(line); - this.itemMap.forEach((item) => item.refresh()); - this.syncAllOverlayProjection(); - } - - public updateSelectedName(name: string): void { - const path = this.selectedPathId ? this.documentData.paths[this.selectedPathId] : null; - if (!path) return; - if (this.selectedPointId) { - const point = path.points.find((item) => item.id === this.selectedPointId); - if (!point) return; - point.name = name; - } else { - path.name = name; - } - this.commitDocument(); - this.emitSelectionChange(); - } - - public updateSelectedUserDataText(text: string): boolean { - const parsed = text.trim() ? JSON.parse(text) : {}; - const path = this.selectedPathId ? this.documentData.paths[this.selectedPathId] : null; - if (!path) return true; - if (this.selectedPointId) { - const point = path.points.find((item) => item.id === this.selectedPointId); - if (!point) return true; - point.userData = parsed; - } else { - path.userData = parsed; - } - this.commitDocument(); - this.emitSelectionChange(); - return true; - } - - public setSelectedPathClosed(closed: boolean): void { - if (!this.selectedPathId || !this.documentData.paths[this.selectedPathId]) return; - this.documentData.paths[this.selectedPathId].closed = this.profile === "fence" ? true : closed; - this.refreshPath(this.selectedPathId); - this.commitDocument(); - this.emitSelectionChange(); - } - - public createPathAndBeginDraw(): void { - const path = createEmptyPathEditorPath( - Object.keys(this.documentData.paths).length, - this.profile === "fence" ? "围墙" : "路径" - ); - path.closed = this.defaultClosed; - this.documentData.paths[path.id] = path; - this.selectedPathId = path.id; - this.selectedPointId = null; - this.drawingPathId = path.id; - this.previewLocalPoint = null; - this.mode = "preDraw"; - this.syncItems(); - this.syncAllOverlayProjection(); - this.commitDocument(); - this.emitSelectionChange(); - this.emitModeChange(); - } - - public toggleDrawMode(): void { - if (this.mode === "draw" || this.mode === "preDraw") { - const currentPathId = this.drawingPathId ?? this.selectedPathId; - const currentPath = currentPathId ? this.documentData.paths[currentPathId] : null; - const minimumPointCount = this.profile === "fence" ? 3 : 2; - - if (currentPath && currentPath.points.length < minimumPointCount) { - delete this.documentData.paths[currentPath.id]; - if (this.selectedPathId === currentPath.id) { - this.selectedPathId = null; - } - this.selectedPointId = null; - this.commitDocument(); - this.emitSelectionChange(); - } - - this.previewLocalPoint = null; - this.drawingPathId = null; - this.mode = "select"; - this.syncItems(); - this.syncAllOverlayProjection(); - this.syncTransformSelection(); - this.emitModeChange(); - return; - } - - if (!this.selectedPathId) { - this.createPathAndBeginDraw(); - return; - } - - this.drawingPathId = this.selectedPathId; - this.mode = this.documentData.paths[this.selectedPathId]?.points.length ? "draw" : "preDraw"; - this.refreshPath(this.selectedPathId); - this.syncAllOverlayProjection(); - this.emitModeChange(); - } - - public deleteSelection(): void { - const path = this.selectedPathId ? this.documentData.paths[this.selectedPathId] : null; - if (!path) return; - const minimumPointCount = this.profile === "fence" ? 3 : 2; - - if (this.selectedPointId) { - if (path.points.length <= minimumPointCount) { - delete this.documentData.paths[path.id]; - this.selectedPathId = null; - this.selectedPointId = null; - if (this.drawingPathId === path.id) { - this.drawingPathId = null; - this.previewLocalPoint = null; - this.mode = "select"; - this.emitModeChange(); - } - this.syncItems(); - this.syncAllOverlayProjection(); - } else { - path.points = path.points.filter((item) => item.id !== this.selectedPointId); - this.selectedPointId = null; - this.refreshPath(path.id); - this.syncAllOverlayProjection(); - } - } else { - delete this.documentData.paths[path.id]; - this.selectedPathId = null; - if (this.drawingPathId === path.id) { - this.drawingPathId = null; - this.previewLocalPoint = null; - this.mode = "select"; - this.emitModeChange(); - } - this.syncItems(); - this.syncAllOverlayProjection(); - } - - this.syncTransformSelection(); - this.commitDocument(); - this.emitSelectionChange(); - } - - public focusSelection(): void { - if (!this.runtime.controls || !this.runtime.camera) return; - const focusPoint = this.getSelectionFocusPoint(); - if (!focusPoint) return; - const worldPoint = this.runtime.mapGroup - ? this.runtime.mapGroup.localToWorld(focusPoint.clone()) - : focusPoint.clone(); - const offset = this.runtime.camera.position.clone().sub(this.runtime.controls.target); - this.runtime.controls.target.copy(worldPoint); - this.runtime.camera.position.copy(worldPoint.clone().add(offset)); - this.runtime.controls.update(); - } - - public handlePointClick(pathId: string, pointId: string): void { - this.selectedPathId = pathId; - this.selectedPointId = pointId; - this.syncItems(); - this.syncTransformSelection(); - this.emitSelectionChange(); - } - - public beginPointDrag(pathId: string, pointId: string, event: MouseEvent): void { - this.handlePointClick(pathId, pointId); - if (this.config.controlMode === "transform") return; - event.preventDefault(); - event.stopPropagation(); - this.cancelPointDrag(); - this.runtime.controls && (this.runtime.controls.enabled = false); - this.pointDragState = { - pathId, - pointId, - moved: false, - onMove: (moveEvent: MouseEvent) => { - const local = this.pickMapLocal(moveEvent.clientX, moveEvent.clientY); - if (!local) return; - if (this.updatePointFromLocal(pathId, pointId, local)) { - this.pointDragState!.moved = true; - this.refreshPath(pathId); - this.syncTransformSelection(); - this.syncAllOverlayProjection(); - } - }, - onUp: () => { - const moved = this.pointDragState?.moved; - this.cancelPointDrag(); - if (moved) { - this.commitDocument(); - this.emitSelectionChange(); - } - } - }; - document.addEventListener("mousemove", this.pointDragState.onMove); - document.addEventListener("mouseup", this.pointDragState.onUp, { once: true }); - } - - public insertPointAtSegment(pathId: string, segmentIndex: number, startEvent?: MouseEvent): void { - const path = this.documentData.paths[pathId]; - if (!path || path.points.length < 2) return; - const locals = path.points.map((point) => this.lngLatToLocal(point.lnglat)).filter(Boolean) as THREE.Vector3[]; - const current = locals[segmentIndex]; - const next = locals[(segmentIndex + 1) % locals.length]; - if (!current || !next) return; - const middle = current.clone().add(next).multiplyScalar(0.5); - const lnglat = this.localToLngLat(middle); - if (!lnglat) return; - const point: PathEditorPoint = { - id: `point_${Date.now()}_${Math.random().toString(36).slice(2, 7)}`, - name: `Point ${path.points.length + 1}`, - lnglat, - userData: {} - }; - path.points.splice(segmentIndex + 1, 0, point); - this.handlePointClick(pathId, point.id); - this.refreshPath(pathId); - this.syncAllOverlayProjection(); - this.commitDocument(); - if (startEvent && this.config.controlMode === "plane") { - this.beginPointDrag(pathId, point.id, startEvent); - } - } - - private bindEvents(): void { - this.runtime.domElement?.addEventListener("click", this.handleCanvasClick); - this.runtime.domElement?.addEventListener("dblclick", this.handleCanvasDoubleClick); - this.runtime.domElement?.addEventListener("mousemove", this.handleCanvasMouseMove); - window.addEventListener("keydown", this.handleKeyDown); - } - - private unbindEvents(): void { - this.runtime.domElement?.removeEventListener("click", this.handleCanvasClick); - this.runtime.domElement?.removeEventListener("dblclick", this.handleCanvasDoubleClick); - this.runtime.domElement?.removeEventListener("mousemove", this.handleCanvasMouseMove); - window.removeEventListener("keydown", this.handleKeyDown); - } - - private observeOverlayResize(): void { - if (typeof ResizeObserver === "undefined") { - return; - } - - this.overlayResizeObserver?.disconnect(); - this.overlayResizeObserver = new ResizeObserver(() => { - this.syncAllOverlayProjection(); - }); - this.overlayResizeObserver.observe(this.overlayHost); - } - - private readonly handleCanvasClick = (event: MouseEvent) => { - if (event.defaultPrevented || this.pointDragState) { - return; - } - - if (this.mode === "preDraw" || this.mode === "draw") { - const local = this.pickMapLocal(event.clientX, event.clientY); - if (!local || !this.drawingPathId) return; - this.addPointToPath(this.drawingPathId, local); - this.previewLocalPoint = local.clone(); - this.mode = "draw"; - this.selectedPathId = this.drawingPathId; - this.selectedPointId = this.getLastPointId(this.drawingPathId); - this.commitDocument(); - this.refreshPath(this.drawingPathId); - this.syncAllOverlayProjection(); - this.emitModeChange(); - this.emitSelectionChange(); - return; - } - - const hitPathId = this.pickLinePathId(event.clientX, event.clientY); - if (hitPathId) { - this.selectedPathId = hitPathId; - this.selectedPointId = null; - this.syncItems(); - this.syncAllOverlayProjection(); - this.syncTransformSelection(); - this.emitSelectionChange(); - return; - } - - this.selectedPointId = null; - this.selectedPathId = null; - this.syncItems(); - this.syncAllOverlayProjection(); - this.syncTransformSelection(); - this.emitSelectionChange(); - }; - - private readonly handleCanvasDoubleClick = (event: MouseEvent) => { - if (event.defaultPrevented || this.mode !== "draw") { - return; - } - - this.previewLocalPoint = null; - if (this.drawingPathId) { - this.refreshPath(this.drawingPathId); - this.syncAllOverlayProjection(); - } - this.drawingPathId = null; - this.mode = "select"; - this.emitModeChange(); - }; - - private readonly handleCanvasMouseMove = (event: MouseEvent) => { - if (this.mode !== "draw" || !this.drawingPathId || this.pointDragState) { - return; - } - - const local = this.pickMapLocal(event.clientX, event.clientY); - if (!local) return; - this.previewLocalPoint = local; - this.refreshPath(this.drawingPathId); - this.syncAllOverlayProjection(); - }; - - private readonly handleKeyDown = (event: KeyboardEvent) => { - if (event.code === "Escape" && (this.mode === "preDraw" || this.mode === "draw")) { - event.preventDefault(); - this.toggleDrawMode(); - } else if (event.key === "Delete" || event.key === "Backspace") { - this.deleteSelection(); - } else if (event.code === "KeyF") { - this.focusSelection(); - } - }; - - private readonly handleControlsChange = () => { - this.syncAllOverlayProjection(); - }; - - private readonly handleControlsStart = () => { - this.isCameraNavigating = true; - this.syncItems(); - this.syncAllOverlayProjection(); - }; - - private readonly handleControlsEnd = () => { - this.isCameraNavigating = false; - this.syncItems(); - this.syncAllOverlayProjection(); - }; - - private syncAllOverlayProjection(): void { - if (this.overlaySyncFrameId) { - return; - } - - this.overlaySyncFrameId = requestAnimationFrame(() => { - this.overlaySyncFrameId = null; - this.itemMap.forEach((item) => item.syncOverlayProjection()); - }); - } - - private buildGrid(): void { - if (this.gridHelper) { - this.gridHelper.removeFromParent(); - disposeMaterialLike(this.gridHelper.material); - this.gridHelper = null; - } - - if (!this.config.grid.show) { - return; - } - - const divisions = Math.max(1, Math.round(this.config.grid.range / Math.max(this.config.grid.gridSize, 1))); - this.gridHelper = new THREE.GridHelper( - this.config.grid.range, - divisions, - this.config.grid.color, - this.config.grid.color - ); - this.gridHelper.rotation.x = Math.PI / 2; - this.gridHelper.position.set( - this.config.grid.position.x, - this.config.grid.position.y, - this.runtime.baseHeight + this.config.grid.position.z + 0.002 - ); - const materials = Array.isArray(this.gridHelper.material) ? this.gridHelper.material : [this.gridHelper.material]; - materials.forEach((material) => { - material.transparent = true; - material.opacity = THREE.MathUtils.clamp((this.config.grid.opacity ?? 100) / 100, 0, 1); - material.depthWrite = false; - }); - this.rootGroup.add(this.gridHelper); - } - - private buildTransformControls(): void { - if (this.transformControls) { - return; - } - - this.transformAnchor = new THREE.Object3D(); - this.rootGroup.add(this.transformAnchor); - this.transformControls = new TransformControls(this.runtime.camera, this.runtime.renderer.domElement); - this.transformControls.setMode("translate"); - this.transformControls.showZ = false; - this.transformControls.size = 0.6; - this.transformControls.addEventListener("dragging-changed", (event: any) => { - this.runtime.controls && (this.runtime.controls.enabled = !event.value); - if (!event.value && this.transformChanged) { - this.transformChanged = false; - this.commitDocument(); - this.emitSelectionChange(); - } - }); - this.transformControls.addEventListener("objectChange", () => { - if (!this.transformAnchor || !this.selectedPathId || !this.selectedPointId) return; - if (this.updatePointFromLocal(this.selectedPathId, this.selectedPointId, this.transformAnchor.position)) { - this.transformChanged = true; - this.refreshPath(this.selectedPathId); - this.syncAllOverlayProjection(); - } - }); - this.transformHelper = this.transformControls.getHelper(); - this.runtime.scene.add(this.transformHelper); - this.syncTransformSelection(); - } - - private syncTransformSelection(): void { - if (!this.transformControls || !this.transformAnchor) return; - - if (this.config.controlMode !== "transform" || !this.selectedPathId || !this.selectedPointId) { - this.transformControls.detach(); - return; - } - - const path = this.documentData.paths[this.selectedPathId]; - const point = path?.points.find((item) => item.id === this.selectedPointId); - const local = point ? this.lngLatToLocal(point.lnglat) : null; - if (!local) { - this.transformControls.detach(); - return; - } - - this.transformAnchor.position.copy(local); - this.transformControls.attach(this.transformAnchor); - } - - private syncItems(): void { - const nextIds = new Set(Object.keys(this.documentData.paths)); - this.itemMap.forEach((item, pathId) => { - if (!nextIds.has(pathId)) { - item.dispose(); - this.itemMap.delete(pathId); - } - }); - - Object.keys(this.documentData.paths).forEach((pathId) => { - if (!this.itemMap.has(pathId)) { - this.itemMap.set(pathId, new PathEditorItem(this, pathId)); - } - }); - - this.itemMap.forEach((item) => item.refresh()); - this.syncAllOverlayProjection(); - } - - private refreshPath(pathId: string): void { - this.itemMap.get(pathId)?.refresh(); - this.syncAllOverlayProjection(); - } - - private addPointToPath(pathId: string, local: THREE.Vector3): void { - const path = this.documentData.paths[pathId]; - const lnglat = this.localToLngLat(local); - if (!path || !lnglat) return; - path.points.push({ - id: `point_${Date.now()}_${Math.random().toString(36).slice(2, 7)}`, - name: `Point ${path.points.length + 1}`, - lnglat, - userData: {} - }); - } - - private updatePointFromLocal(pathId: string, pointId: string, local: THREE.Vector3): boolean { - const path = this.documentData.paths[pathId]; - const point = path?.points.find((item) => item.id === pointId); - const lnglat = this.localToLngLat(local); - if (!path || !point || !lnglat) return false; - if (point.lnglat[0] === lnglat[0] && point.lnglat[1] === lnglat[1]) { - return false; - } - point.lnglat = lnglat; - return true; - } - - private pickLinePathId(clientX: number, clientY: number): string | null { - const rect = this.runtime.renderer.domElement.getBoundingClientRect(); - this.raycaster.setFromCamera( - new THREE.Vector2(((clientX - rect.left) / rect.width) * 2 - 1, -((clientY - rect.top) / rect.height) * 2 + 1), - this.runtime.camera - ); - (this.raycaster.params.Line as any).threshold = Math.max(0.015, this.runtime.mapSize * 0.01); - const lines = Array.from(this.itemMap.values()) - .map((item) => item.getLineObject()) - .filter(Boolean) as THREE.Object3D[]; - const intersects = this.raycaster.intersectObjects(lines, false); - return intersects.length ? String(intersects[0].object.userData.pathId || "") : null; - } - - private pickMapLocal(clientX: number, clientY: number): THREE.Vector3 | null { - return this.mapApi.pickMapLocalPositionFromClient(clientX, clientY); - } - - private lngLatToLocal(lnglat: [number, number]): THREE.Vector3 | null { - return this.mapApi.lngLatToMapLocalPosition(lnglat); - } - - private localToLngLat(local: THREE.Vector3): [number, number] | null { - return this.mapApi.mapLocalPositionToLngLat(local); - } - - private getLastPointId(pathId: string): string | null { - const path = this.documentData.paths[pathId]; - return path?.points[path.points.length - 1]?.id || null; - } - - private getSelectionFocusPoint(): THREE.Vector3 | null { - if (!this.selectedPathId) return null; - const path = this.documentData.paths[this.selectedPathId]; - if (this.selectedPointId) { - const point = path?.points.find((item) => item.id === this.selectedPointId); - return point ? this.lngLatToLocal(point.lnglat) : null; - } - const locals = path?.points.map((item) => this.lngLatToLocal(item.lnglat)).filter(Boolean) as THREE.Vector3[]; - if (!locals.length) return null; - const center = new THREE.Vector3(); - locals.forEach((item) => center.add(item)); - return center.multiplyScalar(1 / locals.length); - } - - private cancelPointDrag(): void { - if (!this.pointDragState) return; - document.removeEventListener("mousemove", this.pointDragState.onMove); - document.removeEventListener("mouseup", this.pointDragState.onUp); - this.pointDragState = null; - this.runtime.controls && (this.runtime.controls.enabled = true); - } - - private commitDocument(): void { - this.onDocumentCommit?.(this.getDocument()); - } - - private emitSelectionChange(): void { - this.onSelectionChange?.(this.getSelectionSnapshot()); - } - - private emitModeChange(): void { - this.onModeChange?.(this.mode); - } -} - -class PathEditorItem { - private readonly lineGeometry = new THREE.BufferGeometry(); - private readonly lineMaterial = new THREE.LineBasicMaterial({ - color: "#f4f7ff", - transparent: true, - opacity: 1, - depthWrite: false - }); - private readonly line = new THREE.Line(this.lineGeometry, this.lineMaterial); - private readonly pointHandleMap = new Map(); - private readonly addButtons: PathEditorAddButton[] = []; - - constructor( - readonly session: GlMapPathEditorSession, - readonly pathId: string - ) { - this.line.userData.pathId = pathId; - this.session.getRootGroup().add(this.line); - } - - public getLineObject(): THREE.Line { - return this.line; - } - - public refresh(): void { - const renderable = this.session.getRenderablePath(this.pathId); - if (!renderable) { - return; - } - - const { path, localPoints, previewPoint, selectedPointId, selectedPath } = renderable; - const style = this.session.getLineStyle(selectedPath); - this.line.visible = style.visible && localPoints.length >= 2; - this.lineMaterial.color.set(style.color); - this.lineMaterial.opacity = style.opacity; - - const renderPoints = previewPoint ? [...localPoints, previewPoint] : localPoints; - const positions: number[] = []; - renderPoints.forEach((point) => positions.push(point.x, point.y, point.z + PATH_LINE_Z_OFFSET)); - if (path.closed && localPoints.length > 2) { - positions.push(localPoints[0].x, localPoints[0].y, localPoints[0].z + PATH_LINE_Z_OFFSET); - } - this.lineGeometry.setAttribute("position", new THREE.Float32BufferAttribute(positions, 3)); - this.lineGeometry.computeBoundingSphere(); - - this.syncPointHandles(path, localPoints, selectedPointId); - this.syncAddButtons(path, localPoints, !previewPoint && this.session.shouldShowAddButtons(path.id)); - } - - public dispose(): void { - this.pointHandleMap.forEach((item) => item.dispose()); - this.pointHandleMap.clear(); - this.addButtons.forEach((item) => item.dispose()); - this.line.removeFromParent(); - this.lineGeometry.dispose(); - this.lineMaterial.dispose(); - } - - public syncOverlayProjection(): void { - this.pointHandleMap.forEach((handle) => handle.syncProjection()); - this.addButtons.forEach((button) => button.syncProjection()); - } - - private syncPointHandles(path: PathEditorPath, localPoints: THREE.Vector3[], selectedPointId: string | null) { - const nextIds = new Set(path.points.map((point) => point.id)); - - this.pointHandleMap.forEach((handle, pointId) => { - if (!nextIds.has(pointId)) { - handle.dispose(); - this.pointHandleMap.delete(pointId); - } - }); - - path.points.forEach((point, index) => { - if (!this.pointHandleMap.has(point.id)) { - this.pointHandleMap.set(point.id, new PathEditorPointHandle(this.session, path.id, point.id)); - } - const handle = this.pointHandleMap.get(point.id)!; - if (localPoints[index]) { - handle.setPosition(localPoints[index]); - } - handle.setSelected(selectedPointId === point.id); - }); - } - - private syncAddButtons(path: PathEditorPath, localPoints: THREE.Vector3[], showButtons: boolean) { - const segmentCount = - path.closed && localPoints.length > 1 ? localPoints.length : Math.max(localPoints.length - 1, 0); - while (this.addButtons.length > segmentCount) { - this.addButtons.pop()?.dispose(); - } - - for (let index = 0; index < segmentCount; index += 1) { - if (!this.addButtons[index]) { - this.addButtons[index] = new PathEditorAddButton(this.session, path.id, index); - } - - const current = localPoints[index]; - const next = localPoints[(index + 1) % localPoints.length]; - if (!current || !next || !showButtons) { - this.addButtons[index].setVisible(false); - continue; - } - - this.addButtons[index].setPosition(current.clone().add(next).multiplyScalar(0.5)); - this.addButtons[index].setVisible(true); - } - } -} - -class PathEditorPointHandle { - private readonly element: HTMLButtonElement; - private position = new THREE.Vector3(); - - constructor( - private readonly session: GlMapPathEditorSession, - private readonly pathId: string, - private readonly pointId: string - ) { - this.element = document.createElement("button"); - this.element.type = "button"; - Object.assign(this.element.style, { - position: "absolute", - left: "0", - top: "0", - width: "12px", - height: "12px", - borderRadius: "50%", - border: "2px solid rgba(255,255,255,0.95)", - background: "#5e8cff", - boxShadow: "0 0 0 2px rgba(94,140,255,0.18)", - pointerEvents: "auto", - cursor: "pointer", - padding: "0", - outline: "none", - willChange: "transform", - transition: "background 0.15s ease, box-shadow 0.15s ease" - } as CSSStyleDeclaration); - this.element.addEventListener("click", (event) => { - event.stopPropagation(); - this.session.handlePointClick(this.pathId, this.pointId); - }); - this.element.addEventListener("mousedown", (event) => { - this.session.beginPointDrag(this.pathId, this.pointId, event); - }); - this.session.getOverlayHost().appendChild(this.element); - } - - public setPosition(position: THREE.Vector3): void { - this.position.copy(position); - this.syncProjection(); - } - - public setSelected(selected: boolean): void { - this.element.style.background = selected ? "#ff8a3d" : "#5e8cff"; - this.element.dataset.selected = selected ? "true" : "false"; - this.element.style.boxShadow = selected ? "0 0 0 3px rgba(255,138,61,0.24)" : "0 0 0 2px rgba(94,140,255,0.18)"; - this.syncProjection(); - } - - public syncProjection(): void { - const projected = projectLocalPointToOverlay(this.session, this.position, PATH_HANDLE_Z_OFFSET); - if (!projected.visible) { - this.element.style.display = "none"; - return; - } - - const scale = this.element.dataset.selected === "true" ? " scale(1.15)" : ""; - this.element.style.display = "block"; - this.element.style.transform = `translate3d(${projected.x}px, ${projected.y}px, 0) translate(-50%, -50%)${scale}`; - } - - public dispose(): void { - this.element.remove(); - } -} - -class PathEditorAddButton { - private readonly element: HTMLButtonElement; - private position = new THREE.Vector3(); - - constructor( - private readonly session: GlMapPathEditorSession, - private readonly pathId: string, - private readonly segmentIndex: number - ) { - this.element = document.createElement("button"); - this.element.type = "button"; - this.element.textContent = "+"; - Object.assign(this.element.style, { - position: "absolute", - left: "0", - top: "0", - width: "16px", - height: "16px", - borderRadius: "50%", - border: "1px solid rgba(255,255,255,0.68)", - background: "rgba(20,24,33,0.92)", - color: "#ffffff", - fontSize: "12px", - lineHeight: "14px", - padding: "0", - pointerEvents: "auto", - cursor: "pointer", - display: "inline-flex", - alignItems: "center", - justifyContent: "center", - boxShadow: "0 4px 10px rgba(0,0,0,0.22)", - willChange: "transform" - } as CSSStyleDeclaration); - this.element.addEventListener("click", (event) => { - event.stopPropagation(); - this.session.insertPointAtSegment(this.pathId, this.segmentIndex, event as MouseEvent); - }); - this.session.getOverlayHost().appendChild(this.element); - } - - public setPosition(position: THREE.Vector3): void { - this.position.copy(position); - this.syncProjection(); - } - - public setVisible(visible: boolean): void { - this.element.style.display = visible ? "inline-flex" : "none"; - } - - public syncProjection(): void { - if (this.element.style.display === "none") { - return; - } - - const projected = projectLocalPointToOverlay(this.session, this.position, PATH_HANDLE_Z_OFFSET); - if (!projected.visible) { - this.element.style.display = "none"; - return; - } - - this.element.style.display = "inline-flex"; - this.element.style.transform = `translate3d(${projected.x}px, ${projected.y}px, 0) translate(-50%, -50%)`; - } - - public dispose(): void { - this.element.remove(); - } -} - -const projectLocalPointToOverlay = (session: GlMapPathEditorSession, local: THREE.Vector3, zOffset = 0) => { - const runtime = (session as any).runtime as GlMapEditorRuntimeContext; - const overlayHost = session.getOverlayHost(); - const projectedLocal = local.clone(); - projectedLocal.z += zOffset; - const world = runtime.mapGroup ? runtime.mapGroup.localToWorld(projectedLocal) : projectedLocal; - const projected = world.project(runtime.camera); - - return { - visible: projected.z >= -1 && projected.z <= 1, - x: (projected.x + 1) * 0.5 * overlayHost.clientWidth, - y: (-projected.y + 1) * 0.5 * overlayHost.clientHeight - }; -}; - -const disposeMaterialLike = (material: THREE.Material | THREE.Material[] | undefined) => { - if (!material) return; - const materials = Array.isArray(material) ? material : [material]; - materials.forEach((item) => item.dispose()); -}; diff --git a/apps/app/src/views/build/components/glPathEditor/index.vue b/apps/app/src/views/build/components/glPathEditor/index.vue deleted file mode 100644 index 6440b36a..00000000 --- a/apps/app/src/views/build/components/glPathEditor/index.vue +++ /dev/null @@ -1,888 +0,0 @@ -