@gct-paas/excel 0.1.35 → 0.1.37-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist/{BaseComponent-C-T3bipZ.js → BaseComponent-DQaCGLeT.js} +18 -1
  2. package/dist/{VueVideoPlayer-uu8pHm89.js → VueVideoPlayer-C6a9Wt23.js} +2 -2
  3. package/dist/{align-editor-Bk5NBwxp.js → align-editor-BIgxBb3c.js} +1 -1
  4. package/dist/{barcode-design-B11QXZvG.js → barcode-design-6urZiVEU.js} +2 -2
  5. package/dist/base/index.es.js +2137 -2795
  6. package/dist/{diagonal-design-B6qOpgJB.js → diagonal-design-Dmvh3iV7.js} +2 -2
  7. package/dist/{dynamic-table-action-ClvCYTXt.js → dynamic-table-action-CIQHe0dS.js} +7248 -3103
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js} +51446 -52262
  9. package/dist/{edit.utils-CXmmCnxE-DBJfGya8.js → edit.utils-CXmmCnxE-BSdD_tOR.js} +1 -1
  10. package/dist/excel.css +3223 -1942
  11. package/dist/{exceljs.min-wkM2JRWA.js → exceljs.min-CLghjkvN.js} +2 -2
  12. package/dist/{font-editor-qk8ye00Z.js → font-editor-Bergh2R4.js} +3 -3
  13. package/dist/{image-design-DnAdcfkb.js → image-design-CE8RmqGR.js} +2 -2
  14. package/dist/{index-DK3WaVk5.js → index-BCxnsShs.js} +1 -1
  15. package/dist/{index-Yak4dcr8.js → index-BDeyH_2H.js} +2 -2
  16. package/dist/{index-Da3dLccm.js → index-BGpCYZm4.js} +2 -2
  17. package/dist/{index-K2KtldGf.js → index-BJdOVQGJ.js} +1 -1
  18. package/dist/{index-B0CE87b5.js → index-BVcJPSOs.js} +5 -3
  19. package/dist/{index-VX-I525j.js → index-BVxo9GHy.js} +1 -1
  20. package/dist/{index-C3OVB8dF.js → index-BXSzJMT7.js} +8 -74
  21. package/dist/{index-BbxeAoGv.js → index-BfHBvOdP.js} +2 -2
  22. package/dist/{index-DyYIAGuW.js → index-Byh0Vmlz.js} +2 -2
  23. package/dist/{index-DblJyfD1.js → index-C2olS5vJ.js} +3 -3
  24. package/dist/{index-BsAib_T0.js → index-C7TEXlbZ.js} +2 -2
  25. package/dist/{index-Dnv99kDV.js → index-CA6CWt8y.js} +1 -1
  26. package/dist/{index-C4WGrLrq.js → index-CNzY1FwH.js} +2 -2
  27. package/dist/{index-CMyaYX19.js → index-Chu6332Q.js} +12 -3
  28. package/dist/{index-COIKVzHE.js → index-CuZvl7YB.js} +2 -2
  29. package/dist/{index-98JlcyIh.js → index-D-HlMlRd.js} +3 -3
  30. package/dist/{index-BReNIvpZ.js → index-D-Jbq4My.js} +2 -2
  31. package/dist/{index-hlChb3S5.js → index-D1_SYDPv.js} +2 -2
  32. package/dist/{index-CkNER_VJ.js → index-D6Z8-FC9.js} +432 -237
  33. package/dist/{index-CZ19OTa-.js → index-D6udXzjh.js} +2 -2
  34. package/dist/{index-CSOaeJHs.js → index-DA5PXti2.js} +42829 -36873
  35. package/dist/{index-C6yP97M1.js → index-Dgu35iIj.js} +1 -1
  36. package/dist/{index-B4SeHIvj.js → index-DnZq1s_3.js} +3 -3
  37. package/dist/{index-CUVo4Y3e.js → index-DqOxVJR-.js} +2 -2
  38. package/dist/{index-CmKaq9BA.js → index-Dqr0oBlM.js} +2 -2
  39. package/dist/{index-DEPdSmRz.js → index-DuyXEchF.js} +13 -2
  40. package/dist/{index-BCm5uXm-.js → index-Dw7SQNDy.js} +1 -1
  41. package/dist/index-DwKg7b0U.js +26 -0
  42. package/dist/{index-ZPbeIApi.js → index-DyHrkuGj.js} +2 -2
  43. package/dist/{index-YHJMTfT6.js → index-KcZJqM3I.js} +1 -1
  44. package/dist/{index-DZZB4Wki.js → index-ROHlRUFD.js} +1 -1
  45. package/dist/{index-BNd6EBaX.js → index-a3Y8FZwA.js} +2 -2
  46. package/dist/{index-BHihG6wo.js → index-bX1S8t3o.js} +3 -3
  47. package/dist/{index-BHTh3IKd.js → index-geVnq_KD.js} +2 -2
  48. package/dist/{index-DIPExK1-.js → index-m0iGs0bS.js} +1 -1
  49. package/dist/index.es.js +49 -49
  50. package/dist/{mb-render-BWsK2uaj.js → mb-render-DhKkFfcm.js} +21 -15
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D0gNSgDm.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhTO6jGt.js} +1 -8
  52. package/dist/{pagination-design-e6YmfypM.js → pagination-design-D9hm70UW.js} +2 -2
  53. package/dist/paper-widget-design-zve0OviL.js +4 -0
  54. package/dist/print-runtime-instance-CXj_GS84.js +36 -0
  55. package/dist/print-snapshot-renderer-BK2XvbLK.js +76 -0
  56. package/dist/{qrcode-design-B8OeEjHi.js → qrcode-design-BrEZ2nXO.js} +1 -1
  57. package/dist/{revo-grid.entry-C8HVGuwE.js → revo-grid.entry-BBZIZgKP.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-C57R5N9H.js → revogr-attribution_7.entry-rfjINVxu.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-C-t0bHXx.js → revogr-clipboard_3.entry-Bg3AuwfG.js} +2 -2
  60. package/dist/{revogr-data_4.entry-xIPTVLfC.js → revogr-data_4.entry-C8O2Iv2n.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-ByM_cVBE.js → revogr-filter-panel.entry-uQBhKoSX.js} +1 -1
  62. package/dist/seal-design-B42sQwSF.js +4 -0
  63. package/dist/{serialnumber-design-nwsYg88n.js → serialnumber-design-DCkPTZFe.js} +1 -1
  64. package/dist/shared/index.es.js +32 -26
  65. package/dist/{single-field-drop-DtXqBBy7.js → single-field-drop-BL43JC5V.js} +2 -2
  66. package/dist/{size-editor-Bl32fjTp.js → size-editor-BKqS03Gi.js} +1 -1
  67. package/dist/src/adapter/adapter.d.ts +6 -1
  68. package/dist/src/assets/svgs/table/index.d.ts +1 -0
  69. package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
  70. package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
  71. package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
  72. package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
  73. package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
  74. package/dist/src/domain/field/types.d.ts +2 -2
  75. package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
  76. package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
  77. package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
  78. package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
  79. package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
  80. package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
  81. package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
  82. package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
  83. package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
  84. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  85. package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
  86. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
  87. package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
  88. package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
  89. package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
  90. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
  91. package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
  92. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
  93. package/dist/src/domain/table/design/index.d.ts +1 -1
  94. package/dist/src/domain/table/design/ribbon-options.d.ts +1 -0
  95. package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
  96. package/dist/src/domain/table/index.d.ts +3 -2
  97. package/dist/src/domain/table/registry.d.ts +1 -0
  98. package/dist/src/domain/table/types.d.ts +8 -3
  99. package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
  100. package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
  101. package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-layout.d.ts +23 -0
  102. package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +2 -0
  103. package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +1 -2
  104. package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +2 -0
  105. package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
  106. package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +7 -0
  107. package/dist/src/nocode-base/src/constant/index.d.ts +22 -2
  108. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
  109. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
  110. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
  111. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
  112. package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
  113. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
  114. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
  115. package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
  116. package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
  117. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
  118. package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
  119. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
  120. package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
  121. package/dist/src/nocode-base/src/hooks/index.d.ts +5 -3
  122. package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
  123. package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
  124. package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
  125. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +10 -2
  126. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
  127. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
  128. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
  129. package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
  130. package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
  131. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
  132. package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
  133. package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
  134. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
  135. package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
  136. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
  137. package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
  138. package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
  139. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
  140. package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
  141. package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
  142. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
  143. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
  144. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
  145. package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
  146. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
  147. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
  148. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
  149. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
  150. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
  151. package/dist/src/nocode-base/src/index.d.ts +2 -0
  152. package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
  153. package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
  154. package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
  155. package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
  156. package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
  157. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
  158. package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
  159. package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
  160. package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
  161. package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
  162. package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
  163. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
  164. package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
  165. package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
  166. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
  167. package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
  168. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
  169. package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
  170. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +122 -0
  171. package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
  172. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
  173. package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
  174. package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
  175. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
  176. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
  177. package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
  178. package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
  179. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
  180. package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
  181. package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
  182. package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
  183. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
  184. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
  185. package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
  186. package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
  187. package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
  188. package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
  189. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +15 -1
  190. package/dist/src/nocode-base/src/types/fields/index.d.ts +2 -1
  191. package/dist/src/nocode-base/src/types/index.d.ts +1 -1
  192. package/dist/src/nocode-base/src/types/render/mb-render.d.ts +4 -2
  193. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
  194. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -5
  195. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
  196. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
  197. package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
  198. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
  199. package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
  200. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +8 -1
  201. package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
  202. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
  203. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
  204. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
  205. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
  206. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
  207. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
  208. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
  209. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
  210. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
  211. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
  212. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
  213. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
  214. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
  215. package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
  216. package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
  217. package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
  218. package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
  219. package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
  220. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
  221. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
  222. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1089 -683
  223. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
  224. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
  225. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +503 -2542
  226. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
  227. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +19 -0
  228. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
  229. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
  230. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
  231. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
  232. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
  233. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
  234. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
  235. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
  236. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
  237. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
  238. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
  239. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
  240. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
  241. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
  242. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
  243. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
  244. package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
  245. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
  246. package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
  247. package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
  248. package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
  249. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
  250. package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
  251. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
  252. package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
  253. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
  254. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
  255. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
  256. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
  257. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
  258. package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
  259. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
  260. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
  261. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +2 -1
  262. package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
  263. package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
  264. package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
  265. package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
  266. package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
  267. package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
  268. package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
  269. package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
  270. package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
  271. package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
  272. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
  273. package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
  274. package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
  275. package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +36 -0
  276. package/dist/src/shared/components/Signature/index.d.ts +1 -2
  277. package/dist/src/shared/components/Signature/logic/index.d.ts +8 -23
  278. package/dist/src/shared/components/Signature/types/index.d.ts +6 -1
  279. package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +2 -0
  280. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +8 -2
  281. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -1
  282. package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
  283. package/dist/src/shared/enum/field-type.d.ts +23 -0
  284. package/dist/src/shared/enum/online-form.d.ts +8 -2
  285. package/dist/src/shared/index.d.ts +1 -0
  286. package/dist/src/shared/seal/index.d.ts +44 -0
  287. package/dist/src/shared/types/field-meta.d.ts +1 -0
  288. package/dist/src/shared/utils/field-size.d.ts +4 -2
  289. package/dist/src/shared/utils/lot2sn.d.ts +5 -0
  290. package/dist/sub-table-factory-BxnZRD5d.js +2118 -0
  291. package/dist/{text-design-DpCprqkB.js → text-design-LpqAAdUy.js} +2 -2
  292. package/dist/{throttle-Cpk1LoGk-CRmC7Dda.js → throttle-Cpk1LoGk-Ci963h-N.js} +1 -1
  293. package/dist/{timediff-design-CRhHuuBP.js → timediff-design-DAD_BKWH.js} +1 -1
  294. package/dist/{trace-like-wrapper-aVtmhEpO.js → trace-like-wrapper-Bq4-R_-a.js} +2 -2
  295. package/dist/{value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.js → value-editor.vue_vue_type_style_index_0_lang-DWP8nFsa.js} +2 -2
  296. package/dist/web-render/index.es.js +5 -5
  297. package/dist/{widget-barcode-fA706IEU.js → widget-barcode-7jbXypLa.js} +4 -4
  298. package/dist/{widget-diagonal-DJIIPhRm.js → widget-diagonal-CAhF4RdS.js} +3 -3
  299. package/dist/{widget-image-iA5POujb.js → widget-image-fajmaZZL.js} +5 -5
  300. package/dist/{widget-line-bjO0OmRM.js → widget-line-BnpVz3Cw.js} +2 -2
  301. package/dist/{widget-pagination-CCWAQS5T.js → widget-pagination-CBRrI8Gg.js} +5 -5
  302. package/dist/{widget-power-D3TkaSwc.js → widget-power-CeJ_lpsq.js} +3 -3
  303. package/dist/{widget-qrcode-B1ohZ9gB.js → widget-qrcode-DJDwbHFC.js} +3 -3
  304. package/dist/{widget-rangelimit-D8F6Ryvq.js → widget-rangelimit-BfMODXDL.js} +3 -3
  305. package/dist/{widget-serialnumber-CWpzTsBq.js → widget-serialnumber-C7B10sEv.js} +1 -1
  306. package/dist/{widget-text-Ouno0e1_.js → widget-text-1XmDP1ym.js} +5 -5
  307. package/dist/{widget-timediff-biUSdm8e.js → widget-timediff-CXke343Y.js} +2 -2
  308. package/package.json +4 -4
  309. package/dist/paper-widget-design-DNgkKQGY.js +0 -4
  310. package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
  311. package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
  312. package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
  313. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
  314. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
  315. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
  316. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
  317. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
  318. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
  319. package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
  320. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -116
