@worm-print-platform/canvas 1.6.2 → 1.6.4
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 +43 -1
- 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.4";
|
|
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.4<small>(2026-11-24)</small></h2>
|
|
7530
|
+
|
|
7531
|
+
<h3>修复</h3>
|
|
7532
|
+
<ul>
|
|
7533
|
+
<li><strong>插件市场升级</strong>:数据源预览产物完整入库,强制升级改为暂存与原子切换;图表标签不再出现缺键告警,三语切换同步生效。</li>
|
|
7534
|
+
</ul>
|
|
7535
|
+
|
|
7536
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
7537
|
+
|
|
7538
|
+
<h3>修复</h3>
|
|
7539
|
+
<ul>
|
|
7540
|
+
<li><strong>数据绑定串用</strong>:表格 demo 数据源缺失时不再回退到第一个数组;图表显式绑定数据源缺失时保持占位,字段下拉不再混入示例字段,避免条码与图表显示未绑定数据。</li>
|
|
7541
|
+
</ul>
|
|
7542
|
+
|
|
7529
7543
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
7530
7544
|
|
|
7531
7545
|
<h3>修复</h3>
|
|
@@ -8345,6 +8359,20 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8345
8359
|
id: "changelog",
|
|
8346
8360
|
title: "Release Notes",
|
|
8347
8361
|
content: `
|
|
8362
|
+
<h2>V1.6.4<small>(2026-11-24)</small></h2>
|
|
8363
|
+
|
|
8364
|
+
<h3>Fixed</h3>
|
|
8365
|
+
<ul>
|
|
8366
|
+
<li><strong>Marketplace upgrades</strong>: data-preview artifacts are complete in Git, forced upgrades use staged atomic swaps, and chart labels switch languages without missing-key warnings.</li>
|
|
8367
|
+
</ul>
|
|
8368
|
+
|
|
8369
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
8370
|
+
|
|
8371
|
+
<h3>Fixed</h3>
|
|
8372
|
+
<ul>
|
|
8373
|
+
<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>
|
|
8374
|
+
</ul>
|
|
8375
|
+
|
|
8348
8376
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8349
8377
|
|
|
8350
8378
|
<h3>Fixed</h3>
|
|
@@ -8881,6 +8909,20 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8881
8909
|
id: "changelog",
|
|
8882
8910
|
title: "บันทึกการเปิดตัว",
|
|
8883
8911
|
content: `
|
|
8912
|
+
<h2>V1.6.4<small>(2026-11-24)</small></h2>
|
|
8913
|
+
|
|
8914
|
+
<h3>แก้ไข</h3>
|
|
8915
|
+
<ul>
|
|
8916
|
+
<li><strong>การอัปเกรดตลาดปลั๊กอิน</strong>: ไฟล์ data-preview ถูกเก็บใน Git ครบถ้วน การอัปเกรดแบบบังคับใช้การสลับแบบ atomic ชั่วคราว และป้ายแผนภูมิเปลี่ยนภาษาโดยไม่มีคำเตือนคีย์ขาดหาย</li>
|
|
8917
|
+
</ul>
|
|
8918
|
+
|
|
8919
|
+
<h2>V1.6.3<small>(2026-11-24)</small></h2>
|
|
8920
|
+
|
|
8921
|
+
<h3>แก้ไข</h3>
|
|
8922
|
+
<ul>
|
|
8923
|
+
<li><strong>การผูกข้อมูล</strong>: ตารางเดโมไม่กลับไปใช้อาร์เรย์ตัวแรกเมื่อไม่พบแหล่งข้อมูลที่ระบุ แผนภูมิคงตัวยึดตำแหน่งเมื่อแหล่งข้อมูลที่ผูกไว้ขาดหาย และรายการฟิลด์ไม่ผสมฟิลด์จากข้อมูลตัวอย่างอีกต่อไป</li>
|
|
8924
|
+
</ul>
|
|
8925
|
+
|
|
8884
8926
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8885
8927
|
|
|
8886
8928
|
<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.4
|
|
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.4";
|
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.4",
|
|
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.4",
|
|
58
|
+
"@worm-print-platform/plugin-kit": "^1.6.4",
|
|
59
59
|
"dompurify": "^3.4.12",
|
|
60
60
|
"jsbarcode": "^3.12.3",
|
|
61
61
|
"qrcode": "^1.5.4"
|