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