@worm-print-platform/canvas 1.6.1 → 1.6.3
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 +1 -1
- package/dist/browser-bundle.d.ts +1 -1
- package/dist/canvas.js +71 -29
- package/dist/core/default-template.d.ts +1 -1
- package/dist/core/element-definitions.d.ts +1 -1
- package/dist/core/format.d.ts +1 -1
- package/dist/core/h.d.ts +1 -1
- package/dist/core/icons.d.ts +1 -1
- package/dist/core/plugin.d.ts +1 -1
- package/dist/core/store.d.ts +1 -1
- package/dist/host-contract.d.ts +1 -1
- package/dist/index.cjs +43 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +44 -2
- package/dist/print-designer.d.ts +1 -1
- package/dist/shell/binding.d.ts +1 -1
- package/dist/shell/canvas.d.ts +1 -1
- package/dist/shell/code.d.ts +1 -1
- package/dist/shell/color-picker.d.ts +1 -1
- package/dist/shell/controls.d.ts +1 -1
- package/dist/shell/crop-anchor.d.ts +1 -1
- package/dist/shell/elements.d.ts +1 -1
- package/dist/shell/expression-editor.d.ts +1 -1
- package/dist/shell/flow-list.d.ts +1 -1
- package/dist/shell/font-select.d.ts +1 -1
- package/dist/shell/format-bar.d.ts +1 -1
- package/dist/shell/help-content/en-US/advanced-settings.d.ts +1 -1
- package/dist/shell/help-content/en-US/changelog.d.ts +1 -1
- package/dist/shell/help-content/en-US/faq.d.ts +1 -1
- package/dist/shell/help-content/en-US/features.d.ts +1 -1
- package/dist/shell/help-content/en-US/getting-started.d.ts +1 -1
- package/dist/shell/help-content/en-US/shortcuts.d.ts +1 -1
- package/dist/shell/help-content/index.d.ts +1 -1
- package/dist/shell/help-content/th-TH/advanced-settings.d.ts +1 -1
- package/dist/shell/help-content/th-TH/changelog.d.ts +1 -1
- package/dist/shell/help-content/th-TH/faq.d.ts +1 -1
- package/dist/shell/help-content/th-TH/features.d.ts +1 -1
- package/dist/shell/help-content/th-TH/getting-started.d.ts +1 -1
- package/dist/shell/help-content/th-TH/shortcuts.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/advanced-settings.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/changelog.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/faq.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/features.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/getting-started.d.ts +1 -1
- package/dist/shell/help-content/zh-CN/shortcuts.d.ts +1 -1
- package/dist/shell/help-modal.d.ts +1 -1
- package/dist/shell/page-extras.d.ts +1 -1
- package/dist/shell/panels.d.ts +1 -1
- package/dist/shell/plugin-ui.d.ts +1 -1
- package/dist/shell/prop-group.d.ts +1 -1
- package/dist/shell/property-panel.d.ts +1 -1
- package/dist/shell/property-search.d.ts +1 -1
- package/dist/shell/ruler.d.ts +1 -1
- package/dist/shell/table-props.d.ts +1 -1
- package/dist/shell/table.d.ts +1 -1
- package/dist/shell/toolbar-overflow.d.ts +1 -1
- package/dist/shell/toolbar.d.ts +1 -1
- package/dist/shell/watermark.d.ts +1 -1
- package/dist/test-setup.d.ts +1 -1
- package/dist/theme-tokens.d.ts +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/vue3/PrintDesigner.d.ts +1 -1
- package/dist/vue3/PrintHtmlPreview.d.ts +1 -1
- package/dist/vue3/index.d.ts +1 -1
- package/dist/vue3/previewStyle.d.ts +1 -1
- package/dist/vue3/toolbarOverflow.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3278,7 +3278,7 @@ function jp(e, t) {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
function Xp(e) {
|
|
3280
3280
|
const t = e.options.dataSource;
|
|
3281
|
-
if (t
|
|
3281
|
+
if (t) return Array.isArray(Ve[t]) ? Ve[t] : void 0;
|
|
3282
3282
|
for (const o of Object.values(Ve))
|
|
3283
3283
|
if (Array.isArray(o)) return o;
|
|
3284
3284
|
}
|
|
@@ -4581,7 +4581,7 @@ function Zc(e) {
|
|
|
4581
4581
|
])
|
|
4582
4582
|
]);
|
|
4583
4583
|
}
|
|
4584
|
-
const Qc = "1.6.
|
|
4584
|
+
const Qc = "1.6.3";
|
|
4585
4585
|
ni.filter((e) => e.material).map((e) => ({ type: e.type, label: e.label, icon: e.icon }));
|
|
4586
4586
|
function Lo(e, t) {
|
|
4587
4587
|
return fe(e ?? "Shapes", t) || fe("Shapes", t);
|
|
@@ -7526,6 +7526,20 @@ const ru = {
|
|
|
7526
7526
|
id: "changelog",
|
|
7527
7527
|
title: "更新记录",
|
|
7528
7528
|
content: `
|
|
7529
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
7530
|
+
|
|
7531
|
+
<h3>修复</h3>
|
|
7532
|
+
<ul>
|
|
7533
|
+
<li><strong>数据绑定串用</strong>:表格 demo 数据源缺失时不再回退到第一个数组;图表显式绑定数据源缺失时保持占位,字段下拉不再混入示例字段,避免条码与图表显示未绑定数据。</li>
|
|
7534
|
+
</ul>
|
|
7535
|
+
|
|
7536
|
+
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
7537
|
+
|
|
7538
|
+
<h3>修复</h3>
|
|
7539
|
+
<ul>
|
|
7540
|
+
<li><strong>图表插件安装</strong>:修复插件市场命令行经 npx 调用静默空转、Git 源安装图表插件因缺语言资源失败的问题;经市场安装百度图表插件恢复可用。</li>
|
|
7541
|
+
</ul>
|
|
7542
|
+
|
|
7529
7543
|
<h2>V1.6.1<small>(2026-11-22)</small></h2>
|
|
7530
7544
|
|
|
7531
7545
|
<h3>新增</h3>
|
|
@@ -8338,6 +8352,20 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8338
8352
|
id: "changelog",
|
|
8339
8353
|
title: "Release Notes",
|
|
8340
8354
|
content: `
|
|
8355
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
8356
|
+
|
|
8357
|
+
<h3>Fixed</h3>
|
|
8358
|
+
<ul>
|
|
8359
|
+
<li><strong>Data-binding fallbacks</strong>: table demo data sources no longer fall back to the first array when missing; charts keep the placeholder when an explicitly bound data source is absent, and field pickers no longer mix in sample-data fields.</li>
|
|
8360
|
+
</ul>
|
|
8361
|
+
|
|
8362
|
+
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8363
|
+
|
|
8364
|
+
<h3>Fixed</h3>
|
|
8365
|
+
<ul>
|
|
8366
|
+
<li><strong>Chart plugin installation</strong>: fixed the marketplace CLI silently doing nothing when invoked via npx, and chart plugin installs from Git sources failing due to missing language resources; installing the Baidu chart plugin via the marketplace works again.</li>
|
|
8367
|
+
</ul>
|
|
8368
|
+
|
|
8341
8369
|
<h2>V1.6.1<small>(2026-11-22)</small></h2>
|
|
8342
8370
|
|
|
8343
8371
|
<h3>Added</h3>
|
|
@@ -8867,6 +8895,20 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8867
8895
|
id: "changelog",
|
|
8868
8896
|
title: "บันทึกการเปิดตัว",
|
|
8869
8897
|
content: `
|
|
8898
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
8899
|
+
|
|
8900
|
+
<h3>แก้ไข</h3>
|
|
8901
|
+
<ul>
|
|
8902
|
+
<li><strong>การผูกข้อมูล</strong>: ตารางเดโมไม่กลับไปใช้อาร์เรย์ตัวแรกเมื่อไม่พบแหล่งข้อมูลที่ระบุ แผนภูมิคงตัวยึดตำแหน่งเมื่อแหล่งข้อมูลที่ผูกไว้ขาดหาย และรายการฟิลด์ไม่ผสมฟิลด์จากข้อมูลตัวอย่างอีกต่อไป</li>
|
|
8903
|
+
</ul>
|
|
8904
|
+
|
|
8905
|
+
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8906
|
+
|
|
8907
|
+
<h3>แก้ไข</h3>
|
|
8908
|
+
<ul>
|
|
8909
|
+
<li><strong>การติดตั้งปลั๊กอินแผนภูมิ</strong>: แก้ไขปัญหาเครื่องมือ CLI ของตลาดปลั๊กอินไม่ทำงานเมื่อเรียกผ่าน npx และปัญหาการติดตั้งปลั๊กอินแผนภูมิจากแหล่ง Git ล้มเหลวเนื่องจากขาดทรัพยากรภาษา ตอนนี้การติดตั้งปลั๊กอินแผนภูมิ Baidu ผ่านตลาดปลั๊กอินกลับมาใช้งานได้แล้ว</li>
|
|
8910
|
+
</ul>
|
|
8911
|
+
|
|
8870
8912
|
<h2>V1.6.1<small>(2026-11-22)</small></h2>
|
|
8871
8913
|
|
|
8872
8914
|
<h3>เพิ่ม</h3>
|
package/dist/print-designer.d.ts
CHANGED
package/dist/shell/binding.d.ts
CHANGED
package/dist/shell/canvas.d.ts
CHANGED
package/dist/shell/code.d.ts
CHANGED
package/dist/shell/controls.d.ts
CHANGED
package/dist/shell/elements.d.ts
CHANGED
package/dist/shell/panels.d.ts
CHANGED
package/dist/shell/ruler.d.ts
CHANGED
package/dist/shell/table.d.ts
CHANGED
package/dist/shell/toolbar.d.ts
CHANGED
package/dist/test-setup.d.ts
CHANGED
package/dist/theme-tokens.d.ts
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @worm-print-platform/canvas v1.6.
|
|
2
|
+
* @worm-print-platform/canvas v1.6.3
|
|
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
|
|
6
6
|
*/
|
|
7
7
|
/** 设计器(@worm-print-platform/canvas)当前版本,用于状态栏等 UI 展示 */
|
|
8
|
-
export declare const CANVAS_VERSION = "1.6.
|
|
8
|
+
export declare const CANVAS_VERSION = "1.6.3";
|
package/dist/vue3/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worm-print-platform/canvas",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"pretest": "npm run typecheck"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@worm-print-platform/core": "^1.6.
|
|
58
|
-
"@worm-print-platform/plugin-kit": "^1.6.
|
|
57
|
+
"@worm-print-platform/core": "^1.6.3",
|
|
58
|
+
"@worm-print-platform/plugin-kit": "^1.6.3",
|
|
59
59
|
"dompurify": "^3.4.12",
|
|
60
60
|
"jsbarcode": "^3.12.3",
|
|
61
61
|
"qrcode": "^1.5.4"
|