@worm-print-platform/canvas 1.6.2 → 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 +22 -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 +22 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -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,13 @@ 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
|
+
|
|
7529
7536
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
7530
7537
|
|
|
7531
7538
|
<h3>修复</h3>
|
|
@@ -8345,6 +8352,13 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8345
8352
|
id: "changelog",
|
|
8346
8353
|
title: "Release Notes",
|
|
8347
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
|
+
|
|
8348
8362
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8349
8363
|
|
|
8350
8364
|
<h3>Fixed</h3>
|
|
@@ -8881,6 +8895,13 @@ to keep a number of decimals use <code>ROUND</code> (half up), <code>ROUNDUP</co
|
|
|
8881
8895
|
id: "changelog",
|
|
8882
8896
|
title: "บันทึกการเปิดตัว",
|
|
8883
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
|
+
|
|
8884
8905
|
<h2>V1.6.2<small>(2026-11-23)</small></h2>
|
|
8885
8906
|
|
|
8886
8907
|
<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"
|