@worm-vue3-print/common 1.4.1 → 1.4.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.
Files changed (43) hide show
  1. package/README.md +2 -2
  2. package/dist/browser-bundle.d.ts +1 -1
  3. package/dist/common.css +1 -1
  4. package/dist/common.js +99 -72
  5. package/dist/core/default-template.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/store.d.ts +2 -2
  10. package/dist/index.cjs +36 -9
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +1571 -1471
  13. package/dist/print-designer.d.ts +2 -1
  14. package/dist/shell/binding.d.ts +1 -1
  15. package/dist/shell/canvas.d.ts +3 -1
  16. package/dist/shell/code.d.ts +1 -1
  17. package/dist/shell/color-picker.d.ts +1 -1
  18. package/dist/shell/controls.d.ts +3 -1
  19. package/dist/shell/crop-anchor.d.ts +1 -1
  20. package/dist/shell/elements.d.ts +1 -1
  21. package/dist/shell/expression-editor.d.ts +1 -1
  22. package/dist/shell/flow-list.d.ts +1 -1
  23. package/dist/shell/font-select.d.ts +1 -1
  24. package/dist/shell/format-bar.d.ts +1 -1
  25. package/dist/shell/help-content/changelog.d.ts +1 -1
  26. package/dist/shell/help-content/faq.d.ts +1 -1
  27. package/dist/shell/help-content/features.d.ts +1 -1
  28. package/dist/shell/help-content/getting-started.d.ts +1 -1
  29. package/dist/shell/help-content/index.d.ts +1 -1
  30. package/dist/shell/help-content/shortcuts.d.ts +1 -1
  31. package/dist/shell/help-modal.d.ts +1 -1
  32. package/dist/shell/page-extras.d.ts +1 -1
  33. package/dist/shell/panels.d.ts +1 -1
  34. package/dist/shell/prop-group.d.ts +1 -1
  35. package/dist/shell/property-panel.d.ts +1 -1
  36. package/dist/shell/property-search.d.ts +1 -1
  37. package/dist/shell/ruler.d.ts +1 -1
  38. package/dist/shell/table-props.d.ts +1 -1
  39. package/dist/shell/table.d.ts +1 -1
  40. package/dist/shell/toolbar-overflow.d.ts +1 -1
  41. package/dist/shell/toolbar.d.ts +1 -1
  42. package/dist/shell/watermark.d.ts +1 -1
  43. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/common v1.4.1
2
+ * @worm-vue3-print/common v1.4.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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/common v1.4.1
2
+ * @worm-vue3-print/common v1.4.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
package/dist/core/h.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/common v1.4.1
2
+ * @worm-vue3-print/common v1.4.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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/common v1.4.1
2
+ * @worm-vue3-print/common v1.4.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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/common v1.4.1
2
+ * @worm-vue3-print/common v1.4.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
@@ -98,7 +98,7 @@ export declare class DesignerStore {
98
98
  moveGuide(id: string, positionMm: number): void;
99
99
  removeGuide(id: string): void;
100
100
  addElement(type: Parameters<typeof createRuntimeElement>[0], options?: Partial<RuntimeElement['options']>, dropPoint?: PaperPoint): RuntimeElement;
101
- addFieldElement(field: PrintBusinessField, options?: Partial<RuntimeElement['options']>, dropPoint?: PaperPoint): RuntimeElement;
101
+ addFieldElement(field: PrintBusinessField, options?: Partial<RuntimeElement['options']>, dropPoint?: PaperPoint, asLabel?: boolean): RuntimeElement;
102
102
  /**
103
103
  * 按落点把新元素放进对应区域(canvas 的 placeAtDropPoint):
104
104
  * dropPoint 为纸面 mm;页眉/页脚不允许的类型返回 false(调用方不加入元素)。