@printstack/print-studio 0.0.0-stage → 0.1.1

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 (429) hide show
  1. package/README.md +246 -2
  2. package/assets/render.worker-Ch4qWx3S.js +109 -0
  3. package/cloneDeep-PCw2ErRl.js +1923 -0
  4. package/components/base-dialog/base-dialog.vue.d.ts +56 -0
  5. package/components/base-dialog/index.d.ts +2 -0
  6. package/components/base-dialog/types.d.ts +20 -0
  7. package/components/button-group/ButtonGroup.d.ts +64 -0
  8. package/components/button-group/index.d.ts +2 -0
  9. package/components/error-fallback/ErrorBoundary.d.ts +15 -0
  10. package/components/error-fallback/browser.d.ts +7 -0
  11. package/components/error-fallback/core.d.ts +36 -0
  12. package/components/error-fallback/exceptions/SilentException.d.ts +7 -0
  13. package/components/error-fallback/index.d.ts +8 -0
  14. package/components/error-fallback/rules/silent-exception.d.ts +2 -0
  15. package/components/error-fallback/vue.d.ts +3 -0
  16. package/components/popup-layer/container.d.ts +2 -0
  17. package/components/popup-layer/use-popup-layer.d.ts +6 -0
  18. package/components/popup-layer/with-popup-layer.d.ts +37 -0
  19. package/components/print-s-logo/print-s-logo.vue.d.ts +12 -0
  20. package/components/s-form/FieldRenderer.d.ts +21 -0
  21. package/components/s-form/SForm.d.ts +77 -0
  22. package/components/s-form/adapter.d.ts +61 -0
  23. package/components/s-form/builtin.d.ts +1 -0
  24. package/components/s-form/context.d.ts +44 -0
  25. package/components/s-form/diagnostics.d.ts +28 -0
  26. package/components/s-form/field-status.d.ts +18 -0
  27. package/components/s-form/index.d.ts +15 -0
  28. package/components/s-form/layouts/CollapseToggle.d.ts +28 -0
  29. package/components/s-form/layouts/FlexLayout.d.ts +89 -0
  30. package/components/s-form/layouts/GridLayout.d.ts +67 -0
  31. package/components/s-form/registry.d.ts +31 -0
  32. package/components/s-form/schema.d.ts +9 -0
  33. package/components/s-form/states.d.ts +59 -0
  34. package/components/s-form/types.d.ts +550 -0
  35. package/components/s-form/use-form-layout.d.ts +21 -0
  36. package/components/s-form/use-form-model.d.ts +15 -0
  37. package/components/s-form/utils.d.ts +76 -0
  38. package/composables/use-json-object-input.d.ts +10 -0
  39. package/composables/use-keyboard-shortcuts.d.ts +16 -0
  40. package/composables/use-z-index.d.ts +9 -0
  41. package/core/align.d.ts +43 -0
  42. package/core/binding-expression.d.ts +25 -0
  43. package/core/binding-formatters.d.ts +43 -0
  44. package/core/data-context.d.ts +73 -0
  45. package/core/data-source-path.d.ts +10 -0
  46. package/core/data-source.d.ts +26 -0
  47. package/core/document-expand.d.ts +7 -0
  48. package/core/document-model.d.ts +56 -0
  49. package/core/document-variable-resolver.d.ts +10 -0
  50. package/core/document-variables.d.ts +23 -0
  51. package/core/element-group.d.ts +73 -0
  52. package/core/element-registry.d.ts +229 -0
  53. package/core/element-transform.d.ts +12 -0
  54. package/core/errors.d.ts +20 -0
  55. package/core/events.d.ts +311 -0
  56. package/core/flow-expand.d.ts +13 -0
  57. package/core/follow-block.d.ts +9 -0
  58. package/core/follow-layout.d.ts +8 -0
  59. package/core/geometry.d.ts +110 -0
  60. package/core/index.d.ts +5 -0
  61. package/core/inspector.d.ts +27 -0
  62. package/core/layout-references.d.ts +8 -0
  63. package/core/overflow-expand.d.ts +7 -0
  64. package/core/page-extensions.d.ts +26 -0
  65. package/core/page-layout.d.ts +6 -0
  66. package/core/parser-version.d.ts +2 -0
  67. package/core/pointer-drag.d.ts +33 -0
  68. package/core/render/barcode.d.ts +26 -0
  69. package/core/render/canvas.d.ts +3 -0
  70. package/core/render/color.d.ts +19 -0
  71. package/core/render/dash.d.ts +4 -0
  72. package/core/render/element-warning.d.ts +3 -0
  73. package/core/render/fonts.d.ts +20 -0
  74. package/core/render/frame.d.ts +10 -0
  75. package/core/render/html.d.ts +11 -0
  76. package/core/render/image.d.ts +13 -0
  77. package/core/render/jspdf-loader.d.ts +6 -0
  78. package/core/render/pdf-draw.d.ts +64 -0
  79. package/core/render/qrcode.d.ts +15 -0
  80. package/core/render/render-task.d.ts +7 -0
  81. package/core/render/resource-data.d.ts +1 -0
  82. package/core/render/resource-task.d.ts +5 -0
  83. package/core/render/text-layout.d.ts +34 -0
  84. package/core/repeat-expand.d.ts +17 -0
  85. package/core/repeat-layout.d.ts +15 -0
  86. package/core/runtime-config.d.ts +12 -0
  87. package/core/types.d.ts +289 -0
  88. package/core/units.d.ts +15 -0
  89. package/core/z-index.d.ts +41 -0
  90. package/core.js +48 -0
  91. package/cost-sheet-Dwg0rt_l.js +1600 -0
  92. package/designer/commands/builtins.d.ts +2 -0
  93. package/designer/commands/command-registry.d.ts +39 -0
  94. package/designer/commands/domain-commands.d.ts +2 -0
  95. package/designer/commands/menu-adapter.d.ts +12 -0
  96. package/designer/commands/menu-interaction.d.ts +2 -0
  97. package/designer/commands/menu-types.d.ts +28 -0
  98. package/designer/commands/types.d.ts +57 -0
  99. package/designer/commands/use-command-shortcuts.d.ts +2 -0
  100. package/designer/components/bars/check-toggle.vue.d.ts +14 -0
  101. package/designer/components/bars/menu-bar.vue.d.ts +11 -0
  102. package/designer/components/bars/options-bar.vue.d.ts +3 -0
  103. package/designer/components/bars/tool-bar.vue.d.ts +3 -0
  104. package/designer/components/binding/binding-picker.vue.d.ts +23 -0
  105. package/designer/components/binding/binding-presets.d.ts +9 -0
  106. package/designer/components/binding/field-tree.vue.d.ts +21 -0
  107. package/designer/components/binding/schema-tree-editor.vue.d.ts +13 -0
  108. package/designer/components/binding/use-binding-expression.d.ts +41 -0
  109. package/designer/components/binding/use-binding-preview.d.ts +14 -0
  110. package/designer/components/binding/use-binding-sources.d.ts +37 -0
  111. package/designer/components/binding/use-binding-submission.d.ts +16 -0
  112. package/designer/components/designer-shell.vue.d.ts +16 -0
  113. package/designer/components/dialogs/apply-template-dialog.vue.d.ts +3 -0
  114. package/designer/components/dialogs/canvas-color-dialog.vue.d.ts +3 -0
  115. package/designer/components/dialogs/data-source-dialog.vue.d.ts +3 -0
  116. package/designer/components/dialogs/dialog-session-host.vue.d.ts +21 -0
  117. package/designer/components/dialogs/element-dialog.vue.d.ts +7 -0
  118. package/designer/components/dialogs/element-settings-workspace.vue.d.ts +28 -0
  119. package/designer/components/dialogs/export-progress-dialog.vue.d.ts +3 -0
  120. package/designer/components/dialogs/follow-dialog.vue.d.ts +3 -0
  121. package/designer/components/dialogs/follow-manager-dialog.vue.d.ts +3 -0
  122. package/designer/components/dialogs/guide-dialog.vue.d.ts +3 -0
  123. package/designer/components/dialogs/page-dialog.vue.d.ts +3 -0
  124. package/designer/components/dialogs/preview-dialog.vue.d.ts +12 -0
  125. package/designer/components/dialogs/print-preview-dialog.vue.d.ts +14 -0
  126. package/designer/components/dialogs/print-preview-source.d.ts +22 -0
  127. package/designer/components/dialogs/repeat-dialog.vue.d.ts +3 -0
  128. package/designer/components/dialogs/repeat-manager-dialog.vue.d.ts +3 -0
  129. package/designer/components/dialogs/template-library-dialog.vue.d.ts +3 -0
  130. package/designer/components/dialogs/tutorial-dialog.vue.d.ts +3 -0
  131. package/designer/components/dialogs/use-data-source-sample.d.ts +18 -0
  132. package/designer/components/dialogs/use-document-preview.d.ts +33 -0
  133. package/designer/components/dialogs/use-preview-renderer.d.ts +32 -0
  134. package/designer/components/dialogs/use-preview-viewport.d.ts +37 -0
  135. package/designer/components/dialogs/use-print-preview.d.ts +33 -0
  136. package/designer/components/dialogs/use-template-catalog.d.ts +51 -0
  137. package/designer/components/dialogs/use-template-preview.d.ts +35 -0
  138. package/designer/components/fields/field-boolean.vue.d.ts +20 -0
  139. package/designer/components/fields/field-color.vue.d.ts +20 -0
  140. package/designer/components/fields/field-data-preview.vue.d.ts +12 -0
  141. package/designer/components/fields/field-image.vue.d.ts +14 -0
  142. package/designer/components/fields/field-table-borders.vue.d.ts +22 -0
  143. package/designer/components/fields/field-table-cell-style.vue.d.ts +13 -0
  144. package/designer/components/fields/field-table-continuation-layout.vue.d.ts +14 -0
  145. package/designer/components/fields/field-table-merge-rules.vue.d.ts +13 -0
  146. package/designer/components/fields/field-table-rows.vue.d.ts +13 -0
  147. package/designer/components/fields/field-table-structure.vue.d.ts +19 -0
  148. package/designer/components/fields/field-table.vue.d.ts +21 -0
  149. package/designer/components/fields/use-table-cells.d.ts +38 -0
  150. package/designer/components/fields/use-table-column-resize.d.ts +11 -0
  151. package/designer/components/fields/use-table-columns.d.ts +19 -0
  152. package/designer/components/fields/use-table-draft.d.ts +569 -0
  153. package/designer/components/fields/use-table-header-selection.d.ts +25 -0
  154. package/designer/components/fields/use-table-headers.d.ts +22 -0
  155. package/designer/components/fields/use-table-selection.d.ts +32 -0
  156. package/designer/components/forms/collection-picker-field.vue.d.ts +12 -0
  157. package/designer/components/forms/designer-field.vue.d.ts +23 -0
  158. package/designer/components/forms/designer-form.vue.d.ts +28 -0
  159. package/designer/components/forms/form-presentation.d.ts +6 -0
  160. package/designer/components/forms/inspector-schema.d.ts +9 -0
  161. package/designer/components/forms/table-inspector-control.vue.d.ts +24 -0
  162. package/designer/components/panels/control-panel.vue.d.ts +3 -0
  163. package/designer/components/panels/info-bar.vue.d.ts +7 -0
  164. package/designer/components/panels/inspector-field.vue.d.ts +13 -0
  165. package/designer/components/panels/layers-panel.vue.d.ts +3 -0
  166. package/designer/components/panels/pages-panel.vue.d.ts +3 -0
  167. package/designer/components/panels/panel-column.vue.d.ts +11 -0
  168. package/designer/components/panels/panel-dock.vue.d.ts +3 -0
  169. package/designer/components/panels/panel-group.vue.d.ts +12 -0
  170. package/designer/components/panels/transform-fields.d.ts +4 -0
  171. package/designer/components/panels/use-panel-drop-target.d.ts +24 -0
  172. package/designer/components/panels/use-panel-interactions.d.ts +22 -0
  173. package/designer/components/previews/barcode-preview.vue.d.ts +8 -0
  174. package/designer/components/previews/ellipse-preview.vue.d.ts +8 -0
  175. package/designer/components/previews/image-preview.vue.d.ts +8 -0
  176. package/designer/components/previews/line-preview.vue.d.ts +10 -0
  177. package/designer/components/previews/qrcode-preview.vue.d.ts +8 -0
  178. package/designer/components/previews/rect-preview.vue.d.ts +8 -0
  179. package/designer/components/previews/table-preview.vue.d.ts +8 -0
  180. package/designer/components/previews/text-preview.vue.d.ts +8 -0
  181. package/designer/components/stage/canvas-stage.vue.d.ts +3 -0
  182. package/designer/components/stage/element-renderer.vue.d.ts +12 -0
  183. package/designer/components/stage/follow-overlay.vue.d.ts +8 -0
  184. package/designer/components/stage/guides-drag-layer.vue.d.ts +3 -0
  185. package/designer/components/stage/guides-layer.vue.d.ts +8 -0
  186. package/designer/components/stage/inline-text-editor.vue.d.ts +16 -0
  187. package/designer/components/stage/page-view.vue.d.ts +10 -0
  188. package/designer/components/stage/repeat-overlay.vue.d.ts +8 -0
  189. package/designer/components/stage/ruler.vue.d.ts +6 -0
  190. package/designer/components/stage/selection-overlay.vue.d.ts +10 -0
  191. package/designer/components/stage/template-editing-banner.vue.d.ts +3 -0
  192. package/designer/components/stage/use-stage-pan.d.ts +6 -0
  193. package/designer/components/stage/use-stage-viewport.d.ts +13 -0
  194. package/designer/components/startup/startup-loading-view.vue.d.ts +9 -0
  195. package/designer/components/startup/startup-loading.d.ts +7 -0
  196. package/designer/components/ui/align-grid.vue.d.ts +9 -0
  197. package/designer/components/ui/align-icons.d.ts +3 -0
  198. package/designer/components/ui/align-target.vue.d.ts +3 -0
  199. package/designer/components/ui/context-menu.vue.d.ts +3 -0
  200. package/designer/components/ui/dialog-tabs.vue.d.ts +15 -0
  201. package/designer/components/ui/extension-slot.vue.d.ts +6 -0
  202. package/designer/components/ui/fallback-block.vue.d.ts +42 -0
  203. package/designer/components/ui/form-block.vue.d.ts +27 -0
  204. package/designer/components/ui/hint-text.vue.d.ts +23 -0
  205. package/designer/components/ui/icon-button.vue.d.ts +24 -0
  206. package/designer/components/ui/icon.vue.d.ts +6 -0
  207. package/designer/components/ui/icons.d.ts +2 -0
  208. package/designer/components/ui/menu-items.vue.d.ts +11 -0
  209. package/designer/components/ui/panel-frame.vue.d.ts +21 -0
  210. package/designer/components/ui/toast-host.vue.d.ts +3 -0
  211. package/designer/components/ui/tool-icon.vue.d.ts +6 -0
  212. package/designer/components/variable-text/use-variable-text-bindings.d.ts +9 -0
  213. package/designer/components/variable-text/use-variable-text-editor.d.ts +38 -0
  214. package/designer/components/variable-text/variable-formatter-editor.vue.d.ts +16 -0
  215. package/designer/components/variable-text/variable-text-field.vue.d.ts +33 -0
  216. package/designer/components/variable-text/variable-text-preview.vue.d.ts +7 -0
  217. package/designer/composables/use-restored-ui-state.d.ts +2 -0
  218. package/designer/config/canvas-background.d.ts +18 -0
  219. package/designer/context/editor-context.d.ts +64 -0
  220. package/designer/context/editor-runtime.d.ts +11 -0
  221. package/designer/context/editor-view.d.ts +8 -0
  222. package/designer/context/inspector-layout.d.ts +7 -0
  223. package/designer/context/use-element-definition.d.ts +1 -0
  224. package/designer/events/store-event-bindings.d.ts +7 -0
  225. package/designer/facade/bindings.d.ts +6 -0
  226. package/designer/facade/editing.d.ts +43 -0
  227. package/designer/facade/elements.d.ts +37 -0
  228. package/designer/facade/entities.d.ts +15364 -0
  229. package/designer/facade/output.d.ts +21 -0
  230. package/designer/facade/pages.d.ts +204 -0
  231. package/designer/facade/print-studio.d.ts +3 -0
  232. package/designer/facade/state.d.ts +10 -0
  233. package/designer/facade/use-print-studio.d.ts +6 -0
  234. package/designer/frame/entry.d.ts +0 -0
  235. package/designer/frame/host.d.ts +7 -0
  236. package/designer/frame/print-designer-frame.vue.d.ts +25 -0
  237. package/designer/frame/shared.d.ts +32 -0
  238. package/designer/frame/view.d.ts +15 -0
  239. package/designer/interactions/create.d.ts +3 -0
  240. package/designer/interactions/geometry-update.d.ts +3 -0
  241. package/designer/interactions/guides.d.ts +7 -0
  242. package/designer/interactions/marquee.d.ts +3 -0
  243. package/designer/interactions/move.d.ts +3 -0
  244. package/designer/interactions/point.d.ts +3 -0
  245. package/designer/interactions/pointer-drag.d.ts +3 -0
  246. package/designer/interactions/resize-strategies.d.ts +23 -0
  247. package/designer/interactions/snap.d.ts +48 -0
  248. package/designer/interactions/transform.d.ts +5 -0
  249. package/designer/mount-print-designer.d.ts +2 -0
  250. package/designer/mount-print-preview.d.ts +5 -0
  251. package/designer/plugins/builtins.d.ts +6 -0
  252. package/designer/plugins/context-menu-guard.d.ts +2 -0
  253. package/designer/plugins/domain-builtins.d.ts +5 -0
  254. package/designer/plugins/element-previews.d.ts +2 -0
  255. package/designer/plugins/error-handling.d.ts +5 -0
  256. package/designer/plugins/extension-points.d.ts +34 -0
  257. package/designer/plugins/follow-layout.d.ts +2 -0
  258. package/designer/plugins/panels.d.ts +2 -0
  259. package/designer/plugins/plugin-bootstrap.d.ts +5 -0
  260. package/designer/plugins/plugin-canvas.d.ts +29 -0
  261. package/designer/plugins/plugin-context.d.ts +100 -0
  262. package/designer/plugins/plugin-manager.d.ts +44 -0
  263. package/designer/plugins/plugin-scope.d.ts +10 -0
  264. package/designer/plugins/sandbox-plugin.d.ts +9 -0
  265. package/designer/plugins/tdesign-forms.d.ts +32 -0
  266. package/designer/plugins/template-library.d.ts +7 -0
  267. package/designer/plugins/tutorials.d.ts +2 -0
  268. package/designer/plugins/types.d.ts +63 -0
  269. package/designer/presets.d.ts +8 -0
  270. package/designer/print-designer.vue.d.ts +25 -0
  271. package/designer/print-preview.vue.d.ts +4 -0
  272. package/designer/services/document-actions.d.ts +17 -0
  273. package/designer/services/editor-resources.d.ts +6 -0
  274. package/designer/services/element-drop.d.ts +4 -0
  275. package/designer/services/file-reader.d.ts +2 -0
  276. package/designer/services/file-service.d.ts +7 -0
  277. package/designer/services/preference-storage.d.ts +9 -0
  278. package/designer/services/sample-preview.d.ts +16 -0
  279. package/designer/services/stage-service.d.ts +24 -0
  280. package/designer/services/text-input.d.ts +10 -0
  281. package/designer/stores/canvas-store.d.ts +33 -0
  282. package/designer/stores/clipboard-store.d.ts +143 -0
  283. package/designer/stores/config-store.d.ts +80 -0
  284. package/designer/stores/data-source-store.d.ts +58 -0
  285. package/designer/stores/document-store.d.ts +1186 -0
  286. package/designer/stores/editor-store.d.ts +10224 -0
  287. package/designer/stores/element-group-store.d.ts +101 -0
  288. package/designer/stores/element-store.d.ts +237 -0
  289. package/designer/stores/follow-block-store.d.ts +290 -0
  290. package/designer/stores/guide-store.d.ts +44 -0
  291. package/designer/stores/history-store.d.ts +45 -0
  292. package/designer/stores/layout-store.d.ts +18 -0
  293. package/designer/stores/navigation-store.d.ts +56 -0
  294. package/designer/stores/page-store.d.ts +164 -0
  295. package/designer/stores/panel-store.d.ts +526 -0
  296. package/designer/stores/plugin-store.d.ts +19 -0
  297. package/designer/stores/rendering-store.d.ts +120 -0
  298. package/designer/stores/repeat-group-store.d.ts +99 -0
  299. package/designer/stores/scope-store.d.ts +31 -0
  300. package/designer/stores/selection-store.d.ts +101 -0
  301. package/designer/stores/template-store.d.ts +655 -0
  302. package/designer/stores/tutorial-store.d.ts +75 -0
  303. package/designer/stores/types.d.ts +135 -0
  304. package/designer/stores/ui-store.d.ts +723 -0
  305. package/designer/stores/view-store.d.ts +483 -0
  306. package/designer/stores/z-index-store.d.ts +62 -0
  307. package/designer/template-library/builtin/cost-sheet.json.d.ts +1450 -0
  308. package/designer/template-library/builtin/invoice.json.d.ts +3338 -0
  309. package/designer/template-library/builtin/purchase-order.json.d.ts +1541 -0
  310. package/designer/template-library/builtin/welcome.json.d.ts +658 -0
  311. package/designer/template-library/builtin-templates.d.ts +4183 -0
  312. package/designer/template-library/registry.d.ts +13 -0
  313. package/designer/template-library/remote-provider.d.ts +25 -0
  314. package/designer/template-library/types.d.ts +35 -0
  315. package/designer/tools.d.ts +18 -0
  316. package/designer/tutorials/builtins.d.ts +20 -0
  317. package/designer/tutorials/interaction-guard.d.ts +3 -0
  318. package/designer/tutorials/playback.d.ts +17 -0
  319. package/designer/tutorials/scene.d.ts +11 -0
  320. package/designer/tutorials/screenplay.d.ts +3 -0
  321. package/designer/tutorials/types.d.ts +64 -0
  322. package/designer/tutorials/use-tutorial-interaction-guard.d.ts +2 -0
  323. package/designer/tutorials/use-tutorial-playback.d.ts +30 -0
  324. package/designer/types.d.ts +39 -0
  325. package/designer.d.ts +7 -0
  326. package/designer.js +45 -0
  327. package/document-model-GhFP9OGp.js +1302 -0
  328. package/elements/definitions/barcode-element.d.ts +1 -0
  329. package/elements/definitions/ellipse-element.d.ts +1 -0
  330. package/elements/definitions/image-element.d.ts +1 -0
  331. package/elements/definitions/line-element.d.ts +5 -0
  332. package/elements/definitions/qrcode-element.d.ts +1 -0
  333. package/elements/definitions/rect-element.d.ts +1 -0
  334. package/elements/definitions/table-element.d.ts +1 -0
  335. package/elements/definitions/text-element.d.ts +3 -0
  336. package/elements/index.d.ts +8 -0
  337. package/elements/shared/image-drop.d.ts +2 -0
  338. package/elements/shared/line-style.d.ts +4 -0
  339. package/elements/shared/qrcode-inspector.d.ts +7 -0
  340. package/elements/shared/rect-style.d.ts +6 -0
  341. package/elements/shared/shape-props.d.ts +8 -0
  342. package/elements/shared/text-style.d.ts +29 -0
  343. package/elements/table/table-cell-style.d.ts +14 -0
  344. package/elements/table/table-continuation.d.ts +6 -0
  345. package/elements/table/table-html.d.ts +8 -0
  346. package/elements/table/table-layout.d.ts +81 -0
  347. package/elements/table/table-merges.d.ts +3 -0
  348. package/elements/table/table-overflow.d.ts +2 -0
  349. package/elements/table/table-pdf-render.d.ts +3 -0
  350. package/elements/table/table-preview.d.ts +3 -0
  351. package/elements/table/table-render.d.ts +3 -0
  352. package/elements/table/table-structure.d.ts +13 -0
  353. package/elements/table/table-style.d.ts +219 -0
  354. package/host-CuGR8rD6.js +123 -0
  355. package/html2canvas-DGcfD7Np.js +4004 -0
  356. package/index.d.ts +23 -0
  357. package/index.es-LpNWVW4Q.js +5742 -0
  358. package/index.js +84 -0
  359. package/invoice-DuBN6ZCM.js +3282 -0
  360. package/jspdf.es.min-CKTVf941.js +18216 -0
  361. package/locales/adapters/locale-loaders.d.ts +3 -0
  362. package/locales/index.d.ts +11 -0
  363. package/locales/plugin-locales.d.ts +11 -0
  364. package/locales/runtime.d.ts +2084 -0
  365. package/locales/setup.d.ts +3 -0
  366. package/locales/translations/zh-CN/app.json.d.ts +47 -0
  367. package/locales/translations/zh-CN/components.json.d.ts +38 -0
  368. package/locales/translations/zh-CN/core.json.d.ts +127 -0
  369. package/locales/translations/zh-CN/designer.json.d.ts +1562 -0
  370. package/locales/translations/zh-CN/elements.json.d.ts +287 -0
  371. package/locales/translations/zh-CN/parser.json.d.ts +34 -0
  372. package/locales/types.d.ts +8 -0
  373. package/locales/utils.d.ts +5 -0
  374. package/mount-print-designer-BLgVZOnm.js +50 -0
  375. package/mount-print-preview-D7M-1AqH.js +65 -0
  376. package/package.json +46 -4
  377. package/parser/html/html-parser.d.ts +22 -0
  378. package/parser/index.d.ts +28 -0
  379. package/parser/pdf/pdf-parser.d.ts +23 -0
  380. package/parser/prepare-document.d.ts +4 -0
  381. package/parser/prepare-resources.d.ts +7 -0
  382. package/parser/registry.d.ts +6 -0
  383. package/parser/render-runtime.d.ts +39 -0
  384. package/parser/types.d.ts +27 -0
  385. package/parser/worker/render.worker.d.ts +1 -0
  386. package/parser/worker/worker-capabilities.d.ts +6 -0
  387. package/parser/worker/worker-client.d.ts +17 -0
  388. package/parser/worker/worker-handler.d.ts +3 -0
  389. package/parser/worker/worker-protocol.d.ts +55 -0
  390. package/plugins/pen/editing-geometry.d.ts +10 -0
  391. package/plugins/pen/element.d.ts +4 -0
  392. package/plugins/pen/geometry.d.ts +19 -0
  393. package/plugins/pen/index.d.ts +3 -0
  394. package/plugins/pen/locale.d.ts +3 -0
  395. package/plugins/pen/locales/zh-CN.json.d.ts +18 -0
  396. package/plugins/pen/pen-edit-surface.vue.d.ts +10 -0
  397. package/plugins/pen/pen-overlay.vue.d.ts +7 -0
  398. package/plugins/pen/pen-plugin.d.ts +4 -0
  399. package/plugins/pen/pen-preview.vue.d.ts +8 -0
  400. package/plugins/pen/pen-surface.vue.d.ts +9 -0
  401. package/plugins/pen/resources.d.ts +2 -0
  402. package/plugins/saas/client.d.ts +3 -0
  403. package/plugins/saas/errors.d.ts +5 -0
  404. package/plugins/saas/index.d.ts +5 -0
  405. package/plugins/saas/integration.d.ts +2 -0
  406. package/plugins/saas/plugin.d.ts +17 -0
  407. package/plugins/saas/preferences.d.ts +5 -0
  408. package/plugins/saas/types.d.ts +96 -0
  409. package/presets-D3WhkbZK.js +13 -0
  410. package/purchase-order-DNBFPpEZ.js +1526 -0
  411. package/purify.es-BTRXviHm.js +876 -0
  412. package/registries-dZq8MewR.js +9737 -0
  413. package/rolldown-runtime-QGRDbDUS.js +19 -0
  414. package/runtime/browser-output.d.ts +18 -0
  415. package/runtime/document-output.d.ts +21 -0
  416. package/runtime/print-renderer.d.ts +26 -0
  417. package/runtime/registries.d.ts +10 -0
  418. package/runtime.js +45 -0
  419. package/saas-B1H161e1.js +524 -0
  420. package/saas.js +1 -0
  421. package/studio-BFQYHZsg.js +6244 -0
  422. package/studio-types.d.ts +200 -0
  423. package/studio.d.ts +2 -0
  424. package/style.css +2 -0
  425. package/styles/lib.d.ts +0 -0
  426. package/styles.js +0 -0
  427. package/types-Vh_6jhVV.js +5 -0
  428. package/vue.d.ts +13 -0
  429. package/vue.js +32849 -0
