@worm-vue3-print/canvas 1.3.7 → 1.3.9

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 (80) hide show
  1. package/dist/canvas.css +1 -1
  2. package/dist/components/CanvasArea.vue.d.ts +1 -1
  3. package/dist/components/CanvasPaper.vue.d.ts +1 -1
  4. package/dist/components/DesignerToolbar.vue.d.ts +1 -1
  5. package/dist/components/ExpressionEditor.vue.d.ts +1 -1
  6. package/dist/components/FieldTreePanel.vue.d.ts +1 -1
  7. package/dist/components/FormatToolbar.vue.d.ts +1 -1
  8. package/dist/components/HelpButton.vue.d.ts +1 -1
  9. package/dist/components/HelpModal.vue.d.ts +1 -1
  10. package/dist/components/LayerPanel.vue.d.ts +1 -1
  11. package/dist/components/LeftPanel.vue.d.ts +1 -1
  12. package/dist/components/PageTabs.vue.d.ts +1 -1
  13. package/dist/components/PresetColorPicker.vue.d.ts +1 -1
  14. package/dist/components/PrintDesigner.vue.d.ts +1 -1
  15. package/dist/components/PrintHtmlPreview.vue.d.ts +1 -1
  16. package/dist/components/PropertyPanel.vue.d.ts +1 -1
  17. package/dist/components/Ruler.vue.d.ts +1 -1
  18. package/dist/components/StatusBar.vue.d.ts +1 -1
  19. package/dist/components/ToolbarDropdown.vue.d.ts +1 -1
  20. package/dist/components/ToolbarMore.vue.d.ts +1 -1
  21. package/dist/components/WatermarkConfig.vue.d.ts +1 -1
  22. package/dist/components/elements/BarcodeElement.vue.d.ts +1 -1
  23. package/dist/components/elements/BaseElement.vue.d.ts +1 -1
  24. package/dist/components/elements/CellBarcode.vue.d.ts +1 -1
  25. package/dist/components/elements/CellImage.vue.d.ts +5 -1
  26. package/dist/components/elements/HtmlElement.vue.d.ts +1 -1
  27. package/dist/components/elements/ImageElement.vue.d.ts +1 -1
  28. package/dist/components/elements/LineElement.vue.d.ts +1 -1
  29. package/dist/components/elements/LongTextElement.vue.d.ts +1 -1
  30. package/dist/components/elements/PageNumberElement.vue.d.ts +1 -1
  31. package/dist/components/elements/QrcodeElement.vue.d.ts +1 -1
  32. package/dist/components/elements/ShapeElement.vue.d.ts +1 -1
  33. package/dist/components/elements/TableContextMenu.vue.d.ts +1 -1
  34. package/dist/components/elements/TableElement.vue.d.ts +1 -1
  35. package/dist/components/elements/TextElement.vue.d.ts +1 -1
  36. package/dist/components/property/AdvancedGroup.vue.d.ts +1 -1
  37. package/dist/components/property/AppearanceGroup.vue.d.ts +1 -1
  38. package/dist/components/property/BindingControl.vue.d.ts +1 -1
  39. package/dist/components/property/BorderBgGroup.vue.d.ts +1 -1
  40. package/dist/components/property/CodeGroup.vue.d.ts +1 -1
  41. package/dist/components/property/CropAnchorField.vue.d.ts +35 -0
  42. package/dist/components/property/DesignBackgroundConfig.vue.d.ts +1 -1
  43. package/dist/components/property/FontSelect.vue.d.ts +1 -1
  44. package/dist/components/property/ImageContentUpload.vue.d.ts +1 -1
  45. package/dist/components/property/PaginationGroup.vue.d.ts +1 -1
  46. package/dist/components/property/PositionSizeGroup.vue.d.ts +1 -1
  47. package/dist/components/property/PropertyGroup.vue.d.ts +1 -1
  48. package/dist/components/property/PropertySearch.vue.d.ts +1 -1
  49. package/dist/components/property/StepperInput.vue.d.ts +1 -1
  50. package/dist/components/property/TableCellGroup.vue.d.ts +1 -1
  51. package/dist/components/property/TableRowGroup.vue.d.ts +1 -1
  52. package/dist/components/property/TableSettingsGroup.vue.d.ts +1 -1
  53. package/dist/components/property/TilingConfig.vue.d.ts +1 -1
  54. package/dist/composables/useAdsorb.d.ts +1 -1
  55. package/dist/composables/useAdsorbManager.d.ts +1 -1
  56. package/dist/composables/useClipboard.d.ts +5 -1
  57. package/dist/composables/useDesignerState.d.ts +25 -1
  58. package/dist/composables/useDocumentFontFace.d.ts +1 -1
  59. package/dist/composables/useDrag.d.ts +1 -1
  60. package/dist/composables/useFontCatalog.d.ts +1 -1
  61. package/dist/composables/useFormatPainter.d.ts +1 -1
  62. package/dist/composables/useFormatToolbar.d.ts +1 -1
  63. package/dist/composables/useGuides.d.ts +1 -1
  64. package/dist/composables/useHistory.d.ts +1 -1
  65. package/dist/composables/useHostAdapter.d.ts +1 -1
  66. package/dist/composables/useSelection.d.ts +1 -1
  67. package/dist/composables/useShrinkFit.d.ts +1 -1
  68. package/dist/composables/useStudioChrome.d.ts +1 -1
  69. package/dist/composables/useTableSelection.d.ts +1 -1
  70. package/dist/composables/useToolbarOverflow.d.ts +1 -1
  71. package/dist/help-content/changelog.d.ts +1 -1
  72. package/dist/help-content/faq.d.ts +1 -1
  73. package/dist/help-content/features.d.ts +1 -1
  74. package/dist/help-content/getting-started.d.ts +1 -1
  75. package/dist/help-content/index.d.ts +1 -1
  76. package/dist/help-content/shortcuts.d.ts +1 -1
  77. package/dist/index.cjs +37 -7
  78. package/dist/index.d.ts +1 -1
  79. package/dist/index.js +4691 -4467
  80. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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
