@worm-print-platform/canvas 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.
Files changed (67) hide show
  1. package/README.md +1 -1
  2. package/dist/browser-bundle.d.ts +1 -1
  3. package/dist/canvas.js +96 -60
  4. package/dist/core/default-template.d.ts +1 -1
  5. package/dist/core/element-definitions.d.ts +1 -1
  6. package/dist/core/format.d.ts +1 -1
  7. package/dist/core/h.d.ts +1 -1
  8. package/dist/core/icons.d.ts +1 -1
  9. package/dist/core/plugin.d.ts +1 -1
  10. package/dist/core/store.d.ts +1 -1
  11. package/dist/host-contract.d.ts +1 -1
  12. package/dist/index.cjs +41 -5
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.js +1011 -949
  15. package/dist/print-designer.d.ts +4 -1
  16. package/dist/shell/binding.d.ts +1 -1
  17. package/dist/shell/canvas.d.ts +1 -1
  18. package/dist/shell/code.d.ts +1 -1
  19. package/dist/shell/color-picker.d.ts +1 -1
  20. package/dist/shell/controls.d.ts +1 -1
  21. package/dist/shell/crop-anchor.d.ts +1 -1
  22. package/dist/shell/elements.d.ts +1 -1
  23. package/dist/shell/expression-editor.d.ts +1 -1
  24. package/dist/shell/flow-list.d.ts +1 -1
  25. package/dist/shell/font-select.d.ts +1 -1
  26. package/dist/shell/format-bar.d.ts +1 -1
  27. package/dist/shell/help-content/en-US/advanced-settings.d.ts +1 -1
  28. package/dist/shell/help-content/en-US/changelog.d.ts +1 -1
  29. package/dist/shell/help-content/en-US/faq.d.ts +1 -1
  30. package/dist/shell/help-content/en-US/features.d.ts +1 -1
  31. package/dist/shell/help-content/en-US/getting-started.d.ts +1 -1
  32. package/dist/shell/help-content/en-US/shortcuts.d.ts +1 -1
  33. package/dist/shell/help-content/index.d.ts +1 -1
  34. package/dist/shell/help-content/th-TH/advanced-settings.d.ts +1 -1
  35. package/dist/shell/help-content/th-TH/changelog.d.ts +1 -1
  36. package/dist/shell/help-content/th-TH/faq.d.ts +1 -1
  37. package/dist/shell/help-content/th-TH/features.d.ts +1 -1
  38. package/dist/shell/help-content/th-TH/getting-started.d.ts +1 -1
  39. package/dist/shell/help-content/th-TH/shortcuts.d.ts +1 -1
  40. package/dist/shell/help-content/zh-CN/advanced-settings.d.ts +1 -1
  41. package/dist/shell/help-content/zh-CN/changelog.d.ts +1 -1
  42. package/dist/shell/help-content/zh-CN/faq.d.ts +1 -1
  43. package/dist/shell/help-content/zh-CN/features.d.ts +1 -1
  44. package/dist/shell/help-content/zh-CN/getting-started.d.ts +1 -1
  45. package/dist/shell/help-content/zh-CN/shortcuts.d.ts +1 -1
  46. package/dist/shell/help-modal.d.ts +1 -1
  47. package/dist/shell/page-extras.d.ts +1 -1
  48. package/dist/shell/panels.d.ts +1 -1
  49. package/dist/shell/plugin-ui.d.ts +1 -1
  50. package/dist/shell/prop-group.d.ts +1 -1
  51. package/dist/shell/property-panel.d.ts +1 -1
  52. package/dist/shell/property-search.d.ts +1 -1
  53. package/dist/shell/ruler.d.ts +1 -1
  54. package/dist/shell/table-props.d.ts +1 -1
  55. package/dist/shell/table.d.ts +1 -1
  56. package/dist/shell/toolbar-overflow.d.ts +1 -1
  57. package/dist/shell/toolbar.d.ts +1 -1
  58. package/dist/shell/watermark.d.ts +1 -1
  59. package/dist/test-setup.d.ts +1 -1
  60. package/dist/theme-tokens.d.ts +1 -1
  61. package/dist/version.d.ts +2 -2
  62. package/dist/vue3/PrintDesigner.d.ts +1 -1
  63. package/dist/vue3/PrintHtmlPreview.d.ts +1 -1
  64. package/dist/vue3/index.d.ts +1 -1
  65. package/dist/vue3/previewStyle.d.ts +1 -1
  66. package/dist/vue3/toolbarOverflow.d.ts +1 -1
  67. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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
@@ -57,6 +57,7 @@ export declare class PrintDesignerElement extends HTMLElement {
57
57
  private tableMenu;
58
58
  private exprTarget;
59
59
  private exprMountedFor;
60
+ private exprApply?;
60
61
  /** 帮助弹窗:Vue 3 轨的 helpVisible(showHelp 为 false 时强制收起,见 set showHelp) */
61
62
  private helpVisible;
62
63
  private helpInitialTab;
@@ -216,6 +217,8 @@ export declare class PrintDesignerElement extends HTMLElement {
216
217
  private onDrop;
217
218
  /** 纸面 mm 落点(对应 Vue 3 轨 的 toPaperPoint):不取整,越出纸张左上角即视为无效 */
218
219
  private pointToPaperMm;
220
+ /** 鼠标是否落在 .canvas-area 的滚动条上。滚动条点击的 target 即容器本身。 */
221
+ private isOnScrollbar;
219
222
  private onCanvasMouseDown;
220
223
  private onCanvasMouseMove;
221
224
  private clearCoord;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/version.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @worm-print-platform/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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
6
6
  */
7
7
  /** 设计器(@worm-print-platform/canvas)当前版本,用于状态栏等 UI 展示 */
8
- export declare const CANVAS_VERSION = "1.6.4";
8
+ export declare const CANVAS_VERSION = "1.6.6";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/canvas v1.6.4
2
+ * @worm-print-platform/canvas 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worm-print-platform/canvas",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
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.4",
58
- "@worm-print-platform/plugin-kit": "^1.6.4",
57
+ "@worm-print-platform/core": "^1.6.6",
58
+ "@worm-print-platform/plugin-kit": "^1.6.6",
59
59
  "dompurify": "^3.4.12",
60
60
  "jsbarcode": "^3.12.3",
61
61
  "qrcode": "^1.5.4"