@@ -0,0 +1,1600 @@
1
+ // src/designer/template-library/builtin/cost-sheet.json
2
+ var e = [
3
+ {
4
+ description: "成本核算单的核算单位名称",
5
+ key: "company",
6
+ label: "核算单位",
7
+ sampleData: { name: "苏州普印精密制造有限公司" },
8
+ schema: [{
9
+ label: "单位名称",
10
+ name: "name",
11
+ type: "string"
12
+ }]
13
+ },
14
+ {
15
+ description: "成本核算单的编制与审批信息",
16
+ key: "cost",
17
+ label: "核算信息",
18
+ sampleData: {
19
+ approver: "张伟明",
20
+ department: "财务部",
21
+ notes: "本月成本数据截至当月月末,材料价格按当月加权平均价核算。",
22
+ period: "2026年10月",
23
+ preparer: "李慧",
24
+ reviewer: "王建国",
25
+ sheetNo: "CB202610-018"
26
+ },
27
+ schema: [
28
+ {
29
+ label: "核算期间",
30
+ name: "period",
31
+ type: "string"
32
+ },
33
+ {
34
+ label: "单据编号",
35
+ name: "sheetNo",
36
+ type: "string"
37
+ },
38
+ {
39
+ label: "编制部门",
40
+ name: "department",
41
+ type: "string"
42
+ },
43
+ {
44
+ label: "编制说明",
45
+ name: "notes",
46
+ type: "string"
47
+ },
48
+ {
49
+ label: "制表人",
50
+ name: "preparer",
51
+ type: "string"
52
+ },
53
+ {
54
+ label: "审核人",
55
+ name: "reviewer",
56
+ type: "string"
57
+ },
58
+ {
59
+ label: "审批人",
60
+ name: "approver",
61
+ type: "string"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ description: "成本核算单的分类汇总行",
67
+ key: "costSummary",
68
+ label: "成本汇总",
69
+ sampleData: [
70
+ {
71
+ amount: 93847,
72
+ category: "直接材料",
73
+ note: "以领料单汇总",
74
+ ratio: "41.7%"
75
+ },
76
+ {
77
+ amount: 57572,
78
+ category: "直接人工",
79
+ note: "以工资单汇总",
80
+ ratio: "25.6%"
81
+ },
82
+ {
83
+ amount: 44932,
84
+ category: "制造费用",
85
+ note: "制造费用与其他费用合并列示",
86
+ ratio: "20.0%"
87
+ },
88
+ {
89
+ amount: 28634,
90
+ category: "其他费用",
91
+ note: "",
92
+ ratio: ""
93
+ }
94
+ ],
95
+ schema: [
96
+ {
97
+ label: "成本项目",
98
+ name: "category",
99
+ type: "string"
100
+ },
101
+ {
102
+ label: "金额(元)",
103
+ name: "amount",
104
+ type: "number"
105
+ },
106
+ {
107
+ label: "占比",
108
+ name: "ratio",
109
+ type: "string"
110
+ },
111
+ {
112
+ label: "备注",
113
+ name: "note",
114
+ type: "string"
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ description: "成本核算单的费用明细行",
120
+ key: "costItems",
121
+ label: "成本明细",
122
+ sampleData: [
123
+ {
124
+ amount: 53010,
125
+ category: "直接材料",
126
+ detail: "铝合金板材2mm",
127
+ price: 28.5,
128
+ quantity: 1860,
129
+ ratio: "23.6%",
130
+ unit: "kg"
131
+ },
132
+ {
133
+ amount: 15456,
134
+ category: "直接材料",
135
+ detail: "ABS工程塑料",
136
+ price: 16.8,
137
+ quantity: 920,
138
+ ratio: "6.9%",
139
+ unit: "kg"
140
+ },
141
+ {
142
+ amount: 8320,
143
+ category: "直接材料",
144
+ detail: "包装纸箱5号",
145
+ price: 3.2,
146
+ quantity: 2600,
147
+ ratio: "3.7%",
148
+ unit: "只"
149
+ },
150
+ {
151
+ amount: 513,
152
+ category: "直接材料",
153
+ detail: "冲压工序",
154
+ price: 9,
155
+ quantity: 57,
156
+ ratio: "0.2%",
157
+ unit: "批"
158
+ },
159
+ {
160
+ amount: 752.5,
161
+ category: "直接材料",
162
+ detail: "装配工序",
163
+ price: 10.75,
164
+ quantity: 70,
165
+ ratio: "0.3%",
166
+ unit: "kg"
167
+ },
168
+ {
169
+ amount: 1037.5,
170
+ category: "直接材料",
171
+ detail: "车间水电费",
172
+ price: 12.5,
173
+ quantity: 83,
174
+ ratio: "0.5%",
175
+ unit: "只"
176
+ },
177
+ {
178
+ amount: 1368,
179
+ category: "直接材料",
180
+ detail: "设备折旧",
181
+ price: 14.25,
182
+ quantity: 96,
183
+ ratio: "0.6%",
184
+ unit: "工时"
185
+ },
186
+ {
187
+ amount: 1744,
188
+ category: "直接材料",
189
+ detail: "模具摊销",
190
+ price: 16,
191
+ quantity: 109,
192
+ ratio: "0.8%",
193
+ unit: "台"
194
+ },
195
+ {
196
+ amount: 2165.5,
197
+ category: "直接材料",
198
+ detail: "质检费用",
199
+ price: 17.75,
200
+ quantity: 122,
201
+ ratio: "1.0%",
202
+ unit: "批"
203
+ },
204
+ {
205
+ amount: 2632.5,
206
+ category: "直接材料",
207
+ detail: "铝合金板材2mm",
208
+ price: 19.5,
209
+ quantity: 135,
210
+ ratio: "1.2%",
211
+ unit: "kg"
212
+ },
213
+ {
214
+ amount: 3145,
215
+ category: "直接材料",
216
+ detail: "ABS工程塑料",
217
+ price: 21.25,
218
+ quantity: 148,
219
+ ratio: "1.4%",
220
+ unit: "只"
221
+ },
222
+ {
223
+ amount: 3703,
224
+ category: "直接材料",
225
+ detail: "包装纸箱5号",
226
+ price: 23,
227
+ quantity: 161,
228
+ ratio: "1.6%",
229
+ unit: "工时"
230
+ },
231
+ {
232
+ amount: 28800,
233
+ category: "直接人工",
234
+ detail: "冲压工序",
235
+ price: 45,
236
+ quantity: 640,
237
+ ratio: "12.8%",
238
+ unit: "工时"
239
+ },
240
+ {
241
+ amount: 18240,
242
+ category: "直接人工",
243
+ detail: "装配工序",
244
+ price: 38,
245
+ quantity: 480,
246
+ ratio: "8.1%",
247
+ unit: "工时"
248
+ },
249
+ {
250
+ amount: 319,
251
+ category: "直接人工",
252
+ detail: "包装纸箱5号",
253
+ price: 7.25,
254
+ quantity: 44,
255
+ ratio: "0.1%",
256
+ unit: "台"
257
+ },
258
+ {
259
+ amount: 513,
260
+ category: "直接人工",
261
+ detail: "冲压工序",
262
+ price: 9,
263
+ quantity: 57,
264
+ ratio: "0.2%",
265
+ unit: "批"
266
+ },
267
+ {
268
+ amount: 752.5,
269
+ category: "直接人工",
270
+ detail: "装配工序",
271
+ price: 10.75,
272
+ quantity: 70,
273
+ ratio: "0.3%",
274
+ unit: "kg"
275
+ },
276
+ {
277
+ amount: 1037.5,
278
+ category: "直接人工",
279
+ detail: "车间水电费",
280
+ price: 12.5,
281
+ quantity: 83,
282
+ ratio: "0.5%",
283
+ unit: "只"
284
+ },
285
+ {
286
+ amount: 1368,
287
+ category: "直接人工",
288
+ detail: "设备折旧",
289
+ price: 14.25,
290
+ quantity: 96,
291
+ ratio: "0.6%",
292
+ unit: "工时"
293
+ },
294
+ {
295
+ amount: 1744,
296
+ category: "直接人工",
297
+ detail: "模具摊销",
298
+ price: 16,
299
+ quantity: 109,
300
+ ratio: "0.8%",
301
+ unit: "台"
302
+ },
303
+ {
304
+ amount: 2165.5,
305
+ category: "直接人工",
306
+ detail: "质检费用",
307
+ price: 17.75,
308
+ quantity: 122,
309
+ ratio: "1.0%",
310
+ unit: "批"
311
+ },
312
+ {
313
+ amount: 2632.5,
314
+ category: "直接人工",
315
+ detail: "铝合金板材2mm",
316
+ price: 19.5,
317
+ quantity: 135,
318
+ ratio: "1.2%",
319
+ unit: "kg"
320
+ },
321
+ {
322
+ amount: 21600,
323
+ category: "制造费用",
324
+ detail: "车间水电费",
325
+ price: 21600,
326
+ quantity: 1,
327
+ ratio: "9.6%",
328
+ unit: "月"
329
+ },
330
+ {
331
+ amount: 12800,
332
+ category: "制造费用",
333
+ detail: "设备折旧",
334
+ price: 12800,
335
+ quantity: 1,
336
+ ratio: "5.7%",
337
+ unit: "月"
338
+ },
339
+ {
340
+ amount: 319,
341
+ category: "制造费用",
342
+ detail: "包装纸箱5号",
343
+ price: 7.25,
344
+ quantity: 44,
345
+ ratio: "0.1%",
346
+ unit: "台"
347
+ },
348
+ {
349
+ amount: 513,
350
+ category: "制造费用",
351
+ detail: "冲压工序",
352
+ price: 9,
353
+ quantity: 57,
354
+ ratio: "0.2%",
355
+ unit: "批"
356
+ },
357
+ {
358
+ amount: 752.5,
359
+ category: "制造费用",
360
+ detail: "装配工序",
361
+ price: 10.75,
362
+ quantity: 70,
363
+ ratio: "0.3%",
364
+ unit: "kg"
365
+ },
366
+ {
367
+ amount: 1037.5,
368
+ category: "制造费用",
369
+ detail: "车间水电费",
370
+ price: 12.5,
371
+ quantity: 83,
372
+ ratio: "0.5%",
373
+ unit: "只"
374
+ },
375
+ {
376
+ amount: 1368,
377
+ category: "制造费用",
378
+ detail: "设备折旧",
379
+ price: 14.25,
380
+ quantity: 96,
381
+ ratio: "0.6%",
382
+ unit: "工时"
383
+ },
384
+ {
385
+ amount: 1744,
386
+ category: "制造费用",
387
+ detail: "模具摊销",
388
+ price: 16,
389
+ quantity: 109,
390
+ ratio: "0.8%",
391
+ unit: "台"
392
+ },
393
+ {
394
+ amount: 2165.5,
395
+ category: "制造费用",
396
+ detail: "质检费用",
397
+ price: 17.75,
398
+ quantity: 122,
399
+ ratio: "1.0%",
400
+ unit: "批"
401
+ },
402
+ {
403
+ amount: 2632.5,
404
+ category: "制造费用",
405
+ detail: "铝合金板材2mm",
406
+ price: 19.5,
407
+ quantity: 135,
408
+ ratio: "1.2%",
409
+ unit: "kg"
410
+ },
411
+ {
412
+ amount: 14400,
413
+ category: "其他费用",
414
+ detail: "模具摊销",
415
+ price: 3600,
416
+ quantity: 4,
417
+ ratio: "6.4%",
418
+ unit: "台"
419
+ },
420
+ {
421
+ amount: 8500,
422
+ category: "其他费用",
423
+ detail: "质检费用",
424
+ price: 4250,
425
+ quantity: 2,
426
+ ratio: "3.8%",
427
+ unit: "批"
428
+ },
429
+ {
430
+ amount: 319,
431
+ category: "其他费用",
432
+ detail: "包装纸箱5号",
433
+ price: 7.25,
434
+ quantity: 44,
435
+ ratio: "0.1%",
436
+ unit: "台"
437
+ },
438
+ {
439
+ amount: 513,
440
+ category: "其他费用",
441
+ detail: "冲压工序",
442
+ price: 9,
443
+ quantity: 57,
444
+ ratio: "0.2%",
445
+ unit: "批"
446
+ },
447
+ {
448
+ amount: 752.5,
449
+ category: "其他费用",
450
+ detail: "装配工序",
451
+ price: 10.75,
452
+ quantity: 70,
453
+ ratio: "0.3%",
454
+ unit: "kg"
455
+ },
456
+ {
457
+ amount: 1037.5,
458
+ category: "其他费用",
459
+ detail: "车间水电费",
460
+ price: 12.5,
461
+ quantity: 83,
462
+ ratio: "0.5%",
463
+ unit: "只"
464
+ },
465
+ {
466
+ amount: 1368,
467
+ category: "其他费用",
468
+ detail: "设备折旧",
469
+ price: 14.25,
470
+ quantity: 96,
471
+ ratio: "0.6%",
472
+ unit: "工时"
473
+ },
474
+ {
475
+ amount: 1744,
476
+ category: "其他费用",
477
+ detail: "模具摊销",
478
+ price: 16,
479
+ quantity: 109,
480
+ ratio: "0.8%",
481
+ unit: "台"
482
+ }
483
+ ],
484
+ schema: [{
485
+ children: [
486
+ {
487
+ label: "成本项目",
488
+ name: "category",
489
+ type: "string"
490
+ },
491
+ {
492
+ label: "明细说明",
493
+ name: "detail",
494
+ type: "string"
495
+ },
496
+ {
497
+ label: "计量单位",
498
+ name: "unit",
499
+ type: "string"
500
+ },
501
+ {
502
+ label: "数量",
503
+ name: "quantity",
504
+ type: "number"
505
+ },
506
+ {
507
+ label: "单价(元)",
508
+ name: "price",
509
+ type: "number"
510
+ },
511
+ {
512
+ label: "金额(元)",
513
+ name: "amount",
514
+ type: "number"
515
+ },
516
+ {
517
+ label: "占比",
518
+ name: "ratio",
519
+ type: "string"
520
+ }
521
+ ],
522
+ label: "成本字段",
523
+ name: "item",
524
+ type: "array"
525
+ }]
526
+ }
527
+ ], t = [], n = [{
528
+ elementIds: [
529
+ "el-01a1c8de-0942-73db-90f2-e888a7a025a9",
530
+ "el-01a1c8de-0947-7292-bc57-16d043af6fcd",
531
+ "el-01a1c8de-0948-733d-be96-66264a5167be",
532
+ "el-01a1c8de-0948-733d-be96-6afe0a08ef07"
533
+ ],
534
+ gap: 10,
535
+ id: "block-01a1c8de-0951-7296-9606-e8137de020f6",
536
+ name: "成本汇总区",
537
+ pageId: "page-01a1c8de-093c-73eb-a230-ae233a8d58f2",
538
+ target: {
539
+ id: "el-01a1c8de-0941-7750-9606-139c559a1427",
540
+ kind: "element"
541
+ }
542
+ }], r = "成本核算单", i = [{
543
+ background: "#ffffff",
544
+ elements: [
545
+ {
546
+ height: 5,
547
+ id: "el-01a1c8de-0948-733d-be96-6f752d63b10a",
548
+ locked: !1,
549
+ name: "核算单位信息",
550
+ opacity: 1,
551
+ props: {
552
+ autoHeight: !1,
553
+ background: "transparent",
554
+ color: "#111111",
555
+ fontFamily: "Microsoft YaHei",
556
+ fontSize: 9,
557
+ fontStyle: "normal",
558
+ fontWeight: "400",
559
+ letterSpacing: 0,
560
+ lineHeight: 1.5,
561
+ padding: 0,
562
+ text: "核算单位:{{ company.name }}",
563
+ textAlign: "left",
564
+ textDecoration: "none",
565
+ verticalAlign: "middle"
566
+ },
567
+ rotation: 0,
568
+ type: "text",
569
+ visible: !0,
570
+ width: 100,
571
+ x: 12,
572
+ y: 20
573
+ },
574
+ {
575
+ height: 5,
576
+ id: "el-01a1c8de-0949-7051-b36b-a0dc9609fd0b",
577
+ locked: !1,
578
+ name: "核算期间信息",
579
+ opacity: 1,
580
+ props: {
581
+ autoHeight: !1,
582
+ background: "transparent",
583
+ color: "#111111",
584
+ fontFamily: "Microsoft YaHei",
585
+ fontSize: 9,
586
+ fontStyle: "normal",
587
+ fontWeight: "400",
588
+ letterSpacing: 0,
589
+ lineHeight: 1.5,
590
+ padding: 0,
591
+ text: "核算期间:{{ cost.period }}  单位:元",
592
+ textAlign: "right",
593
+ textDecoration: "none",
594
+ verticalAlign: "middle"
595
+ },
596
+ rotation: 0,
597
+ type: "text",
598
+ visible: !0,
599
+ width: 86,
600
+ x: 112,
601
+ y: 20
602
+ },
603
+ {
604
+ height: 5,
605
+ id: "el-01a1c8de-0949-7051-b36b-a6a5f2785c3b",
606
+ locked: !1,
607
+ name: "编制部门信息",
608
+ opacity: 1,
609
+ props: {
610
+ autoHeight: !1,
611
+ background: "transparent",
612
+ color: "#111111",
613
+ fontFamily: "Microsoft YaHei",
614
+ fontSize: 9,
615
+ fontStyle: "normal",
616
+ fontWeight: "400",
617
+ letterSpacing: 0,
618
+ lineHeight: 1.5,
619
+ padding: 0,
620
+ text: "编制部门:{{ cost.department }}",
621
+ textAlign: "left",
622
+ textDecoration: "none",
623
+ verticalAlign: "middle"
624
+ },
625
+ rotation: 0,
626
+ type: "text",
627
+ visible: !0,
628
+ width: 56,
629
+ x: 12,
630
+ y: 26
631
+ },
632
+ {
633
+ height: 5,
634
+ id: "el-01a1c8de-0949-7051-b36b-a909c8b0127e",
635
+ locked: !1,
636
+ name: "单据编号信息",
637
+ opacity: 1,
638
+ props: {
639
+ autoHeight: !1,
640
+ background: "transparent",
641
+ color: "#111111",
642
+ fontFamily: "Microsoft YaHei",
643
+ fontSize: 7,
644
+ fontStyle: "normal",
645
+ fontWeight: "400",
646
+ letterSpacing: 0,
647
+ lineHeight: 1.2,
648
+ padding: 0,
649
+ text: "单据编号:{{ cost.sheetNo }}  编制日期:{{ $document.now | date:yyyy年MM月dd日 }}",
650
+ textAlign: "right",
651
+ textDecoration: "none",
652
+ verticalAlign: "middle"
653
+ },
654
+ rotation: 0,
655
+ type: "text",
656
+ visible: !0,
657
+ width: 130,
658
+ x: 68,
659
+ y: 26
660
+ },
661
+ {
662
+ bindings: { rows: "costItems" },
663
+ height: 249,
664
+ id: "el-01a1c8de-0941-7750-9606-139c559a1427",
665
+ locked: !1,
666
+ name: "成本明细表",
667
+ opacity: 1,
668
+ props: {
669
+ background: "#ffffff",
670
+ color: "#222222",
671
+ columns: [
672
+ {
673
+ align: "center",
674
+ bind: "category",
675
+ title: "成本项目",
676
+ width: 1.2
677
+ },
678
+ {
679
+ align: "left",
680
+ bind: "detail",
681
+ title: "明细说明",
682
+ width: 2.4
683
+ },
684
+ {
685
+ align: "center",
686
+ bind: "unit",
687
+ title: "计量单位",
688
+ width: .9
689
+ },
690
+ {
691
+ align: "right",
692
+ bind: "quantity",
693
+ title: "数量",
694
+ width: .9
695
+ },
696
+ {
697
+ align: "right",
698
+ bind: "price",
699
+ format: {
700
+ digits: 2,
701
+ type: "thousand"
702
+ },
703
+ title: "单价(元)",
704
+ width: 1
705
+ },
706
+ {
707
+ align: "right",
708
+ bind: "amount",
709
+ format: {
710
+ digits: 2,
711
+ type: "thousand"
712
+ },
713
+ title: "金额(元)",
714
+ width: 1.3
715
+ },
716
+ {
717
+ align: "right",
718
+ bind: "ratio",
719
+ title: "占比",
720
+ width: .9
721
+ }
722
+ ],
723
+ fontFamily: "Microsoft YaHei",
724
+ fontSize: 9,
725
+ headerAlign: "center",
726
+ headerBackground: "#eaf3ef",
727
+ headerColor: "#36675e",
728
+ headerVisible: !0,
729
+ heightMode: "auto",
730
+ minRowHeightMm: 6.5,
731
+ nullText: "",
732
+ padding: 1.2,
733
+ rows: [
734
+ [
735
+ "直接材料",
736
+ "铝合金板材2mm",
737
+ "kg",
738
+ "1860",
739
+ "28.50",
740
+ "53010.00",
741
+ "23.6%"
742
+ ],
743
+ [
744
+ "直接材料",
745
+ "ABS工程塑料",
746
+ "kg",
747
+ "920",
748
+ "16.80",
749
+ "15456.00",
750
+ "6.9%"
751
+ ],
752
+ [
753
+ "直接材料",
754
+ "包装纸箱5号",
755
+ "只",
756
+ "2600",
757
+ "3.20",
758
+ "8320.00",
759
+ "3.7%"
760
+ ],
761
+ [
762
+ "直接材料",
763
+ "冲压工序",
764
+ "批",
765
+ "57",
766
+ "9.00",
767
+ "513.00",
768
+ "0.2%"
769
+ ],
770
+ [
771
+ "直接材料",
772
+ "装配工序",
773
+ "kg",
774
+ "70",
775
+ "10.75",
776
+ "752.50",
777
+ "0.3%"
778
+ ],
779
+ [
780
+ "直接材料",
781
+ "车间水电费",
782
+ "只",
783
+ "83",
784
+ "12.50",
785
+ "1037.50",
786
+ "0.5%"
787
+ ],
788
+ [
789
+ "直接材料",
790
+ "设备折旧",
791
+ "工时",
792
+ "96",
793
+ "14.25",
794
+ "1368.00",
795
+ "0.6%"
796
+ ],
797
+ [
798
+ "直接材料",
799
+ "模具摊销",
800
+ "台",
801
+ "109",
802
+ "16.00",
803
+ "1744.00",
804
+ "0.8%"
805
+ ],
806
+ [
807
+ "直接材料",
808
+ "质检费用",
809
+ "批",
810
+ "122",
811
+ "17.75",
812
+ "2165.50",
813
+ "1.0%"
814
+ ],
815
+ [
816
+ "直接材料",
817
+ "铝合金板材2mm",
818
+ "kg",
819
+ "135",
820
+ "19.50",
821
+ "2632.50",
822
+ "1.2%"
823
+ ],
824
+ [
825
+ "直接材料",
826
+ "ABS工程塑料",
827
+ "只",
828
+ "148",
829
+ "21.25",
830
+ "3145.00",
831
+ "1.4%"
832
+ ],
833
+ [
834
+ "直接材料",
835
+ "包装纸箱5号",
836
+ "工时",
837
+ "161",
838
+ "23.00",
839
+ "3703.00",
840
+ "1.6%"
841
+ ],
842
+ [
843
+ "直接人工",
844
+ "冲压工序",
845
+ "工时",
846
+ "640",
847
+ "45.00",
848
+ "28800.00",
849
+ "12.8%"
850
+ ],
851
+ [
852
+ "直接人工",
853
+ "装配工序",
854
+ "工时",
855
+ "480",
856
+ "38.00",
857
+ "18240.00",
858
+ "8.1%"
859
+ ],
860
+ [
861
+ "直接人工",
862
+ "包装纸箱5号",
863
+ "台",
864
+ "44",
865
+ "7.25",
866
+ "319.00",
867
+ "0.1%"
868
+ ],
869
+ [
870
+ "直接人工",
871
+ "冲压工序",
872
+ "批",
873
+ "57",
874
+ "9.00",
875
+ "513.00",
876
+ "0.2%"
877
+ ],
878
+ [
879
+ "直接人工",
880
+ "装配工序",
881
+ "kg",
882
+ "70",
883
+ "10.75",
884
+ "752.50",
885
+ "0.3%"
886
+ ],
887
+ [
888
+ "直接人工",
889
+ "车间水电费",
890
+ "只",
891
+ "83",
892
+ "12.50",
893
+ "1037.50",
894
+ "0.5%"
895
+ ],
896
+ [
897
+ "直接人工",
898
+ "设备折旧",
899
+ "工时",
900
+ "96",
901
+ "14.25",
902
+ "1368.00",
903
+ "0.6%"
904
+ ],
905
+ [
906
+ "直接人工",
907
+ "模具摊销",
908
+ "台",
909
+ "109",
910
+ "16.00",
911
+ "1744.00",
912
+ "0.8%"
913
+ ],
914
+ [
915
+ "直接人工",
916
+ "质检费用",
917
+ "批",
918
+ "122",
919
+ "17.75",
920
+ "2165.50",
921
+ "1.0%"
922
+ ],
923
+ [
924
+ "直接人工",
925
+ "铝合金板材2mm",
926
+ "kg",
927
+ "135",
928
+ "19.50",
929
+ "2632.50",
930
+ "1.2%"
931
+ ],
932
+ [
933
+ "制造费用",
934
+ "车间水电费",
935
+ "月",
936
+ "1",
937
+ "21600.00",
938
+ "21600.00",
939
+ "9.6%"
940
+ ],
941
+ [
942
+ "制造费用",
943
+ "设备折旧",
944
+ "月",
945
+ "1",
946
+ "12800.00",
947
+ "12800.00",
948
+ "5.7%"
949
+ ],
950
+ [
951
+ "制造费用",
952
+ "包装纸箱5号",
953
+ "台",
954
+ "44",
955
+ "7.25",
956
+ "319.00",
957
+ "0.1%"
958
+ ],
959
+ [
960
+ "制造费用",
961
+ "冲压工序",
962
+ "批",
963
+ "57",
964
+ "9.00",
965
+ "513.00",
966
+ "0.2%"
967
+ ],
968
+ [
969
+ "制造费用",
970
+ "装配工序",
971
+ "kg",
972
+ "70",
973
+ "10.75",
974
+ "752.50",
975
+ "0.3%"
976
+ ],
977
+ [
978
+ "制造费用",
979
+ "车间水电费",
980
+ "只",
981
+ "83",
982
+ "12.50",
983
+ "1037.50",
984
+ "0.5%"
985
+ ],
986
+ [
987
+ "制造费用",
988
+ "设备折旧",
989
+ "工时",
990
+ "96",
991
+ "14.25",
992
+ "1368.00",
993
+ "0.6%"
994
+ ],
995
+ [
996
+ "制造费用",
997
+ "模具摊销",
998
+ "台",
999
+ "109",
1000
+ "16.00",
1001
+ "1744.00",
1002
+ "0.8%"
1003
+ ],
1004
+ [
1005
+ "制造费用",
1006
+ "质检费用",
1007
+ "批",
1008
+ "122",
1009
+ "17.75",
1010
+ "2165.50",
1011
+ "1.0%"
1012
+ ],
1013
+ [
1014
+ "制造费用",
1015
+ "铝合金板材2mm",
1016
+ "kg",
1017
+ "135",
1018
+ "19.50",
1019
+ "2632.50",
1020
+ "1.2%"
1021
+ ],
1022
+ [
1023
+ "其他费用",
1024
+ "模具摊销",
1025
+ "台",
1026
+ "4",
1027
+ "3600.00",
1028
+ "14400.00",
1029
+ "6.4%"
1030
+ ],
1031
+ [
1032
+ "其他费用",
1033
+ "质检费用",
1034
+ "批",
1035
+ "2",
1036
+ "4250.00",
1037
+ "8500.00",
1038
+ "3.8%"
1039
+ ],
1040
+ [
1041
+ "其他费用",
1042
+ "包装纸箱5号",
1043
+ "台",
1044
+ "44",
1045
+ "7.25",
1046
+ "319.00",
1047
+ "0.1%"
1048
+ ],
1049
+ [
1050
+ "其他费用",
1051
+ "冲压工序",
1052
+ "批",
1053
+ "57",
1054
+ "9.00",
1055
+ "513.00",
1056
+ "0.2%"
1057
+ ],
1058
+ [
1059
+ "其他费用",
1060
+ "装配工序",
1061
+ "kg",
1062
+ "70",
1063
+ "10.75",
1064
+ "752.50",
1065
+ "0.3%"
1066
+ ],
1067
+ [
1068
+ "其他费用",
1069
+ "车间水电费",
1070
+ "只",
1071
+ "83",
1072
+ "12.50",
1073
+ "1037.50",
1074
+ "0.5%"
1075
+ ],
1076
+ [
1077
+ "其他费用",
1078
+ "设备折旧",
1079
+ "工时",
1080
+ "96",
1081
+ "14.25",
1082
+ "1368.00",
1083
+ "0.6%"
1084
+ ],
1085
+ [
1086
+ "其他费用",
1087
+ "模具摊销",
1088
+ "台",
1089
+ "109",
1090
+ "16.00",
1091
+ "1744.00",
1092
+ "0.8%"
1093
+ ]
1094
+ ],
1095
+ stripe: !0,
1096
+ stripeColor: "#f6faf9",
1097
+ borders: {
1098
+ inner: {
1099
+ color: "#aabfc0",
1100
+ style: "solid",
1101
+ width: .2
1102
+ },
1103
+ mode: "all",
1104
+ outer: {
1105
+ color: "#36675e",
1106
+ style: "solid",
1107
+ width: .3
1108
+ }
1109
+ },
1110
+ summary: {
1111
+ borders: {
1112
+ inner: {
1113
+ color: "#999999",
1114
+ style: "solid",
1115
+ width: .2
1116
+ },
1117
+ mode: "all",
1118
+ outer: {
1119
+ color: "#999999",
1120
+ style: "solid",
1121
+ width: .2
1122
+ }
1123
+ },
1124
+ columns: {
1125
+ 0: {
1126
+ text: "合计",
1127
+ type: "text"
1128
+ },
1129
+ 5: { type: "sum" }
1130
+ },
1131
+ enabled: !0,
1132
+ position: "bottom",
1133
+ scope: "lastPage",
1134
+ style: { bold: !0 }
1135
+ },
1136
+ overflow: {
1137
+ elementId: "",
1138
+ enabled: !1,
1139
+ message: "以明细为准",
1140
+ messageAlign: "",
1141
+ messageVAlign: "",
1142
+ scope: "all",
1143
+ templateId: "",
1144
+ threshold: 8
1145
+ },
1146
+ pagination: {
1147
+ crossPage: !0,
1148
+ fillEmptyRows: !1,
1149
+ fixedRows: !1,
1150
+ positionMode: "flow",
1151
+ repeatHeader: !0,
1152
+ rowsPerPage: 0
1153
+ },
1154
+ merges: [],
1155
+ mergeRules: [{
1156
+ columns: [0],
1157
+ fields: ["category"],
1158
+ type: "fields"
1159
+ }],
1160
+ headerMerges: [
1161
+ {
1162
+ col: 0,
1163
+ colspan: 3,
1164
+ row: 0,
1165
+ rowspan: 1
1166
+ },
1167
+ {
1168
+ col: 3,
1169
+ colspan: 1,
1170
+ row: 0,
1171
+ rowspan: 2
1172
+ },
1173
+ {
1174
+ col: 4,
1175
+ colspan: 3,
1176
+ row: 0,
1177
+ rowspan: 1
1178
+ }
1179
+ ],
1180
+ headerRows: [[
1181
+ "成本构成",
1182
+ "",
1183
+ "",
1184
+ "耗用情况",
1185
+ "金额信息(元)",
1186
+ "",
1187
+ ""
1188
+ ], [
1189
+ "成本项目",
1190
+ "明细说明",
1191
+ "计量单位",
1192
+ "数量",
1193
+ "单价(元)",
1194
+ "金额(元)",
1195
+ "占比"
1196
+ ]],
1197
+ headerVAlign: "middle",
1198
+ headerWrap: !0
1199
+ },
1200
+ rotation: 0,
1201
+ type: "table",
1202
+ visible: !0,
1203
+ width: 186,
1204
+ x: 12,
1205
+ y: 32
1206
+ },
1207
+ {
1208
+ height: 5,
1209
+ id: "el-01a1c8de-0942-73db-90f2-e888a7a025a9",
1210
+ locked: !1,
1211
+ name: "成本汇总标签",
1212
+ opacity: 1,
1213
+ props: {
1214
+ autoHeight: !1,
1215
+ background: "transparent",
1216
+ color: "#36675e",
1217
+ fontFamily: "Microsoft YaHei",
1218
+ fontSize: 9.5,
1219
+ fontStyle: "normal",
1220
+ fontWeight: "700",
1221
+ letterSpacing: 0,
1222
+ lineHeight: 1.5,
1223
+ padding: 0,
1224
+ text: "成本汇总",
1225
+ textAlign: "left",
1226
+ textDecoration: "none",
1227
+ verticalAlign: "middle"
1228
+ },
1229
+ rotation: 0,
1230
+ type: "text",
1231
+ visible: !0,
1232
+ width: 60,
1233
+ x: 12,
1234
+ y: 291
1235
+ },
1236
+ {
1237
+ bindings: { rows: "costSummary" },
1238
+ height: 38,
1239
+ id: "el-01a1c8de-0947-7292-bc57-16d043af6fcd",
1240
+ locked: !1,
1241
+ name: "成本汇总表",
1242
+ opacity: 1,
1243
+ props: {
1244
+ background: "#ffffff",
1245
+ color: "#222222",
1246
+ columns: [
1247
+ {
1248
+ align: "center",
1249
+ bind: "category",
1250
+ title: "成本项目",
1251
+ width: 1.4
1252
+ },
1253
+ {
1254
+ align: "right",
1255
+ bind: "amount",
1256
+ format: {
1257
+ digits: 2,
1258
+ type: "thousand"
1259
+ },
1260
+ title: "金额(元)",
1261
+ width: 1.2
1262
+ },
1263
+ {
1264
+ align: "center",
1265
+ bind: "ratio",
1266
+ title: "占比",
1267
+ width: 1
1268
+ },
1269
+ {
1270
+ align: "left",
1271
+ bind: "note",
1272
+ title: "备注",
1273
+ width: 2.4
1274
+ }
1275
+ ],
1276
+ fontFamily: "Microsoft YaHei",
1277
+ fontSize: 9,
1278
+ headerAlign: "",
1279
+ headerBackground: "#eaf3ef",
1280
+ headerColor: "#36675e",
1281
+ headerVisible: !0,
1282
+ heightMode: "fixed",
1283
+ minRowHeightMm: 0,
1284
+ nullText: "",
1285
+ padding: 1.2,
1286
+ rows: [
1287
+ [
1288
+ "直接材料",
1289
+ "93847.00",
1290
+ "41.7%",
1291
+ "以领料单汇总"
1292
+ ],
1293
+ [
1294
+ "直接人工",
1295
+ "57572.00",
1296
+ "25.6%",
1297
+ "以工资单汇总"
1298
+ ],
1299
+ [
1300
+ "制造费用",
1301
+ "44932.00",
1302
+ "20.0%",
1303
+ "制造费用与其他费用合并列示"
1304
+ ],
1305
+ [
1306
+ "其他费用",
1307
+ "28634.00",
1308
+ "",
1309
+ ""
1310
+ ]
1311
+ ],
1312
+ stripe: !1,
1313
+ stripeColor: "#f6faf9",
1314
+ borders: {
1315
+ inner: {
1316
+ color: "#aabfc0",
1317
+ style: "solid",
1318
+ width: .2
1319
+ },
1320
+ mode: "all",
1321
+ outer: {
1322
+ color: "#36675e",
1323
+ style: "solid",
1324
+ width: .3
1325
+ }
1326
+ },
1327
+ summary: {
1328
+ columns: {},
1329
+ enabled: !1,
1330
+ position: "bottom",
1331
+ scope: "lastPage"
1332
+ },
1333
+ overflow: {
1334
+ elementId: "",
1335
+ enabled: !1,
1336
+ message: "以明细为准",
1337
+ messageAlign: "",
1338
+ messageVAlign: "",
1339
+ scope: "all",
1340
+ templateId: "",
1341
+ threshold: 8
1342
+ },
1343
+ pagination: {
1344
+ crossPage: !1,
1345
+ fillEmptyRows: !1,
1346
+ fixedRows: !1,
1347
+ positionMode: "fixed",
1348
+ repeatHeader: !1,
1349
+ rowsPerPage: 0
1350
+ },
1351
+ merges: [{
1352
+ col: 2,
1353
+ colspan: 1,
1354
+ row: 2,
1355
+ rowspan: 2
1356
+ }, {
1357
+ col: 3,
1358
+ colspan: 1,
1359
+ row: 2,
1360
+ rowspan: 2
1361
+ }],
1362
+ mergeRules: []
1363
+ },
1364
+ rotation: 0,
1365
+ type: "table",
1366
+ visible: !0,
1367
+ width: 186,
1368
+ x: 12,
1369
+ y: 300
1370
+ },
1371
+ {
1372
+ height: 14,
1373
+ id: "el-01a1c8de-0948-733d-be96-66264a5167be",
1374
+ locked: !1,
1375
+ name: "编制说明",
1376
+ opacity: 1,
1377
+ props: {
1378
+ autoHeight: !1,
1379
+ background: "transparent",
1380
+ color: "#555555",
1381
+ fontFamily: "Microsoft YaHei",
1382
+ fontSize: 8.5,
1383
+ fontStyle: "normal",
1384
+ fontWeight: "400",
1385
+ letterSpacing: 0,
1386
+ lineHeight: 1.7,
1387
+ padding: 0,
1388
+ text: "说明:{{ cost.notes }}",
1389
+ textAlign: "left",
1390
+ textDecoration: "none",
1391
+ verticalAlign: "top"
1392
+ },
1393
+ rotation: 0,
1394
+ type: "text",
1395
+ visible: !0,
1396
+ width: 186,
1397
+ x: 12,
1398
+ y: 342
1399
+ },
1400
+ {
1401
+ height: 5,
1402
+ id: "el-01a1c8de-0948-733d-be96-6afe0a08ef07",
1403
+ locked: !1,
1404
+ name: "签署行",
1405
+ opacity: 1,
1406
+ props: {
1407
+ autoHeight: !1,
1408
+ background: "transparent",
1409
+ color: "#111111",
1410
+ fontFamily: "Microsoft YaHei",
1411
+ fontSize: 9,
1412
+ fontStyle: "normal",
1413
+ fontWeight: "400",
1414
+ letterSpacing: 0,
1415
+ lineHeight: 1.5,
1416
+ padding: 0,
1417
+ text: "制表人:{{ cost.preparer }}  审核人:{{ cost.reviewer }}  审批人:{{ cost.approver }}",
1418
+ textAlign: "left",
1419
+ textDecoration: "none",
1420
+ verticalAlign: "middle"
1421
+ },
1422
+ rotation: 0,
1423
+ type: "text",
1424
+ visible: !0,
1425
+ width: 186,
1426
+ x: 12,
1427
+ y: 360
1428
+ }
1429
+ ],
1430
+ guides: [],
1431
+ height: 297,
1432
+ id: "page-01a1c8de-093c-73eb-a230-ae233a8d58f2",
1433
+ margins: {
1434
+ bottom: 16,
1435
+ left: 12,
1436
+ right: 12,
1437
+ top: 16
1438
+ },
1439
+ name: "成本核算单页",
1440
+ templateId: "template-01a1c8de-093a-7223-a122-036bb4c9cc91",
1441
+ width: 210
1442
+ }], a = [], o = [{
1443
+ builtin: !0,
1444
+ evenPages: !0,
1445
+ facingPages: !1,
1446
+ id: "template-blank",
1447
+ name: "空白模板",
1448
+ oddPages: !0,
1449
+ page: {
1450
+ background: "#ffffff",
1451
+ elements: [],
1452
+ guides: [],
1453
+ height: 297,
1454
+ id: "template-blank",
1455
+ name: "空白模板",
1456
+ width: 210
1457
+ }
1458
+ }, {
1459
+ builtin: !1,
1460
+ evenPages: !0,
1461
+ facingPages: !1,
1462
+ id: "template-01a1c8de-093a-7223-a122-036bb4c9cc91",
1463
+ name: "核算单页",
1464
+ oddPages: !0,
1465
+ page: {
1466
+ background: "#ffffff",
1467
+ elements: [
1468
+ {
1469
+ height: 11,
1470
+ id: "el-01a1c8de-093a-7223-a122-0bd3abf9fd96",
1471
+ locked: !1,
1472
+ name: "核算单标题",
1473
+ opacity: 1,
1474
+ props: {
1475
+ autoHeight: !1,
1476
+ background: "transparent",
1477
+ color: "#36675e",
1478
+ fontFamily: "Microsoft YaHei",
1479
+ fontSize: 16,
1480
+ fontStyle: "normal",
1481
+ fontWeight: "700",
1482
+ letterSpacing: 0,
1483
+ lineHeight: 1.3,
1484
+ padding: 0,
1485
+ text: "成本核算单",
1486
+ textAlign: "left",
1487
+ textDecoration: "none",
1488
+ verticalAlign: "middle"
1489
+ },
1490
+ rotation: 0,
1491
+ type: "text",
1492
+ visible: !0,
1493
+ width: 146,
1494
+ x: 12,
1495
+ y: 5
1496
+ },
1497
+ {
1498
+ height: 11,
1499
+ id: "el-01a1c8de-093b-74f1-9d88-d4a4fd8c2c9d",
1500
+ locked: !1,
1501
+ name: "单号条码",
1502
+ opacity: 1,
1503
+ props: {
1504
+ background: "transparent",
1505
+ color: "#111111",
1506
+ displayValue: !1,
1507
+ fontSize: 9,
1508
+ format: "CODE128",
1509
+ margin: 0,
1510
+ value: "{{ cost.sheetNo }}"
1511
+ },
1512
+ rotation: 0,
1513
+ type: "barcode",
1514
+ visible: !0,
1515
+ width: 40,
1516
+ x: 158,
1517
+ y: 5
1518
+ },
1519
+ {
1520
+ height: 4.5,
1521
+ id: "el-01a1c8de-093b-74f1-9d88-dad46532847e",
1522
+ locked: !1,
1523
+ name: "打印时间",
1524
+ opacity: 1,
1525
+ props: {
1526
+ autoHeight: !1,
1527
+ background: "transparent",
1528
+ color: "#666666",
1529
+ fontFamily: "Microsoft YaHei",
1530
+ fontSize: 7.5,
1531
+ fontStyle: "normal",
1532
+ fontWeight: "400",
1533
+ letterSpacing: 0,
1534
+ lineHeight: 1.5,
1535
+ padding: 0,
1536
+ text: "打印时间:{{ $document.now | date:yyyy-MM-dd HH:mm }}",
1537
+ textAlign: "left",
1538
+ textDecoration: "none",
1539
+ verticalAlign: "middle"
1540
+ },
1541
+ rotation: 0,
1542
+ type: "text",
1543
+ visible: !0,
1544
+ width: 100,
1545
+ x: 12,
1546
+ y: 287
1547
+ },
1548
+ {
1549
+ height: 4.5,
1550
+ id: "el-01a1c8de-093b-74f1-9d88-ddfec8593755",
1551
+ locked: !1,
1552
+ name: "页码",
1553
+ opacity: 1,
1554
+ props: {
1555
+ autoHeight: !1,
1556
+ background: "transparent",
1557
+ color: "#666666",
1558
+ fontFamily: "Microsoft YaHei",
1559
+ fontSize: 6,
1560
+ fontStyle: "normal",
1561
+ fontWeight: "400",
1562
+ letterSpacing: 0,
1563
+ lineHeight: 1.2,
1564
+ padding: 0,
1565
+ text: "第 {{ $document.pageNumber }} 页 / 共 {{ $document.pageCount }} 页",
1566
+ textAlign: "right",
1567
+ textDecoration: "none",
1568
+ verticalAlign: "middle"
1569
+ },
1570
+ rotation: 0,
1571
+ type: "text",
1572
+ visible: !0,
1573
+ width: 86,
1574
+ x: 112,
1575
+ y: 287
1576
+ }
1577
+ ],
1578
+ guides: [],
1579
+ height: 297,
1580
+ id: "template-01a1c8de-093a-7223-a122-036bb4c9cc91",
1581
+ margins: {
1582
+ bottom: 16,
1583
+ left: 12,
1584
+ right: 12,
1585
+ top: 16
1586
+ },
1587
+ name: "核算单页",
1588
+ width: 210
1589
+ }
1590
+ }], s = "1.0", c = {
1591
+ dataSources: e,
1592
+ elementGroups: t,
1593
+ followBlocks: n,
1594
+ name: r,
1595
+ pages: i,
1596
+ repeatGroups: a,
1597
+ templates: o,
1598
+ version: "1.0"
1599
+ };
1600
+ export { e as dataSources, c as default, t as elementGroups, n as followBlocks, r as name, i as pages, a as repeatGroups, o as templates, s as version };