@worm-vue3-print/canvas 1.3.5 → 1.3.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.
- package/LICENSE +1 -1
- package/dist/components/CanvasArea.vue.d.ts +3 -3
- package/dist/components/CanvasPaper.vue.d.ts +3 -3
- package/dist/components/DesignerToolbar.vue.d.ts +3 -3
- package/dist/components/ExpressionEditor.vue.d.ts +3 -3
- package/dist/components/FieldTreePanel.vue.d.ts +3 -3
- package/dist/components/FormatToolbar.vue.d.ts +3 -3
- package/dist/components/HelpButton.vue.d.ts +3 -3
- package/dist/components/HelpModal.vue.d.ts +3 -3
- package/dist/components/LayerPanel.vue.d.ts +3 -3
- package/dist/components/LeftPanel.vue.d.ts +3 -3
- package/dist/components/PageTabs.vue.d.ts +3 -3
- package/dist/components/PresetColorPicker.vue.d.ts +3 -3
- package/dist/components/PrintDesigner.vue.d.ts +3 -3
- package/dist/components/PrintHtmlPreview.vue.d.ts +3 -3
- package/dist/components/PropertyPanel.vue.d.ts +3 -3
- package/dist/components/Ruler.vue.d.ts +3 -3
- package/dist/components/StatusBar.vue.d.ts +3 -3
- package/dist/components/ToolbarDropdown.vue.d.ts +3 -3
- package/dist/components/WatermarkConfig.vue.d.ts +3 -3
- package/dist/components/elements/BarcodeElement.vue.d.ts +3 -3
- package/dist/components/elements/BaseElement.vue.d.ts +3 -3
- package/dist/components/elements/CellBarcode.vue.d.ts +3 -3
- package/dist/components/elements/CellImage.vue.d.ts +3 -3
- package/dist/components/elements/HtmlElement.vue.d.ts +3 -3
- package/dist/components/elements/ImageElement.vue.d.ts +3 -3
- package/dist/components/elements/LineElement.vue.d.ts +3 -3
- package/dist/components/elements/LongTextElement.vue.d.ts +3 -3
- package/dist/components/elements/PageNumberElement.vue.d.ts +3 -3
- package/dist/components/elements/QrcodeElement.vue.d.ts +3 -3
- package/dist/components/elements/ShapeElement.vue.d.ts +3 -3
- package/dist/components/elements/TableContextMenu.vue.d.ts +3 -3
- package/dist/components/elements/TableElement.vue.d.ts +3 -3
- package/dist/components/elements/TextElement.vue.d.ts +3 -3
- package/dist/components/property/AdvancedGroup.vue.d.ts +3 -3
- package/dist/components/property/AppearanceGroup.vue.d.ts +3 -3
- package/dist/components/property/BindingControl.vue.d.ts +3 -3
- package/dist/components/property/BorderBgGroup.vue.d.ts +3 -3
- package/dist/components/property/CodeGroup.vue.d.ts +3 -3
- package/dist/components/property/DesignBackgroundConfig.vue.d.ts +3 -3
- package/dist/components/property/FontSelect.vue.d.ts +3 -3
- package/dist/components/property/ImageContentUpload.vue.d.ts +3 -3
- package/dist/components/property/PaginationGroup.vue.d.ts +3 -3
- package/dist/components/property/PositionSizeGroup.vue.d.ts +3 -3
- package/dist/components/property/PropertyGroup.vue.d.ts +3 -3
- package/dist/components/property/PropertySearch.vue.d.ts +3 -3
- package/dist/components/property/StepperInput.vue.d.ts +3 -3
- package/dist/components/property/TableCellGroup.vue.d.ts +3 -3
- package/dist/components/property/TableRowGroup.vue.d.ts +3 -3
- package/dist/components/property/TableSettingsGroup.vue.d.ts +3 -3
- package/dist/components/property/TilingConfig.vue.d.ts +3 -3
- package/dist/composables/useAdsorb.d.ts +3 -3
- package/dist/composables/useAdsorbManager.d.ts +3 -3
- package/dist/composables/useClipboard.d.ts +3 -3
- package/dist/composables/useDesignerState.d.ts +3 -3
- package/dist/composables/useDocumentFontFace.d.ts +3 -3
- package/dist/composables/useDrag.d.ts +3 -3
- package/dist/composables/useFontCatalog.d.ts +3 -3
- package/dist/composables/useFormatPainter.d.ts +3 -3
- package/dist/composables/useFormatToolbar.d.ts +3 -3
- package/dist/composables/useGuides.d.ts +3 -3
- package/dist/composables/useHistory.d.ts +3 -3
- package/dist/composables/useHostAdapter.d.ts +3 -3
- package/dist/composables/useSelection.d.ts +3 -3
- package/dist/composables/useShrinkFit.d.ts +3 -3
- package/dist/composables/useStudioChrome.d.ts +3 -3
- package/dist/composables/useTableSelection.d.ts +3 -3
- package/dist/help-content/changelog.d.ts +3 -3
- package/dist/help-content/faq.d.ts +3 -3
- package/dist/help-content/features.d.ts +3 -3
- package/dist/help-content/getting-started.d.ts +3 -3
- package/dist/help-content/index.d.ts +3 -3
- package/dist/help-content/shortcuts.d.ts +3 -3
- package/dist/index.cjs +11 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -4
- package/package.json +3 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @worm-vue3-print/canvas v1.3.
|
|
3
|
-
* Copyright (c) 2026
|
|
4
|
-
* SPDX-FileCopyrightText: 2026
|
|
2
|
+
* @worm-vue3-print/canvas v1.3.6
|
|
3
|
+
* Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
|
|
4
|
+
* SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
|
|
5
5
|
* SPDX-License-Identifier: MIT
|
|
6
6
|
*/
|
|
7
7
|
export { default as PrintDesigner } from './components/PrintDesigner.vue';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @worm-vue3-print/canvas v1.3.
|
|
3
|
-
* Copyright (c) 2026
|
|
4
|
-
* SPDX-FileCopyrightText: 2026
|
|
2
|
+
* @worm-vue3-print/canvas v1.3.6
|
|
3
|
+
* Copyright (c) 2026 worm <liu_long_qqcom@qq.com>
|
|
4
|
+
* SPDX-FileCopyrightText: 2026 worm <liu_long_qqcom@qq.com>
|
|
5
5
|
* SPDX-License-Identifier: MIT
|
|
6
6
|
*/import { ref as F, computed as v, onMounted as Ue, onUnmounted as tt, watch as ze, onScopeDispose as Tn, toValue as Fl, inject as je, useId as Wl, watchEffect as al, defineComponent as fe, openBlock as p, createElementBlock as f, createElementVNode as e, normalizeClass as se, renderSlot as Bt, createVNode as A, unref as P, createCommentVNode as Q, useModel as Dn, createStaticVNode as Ol, toDisplayString as ae, withCtx as Re, createTextVNode as Je, mergeModels as gl, withDirectives as ie, withKeys as it, withModifiers as Te, vModelText as Fe, Fragment as ue, renderList as Se, nextTick as Ke, onBeforeUnmount as $t, normalizeStyle as be, createBlock as Pe, Teleport as sl, resolveDynamicComponent as Nl, vShow as he, reactive as ot, markRaw as Ne, mergeProps as En, vModelSelect as dl, vModelRadio as ct, vModelCheckbox as mt, Transition as Mn, provide as pt, isRef as Pn } from "vue";
|
|
7
7
|
import { resolveWatermarkLayout as zn, resolveSystemVariables as An, WATERMARK_DEFAULTS as Ge, WATERMARK_DENSITY_PRESETS as Vn, TILE_DEFAULTS as Mt, validateTiling as Gl, computeMaxColumns as In, computeTileLayout as Bn, resolveSheetMm as bl, buildFontFaceCss as Rn, normalizeTemplate as Ln } from "@worm-vue3-print/core";
|
|
@@ -8039,7 +8039,14 @@ const wd = ["src"], xd = ["width", "height", "viewBox"], Cd = ["x", "y", "font-s
|
|
|
8039
8039
|
id: "changelog",
|
|
8040
8040
|
title: "更新记录",
|
|
8041
8041
|
content: `
|
|
8042
|
-
<h2>V1.3.
|
|
8042
|
+
<h2>V1.3.6<small>(2026-10-16)</small></h2>
|
|
8043
|
+
|
|
8044
|
+
<h3>修复</h3>
|
|
8045
|
+
<ul>
|
|
8046
|
+
<li><strong>桌面客户端打印标签不再被转 90°</strong>:宽大于高的标签(如 100×75 mm)经桌面客户端静默打印时,纸上内容会被整体旋转 90°(导出的 PDF 本身是正的)。Windows 上出纸交给 SumatraPDF,它默认会给「宽 > 高」的页面加 90°,现已按页面自身长宽比显式声明方向;macOS / Linux 上此前的纸张声明因出纸参数漏传从未真正下发,现已一并修复,横向单据(横向 A4、宽幅自定义纸)在 macOS 与 Linux 上也都不再被打印系统转 90°。</li>
|
|
8047
|
+
</ul>
|
|
8048
|
+
|
|
8049
|
+
<h2>V1.3.5<small>(2026-10-05)</small></h2>
|
|
8043
8050
|
|
|
8044
8051
|
<h3>移除</h3>
|
|
8045
8052
|
<ul>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worm-vue3-print/canvas",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue 3 可视化打印模板设计器画布(开源核心,无 Element Plus、无宿主业务依赖)",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -17,9 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"author":
|
|
21
|
-
"name": "Worm Base AI"
|
|
22
|
-
},
|
|
20
|
+
"author": "worm <liu_long_qqcom@qq.com>",
|
|
23
21
|
"repository": {
|
|
24
22
|
"type": "git",
|
|
25
23
|
"url": "git+https://gitee.com/liulong_oschina/worm-vue3-print.git"
|
|
@@ -42,7 +40,7 @@
|
|
|
42
40
|
"vue": "^3.5.0"
|
|
43
41
|
},
|
|
44
42
|
"dependencies": {
|
|
45
|
-
"@worm-vue3-print/core": "^1.3.
|
|
43
|
+
"@worm-vue3-print/core": "^1.3.6",
|
|
46
44
|
"dompurify": "^3.4.12",
|
|
47
45
|
"jsbarcode": "^3.12.3",
|
|
48
46
|
"lucide-vue-next": "^0.577.0",
|