@@ -0,0 +1,35 @@
1
+ /*!
2
+ * @worm-vue3-print/canvas v1.3.9
3
+ * Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
4
+ * SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
5
+ * SPDX-License-Identifier: MIT
6
+ */
7
+ type __VLS_Props = {
8
+ /** 注册表 key,用于取字段说明 */
9
+ fieldKey: string;
10
+ label: string;
11
+ /** 已解析的图片地址(表达式由宿主求值后传入);为空则回落内置示例图 */
12
+ src?: string;
13
+ /** 模板里的存量值,原样是 CSS 两轴位置 */
14
+ modelValue?: string;
15
+ widthMm: number;
16
+ heightMm: number;
17
+ /** 缩放模式(CSS object-fit 原值,缺省按 contain):可挪余量按它逐轴结算 */
18
+ fit?: string;
19
+ /** 剪裁放大比例(%):只有剪裁档消费,铺满后把画面再推大这么多 */
20
+ scale?: number;
21
+ };
22
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ "update:scale": (value: number | undefined) => any;
24
+ "update:modelValue": (value: string | undefined) => any;
25
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ "onUpdate:scale"?: ((value: number | undefined) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
28
+ }>, {
29
+ src: string;
30
+ fit: string;
31
+ scale: number;
32
+ modelValue: string;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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
@@ -71,6 +71,7 @@ export declare function useClipboard(): {
71
71
  src?: string | undefined;
72
72
  fit?: string | undefined;
73
73
  objectPosition?: string | undefined;
74
+ fitScale?: number | undefined;
74
75
  maxWidth?: number | undefined;
75
76
  maxHeight?: number | undefined;
76
77
  hideTitle?: boolean | undefined;
@@ -141,6 +142,7 @@ export declare function useClipboard(): {
141
142
  shrinkMinFontSize?: number | undefined;
142
143
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
143
144
  objectPosition?: string | undefined;
145
+ fitScale?: number | undefined;
144
146
  maxWidth?: number | undefined;
145
147
  maxHeight?: number | undefined;
146
148
  }[];
@@ -231,6 +233,7 @@ export declare function useClipboard(): {
231
233
  src?: string | undefined;
232
234
  fit?: string | undefined;
233
235
  objectPosition?: string | undefined;
236
+ fitScale?: number | undefined;
234
237
  maxWidth?: number | undefined;
235
238
  maxHeight?: number | undefined;
236
239
  hideTitle?: boolean | undefined;
@@ -301,6 +304,7 @@ export declare function useClipboard(): {
301
304
  shrinkMinFontSize?: number | undefined;
302
305
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
303
306
  objectPosition?: string | undefined;
307
+ fitScale?: number | undefined;
304
308
  maxWidth?: number | undefined;
305
309
  maxHeight?: number | undefined;
306
310
  }[];
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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
@@ -100,6 +100,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
100
100
  src?: string | undefined;
101
101
  fit?: string | undefined;
102
102
  objectPosition?: string | undefined;
103
+ fitScale?: number | undefined;
103
104
  maxWidth?: number | undefined;
104
105
  maxHeight?: number | undefined;
105
106
  hideTitle?: boolean | undefined;
@@ -170,6 +171,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
170
171
  shrinkMinFontSize?: number | undefined;
171
172
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
172
173
  objectPosition?: string | undefined;
174
+ fitScale?: number | undefined;
173
175
  maxWidth?: number | undefined;
174
176
  maxHeight?: number | undefined;
175
177
  }[];
@@ -264,6 +266,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
264
266
  src?: string | undefined;
265
267
  fit?: string | undefined;
266
268
  objectPosition?: string | undefined;
269
+ fitScale?: number | undefined;
267
270
  maxWidth?: number | undefined;
268
271
  maxHeight?: number | undefined;
269
272
  hideTitle?: boolean | undefined;
@@ -334,6 +337,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
334
337
  shrinkMinFontSize?: number | undefined;
335
338
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
336
339
  objectPosition?: string | undefined;
340
+ fitScale?: number | undefined;
337
341
  maxWidth?: number | undefined;
338
342
  maxHeight?: number | undefined;
339
343
  }[];
@@ -426,6 +430,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
426
430
  src?: string | undefined;
427
431
  fit?: string | undefined;
428
432
  objectPosition?: string | undefined;
433
+ fitScale?: number | undefined;
429
434
  maxWidth?: number | undefined;
430
435
  maxHeight?: number | undefined;
431
436
  hideTitle?: boolean | undefined;
@@ -496,6 +501,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
496
501
  shrinkMinFontSize?: number | undefined;
497
502
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
498
503
  objectPosition?: string | undefined;
504
+ fitScale?: number | undefined;
499
505
  maxWidth?: number | undefined;
500
506
  maxHeight?: number | undefined;
501
507
  }[];
