@worm-print-platform/canvas 1.5.2 → 1.6.0

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 (57) hide show
  1. package/README.md +26 -4
  2. package/dist/browser-bundle.d.ts +1 -1
  3. package/dist/canvas.css +2 -2
  4. package/dist/canvas.js +111 -64
  5. package/dist/core/default-template.d.ts +1 -1
  6. package/dist/core/element-definitions.d.ts +1 -1
  7. package/dist/core/format.d.ts +1 -1
  8. package/dist/core/h.d.ts +3 -17
  9. package/dist/core/icons.d.ts +1 -1
  10. package/dist/core/plugin.d.ts +1 -1
  11. package/dist/core/store.d.ts +1 -1
  12. package/dist/host-contract.d.ts +25 -7
  13. package/dist/index.cjs +57 -10
  14. package/dist/index.d.ts +2 -2
  15. package/dist/index.js +1906 -1667
  16. package/dist/print-designer.d.ts +31 -4
  17. package/dist/shell/binding.d.ts +2 -2
  18. package/dist/shell/canvas.d.ts +2 -2
  19. package/dist/shell/code.d.ts +3 -3
  20. package/dist/shell/color-picker.d.ts +3 -39
  21. package/dist/shell/controls.d.ts +14 -11
  22. package/dist/shell/crop-anchor.d.ts +2 -2
  23. package/dist/shell/elements.d.ts +2 -2
  24. package/dist/shell/expression-editor.d.ts +3 -28
  25. package/dist/shell/flow-list.d.ts +2 -2
  26. package/dist/shell/font-select.d.ts +1 -1
  27. package/dist/shell/format-bar.d.ts +2 -2
  28. package/dist/shell/help-content/advanced-settings.d.ts +1 -1
  29. package/dist/shell/help-content/changelog.d.ts +1 -1
  30. package/dist/shell/help-content/faq.d.ts +1 -1
  31. package/dist/shell/help-content/features.d.ts +1 -1
  32. package/dist/shell/help-content/getting-started.d.ts +1 -1
  33. package/dist/shell/help-content/index.d.ts +1 -1
  34. package/dist/shell/help-content/shortcuts.d.ts +1 -1
  35. package/dist/shell/help-modal.d.ts +1 -1
  36. package/dist/shell/page-extras.d.ts +1 -1
  37. package/dist/shell/panels.d.ts +4 -4
  38. package/dist/shell/plugin-ui.d.ts +1 -1
  39. package/dist/shell/prop-group.d.ts +1 -1
  40. package/dist/shell/property-panel.d.ts +1 -1
  41. package/dist/shell/property-search.d.ts +1 -1
  42. package/dist/shell/ruler.d.ts +1 -1
  43. package/dist/shell/table-props.d.ts +1 -1
  44. package/dist/shell/table.d.ts +1 -1
  45. package/dist/shell/toolbar-overflow.d.ts +2 -2
  46. package/dist/shell/toolbar.d.ts +2 -2
  47. package/dist/shell/watermark.d.ts +1 -1
  48. package/dist/theme-tokens.d.ts +21 -0
  49. package/dist/version.d.ts +8 -0
  50. package/dist/vue3/PrintDesigner.d.ts +24 -1
  51. package/dist/vue3/PrintHtmlPreview.d.ts +1 -1
  52. package/dist/vue3/index.cjs +2 -2
  53. package/dist/vue3/index.d.ts +1 -1
  54. package/dist/vue3/index.js +70 -60
  55. package/dist/vue3/previewStyle.d.ts +1 -1
  56. package/dist/vue3/toolbarOverflow.d.ts +1 -1
  57. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @worm-print-platform/canvas v1.5.2
2
+ * @worm-print-platform/canvas v1.6.0
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
@@ -11,7 +11,7 @@ export { createDefaultTemplate } from './core/default-template';
11
11
  export { BUILTIN_ELEMENT_DEFINITIONS, getElementDefinition, getElementDefinitions, getMaterialElementDefinitions, getElementPropertyGroup, getElementDblEditableField, getElementLayerIcon, registerElementDefinition, registerElementRenderer, registerElementRenderers, subscribeElementDefinitions, resetElementDefinitions, } from './core/element-definitions';
12
12
  export type { ElementDefinition, ElementContentHost, ElementContentRenderer, ElementPropertyGroup, } from './core/element-definitions';
13
13
  export { PRINT_DESIGNER_CONTRACT_VERSION, PRINT_DESIGNER_TAG, PRINT_DESIGNER_ATTRIBUTES, PRINT_DESIGNER_BOOLEAN_ATTRIBUTES, PRINT_DESIGNER_EVENT, PRINT_DESIGNER_EVENTS, PRINT_DESIGNER_EVENT_OPTIONS, PRINT_DESIGNER_PARTS, PRINT_DESIGNER_THEME_TOKENS, PRINT_DESIGNER_METHODS, PRINT_DESIGNER_PROPERTY_NAMES, getHostContract, } from './host-contract';
14
- export type { PrintDesignerAttribute, PrintDesignerBooleanAttribute, PrintDesignerDesignData, PrintDesignerProperties, PrintDesignerMethods, PrintDesignerEventMap, PrintDesignerEventName, PrintDesignerCustomEvent, PrintDesignerPart, PrintDesignerThemeToken, PrintDesignerHostContract, } from './host-contract';
14
+ export type { PrintDesignerAttribute, PrintDesignerBooleanAttribute, PrintDesignerDesignData, PrintDesignerProperties, PrintDesignerMethods, PrintDesignerEventMap, PrintDesignerEventName, PrintDesignerCustomEvent, PrintDesignerPart, PrintDesignerThemeToken, PrintDesignerThemeMode, PrintDesignerThemeConfig, PrintDesignerHostContract, } from './host-contract';
15
15
  export { BUILTIN_ELEMENT_CAPABILITIES, getElementCapabilities, getElementCapabilityTypes, registerElementCapabilities, resetElementCapabilities, } from '@worm-print-platform/core/designer';
16
16
  export type { ElementCapabilities, ResolvedElementCapabilities } from '@worm-print-platform/core/designer';
17
17
  export type { ElementType, ElementZone, MultiPageTemplateData, PrintBusinessField, RuntimeElement, TableSelection, TemplateData, } from '@worm-print-platform/core/designer';