@worm-print-platform/echarts 1.6.4 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,6 +34,17 @@ import '../.worm-print/plugins/echarts/dist/marketplace.js'
34
34
  存量项目若仍依赖 `@worm-print-platform/echarts`,无需改动:兼容镜像保留全部原有子路径
35
35
  (`.`、`/kit`、`/ui`、`/node`、`/browser`、`/browser/executor.iife`)与行为。
36
36
 
37
+ ## 字段选择
38
+
39
+ 图表的数据源、类目字段、数值字段和系列拆分字段统一通过「选择字段」打开表达式编辑器的字段页签。数据源额外保留「自动」模式,清空后使用顶层第一个数组;选择结果写回原始字段 key,不把 `{字段}` 表达式字符串存进图表配置。
40
+
41
+ 具体规则:
42
+
43
+ - **候选来源**:字段候选只来自宿主传入的业务字段清单 `fields`,示例数据 `data` 仅用于预览,不贡献候选键。
44
+ - **数据源候选**:只列出 `fieldType: 'list'` 的字段;清空绑定或点「自动」时使用顶层第一个数组。
45
+ - **行字段候选**:类目字段、数值字段、系列拆分字段优先取已绑定数据源的 `数据源字段Key.` 前缀子字段;没有前缀子字段时退化为所有非 `list` 字段。
46
+ - **宿主能力**:属性面板要求宿主提供 `openExpression`(表达式弹框),缺失时直接报错,不存在旧版下拉回退。
47
+
37
48
  ## 数据标签
38
49
 
39
50
  属性面板的「自定义属性」页签内含一个可折叠的「数据标签」分组,配置直接写入
package/dist/bind.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
package/dist/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT
package/dist/echarts.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.4
2
+ * @worm-print-platform/echarts v1.6.6
3
3
  * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
4
  * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
5
  * SPDX-License-Identifier: MIT