@@ -1,207 +1,11 @@
1
- import { al as noop, dn as tryOnScopeDispose, dp as isClient, dq as tryOnMounted, dr as resolveUnref, am as isIOS, ds as isString, dt as identity, z as api, a4 as _export_sfc, du as getAugmentedNamespace, I as commonjsGlobal, J as getDefaultExportFromCjs, ay as watchDebounced, cK as getParseRuleConfig, c9 as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js";
1
+ import { E as api, a8 as _export_sfc, cD as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cb as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js";
2
2
  import { message, Modal, Form } from "ant-design-vue";
3
- import { watch, ref as ref$1, defineComponent, inject, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, onUnmounted, createVNode, h, onMounted, mergeProps, unref, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
3
+ import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
4
4
  import { debounce, cloneDeep } from "lodash-es";
5
5
  import "dayjs";
6
- import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BWsK2uaj.js";
7
- import { useFormBaseModal, closeAllFormBaseModal } from "@gct-paas/form-base";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-DhKkFfcm.js";
7
+ import { useFormBaseModal } from "@gct-paas/form-base";
8
8
  import { VxeGrid } from "vxe-table";
9
- function unrefElement(elRef) {
10
- var _a;
11
- const plain = resolveUnref(elRef);
12
- return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
13
- }
14
- const defaultWindow = isClient ? window : void 0;
15
- function useEventListener(...args) {
16
- let target;
17
- let events;
18
- let listeners;
19
- let options;
20
- if (isString(args[0]) || Array.isArray(args[0])) {
21
- [events, listeners, options] = args;
22
- target = defaultWindow;
23
- } else {
24
- [target, events, listeners, options] = args;
25
- }
26
- if (!target)
27
- return noop;
28
- if (!Array.isArray(events))
29
- events = [events];
30
- if (!Array.isArray(listeners))
31
- listeners = [listeners];
32
- const cleanups = [];
33
- const cleanup = () => {
34
- cleanups.forEach((fn) => fn());
35
- cleanups.length = 0;
36
- };
37
- const register = (el, event, listener, options2) => {
38
- el.addEventListener(event, listener, options2);
39
- return () => el.removeEventListener(event, listener, options2);
40
- };
41
- const stopWatch = watch(() => [unrefElement(target), resolveUnref(options)], ([el, options2]) => {
42
- cleanup();
43
- if (!el)
44
- return;
45
- cleanups.push(...events.flatMap((event) => {
46
- return listeners.map((listener) => register(el, event, listener, options2));
47
- }));
48
- }, { immediate: true, flush: "post" });
49
- const stop = () => {
50
- stopWatch();
51
- cleanup();
52
- };
53
- tryOnScopeDispose(stop);
54
- return stop;
55
- }
56
- let _iOSWorkaround = false;
57
- function onClickOutside(target, handler, options = {}) {
58
- const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;
59
- if (!window2)
60
- return;
61
- if (isIOS && !_iOSWorkaround) {
62
- _iOSWorkaround = true;
63
- Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop));
64
- }
65
- let shouldListen = true;
66
- const shouldIgnore = (event) => {
67
- return ignore.some((target2) => {
68
- if (typeof target2 === "string") {
69
- return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
70
- } else {
71
- const el = unrefElement(target2);
72
- return el && (event.target === el || event.composedPath().includes(el));
73
- }
74
- });
75
- };
76
- const listener = (event) => {
77
- const el = unrefElement(target);
78
- if (!el || el === event.target || event.composedPath().includes(el))
79
- return;
80
- if (event.detail === 0)
81
- shouldListen = !shouldIgnore(event);
82
- if (!shouldListen) {
83
- shouldListen = true;
84
- return;
85
- }
86
- handler(event);
87
- };
88
- const cleanup = [
89
- useEventListener(window2, "click", listener, { passive: true, capture }),
90
- useEventListener(window2, "pointerdown", (e) => {
91
- const el = unrefElement(target);
92
- if (el)
93
- shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);
94
- }, { passive: true }),
95
- detectIframe && useEventListener(window2, "blur", (event) => {
96
- var _a;
97
- const el = unrefElement(target);
98
- if (((_a = window2.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement)))
99
- handler(event);
100
- })
101
- ].filter(Boolean);
102
- const stop = () => cleanup.forEach((fn) => fn());
103
- return stop;
104
- }
105
- function useSupported(callback, sync = false) {
106
- const isSupported = ref$1();
107
- const update = () => isSupported.value = Boolean(callback());
108
- update();
109
- tryOnMounted(update, sync);
110
- return isSupported;
111
- }
112
- const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
113
- const globalKey = "__vueuse_ssr_handlers__";
114
- _global[globalKey] = _global[globalKey] || {};
115
- function useIntersectionObserver(target, callback, options = {}) {
116
- const {
117
- root,
118
- rootMargin = "0px",
119
- threshold = 0.1,
120
- window: window2 = defaultWindow
121
- } = options;
122
- const isSupported = useSupported(() => window2 && "IntersectionObserver" in window2);
123
- let cleanup = noop;
124
- const stopWatch = isSupported.value ? watch(() => ({
125
- el: unrefElement(target),
126
- root: unrefElement(root)
127
- }), ({ el, root: root2 }) => {
128
- cleanup();
129
- if (!el)
130
- return;
131
- const observer = new IntersectionObserver(callback, {
132
- root: root2,
133
- rootMargin,
134
- threshold
135
- });
136
- observer.observe(el);
137
- cleanup = () => {
138
- observer.disconnect();
139
- cleanup = noop;
140
- };
141
- }, { immediate: true, flush: "post" }) : noop;
142
- const stop = () => {
143
- cleanup();
144
- stopWatch();
145
- };
146
- tryOnScopeDispose(stop);
147
- return {
148
- isSupported,
149
- stop
150
- };
151
- }
152
- var SwipeDirection;
153
- (function(SwipeDirection2) {
154
- SwipeDirection2["UP"] = "UP";
155
- SwipeDirection2["RIGHT"] = "RIGHT";
156
- SwipeDirection2["DOWN"] = "DOWN";
157
- SwipeDirection2["LEFT"] = "LEFT";
158
- SwipeDirection2["NONE"] = "NONE";
159
- })(SwipeDirection || (SwipeDirection = {}));
160
- var __defProp = Object.defineProperty;
161
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
162
- var __hasOwnProp = Object.prototype.hasOwnProperty;
163
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
164
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
165
- var __spreadValues = (a, b) => {
166
- for (var prop in b || (b = {}))
167
- if (__hasOwnProp.call(b, prop))
168
- __defNormalProp(a, prop, b[prop]);
169
- if (__getOwnPropSymbols)
170
- for (var prop of __getOwnPropSymbols(b)) {
171
- if (__propIsEnum.call(b, prop))
172
- __defNormalProp(a, prop, b[prop]);
173
- }
174
- return a;
175
- };
176
- const _TransitionPresets = {
177
- easeInSine: [0.12, 0, 0.39, 0],
178
- easeOutSine: [0.61, 1, 0.88, 1],
179
- easeInOutSine: [0.37, 0, 0.63, 1],
180
- easeInQuad: [0.11, 0, 0.5, 0],
181
- easeOutQuad: [0.5, 1, 0.89, 1],
182
- easeInOutQuad: [0.45, 0, 0.55, 1],
183
- easeInCubic: [0.32, 0, 0.67, 0],
184
- easeOutCubic: [0.33, 1, 0.68, 1],
185
- easeInOutCubic: [0.65, 0, 0.35, 1],
186
- easeInQuart: [0.5, 0, 0.75, 0],
187
- easeOutQuart: [0.25, 1, 0.5, 1],
188
- easeInOutQuart: [0.76, 0, 0.24, 1],
189
- easeInQuint: [0.64, 0, 0.78, 0],
190
- easeOutQuint: [0.22, 1, 0.36, 1],
191
- easeInOutQuint: [0.83, 0, 0.17, 1],
192
- easeInExpo: [0.7, 0, 0.84, 0],
193
- easeOutExpo: [0.16, 1, 0.3, 1],
194
- easeInOutExpo: [0.87, 0, 0.13, 1],
195
- easeInCirc: [0.55, 0, 1, 0.45],
196
- easeOutCirc: [0, 0.55, 0.45, 1],
197
- easeInOutCirc: [0.85, 0, 0.15, 1],
198
- easeInBack: [0.36, 0, 0.66, -0.56],
199
- easeOutBack: [0.34, 1.56, 0.64, 1],
200
- easeInOutBack: [0.68, -0.6, 0.32, 1.6]
201
- };
202
- __spreadValues({
203
- linear: identity
204
- }, _TransitionPresets);
205
9
  const uploadApis = {
206
10
  upload: null,
207
11
  transfer: (filename) => filename
@@ -3133,6 +2937,396 @@ class MemoryCache {
3133
2937
  }
3134
2938
  }
