@worm-print-platform/echarts 1.6.0 → 1.6.1

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
@@ -98,7 +98,7 @@ npm publish --registry=https://registry.npmjs.org --access public
98
98
 
99
99
  发版时同步 `marketplace.json`、`plugin.json`、本 `package.json` 的 `wormPrint.version`;市场 CLI
100
100
  通过本仓 tag `plugins/echarts/vX.Y.Z` 解析稳定版本。完整收录与版本规则见
101
- [docs/plugin-marketplace.md](../../../docs/plugin-marketplace.md)。
101
+ [用户使用文档 · 插件安装与配置](../../../docs/guide/07-plugin-install.md)。
102
102
 
103
103
  ## 信任边界
104
104
 
package/dist/bind.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.0
2
+ * @worm-print-platform/echarts v1.6.1
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.0
2
+ * @worm-print-platform/echarts v1.6.1
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.0
2
+ * @worm-print-platform/echarts v1.6.1
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.0
2
+ * @worm-print-platform/echarts v1.6.1
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
@@ -26,6 +26,8 @@ export declare function getChartPluginConfig(): ChartPluginConfig;
26
26
  export interface ChartPalette {
27
27
  key: string;
28
28
  label: string;
29
+ /** 内置配色的语义键;自定义配色无此字段时沿用 label 原文 */
30
+ labelKey?: string;
29
31
  colors: readonly string[];
30
32
  }
31
33
  /** 预设配色 ∪ 自定义配色:同名以自定义为准,新增 key 追加在末尾 */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.0
2
+ * @worm-print-platform/echarts v1.6.1
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
@@ -10,18 +10,22 @@ export declare const CHART_PLUGIN_ID = "@worm-print-platform/echarts";
10
10
  export declare const CHART_PALETTES: readonly [{
11
11
  readonly key: "default";
12
12
  readonly label: "默认蓝";
13
+ readonly labelKey: "echarts.palette.default";
13
14
  readonly colors: readonly ["#5470c6", "#91cc75", "#fac858", "#ee6666", "#73c0de"];
14
15
  }, {
15
16
  readonly key: "fresh";
16
17
  readonly label: "清新绿";
18
+ readonly labelKey: "echarts.palette.fresh";
17
19
  readonly colors: readonly ["#2f9e6e", "#5cc9a7", "#9ad6c1", "#f2c94c", "#4a90e2"];
18
20
  }, {
19
21
  readonly key: "warm";
20
22
  readonly label: "暖橙红";
23
+ readonly labelKey: "echarts.palette.warm";
21
24
  readonly colors: readonly ["#f2704e", "#f7a35c", "#f7d56d", "#c54e3f", "#8f5a4a"];
22
25
  }, {
23
26
  readonly key: "purple";
24
27
  readonly label: "紫灰";
28
+ readonly labelKey: "echarts.palette.purple";
25
29
  readonly colors: readonly ["#7b61ff", "#9b8cff", "#c3baff", "#596275", "#8d99ae"];
26
30
  }];
27
31
  export type ChartPaletteKey = (typeof CHART_PALETTES)[number]['key'];
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/echarts v1.6.0
2
+ * @worm-print-platform/echarts v1.6.1
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.0
2
+ * @worm-print-platform/echarts v1.6.1
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