@@ -652,6 +658,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
652
658
  src?: string | undefined;
653
659
  fit?: string | undefined;
654
660
  objectPosition?: string | undefined;
661
+ fitScale?: number | undefined;
655
662
  maxWidth?: number | undefined;
656
663
  maxHeight?: number | undefined;
657
664
  hideTitle?: boolean | undefined;
@@ -722,6 +729,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
722
729
  shrinkMinFontSize?: number | undefined;
723
730
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
724
731
  objectPosition?: string | undefined;
732
+ fitScale?: number | undefined;
725
733
  maxWidth?: number | undefined;
726
734
  maxHeight?: number | undefined;
727
735
  }[];
@@ -816,6 +824,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
816
824
  src?: string | undefined;
817
825
  fit?: string | undefined;
818
826
  objectPosition?: string | undefined;
827
+ fitScale?: number | undefined;
819
828
  maxWidth?: number | undefined;
820
829
  maxHeight?: number | undefined;
821
830
  hideTitle?: boolean | undefined;
@@ -886,6 +895,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
886
895
  shrinkMinFontSize?: number | undefined;
887
896
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
888
897
  objectPosition?: string | undefined;
898
+ fitScale?: number | undefined;
889
899
  maxWidth?: number | undefined;
890
900
  maxHeight?: number | undefined;
891
901
  }[];
@@ -978,6 +988,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
978
988
  src?: string | undefined;
979
989
  fit?: string | undefined;
980
990
  objectPosition?: string | undefined;
991
+ fitScale?: number | undefined;
981
992
  maxWidth?: number | undefined;
982
993
  maxHeight?: number | undefined;
983
994
  hideTitle?: boolean | undefined;
@@ -1048,6 +1059,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1048
1059
  shrinkMinFontSize?: number | undefined;
1049
1060
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
1050
1061
  objectPosition?: string | undefined;
1062
+ fitScale?: number | undefined;
1051
1063
  maxWidth?: number | undefined;
1052
1064
  maxHeight?: number | undefined;
1053
1065
  }[];
@@ -1220,6 +1232,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1220
1232
  src?: string | undefined;
1221
1233
  fit?: string | undefined;
1222
1234
  objectPosition?: string | undefined;
1235
+ fitScale?: number | undefined;
1223
1236
  maxWidth?: number | undefined;