3135
2939
  }
2940
+ var _a;
2941
+ const isClient = typeof window !== "undefined";
2942
+ const isString = (val) => typeof val === "string";
2943
+ const noop = () => {
2944
+ };
2945
+ const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
2946
+ function resolveUnref(r) {
2947
+ return typeof r === "function" ? r() : unref(r);
2948
+ }
2949
+ function createFilterWrapper(filter, fn) {
2950
+ function wrapper(...args) {
2951
+ return new Promise((resolve, reject) => {
2952
+ Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);
2953
+ });
2954
+ }
2955
+ return wrapper;
2956
+ }
2957
+ const bypassFilter = (invoke) => {
2958
+ return invoke();
2959
+ };
2960
+ function debounceFilter(ms, options = {}) {
2961
+ let timer;
2962
+ let maxTimer;
2963
+ let lastRejector = noop;
2964
+ const _clearTimeout = (timer2) => {
2965
+ clearTimeout(timer2);
2966
+ lastRejector();
2967
+ lastRejector = noop;
2968
+ };
2969
+ const filter = (invoke) => {
2970
+ const duration = resolveUnref(ms);
2971
+ const maxDuration = resolveUnref(options.maxWait);
2972
+ if (timer)
2973
+ _clearTimeout(timer);
2974
+ if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
2975
+ if (maxTimer) {
2976
+ _clearTimeout(maxTimer);
2977
+ maxTimer = null;
2978
+ }
2979
+ return Promise.resolve(invoke());
2980
+ }
2981
+ return new Promise((resolve, reject) => {
2982
+ lastRejector = options.rejectOnCancel ? reject : resolve;
2983
+ if (maxDuration && !maxTimer) {
2984
+ maxTimer = setTimeout(() => {
2985
+ if (timer)
2986
+ _clearTimeout(timer);
2987
+ maxTimer = null;
2988
+ resolve(invoke());
2989
+ }, maxDuration);
2990
+ }
2991
+ timer = setTimeout(() => {
2992
+ if (maxTimer)
2993
+ _clearTimeout(maxTimer);
2994
+ maxTimer = null;
2995
+ resolve(invoke());
2996
+ }, duration);
2997
+ });
2998
+ };
2999
+ return filter;
3000
+ }
3001
+ function throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {
3002
+ let lastExec = 0;
3003
+ let timer;
3004
+ let isLeading = true;
3005
+ let lastRejector = noop;
3006
+ let lastValue;
3007
+ const clear = () => {
3008
+ if (timer) {
3009
+ clearTimeout(timer);
3010
+ timer = void 0;
3011
+ lastRejector();
3012
+ lastRejector = noop;
3013
+ }
3014
+ };
3015
+ const filter = (_invoke) => {
3016
+ const duration = resolveUnref(ms);
3017
+ const elapsed = Date.now() - lastExec;
3018
+ const invoke = () => {
3019
+ return lastValue = _invoke();
3020
+ };
3021
+ clear();
3022
+ if (duration <= 0) {
3023
+ lastExec = Date.now();
3024
+ return invoke();
3025
+ }
3026
+ if (elapsed > duration && (leading || !isLeading)) {
3027
+ lastExec = Date.now();
3028
+ invoke();
3029
+ } else if (trailing) {
3030
+ lastValue = new Promise((resolve, reject) => {
3031
+ lastRejector = rejectOnCancel ? reject : resolve;
3032
+ timer = setTimeout(() => {
3033
+ lastExec = Date.now();
3034
+ isLeading = true;
3035
+ resolve(invoke());
3036
+ clear();
3037
+ }, Math.max(0, duration - elapsed));
3038
+ });
3039
+ }
3040
+ if (!leading && !timer)
3041
+ timer = setTimeout(() => isLeading = true, duration);
3042
+ isLeading = false;
3043
+ return lastValue;
3044
+ };
3045
+ return filter;
3046
+ }
3047
+ function identity(arg) {
3048
+ return arg;
3049
+ }
3050
+ function tryOnScopeDispose(fn) {
3051
+ if (getCurrentScope()) {
3052
+ onScopeDispose(fn);
3053
+ return true;
3054
+ }
3055
+ return false;
3056
+ }
3057
+ function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
3058
+ return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);
3059
+ }
3060
+ function tryOnMounted(fn, sync = true) {
3061
+ if (getCurrentInstance())
3062
+ onMounted(fn);
3063
+ else if (sync)
3064
+ fn();
3065
+ else
3066
+ nextTick(fn);
3067
+ }
3068
+ var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
3069
+ var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
3070
+ var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
3071
+ var __objRest$5 = (source, exclude) => {
3072
+ var target = {};
3073
+ for (var prop in source)
3074
+ if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
3075
+ target[prop] = source[prop];
3076
+ if (source != null && __getOwnPropSymbols$6)
3077
+ for (var prop of __getOwnPropSymbols$6(source)) {
3078
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
3079
+ target[prop] = source[prop];
3080
+ }
3081
+ return target;
3082
+ };
3083
+ function watchWithFilter(source, cb, options = {}) {
3084
+ const _a2 = options, {
3085
+ eventFilter = bypassFilter
3086
+ } = _a2, watchOptions = __objRest$5(_a2, [
3087
+ "eventFilter"
3088
+ ]);
3089
+ return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
3090
+ }
3091
+ var __defProp$4 = Object.defineProperty;
3092
+ var __defProps$4 = Object.defineProperties;
3093
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
3094
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
3095
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
3096
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
3097
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3098
+ var __spreadValues$4 = (a, b) => {
3099
+ for (var prop in b || (b = {}))
3100
+ if (__hasOwnProp$4.call(b, prop))
3101
+ __defNormalProp$4(a, prop, b[prop]);
3102
+ if (__getOwnPropSymbols$4)
3103
+ for (var prop of __getOwnPropSymbols$4(b)) {
3104
+ if (__propIsEnum$4.call(b, prop))
3105
+ __defNormalProp$4(a, prop, b[prop]);
3106
+ }
3107
+ return a;
3108
+ };
3109
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
3110
+ var __objRest$3 = (source, exclude) => {
3111
+ var target = {};
3112
+ for (var prop in source)
3113
+ if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
3114
+ target[prop] = source[prop];
3115
+ if (source != null && __getOwnPropSymbols$4)
3116
+ for (var prop of __getOwnPropSymbols$4(source)) {
3117
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
3118
+ target[prop] = source[prop];
3119
+ }
3120
+ return target;
3121
+ };
3122
+ function watchDebounced(source, cb, options = {}) {
3123
+ const _a2 = options, {
3124
+ debounce: debounce2 = 0,
3125
+ maxWait = void 0
3126
+ } = _a2, watchOptions = __objRest$3(_a2, [
3127
+ "debounce",
3128
+ "maxWait"
3129
+ ]);
3130
+ return watchWithFilter(source, cb, __spreadProps$4(__spreadValues$4({}, watchOptions), {
3131
+ eventFilter: debounceFilter(debounce2, { maxWait })
3132
+ }));
3133
+ }
3134
+ function unrefElement(elRef) {
3135
+ var _a2;
3136
+ const plain = resolveUnref(elRef);
3137
+ return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
3138
+ }
3139
+ const defaultWindow = isClient ? window : void 0;
3140
+ function useEventListener(...args) {
3141
+ let target;
3142
+ let events;
3143
+ let listeners;
3144
+ let options;
3145
+ if (isString(args[0]) || Array.isArray(args[0])) {
3146
+ [events, listeners, options] = args;
3147
+ target = defaultWindow;
3148
+ } else {
3149
+ [target, events, listeners, options] = args;
3150
+ }
3151
+ if (!target)
3152
+ return noop;
3153
+ if (!Array.isArray(events))
3154
+ events = [events];
3155
+ if (!Array.isArray(listeners))
3156
+ listeners = [listeners];
3157
+ const cleanups = [];
3158
+ const cleanup = () => {
3159
+ cleanups.forEach((fn) => fn());
3160
+ cleanups.length = 0;
3161
+ };
3162
+ const register = (el, event, listener, options2) => {
3163
+ el.addEventListener(event, listener, options2);
3164
+ return () => el.removeEventListener(event, listener, options2);
3165
+ };
3166
+ const stopWatch = watch(() => [unrefElement(target), resolveUnref(options)], ([el, options2]) => {
3167
+ cleanup();
3168
+ if (!el)
3169
+ return;
3170
+ cleanups.push(...events.flatMap((event) => {
3171
+ return listeners.map((listener) => register(el, event, listener, options2));
3172
+ }));
3173
+ }, { immediate: true, flush: "post" });
3174
+ const stop = () => {
3175
+ stopWatch();
3176
+ cleanup();
3177
+ };
3178
+ tryOnScopeDispose(stop);
3179
+ return stop;
3180
+ }
3181
+ let _iOSWorkaround = false;
3182
+ function onClickOutside(target, handler, options = {}) {
3183
+ const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;
3184
+ if (!window2)
3185
+ return;
3186
+ if (isIOS && !_iOSWorkaround) {
3187
+ _iOSWorkaround = true;
3188
+ Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop));
3189
+ }
3190
+ let shouldListen = true;
3191
+ const shouldIgnore = (event) => {
3192
+ return ignore.some((target2) => {
3193
+ if (typeof target2 === "string") {
3194
+ return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
3195
+ } else {
3196
+ const el = unrefElement(target2);
3197
+ return el && (event.target === el || event.composedPath().includes(el));
3198
+ }
3199
+ });
3200
+ };
3201
+ const listener = (event) => {
3202
+ const el = unrefElement(target);
3203
+ if (!el || el === event.target || event.composedPath().includes(el))
3204
+ return;
3205
+ if (event.detail === 0)
3206
+ shouldListen = !shouldIgnore(event);
3207
+ if (!shouldListen) {
3208
+ shouldListen = true;
3209
+ return;
3210
+ }
3211
+ handler(event);
3212
+ };
3213
+ const cleanup = [
3214
+ useEventListener(window2, "click", listener, { passive: true, capture }),
3215
+ useEventListener(window2, "pointerdown", (e) => {
3216
+ const el = unrefElement(target);
3217
+ if (el)
3218
+ shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);
3219
+ }, { passive: true }),
3220
+ detectIframe && useEventListener(window2, "blur", (event) => {
3221
+ var _a2;
3222
+ const el = unrefElement(target);
3223
+ if (((_a2 = window2.document.activeElement) == null ? void 0 : _a2.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement)))
3224
+ handler(event);
3225
+ })
3226
+ ].filter(Boolean);
3227
+ const stop = () => cleanup.forEach((fn) => fn());
3228
+ return stop;
3229
+ }
3230
+ function useSupported(callback, sync = false) {
3231
+ const isSupported = ref$1();
3232
+ const update = () => isSupported.value = Boolean(callback());
3233
+ update();
3234
+ tryOnMounted(update, sync);
3235
+ return isSupported;
3236
+ }
3237
+ const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
3238
+ const globalKey = "__vueuse_ssr_handlers__";
3239
+ _global[globalKey] = _global[globalKey] || {};
3240
+ function useIntersectionObserver(target, callback, options = {}) {
3241
+ const {
3242
+ root,
3243
+ rootMargin = "0px",
3244
+ threshold = 0.1,
3245
+ window: window2 = defaultWindow
3246
+ } = options;
3247
+ const isSupported = useSupported(() => window2 && "IntersectionObserver" in window2);
3248
+ let cleanup = noop;
3249
+ const stopWatch = isSupported.value ? watch(() => ({
3250
+ el: unrefElement(target),
3251
+ root: unrefElement(root)
3252
+ }), ({ el, root: root2 }) => {
3253
+ cleanup();
3254
+ if (!el)
3255
+ return;
3256
+ const observer = new IntersectionObserver(callback, {
3257
+ root: root2,
3258
+ rootMargin,
3259
+ threshold
3260
+ });
3261
+ observer.observe(el);
3262
+ cleanup = () => {
3263
+ observer.disconnect();
3264
+ cleanup = noop;
3265
+ };
3266
+ }, { immediate: true, flush: "post" }) : noop;
3267
+ const stop = () => {
3268
+ cleanup();
3269
+ stopWatch();
3270
+ };
3271
+ tryOnScopeDispose(stop);
3272
+ return {
3273
+ isSupported,
3274
+ stop
3275
+ };
3276
+ }
3277
+ var SwipeDirection;
3278
+ (function(SwipeDirection2) {
3279
+ SwipeDirection2["UP"] = "UP";
3280
+ SwipeDirection2["RIGHT"] = "RIGHT";
3281
+ SwipeDirection2["DOWN"] = "DOWN";
3282
+ SwipeDirection2["LEFT"] = "LEFT";
3283
+ SwipeDirection2["NONE"] = "NONE";
3284
+ })(SwipeDirection || (SwipeDirection = {}));
3285
+ var __defProp = Object.defineProperty;
3286
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3287
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
3288
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
3289
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3290
+ var __spreadValues = (a, b) => {
3291
+ for (var prop in b || (b = {}))
3292
+ if (__hasOwnProp.call(b, prop))
3293
+ __defNormalProp(a, prop, b[prop]);
3294
+ if (__getOwnPropSymbols)
3295
+ for (var prop of __getOwnPropSymbols(b)) {
3296
+ if (__propIsEnum.call(b, prop))
3297
+ __defNormalProp(a, prop, b[prop]);
3298
+ }
3299
+ return a;
3300
+ };
3301
+ const _TransitionPresets = {
3302
+ easeInSine: [0.12, 0, 0.39, 0],
3303
+ easeOutSine: [0.61, 1, 0.88, 1],
3304
+ easeInOutSine: [0.37, 0, 0.63, 1],
3305
+ easeInQuad: [0.11, 0, 0.5, 0],
3306
+ easeOutQuad: [0.5, 1, 0.89, 1],
3307
+ easeInOutQuad: [0.45, 0, 0.55, 1],
3308
+ easeInCubic: [0.32, 0, 0.67, 0],
3309
+ easeOutCubic: [0.33, 1, 0.68, 1],
3310
+ easeInOutCubic: [0.65, 0, 0.35, 1],
3311
+ easeInQuart: [0.5, 0, 0.75, 0],
3312
+ easeOutQuart: [0.25, 1, 0.5, 1],
3313
+ easeInOutQuart: [0.76, 0, 0.24, 1],
3314
+ easeInQuint: [0.64, 0, 0.78, 0],
3315
+ easeOutQuint: [0.22, 1, 0.36, 1],
3316
+ easeInOutQuint: [0.83, 0, 0.17, 1],
3317
+ easeInExpo: [0.7, 0, 0.84, 0],
3318
+ easeOutExpo: [0.16, 1, 0.3, 1],
3319
+ easeInOutExpo: [0.87, 0, 0.13, 1],
3320
+ easeInCirc: [0.55, 0, 1, 0.45],
3321
+ easeOutCirc: [0, 0.55, 0.45, 1],
3322
+ easeInOutCirc: [0.85, 0, 0.15, 1],
3323
+ easeInBack: [0.36, 0, 0.66, -0.56],
3324
+ easeOutBack: [0.34, 1.56, 0.64, 1],
3325
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
3326
+ };
3327
+ __spreadValues({
3328
+ linear: identity
3329
+ }, _TransitionPresets);
3136
3330
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3137
3331
  __name: "select-more",
