@worm-print-platform/canvas 1.6.5 → 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.
- package/README.md +1 -1
- package/dist/browser-bundle.d.ts +1 -1
- package/dist/canvas.js +52 -52
- 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 +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +182 -173
- package/dist/print-designer.d.ts +3 -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/print-designer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @worm-print-platform/canvas v1.6.
|
|
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
|
|
@@ -217,6 +217,8 @@ export declare class PrintDesignerElement extends HTMLElement {
|
|
|
217
217
|
private onDrop;
|
|
218
218
|
/** 纸面 mm 落点(对应 Vue 3 轨 的 toPaperPoint):不取整,越出纸张左上角即视为无效 */
|
|
219
219
|
private pointToPaperMm;
|
|
220
|
+
/** 鼠标是否落在 .canvas-area 的滚动条上。滚动条点击的 target 即容器本身。 */
|
|
221
|
+
private isOnScrollbar;
|
|
220
222
|
private onCanvasMouseDown;
|
|
221
223
|
private onCanvasMouseMove;
|
|
222
224
|
private clearCoord;
|
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.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.
|
|
8
|
+
export declare const CANVAS_VERSION = "1.6.6";
|
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.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.
|
|
58
|
-
"@worm-print-platform/plugin-kit": "^1.6.
|
|
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"
|