1224
1237
  maxHeight?: number | undefined;
1225
1238
  hideTitle?: boolean | undefined;
@@ -1290,6 +1303,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1290
1303
  shrinkMinFontSize?: number | undefined;
1291
1304
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
1292
1305
  objectPosition?: string | undefined;
1306
+ fitScale?: number | undefined;
1293
1307
  maxWidth?: number | undefined;
1294
1308
  maxHeight?: number | undefined;
1295
1309
  }[];
@@ -1384,6 +1398,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1384
1398
  src?: string | undefined;
1385
1399
  fit?: string | undefined;
1386
1400
  objectPosition?: string | undefined;
1401
+ fitScale?: number | undefined;
1387
1402
  maxWidth?: number | undefined;
1388
1403
  maxHeight?: number | undefined;
1389
1404
  hideTitle?: boolean | undefined;
@@ -1454,6 +1469,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1454
1469
  shrinkMinFontSize?: number | undefined;
1455
1470
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
1456
1471
  objectPosition?: string | undefined;
1472
+ fitScale?: number | undefined;
1457
1473
  maxWidth?: number | undefined;
1458
1474
  maxHeight?: number | undefined;
1459
1475
  }[];
@@ -1546,6 +1562,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1546
1562
  src?: string | undefined;
1547
1563
  fit?: string | undefined;
1548
1564
  objectPosition?: string | undefined;
1565
+ fitScale?: number | undefined;
1549
1566
  maxWidth?: number | undefined;
1550
1567
  maxHeight?: number | undefined;
1551
1568
  hideTitle?: boolean | undefined;
@@ -1616,6 +1633,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1616
1633
  shrinkMinFontSize?: number | undefined;
1617
1634
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
1618
1635
  objectPosition?: string | undefined;
1636
+ fitScale?: number | undefined;
1619
1637
  maxWidth?: number | undefined;
1620
1638
  maxHeight?: number | undefined;
1621
1639
  }[];
@@ -1772,6 +1790,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1772
1790
  src?: string | undefined;
1773
1791
  fit?: string | undefined;
1774
1792
  objectPosition?: string | undefined;
1793
+ fitScale?: number | undefined;
1775
1794
  maxWidth?: number | undefined;
1776
1795
  maxHeight?: number | undefined;
1777
1796
  hideTitle?: boolean | undefined;
@@ -1842,6 +1861,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1842
1861
  shrinkMinFontSize?: number | undefined;
1843
1862
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
1844
1863
  objectPosition?: string | undefined;
1864
+ fitScale?: number | undefined;
1845
1865
  maxWidth?: number | undefined;
1846
1866
  maxHeight?: number | undefined;
1847
1867
  }[];
@@ -1936,6 +1956,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
1936
1956
  src?: string | undefined;
1937
1957
  fit?: string | undefined;
1938
1958
  objectPosition?: string | undefined;
1959
+ fitScale?: number | undefined;
1939
1960
  maxWidth?: number | undefined;
1940
1961
  maxHeight?: number | undefined;
1941
1962
  hideTitle?: boolean | undefined;
@@ -2006,6 +2027,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
2006
2027
  shrinkMinFontSize?: number | undefined;
2007
2028
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
2008
2029
  objectPosition?: string | undefined;
2030
+ fitScale?: number | undefined;
2009
2031
  maxWidth?: number | undefined;
2010
2032
  maxHeight?: number | undefined;
2011
2033
  }[];
@@ -2098,6 +2120,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
2098
2120
  src?: string | undefined;
2099
2121
  fit?: string | undefined;
2100
2122
  objectPosition?: string | undefined;
2123
+ fitScale?: number | undefined;
2101
2124
  maxWidth?: number | undefined;
2102
2125
  maxHeight?: number | undefined;
2103
2126
  hideTitle?: boolean | undefined;
@@ -2168,6 +2191,7 @@ export declare function useDesignerState(options?: DesignerStateOptions): {
2168
2191
  shrinkMinFontSize?: number | undefined;
2169
2192
  fit?: "contain" | "cover" | "fill" | "none" | "scale-down" | undefined;
2170
2193
  objectPosition?: string | undefined;
2194
+ fitScale?: number | undefined;
2171
2195
  maxWidth?: number | undefined;
2172
2196
  maxHeight?: number | undefined;
2173
2197
  }[];
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-vue3-print/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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/canvas v1.3.7
2
+ * @worm-vue3-print/canvas v1.3.9
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