3138
3332
  emits: ["next"],
@@ -3739,10 +3933,6 @@ class SubTableRender {
3739
3933
  return result;
3740
3934
  }
3741
3935
  };
3742
- destroyAllModals() {
3743
- closeAllFormBaseModal();
3744
- this.modalManager.destroyAllModals();
3745
- }
3746
3936
  }
3747
3937
  class AllocateWebRender extends SubTableRender {
3748
3938
  }
@@ -3806,15 +3996,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3806
3996
  }
3807
3997
  });
3808
3998
  class MbWebRender extends MBRender {
3809
- /**
3810
- * 所有打开的modal集合
3811
- */
3812
- modalHtml;
3813
- async openConsumeModal(data) {
3814
- if (this.modalHtml) {
3999
+ /** 多 Sheet / 同屏多份表单各自持有自己的物料明细弹层。 */
4000
+ modals = /* @__PURE__ */ new Map();
4001
+ async openConsumeModal(ownerId, data) {
4002
+ if (this.modals.has(ownerId)) {
3815
4003
  return;
3816
4004
  }
3817
- this.modalHtml = window.NocodeAdapter.utils.overlay.createModal(
4005
+ const modal = window.NocodeAdapter.utils.overlay.createModal(
3818
4006
  _sfc_main$2,
3819
4007
  {
3820
4008
  data
@@ -3829,16 +4017,20 @@ class MbWebRender extends MBRender {
3829
4017
  wrapClassName: "gct-draggable-modal"
3830
4018
  }
3831
4019
  );
3832
- await this.modalHtml.present();
3833
- await this.modalHtml.onWillDismiss();
3834
- this.modalHtml = null;
3835
- }
3836
- destoryConsumeModal() {
3837
- if (this.modalHtml) {
3838
- this.modalHtml.dismiss();
3839
- this.modalHtml = null;
4020
+ this.modals.set(ownerId, modal);
4021
+ try {
4022
+ await modal.present();
4023
+ await modal.onWillDismiss();
4024
+ } finally {
4025
+ if (this.modals.get(ownerId) === modal) this.modals.delete(ownerId);
3840
4026
  }
3841
4027
  }
4028
+ destoryConsumeModal(ownerId) {
4029
+ const modal = this.modals.get(ownerId);
4030
+ if (!modal) return;
4031
+ modal.dismiss();
4032
+ this.modals.delete(ownerId);
4033
+ }
3842
4034
  }
3843
4035
  const _hoisted_1 = {
3844
4036
  class: /* @__PURE__ */ normalizeClass(["bom-modal__content"])
@@ -3938,22 +4130,21 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3938
4130
  });
3939
4131
  const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
3940
4132
  class McWebRender extends MCRender {
3941
- /**
3942
- * 所有打开的modal集合
3943
- */
4133
+ /** 多 Sheet 下所有弹层都记录实例 ownerId,禁止使用全局关闭影响其他表单。 */
3944
4134
  modals = [];
3945
- async handleModal(modal) {
3946
- this.modals.push(modal);
4135
+ async handleModal(modal, ownerId) {
4136
+ const record = { ownerId, modal };
4137
+ this.modals.push(record);
3947
4138
  await modal.present();
3948
4139
  await modal.onWillDismiss();
3949
- this.modals = this.modals.filter((item) => item !== modal);
4140
+ this.modals = this.modals.filter((item) => item !== record);
3950
4141
  }
3951
- destroyAllModals() {
3952
- closeAllFormBaseModal();
3953
- for (const modal of this.modals) {
4142
+ destroyAllModals(ownerId) {
4143
+ const targets = this.modals.filter((item) => item.ownerId === ownerId);
4144
+ for (const { modal } of targets) {
3954
4145
  modal.dismiss();
3955
4146
  }
3956
- this.modals = [];
4147
+ this.modals = this.modals.filter((item) => item.ownerId !== ownerId);
3957
4148
  }
3958
4149
  message(opts) {
3959
4150
  message.open(opts);
@@ -3966,7 +4157,7 @@ class McWebRender extends MCRender {
3966
4157
  },
3967
4158
  { mask: false }
3968
4159
  );
3969
- await this.handleModal(modal);
4160
+ await this.handleModal(modal, opts.ownerId);
3970
4161
  }
3971
4162
  async openScanModal(opts) {
3972
4163
  await useFormBaseModal(
@@ -4096,15 +4287,19 @@ export {
4096
4287
  StocktakeWebRender as S,
4097
4288
  Uploader as U,
4098
4289
  _sfc_main$5 as _,
4099
- useEventListener as a,
4100
- unrefElement as b,
4101
- useIntersectionObserver as c,
4290
+ useThrottleFn as a,
4291
+ useEventListener as b,
4292
+ isIOS as c,
4102
4293
  defaultWindow as d,
4103
- cacheAdapter as e,
4104
- initWebNocodeAdapter as f,
4105
- initRenderToAdapter as g,
4294
+ unrefElement as e,
4295
+ useIntersectionObserver as f,
4296
+ cacheAdapter as g,
4297
+ initWebNocodeAdapter as h,
4106
4298
  initWebPaasUploadApis as i,
4299
+ initRenderToAdapter as j,
4300
+ noop as n,
4107
4301
  onClickOutside as o,
4108
4302
  require$$0 as r,
4109
- useWebUpload as u
4303
+ useWebUpload as u,
4304
+ watchDebounced as w
4110
4305
  };