@gct-paas/excel 0.1.40-beta.3 → 0.1.40-beta.5

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 (114) hide show
  1. package/dist/{BaseComponent-B9o59n-h.js → BaseComponent-BlDgF4NL.js} +2 -2
  2. package/dist/{VueVideoPlayer-CAWYWBHi.js → VueVideoPlayer-abpwAqu3.js} +2 -2
  3. package/dist/{align-editor-a4DQt4Un.js → align-editor-BdF6r-Gs.js} +1 -1
  4. package/dist/{barcode-design-CBqUEPYu.js → barcode-design-Dqzu8TED.js} +2 -2
  5. package/dist/base/index.es.js +291 -205
  6. package/dist/{diagonal-design-u23896Ky.js → diagonal-design-OOLJ1YWE.js} +2 -2
  7. package/dist/{dynamic-table-action-BWI4Gaqi.js → dynamic-table-action-C__4AVW6.js} +175 -95
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js} +654 -405
  9. package/dist/{edit.utils-CXmmCnxE-XxpC8ALV.js → edit.utils-CXmmCnxE-CaVD32MC.js} +1 -1
  10. package/dist/excel.css +345 -178
  11. package/dist/{exceljs.min-DfbB110X.js → exceljs.min-C3uJ_Ieg.js} +2 -2
  12. package/dist/{font-editor-BtSCLMrM.js → font-editor-BZvGZaYO.js} +3 -3
  13. package/dist/{image-design-CtE-Lw7N.js → image-design-Dt_97Q--.js} +2 -2
  14. package/dist/{index-Ca9TLzUh.js → index--9zZnmyE.js} +1 -1
  15. package/dist/{index-ixQwAcB1.js → index-6_pgVPOb.js} +860 -488
  16. package/dist/{index-CPTGioxl.js → index-B2xCe29Z.js} +1 -1
  17. package/dist/{index-DdWefZMa.js → index-BDvLu-0F.js} +2 -2
  18. package/dist/{index-DeHX7rte.js → index-BGHQz2Uj.js} +50 -3
  19. package/dist/{index-CAdDeEzJ.js → index-BOehk-Mo.js} +2 -2
  20. package/dist/{index-BRQkrFQ9.js → index-BcSq5laa.js} +2 -2
  21. package/dist/{index-CL9K9orM.js → index-Bes3atoZ.js} +2 -2
  22. package/dist/{index-BfBuxgcp.js → index-Bn4BqmG_.js} +2 -2
  23. package/dist/{index-51LtNdZ2.js → index-Bxdq78c9.js} +1 -1
  24. package/dist/{index-I1r5pfu5.js → index-C-wSYnoD.js} +2 -2
  25. package/dist/{index-BGAcYDx-.js → index-CD04dkRd.js} +1 -1
  26. package/dist/{index-CeEhYXl9.js → index-CKnArHCM.js} +2 -2
  27. package/dist/{index-CIa37rQm.js → index-CMzci3SX.js} +2 -2
  28. package/dist/{index-BC8hQ4vo.js → index-CVJadZzs.js} +2 -2
  29. package/dist/{index-CpPk8P3L.js → index-Cvj6_0dy.js} +1 -1
  30. package/dist/{index-Bnb70qEi.js → index-CwvVx_5V.js} +3 -3
  31. package/dist/{index-BKXb3VJc.js → index-Cy17m87b.js} +2 -2
  32. package/dist/{index-7aS5L4ot.js → index-Cy3658Zd.js} +3 -3
  33. package/dist/{index-Bc61F6Hm.js → index-D2bXGJMB.js} +2 -2
  34. package/dist/{index-Dyomjz3y.js → index-D4lTMizD.js} +2 -2
  35. package/dist/{index-731OYkrc.js → index-DF5OI_Xj.js} +3 -3
  36. package/dist/{index-CdHVHaxO.js → index-DJqTfkOe.js} +2 -2
  37. package/dist/{index-BP-LhXXV.js → index-DLx-4gQ_.js} +4 -4
  38. package/dist/{index-DVEe11uM.js → index-DMVoiSyn.js} +1 -1
  39. package/dist/{index-IVc1dOet.js → index-DVFXRZRw.js} +3 -3
  40. package/dist/{index-9S48hpoJ.js → index-DbN8jrOK.js} +2 -2
  41. package/dist/{index-CVsoaxTR.js → index-DfAWRc7u.js} +2 -2
  42. package/dist/{index-B0cdcIWq.js → index-DgvOxMoA.js} +2 -2
  43. package/dist/{index-BFg5eUdY.js → index-DhJQOZHh.js} +1 -1
  44. package/dist/{index-BMoz_QhA.js → index-DiZHDEas.js} +1 -1
  45. package/dist/{index-CYLAVQfT.js → index-DzAPpHun.js} +2 -2
  46. package/dist/{index-aNV9T6LI.js → index-Lrse9db3.js} +2 -2
  47. package/dist/{index-3WwCV4xR.js → index-NiQurze3.js} +1 -1
  48. package/dist/{index-DNj0vFvx.js → index-ZBaLDzvn.js} +1 -1
  49. package/dist/index.es.js +12 -10
  50. package/dist/{mb-render-Bs9S9oFn.js → mb-render-CDFmykM_.js} +1 -1
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js} +8 -1
  52. package/dist/{pagination-design-CmbsdlMe.js → pagination-design-Dz7y8YKu.js} +2 -2
  53. package/dist/paper-widget-design-BlIbv2tj.js +4 -0
  54. package/dist/{print-runtime-instance-DQysbz5n.js → print-runtime-instance-Bq1p758u.js} +1 -1
  55. package/dist/{print-snapshot-renderer-DWHjMsOC.js → print-snapshot-renderer-BWVZ-Lql.js} +3 -3
  56. package/dist/{qrcode-design-CX0_2mLC.js → qrcode-design-Dq0tczvD.js} +1 -1
  57. package/dist/{revo-grid.entry-DbmWFi7p.js → revo-grid.entry-BKZT_dju.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-BWQDu7fq.js → revogr-attribution_7.entry-CXdkYl1q.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-BtTYHFZi.js → revogr-clipboard_3.entry-Dq9k6E4q.js} +2 -2
  60. package/dist/{revogr-data_4.entry-CWPXyZ7g.js → revogr-data_4.entry-CpBkj9S_.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-5gYct0XI.js → revogr-filter-panel.entry-Bu5hYWK7.js} +1 -1
  62. package/dist/seal-design-LHZWDjEb.js +4 -0
  63. package/dist/{serialnumber-design-aSqL4gX6.js → serialnumber-design-DUqW6M9C.js} +1 -1
  64. package/dist/shared/index.es.js +26 -24
  65. package/dist/{single-field-drop-C67wLHxK.js → single-field-drop-MXmkrdjF.js} +2 -2
  66. package/dist/{size-editor-BHGTPLir.js → size-editor-DCVa84rA.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
  68. package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
  69. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
  70. package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
  71. package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
  72. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
  73. package/dist/src/domain/table/index.d.ts +1 -1
  74. package/dist/src/domain/table/types.d.ts +2 -0
  75. package/dist/src/index.d.ts +2 -0
  76. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  77. package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
  78. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
  79. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
  80. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +2 -7
  81. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
  82. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +4 -6
  83. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  84. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -0
  85. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  86. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  87. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  88. package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
  89. package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
  90. package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
  91. package/dist/src/shared/enum/index.d.ts +2 -0
  92. package/dist/src/shared/enum/product-type.d.ts +9 -0
  93. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  94. package/dist/{sub-table-factory-DTtDvr17.js → sub-table-factory-BBiAj7oz.js} +13 -62
  95. package/dist/{text-design-Dz0Qf2O3.js → text-design-BfXr3TcH.js} +2 -2
  96. package/dist/{throttle-Cpk1LoGk-CgtsG2CV.js → throttle-Cpk1LoGk-BtY6yO1U.js} +1 -1
  97. package/dist/{timediff-design-D9JfNqH8.js → timediff-design-BF-mVD2d.js} +1 -1
  98. package/dist/{trace-like-wrapper-BXgr0Uv3.js → trace-like-wrapper-2AsEoSS7.js} +2 -2
  99. package/dist/{value-editor.vue_vue_type_style_index_0_lang-doohzADY.js → value-editor.vue_vue_type_style_index_0_lang-D8_zt9JM.js} +2 -2
  100. package/dist/web-render/index.es.js +3 -3
  101. package/dist/{widget-barcode-XF3nCU9v.js → widget-barcode-BMnwSzpx.js} +4 -4
  102. package/dist/{widget-diagonal-DSym7fks.js → widget-diagonal-iuAFZn-R.js} +3 -3
  103. package/dist/{widget-image-CmjwkVs7.js → widget-image-sZeIt4K6.js} +5 -5
  104. package/dist/{widget-line-BX64xVfU.js → widget-line-izrJUAAT.js} +2 -2
  105. package/dist/{widget-pagination-BV89Lvjt.js → widget-pagination-CTANdU2l.js} +5 -5
  106. package/dist/{widget-power-DoSfQv92.js → widget-power-OZD7bTxW.js} +3 -3
  107. package/dist/{widget-qrcode-UGcRLC56.js → widget-qrcode-xvyklot3.js} +3 -3
  108. package/dist/{widget-rangelimit-CUHD__1H.js → widget-rangelimit-BZhTuRkT.js} +3 -3
  109. package/dist/{widget-serialnumber-CAkZR5Xl.js → widget-serialnumber-BwUHV475.js} +1 -1
  110. package/dist/{widget-text-DtYVTThu.js → widget-text-B8MzTxa3.js} +5 -5
  111. package/dist/{widget-timediff-DX_IoCMO.js → widget-timediff-YAH8bbso.js} +2 -2
  112. package/package.json +1 -1
  113. package/dist/paper-widget-design-DIhsk1I9.js +0 -4
  114. package/dist/seal-design-BhzgwVju.js +0 -4
@@ -1,4 +1,4 @@
1
- import { dm as registerInstance, dn as createEvent, dp as getColumnByProp, dq as timeout, dr as getVisibleSourceItem, ds as getColumns, dt as rowTypes, du as GroupingRowPlugin, dv as StretchColumn, dw as isStretchPlugin, dx as AutoSizeColumnPlugin, dy as FilterPlugin, dz as ExportFilePlugin, dA as SortingPlugin, dB as ColumnMovePlugin, dC as ThemeService, dD as h, dE as Host, dF as getElement, dG as BasePlugin, dH as reduce, dI as columnTypes, dJ as debounce, dK as RESIZE_INTERVAL, dL as DimensionStore, dM as gatherTrimmedItems, dN as getColumnSizes, dO as getItemByIndex, dP as DataStore, dQ as getSourceItem, dR as getSourceItemVirtualIndexByProp, dS as getColumnType, dT as setSourceByPhysicalIndex, dU as setSourceByVirtualIndex, dV as SelectionStore, dW as cropCellToMax, dX as nextCell, dY as isRowType, dZ as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
1
+ import { dq as registerInstance, dr as createEvent, ds as getColumnByProp, dt as timeout, du as getVisibleSourceItem, dv as getColumns, dw as rowTypes, dx as GroupingRowPlugin, dy as StretchColumn, dz as isStretchPlugin, dA as AutoSizeColumnPlugin, dB as FilterPlugin, dC as ExportFilePlugin, dD as SortingPlugin, dE as ColumnMovePlugin, dF as ThemeService, dG as h, dH as Host, dI as getElement, dJ as BasePlugin, dK as reduce, dL as columnTypes, dM as debounce, dN as RESIZE_INTERVAL, dO as DimensionStore, dP as gatherTrimmedItems, dQ as getColumnSizes, dR as getItemByIndex, dS as DataStore, dT as getSourceItem, dU as getSourceItemVirtualIndexByProp, dV as getColumnType, dW as setSourceByPhysicalIndex, dX as setSourceByVirtualIndex, dY as SelectionStore, dZ as cropCellToMax, d_ as nextCell, d$ as isRowType, e0 as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
3
3
  import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
4
4
  class ColumnDataProvider {
@@ -1,8 +1,8 @@
1
- import { dm as registerInstance, dD as h, dE as Host, dn as createEvent, dQ as getSourceItem, dF as getElement, e2 as ColumnService, e3 as MOBILE_CLASS, e4 as SELECTION_BORDER_CLASS, e5 as getCellData, e6 as getCellEditor, e7 as getRange, e8 as isRangeSingleCell, e9 as codesLetter, dZ as ViewportStore, dP as DataStore, ea as calculateRowHeaderSize, eb as ROW_HEADER_TYPE, ec as getScrollbarSize, ed as FOCUS_CLASS, dO as getItemByIndex, dq as timeout, ee as CELL_HANDLER_CLASS, dJ as debounce, ef as TMP_SELECTION_BG_CLASS, dK as RESIZE_INTERVAL, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
1
+ import { dq as registerInstance, dG as h, dH as Host, dr as createEvent, dT as getSourceItem, dI as getElement, e5 as ColumnService, e6 as MOBILE_CLASS, e7 as SELECTION_BORDER_CLASS, e8 as getCellData, e9 as getCellEditor, ea as getRange, eb as isRangeSingleCell, ec as codesLetter, e0 as ViewportStore, dS as DataStore, ed as calculateRowHeaderSize, ee as ROW_HEADER_TYPE, ef as getScrollbarSize, eg as FOCUS_CLASS, dR as getItemByIndex, dt as timeout, eh as CELL_HANDLER_CLASS, dM as debounce, ei as TMP_SELECTION_BG_CLASS, dN as RESIZE_INTERVAL, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
3
- import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-XxpC8ALV.js";
3
+ import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-CaVD32MC.js";
4
4
  import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
5
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-CgtsG2CV.js";
5
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BtY6yO1U.js";
6
6
  const Attribution = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
@@ -1,5 +1,5 @@
1
- import { dq as timeout, dm as registerInstance, dn as createEvent, dD as h, eh as EDIT_INPUT_WR, dE as Host, dF as getElement, dJ as debounce, ek as DRAGG_TEXT, dQ as getSourceItem, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
- import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-XxpC8ALV.js";
1
+ import { dt as timeout, dq as registerInstance, dr as createEvent, dG as h, ek as EDIT_INPUT_WR, dH as Host, dI as getElement, dM as debounce, en as DRAGG_TEXT, dT as getSourceItem, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
+ import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-CaVD32MC.js";
3
3
  class TextEditor {
4
4
  constructor(data, saveCallback) {
5
5
  this.data = data;
@@ -1,5 +1,5 @@
1
- import { el as PSEUDO_GROUP_ITEM, em as GROUP_EXPANDED, en as GROUP_DEPTH, dD as h, eo as GROUP_EXPAND_BTN, ep as DATA_ROW, dQ as getSourceItem, eq as isGroupingColumn, er as GROUP_COLUMN_PROP, es as getCellRaw, et as DATA_COL, eu as CELL_CLASS, ev as Build, ew as isRowDragService, ex as DRAG_ICON_CLASS, ey as DRAGGABLE_CLASS, ez as getCellDataParsed, eA as GROUP_EXPAND_EVENT, dm as registerInstance, dn as createEvent, e2 as ColumnService, eB as isGrouping, dE as Host, dF as getElement, dO as getItemByIndex, eC as HEADER_ROW_CLASS, eD as HEADER_ACTUAL_ROW_CLASS, eE as ROW_FOCUSED_CLASS, eF as HEADER_SORTABLE_CLASS, eG as MIN_COL_SIZE, ed as FOCUS_CLASS, eH as FilterButton, eI as HeaderCellRenderer, eJ as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-CgtsG2CV.js";
1
+ import { eo as PSEUDO_GROUP_ITEM, ep as GROUP_EXPANDED, eq as GROUP_DEPTH, dG as h, er as GROUP_EXPAND_BTN, es as DATA_ROW, dT as getSourceItem, et as isGroupingColumn, eu as GROUP_COLUMN_PROP, ev as getCellRaw, ew as DATA_COL, ex as CELL_CLASS, ey as Build, ez as isRowDragService, eA as DRAG_ICON_CLASS, eB as DRAGGABLE_CLASS, eC as getCellDataParsed, eD as GROUP_EXPAND_EVENT, dq as registerInstance, dr as createEvent, e5 as ColumnService, eE as isGrouping, dH as Host, dI as getElement, dR as getItemByIndex, eF as HEADER_ROW_CLASS, eG as HEADER_ACTUAL_ROW_CLASS, eH as ROW_FOCUSED_CLASS, eI as HEADER_SORTABLE_CLASS, eJ as MIN_COL_SIZE, eg as FOCUS_CLASS, eK as FilterButton, eL as HeaderCellRenderer, eM as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BtY6yO1U.js";
3
3
  import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
4
4
  const SortingSign = ({ column }) => {
5
5
  var _a;
@@ -1,4 +1,4 @@
1
- import { dm as registerInstance, dn as createEvent, dJ as debounce, dD as h, d_ as AndOrButton, d$ as ReorderButton, e0 as TrashButton, e1 as isFilterBtn, dE as Host, dF as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
1
+ import { dq as registerInstance, dr as createEvent, dM as debounce, dG as h, e1 as AndOrButton, e2 as ReorderButton, e3 as TrashButton, e4 as isFilterBtn, dH as Host, dI as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
2
  (function closest() {
3
3
  if (!Element.prototype.matches) {
4
4
  Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-6_pgVPOb.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
2
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "serialnumber-design",
@@ -1,5 +1,5 @@
1
- import { aH, aB, t, cI, H, aI, aJ, cJ, at, av, F, X, af, G, aA, bl, cK, au, T, cL, V, W, bm, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
- import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js";
1
+ import { aJ, aF, u, cL, I, aK, aL, cM, au, aw, F, Y, ag, H, aE, bo, a$, cN, av, T, cO, X, W, bp, aa, V } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
2
+ import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Db5Hce6z.js";
3
3
  var Platform = /* @__PURE__ */ ((Platform2) => {
4
4
  Platform2["WEB"] = "web";
5
5
  Platform2["MOBILE"] = "mobile";
@@ -49,41 +49,43 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
49
49
  return GctMqttTopsEnum2;
50
50
  })(GctMqttTopsEnum || {});
51
51
  export {
52
- aH as ASSIGNMENTSTRATEGY_ENUM,
53
- aB as BASIC_FIELD_TYPES,
54
- t as BUSINESS_FIELD_TYPES,
52
+ aJ as ASSIGNMENTSTRATEGY_ENUM,
53
+ aF as BASIC_FIELD_TYPES,
54
+ u as BUSINESS_FIELD_TYPES,
55
55
  ButtonOpeEnum,
56
56
  ButtonSize,
57
57
  ButtonStyle,
58
58
  ButtonType,
59
59
  ButtonType_vant,
60
- cI as CardControlEnum,
61
- H as CreateType,
62
- aI as Dependency_ENUM,
63
- aJ as EntityModelCategoryEnum,
64
- cJ as EntityModelTypeEnum,
65
- at as ExpressionModeEnum,
66
- av as ExpressionTabEnum,
60
+ cL as CardControlEnum,
61
+ I as CreateType,
62
+ aK as Dependency_ENUM,
63
+ aL as EntityModelCategoryEnum,
64
+ cM as EntityModelTypeEnum,
65
+ au as ExpressionModeEnum,
66
+ aw as ExpressionTabEnum,
67
67
  F as FIELD_TYPE,
68
- X as FieldDefaultValueTypeEnum,
69
- af as FieldIconMap,
70
- G as FieldTypeToJs,
71
- aA as FormDesignEnum,
72
- bl as FormulaRuleFieldKeyEnum,
68
+ Y as FieldDefaultValueTypeEnum,
69
+ ag as FieldIconMap,
70
+ H as FieldTypeToJs,
71
+ aE as FormDesignEnum,
72
+ bo as FormulaRuleFieldKeyEnum,
73
73
  GctMqttTopsEnum,
74
74
  O as OnlineFormModelModal,
75
75
  _ as OnlineFormModelSelect,
76
76
  Platform,
77
- cK as RecordNoGenerateEnum,
78
- au as ReturnTypeEnum,
77
+ P as ProductTypeEnum,
78
+ a$ as ProductionIdentificationTypeEnum,
79
+ cN as RecordNoGenerateEnum,
80
+ av as ReturnTypeEnum,
79
81
  S as SEARCH_SEVICE,
80
82
  SignatureTypeEnum,
81
83
  T as TRACE_FIELD_TYPES,
82
- cL as TagTypeEnum,
83
- V as UniqueConstraintType,
84
+ cO as TagTypeEnum,
85
+ X as UniqueConstraintType,
84
86
  V2 as VersionSelect,
85
87
  W as WAREHOUSE_FIELD_TYPES,
86
- bm as formulaRuleFieldDict,
87
- a9 as normalizeFieldType,
88
- U as onlineFormMasterModelTypeEnum
88
+ bp as formulaRuleFieldDict,
89
+ aa as normalizeFieldType,
90
+ V as onlineFormMasterModelTypeEnum
89
91
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-ixQwAcB1.js";
4
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-6_pgVPOb.js";
4
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
2
+ import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BAl7OidW.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -0,0 +1,2 @@
1
+ import { BusinessFieldProfile } from '../../../../types';
2
+ export declare const fields: BusinessFieldProfile[];
@@ -0,0 +1,2 @@
1
+ import { BusinessFieldProfile } from '../../../../types';
2
+ export declare const fields: BusinessFieldProfile[];
@@ -49,29 +49,37 @@ export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_produc
49
49
  export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
50
50
  readonly optionField: "material_name_";
51
51
  readonly toField: "source_material_no_";
52
+ readonly name: "物料批号";
52
53
  }, {
53
54
  readonly optionField: "product_id_.name_";
54
55
  readonly toField: "source_product_id_name_";
56
+ readonly name: "物料名称";
55
57
  }, {
56
58
  readonly optionField: "product_id_.code_";
57
59
  readonly toField: "source_product_id_code_";
60
+ readonly name: "物料编码";
58
61
  }, {
59
62
  readonly optionField: "product_id_.spec_";
60
63
  readonly toField: "source_product_id_spec_";
64
+ readonly name: "物料规格";
61
65
  }, {
62
66
  readonly optionField: "qty_consumed_";
63
67
  readonly toField: "source_qty_consumed_";
68
+ readonly name: "已消耗数量";
64
69
  }];
65
70
  /** 替换物料批号选项 → 替换物料信息 */
66
71
  export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
67
72
  readonly optionField: "product_id_name_";
68
73
  readonly toField: "target_product_id_name_";
74
+ readonly name: "物料名称";
69
75
  }, {
70
76
  readonly optionField: "product_id_code_";
71
77
  readonly toField: "target_product_id_code_";
78
+ readonly name: "物料编码";
72
79
  }, {
73
80
  readonly optionField: "product_id_spec_";
74
81
  readonly toField: "target_product_id_spec_";
82
+ readonly name: "物料规格";
75
83
  }];
76
84
  /** SN / 工序不影响扫码结果能否复用当前空行。 */
77
85
  export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
@@ -79,18 +87,23 @@ export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "
79
87
  export declare const FILL_FROM_TARGET_PRODUCT_OPTION: readonly [{
80
88
  readonly optionField: "material_name_";
81
89
  readonly toField: "target_material_no_";
90
+ readonly name: "物料批号";
82
91
  }, {
83
92
  readonly optionField: "product_id_.name_";
84
93
  readonly toField: "target_product_id_name_";
94
+ readonly name: "物料名称";
85
95
  }, {
86
96
  readonly optionField: "product_id_.code_";
87
97
  readonly toField: "target_product_id_code_";
98
+ readonly name: "物料编码";
88
99
  }, {
89
100
  readonly optionField: "product_id_.spec_";
90
101
  readonly toField: "target_product_id_spec_";
102
+ readonly name: "物料规格";
91
103
  }, {
92
104
  readonly optionField: "qty_consumed_";
93
105
  readonly toField: "target_qty_consumed_";
106
+ readonly name: "已消耗数量";
94
107
  }];
95
108
  /** 替换物料清空时同步清除批次、物料信息和数量。 */
96
109
  export declare const CLEAR_ON_TARGET_PRODUCT_EMPTY: readonly ["target_material_no_", "target_material_no__id_", "target_material_no__lb_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_", "target_qty_consumed_"];
@@ -0,0 +1,19 @@
1
+ /** 备件业务表的自定义选项字段不一定存在于关联模型元数据中。 */
2
+ export declare const PART_OPTION_FIELD_LABELS: {
3
+ readonly part_name_: "备件名称";
4
+ readonly part_code_: "备件编码";
5
+ readonly specification_: "备件规格";
6
+ readonly unit_: "数量单位";
7
+ };
8
+ export declare const INVENTORY_OPTION_FIELD_LABELS: {
9
+ readonly id_: "库存记录";
10
+ readonly part_id_name_: "备件名称";
11
+ readonly part_id_code_: "备件编码";
12
+ readonly part_id_spec_: "备件规格";
13
+ readonly warehouse_id_: "仓库";
14
+ readonly storage_zone_id_: "库区";
15
+ readonly location_id_: "库位";
16
+ readonly uom_id_: "数量单位";
17
+ readonly validate_: "有效期";
18
+ readonly stock_num_: "库存数量";
19
+ };
@@ -4,6 +4,8 @@ import { AutofillTemplate } from '../types';
4
4
  * @example product_id_ → product_id → product_id_name_
5
5
  */
6
6
  export declare function normalizeRefFieldKey(fieldKey: string): string;
7
+ /** 将 AutofillTemplate 中的 toField 解析为字符串 */
8
+ export declare function resolveAutofillToField(template: AutofillTemplate, sourceFieldKey: string): string;
7
9
  interface ExpandAutofillContext {
8
10
  /** 拖入的源字段 key,如 product_id_ */
9
11
  sourceFieldKey: string;
@@ -6,6 +6,12 @@ interface ApplyFieldProfileInput {
6
6
  /** 子表 SubTableType 或业务子模型 refModelType */
7
7
  subModelType?: string;
8
8
  }
9
+ /** 设计态展示用的内置填充映射,与拖入字段时写入的模板共用一份 Profile。 */
10
+ export declare function getBuiltInAutofillRules(field: ApplyFieldProfileInput): {
11
+ fromField: string;
12
+ toField: string;
13
+ fromFieldLabel: string | undefined;
14
+ }[];
9
15
  /**
10
16
  * 按子表类型 + 字段 key 应用 Profile,返回合并后的 widget 配置片段
11
17
  */
@@ -1,6 +1,6 @@
1
1
  export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './design/ribbon-options';
2
2
  export { resolveSubTableCreate, resolvePanelTypeByTableType } from './design/create-subtable';
3
- export { applyFieldProfileOnAttach } from './design/hooks/on-field-attach';
3
+ export { applyFieldProfileOnAttach, getBuiltInAutofillRules } from './design/hooks/on-field-attach';
4
4
  export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
5
5
  export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
6
6
  export { resolveTableLabelKey } from './design/label';
@@ -44,6 +44,8 @@ export interface ContextAssignmentDef {
44
44
  /** 数据填充模板:拖入关联字段时展开为 autofillRules(设计态消费) */
45
45
  export interface AutofillTemplate {
46
46
  fromField: string;
47
+ /** 自定义选项数据源中的字段名称;设计态展示内置规则时使用 */
48
+ fromFieldLabel?: string;
47
49
  toField: string | ((ctx: {
48
50
  sourceFieldKey: string;
49
51
  }) => string);
@@ -19,6 +19,8 @@ export { calcUsedFields, isReverseModelingEnabled, FieldSceneType, scanField, }
19
19
  export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/src/views/designer/constants';
20
20
  export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
21
21
  export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
22
+ export { getPlacedFieldsByType, getPlacedSealFields, } from './online-form/src/views/designer/utils/template-placed-fields';
23
+ export type { PlacedFormField } from './online-form/src/views/designer/utils/placed-fields';
22
24
  export { VersionSelect } from './shared/components/version-select';
23
25
  export { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
24
26
  export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
@@ -3,6 +3,7 @@ import { SubTableActionEnum } from '../../components/document-sub-table-action';
3
3
  import { IDefaultValueMap, IFieldStatus, IRuntimeSubTableCtx } from '../types';
4
4
  import { TdHandler } from '../utils/td-handler';
5
5
  import { SubTableCoreFactory } from '../factory/sub-table-factory';
6
+ import { ScanRecordPickerOptions } from '../../types/render/sub-table-render';
6
7
  import { FormModelController } from '../../hooks/form-model';
7
8
  import { RefCustomLoader } from '../../interface/ref-loader';
8
9
  /**
@@ -188,7 +189,7 @@ export declare class SubTableCore {
188
189
  /**
189
190
  * 扫码多条候选时选择一行(1 条自动选中)
190
191
  */
191
- protected pickScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
192
+ protected pickScanRecord(records: Record<string, unknown>[], options?: ScanRecordPickerOptions): Promise<Record<string, unknown> | undefined>;
192
193
  /**
193
194
  * 处理扫码弹窗回调
194
195
  * 参数由扫码弹窗决定
@@ -0,0 +1,4 @@
1
+ /** 检验数量只读取 inspection_number_,兼容原始记录、data 及 data.data 返回。 */
2
+ export declare function parseInspectionModuleQty(res: unknown): number | undefined;
3
+ /** 使用表单 detail 的交易实例 id;不能以表单 id 或 paramsConfig 中的 id 代替。 */
4
+ export declare function fetchInspectionModuleQty(txnInstId?: string): Promise<number | undefined>;
@@ -52,6 +52,7 @@ export declare class MaterialConsumeTableController {
52
52
  get materialNoNum(): any;
53
53
  /** 物料消耗模式(自身没有配置的话取环境的默认值) */
54
54
  get mcPattern(): MaterialConsumptionPatternEnum;
55
+ get hasFormInstance(): boolean;
55
56
  /**
56
57
  * 解析规则数据对象
57
58
  */
@@ -1,5 +1,5 @@
1
1
  import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
2
- import { BaseCoreComponent } from '../../types';
2
+ import { BaseCoreComponent, IMaterialConsumeTableInfo } from '../../types';
3
3
  import { MaterialConsumeTableController } from './material-consume-table-controller';
4
4
  import { FormInstBomResponse } from '@gct-paas/api/apaas';
5
5
  import { MaterialConsumptionPatternEnum } from '../../constant';
@@ -25,6 +25,10 @@ export declare class FormTmplBomController {
25
25
  field2TableMap: Record<string, string>;
26
26
  /** 默认物料消耗模式 */
27
27
  defaultMCPattern: MaterialConsumptionPatternEnum;
28
+ /** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
29
+ hasFormInstance: boolean;
30
+ /** 按页面中的表解析后的配置,页面与打印共用。 */
31
+ private resolvedTmplBomList;
28
32
  constructor();
29
33
  /**
30
34
  * 创建独立的打印展示控制器:不请求 BOM/历史消耗,不初始化或修正已填报行。
@@ -57,13 +61,14 @@ export declare class FormTmplBomController {
57
61
  * @readonly
58
62
  */
59
63
  get enableSequenceLoading(): boolean;
60
- /**
61
- * 初始化模板的物料消耗的配置
62
- */
64
+ private createDefaultConfig;
65
+ /** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
63
66
  init(data: {
64
- formInstBom: FormInstBomResponse;
65
- operationId: string;
66
- materialNo: string;
67
+ formInstBom?: FormInstBomResponse | null;
68
+ materialConsumeTableList: IMaterialConsumeTableInfo[];
69
+ hasFormInstance: boolean;
70
+ operationId?: string;
71
+ materialNo?: string;
67
72
  productQty?: number;
68
73
  }): Promise<void>;
69
74
  /**
@@ -1,6 +1,6 @@
1
1
  import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
2
2
  import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
3
- import { IProps, IPayload, RuntimeInstanceSource } from './types';
3
+ import { IProps, IPayload, RuntimeInstanceSource, RuntimeSelfInfo } from './types';
4
4
  import { useMaterialBalance } from '../material-balance/useMaterialBalance';
5
5
  export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource) => Promise<{
6
6
  runtimeContext: import('../..').RuntimeInstanceContext;
@@ -43,12 +43,7 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
43
43
  paramsConfig: Record<string, any> | undefined;
44
44
  instanceStatus: any;
45
45
  };
46
- selfInfo: {
47
- formType: FormTypeEnum;
48
- viewType: import('../..').ViewTypeEnum;
49
- modelKey: string;
50
- bindKey?: string;
51
- } & Record<string, any>;
46
+ selfInfo: RuntimeSelfInfo;
52
47
  } | undefined>;
53
48
  export type PreparedRuntimeInstance = NonNullable<Awaited<ReturnType<ReturnType<typeof createRuntimeInstanceInitializer>>>>;
54
49
  /** 过期请求和批量初始化失败的结果未注册,资源在此释放,不影响当前页面的实例。 */
@@ -51,7 +51,10 @@ export interface IPayload extends ITemplatePayload, IInstancePayload {
51
51
  onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
52
52
  }
53
53
  /** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
54
- export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'];
54
+ export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'] & {
55
+ /** detail 返回的交易实例 id,供检验数量查询使用。 */
56
+ txnInstId?: string;
57
+ };
55
58
  /** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
56
59
  export interface RuntimeInstanceSource {
57
60
  id?: string;
@@ -137,17 +137,14 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
137
137
  viewType: import('..').ViewTypeEnum;
138
138
  modelKey: string;
139
139
  bindKey?: string | undefined;
140
- }[], ({
141
- formType: import('..').FormTypeEnum;
142
- viewType: import('..').ViewTypeEnum;
143
- modelKey: string;
144
- bindKey?: string;
145
- } & Record<string, any>)[] | {
140
+ txnInstId?: string | undefined;
141
+ }[], import('./render-page/types').RuntimeSelfInfo[] | {
146
142
  [x: string]: any;
147
143
  formType: import('..').FormTypeEnum;
148
144
  viewType: import('..').ViewTypeEnum;
149
145
  modelKey: string;
150
146
  bindKey?: string | undefined;
147
+ txnInstId?: string | undefined;
151
148
  }[]>;
152
149
  hasData: import('vue').ComputedRef<boolean>;
153
150
  findFormInsInfo: (id: string) => {
@@ -156,6 +153,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
156
153
  viewType: import('..').ViewTypeEnum;
157
154
  modelKey: string;
158
155
  bindKey?: string | undefined;
156
+ txnInstId?: string | undefined;
159
157
  } | undefined;
160
158
  findBasicInsInfo: (id: string) => {
161
159
  key: string;
@@ -3,6 +3,7 @@ import { ValidateTrigger } from './types';
3
3
  type AssembleRulesInput = {
4
4
  showRequired: boolean;
5
5
  fieldType?: string;
6
+ defaultMinValue?: number;
6
7
  validatorInfo: Record<string, any>;
7
8
  props: {
8
9
  bizType?: string;
@@ -4,6 +4,7 @@ type InitializerMetadata = {
4
4
  materialNo?: string;
5
5
  params?: string;
6
6
  instanceStatus?: string;
7
+ txnInstId?: string;
7
8
  };
8
9
  export declare class RuntimeFieldInitializer {
9
10
  private readonly record;
@@ -1,5 +1,9 @@
1
1
  import { FormModelController } from '../../hooks/form-model';
2
2
  import { ParseRuleProps, ScanParamType } from '../../types/common/base';
3
+ /** 不传 scene 时保持默认列 */
4
+ export interface ScanRecordPickerOptions {
5
+ scene?: 'inventory';
6
+ }
3
7
  /**
4
8
  * 子表绘制的基类
5
9
  */
@@ -33,7 +37,7 @@ export interface ISubTableRender {
33
37
  /**
34
38
  * 扫码多条候选时选择一行
35
39
  */
36
- openMultiRowsModal(opts: {
40
+ openMultiRowsModal(opts: ScanRecordPickerOptions & {
37
41
  rows: any[];
38
42
  title?: string;
39
43
  }): Promise<any | undefined>;
@@ -0,0 +1,6 @@
1
+ import { ScanRecordPickerOptions } from '../../../../../nocode-base/src';
2
+ import { VxeGridPropTypes } from 'vxe-table';
3
+ type ScanPickerScene = NonNullable<ScanRecordPickerOptions['scene']>;
4
+ /** 未指定场景时使用弹窗默认列。 */
5
+ export declare function getScanColumns(scene?: ScanPickerScene): VxeGridPropTypes.Columns | undefined;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ import { IPaper } from '../types';
2
+ /** 旧多 Sheet 和生成模板以实际单元格为准补齐网格,再把所有区域限制在网格内。 */
3
+ export declare function normalizePaperGrid(paper: IPaper): IPaper;
@@ -0,0 +1,9 @@
1
+ import { ISheet } from '../types/sheets';
2
+ export interface PlacedFormField {
3
+ field: string;
4
+ fieldType: string;
5
+ model: string;
6
+ subFieldKey?: string;
7
+ }
8
+ /** 按 bizType(优先)或 fieldType 查询直接放置的字段;不包含组件配置引用的字段。 */
9
+ export declare function collectPlacedFieldsByType(sheets: readonly ISheet[], fieldType: string): PlacedFormField[];
@@ -0,0 +1,7 @@
1
+ import { PlacedFormField } from './placed-fields';
2
+ /** 从已保存的 Excel 设计稿提取指定类型的拖入字段,兼容单 Sheet 旧稿。 */
3
+ export declare function collectPlacedFieldsFromDesignerJson(designerJson: string | object | null | undefined, fieldType: string): PlacedFormField[];
4
+ /** 按模板 ID 查询已保存表单中拖入的指定类型字段,无需打开设计画布。 */
5
+ export declare function getPlacedFieldsByType(fieldType: string, templateId: string): Promise<PlacedFormField[]>;
6
+ /** 按模板 ID 查询已保存表单中拖入的印章字段。 */
7
+ export declare function getPlacedSealFields(templateId: string): Promise<PlacedFormField[]>;
@@ -36,6 +36,19 @@ export declare function addSignHistory(opts: {
36
36
  * @return {*}
37
37
  */
38
38
  export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
39
+ export interface ImageSize {
40
+ width: number;
41
+ height: number;
42
+ }
43
+ /** 无图签名的显示尺寸,canvas 以两倍像素绘制 */
44
+ export declare const FALLBACK_SIGN_DISPLAY_SIZE: {
45
+ readonly width: 120;
46
+ readonly height: 68;
47
+ };
48
+ /** 横向“姓名 + 日期”兜底签名按文字内容决定宽度,保持默认高度。 */
49
+ export declare function getFormSignFallbackSize(name: string, time?: number | string, height?: 68): ImageSize;
50
+ /** 仅姓名兜底签名按最长一行文字宽度和左右各 8px 留白确定画布宽度。 */
51
+ export declare function getSimpleNameFallbackSize(name: string, height: number): ImageSize;
39
52
  /**
40
53
  * 获取预览url地址
41
54
  *
@@ -52,4 +65,5 @@ export declare function resolveSignatureImageDirection(direction?: string): Sign
52
65
  * 表单签名/报工人/仓管员字段预览(无图片时按兜底签名配置绘制)
53
66
  * 无配置时默认「仅用户名」。
54
67
  */
68
+ export declare function getFormSignPreviewSize(name: string, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): ImageSize;
55
69
  export declare function getFormSignPreviewUrl(url: any, name: any, callback?: any, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): any;
@@ -1,6 +1,8 @@
1
1
  import { FIELD_TYPE } from './field-type';
2
2
  export { Platform, ButtonStyle, ButtonSize, ButtonType, ButtonType_vant, ButtonOpeEnum, } from './button';
3
3
  export { SignatureTypeEnum } from './signature';
4
+ export { ProductTypeEnum } from './product-type';
5
+ export { ProductionIdentificationTypeEnum } from './production-identification';
4
6
  export { CardControlEnum, onlineFormMasterModelTypeEnum, RecordNoGenerateEnum, } from './online-form';
5
7
  export { SEARCH_SEVICE } from './search';
6
8
  export { GctMqttTopsEnum } from './mqtt';
@@ -0,0 +1,9 @@
1
+ /** 产品类型(product_type_) */
2
+ export declare enum ProductTypeEnum {
3
+ /** 原材料 */
4
+ RAW_MATERIAL = "rawMaterial",
5
+ /** 半成品 */
6
+ SEMI_FINISHED_PRODUCT = "semiFinishedProduct",
7
+ /** 产成品 */
8
+ FINISHED_PRODUCT = "finishedProduct"
9
+ }
@@ -0,0 +1,19 @@
1
+ /** 生产标识类型(production_identification_type_) */
2
+ export declare enum ProductionIdentificationTypeEnum {
3
+ /** 物料批 */
4
+ MATERIAL = "MATERIAL",
5
+ /** 生产批次 */
6
+ LOT = "LOT",
7
+ /** 生产序列号 */
8
+ SN = "SN",
9
+ /** 灭菌批 */
10
+ STERILIZATION = "STERILIZATION",
11
+ /** 检验批 */
12
+ INSPECTION_CONTAINER = "INSPECTION_CONTAINER",
13
+ /** 旧检验批取值 */
14
+ LEGACY_INSPECTION = "inspection",
15
+ /** 包装箱 */
16
+ PACK_BOX = "PACK_BOX",
17
+ /** 医疗器械唯一标识 */
18
+ UDI = "UDI"
19
+ }