@gct-paas/excel 0.1.37-beta.2 → 0.1.38

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 (319) hide show
  1. package/dist/{BaseComponent-DN5v-Q_h.js → BaseComponent-5QpH6Rui.js} +2 -20
  2. package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-DZh8_F3v.js} +2 -2
  3. package/dist/{align-editor-CpscpDxA.js → align-editor-BTvIuOVN.js} +1 -1
  4. package/dist/{barcode-design-B7AoHzux.js → barcode-design-Blhh1Fsh.js} +2 -3
  5. package/dist/base/index.es.js +2799 -2279
  6. package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-DZ6ePuEf.js} +2 -3
  7. package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-Ckc4yetB.js} +3015 -7111
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js} +24570 -23749
  9. package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-DDvf_1B1.js} +1 -1
  10. package/dist/excel.css +1204 -2454
  11. package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-Co96ZEAw.js} +2 -2
  12. package/dist/{font-editor-hpUeXFv_.js → font-editor-CVRIStrS.js} +3 -3
  13. package/dist/{image-design-BnDK5Jwf.js → image-design-kQ2vbtwc.js} +2 -2
  14. package/dist/{index-BcfmxYW-.js → index-B5HIN-qO.js} +2 -3
  15. package/dist/{index-DPiPri6e.js → index-B9sZfT3j.js} +2 -3
  16. package/dist/{index-CRj08TWu.js → index-BJyfzYBO.js} +2 -3
  17. package/dist/{index-D3t6B-9k.js → index-BNiGRPzJ.js} +1 -2
  18. package/dist/{index-BWvyGnI_.js → index-BPKmoc5N.js} +2 -3
  19. package/dist/{index-sQI9wXhV.js → index-BWEQIjQE.js} +1 -2
  20. package/dist/{index-Dfs0gE3N.js → index-BaCxUMCF.js} +2 -3
  21. package/dist/{index-3n5gOxbD.js → index-Bk8MpwGt.js} +2 -3
  22. package/dist/{index-B8tTsX2y.js → index-BqI7r_XC.js} +2 -3
  23. package/dist/{index-D1C_tY7a.js → index-C1DOk9t-.js} +1 -2
  24. package/dist/{index-BEyidTCC.js → index-C3HGy13G.js} +1 -2
  25. package/dist/{index-CLyowrpG.js → index-C4tkNDTa.js} +2 -3
  26. package/dist/{index-DP1WApp-.js → index-C5ESFU7b.js} +1 -2
  27. package/dist/{index-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
  28. package/dist/{index-CZv8lo_f.js → index-CPlxRgll.js} +2 -3
  29. package/dist/{index-DX1Nqubf.js → index-CjA2dLPh.js} +2 -3
  30. package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
  31. package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
  32. package/dist/{index-CUhlQ0aK.js → index-CxpwR4N2.js} +3 -4
  33. package/dist/{index-BaC0Py3z.js → index-D3Wgt5Z0.js} +6849 -12289
  34. package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
  35. package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
  36. package/dist/{index-CUhR3L97.js → index-DJEG4gZW.js} +3 -4
  37. package/dist/{index-B9q2iVJw.js → index-DPql9xNw.js} +3 -4
  38. package/dist/{index-BboAW45l.js → index-DbDB5bsa.js} +3 -4
  39. package/dist/{index-D6T0GkNc.js → index-Def-kZ_X.js} +3 -4
  40. package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
  41. package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
  42. package/dist/{index-D9pfqRAP.js → index-DvlAMJkQ.js} +3 -6
  43. package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
  44. package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
  45. package/dist/{index-DKAk8Fzf.js → index-SV0mQReN.js} +2 -14
  46. package/dist/{index-Bxgg0txy.js → index-YlVy61FH.js} +1 -2
  47. package/dist/{index-tRVTXeIS.js → index-avQcYIlZ.js} +2 -3
  48. package/dist/index.es.js +49 -51
  49. package/dist/{mb-render-jAsNtPqY.js → mb-render-BtXKf12F.js} +15 -21
  50. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js} +8 -2
  51. package/dist/{pagination-design-lgUGQHWo.js → pagination-design-DyxVdL8V.js} +2 -3
  52. package/dist/paper-widget-design-Czt7pMDo.js +4 -0
  53. package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-eMDgLDg2.js} +1 -1
  54. package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-h26i-X1O.js} +1 -1
  55. package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-DnWhGt3I.js} +3 -3
  56. package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-DHP6m3aV.js} +2 -2
  57. package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-CBEPKC2v.js} +2 -2
  58. package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-DpaMxMlv.js} +1 -1
  59. package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-KRWMAGLy.js} +1 -1
  60. package/dist/shared/index.es.js +26 -32
  61. package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-DarhKwZE.js} +2 -2
  62. package/dist/{size-editor-OEPrJU0W.js → size-editor-BqOSTI8R.js} +1 -1
  63. package/dist/src/adapter/adapter.d.ts +1 -6
  64. package/dist/src/assets/svgs/table/index.d.ts +0 -1
  65. package/dist/src/domain/field/types.d.ts +2 -2
  66. package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
  67. package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
  68. package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
  69. package/dist/src/domain/table/design/index.d.ts +1 -1
  70. package/dist/src/domain/table/design/ribbon-options.d.ts +0 -1
  71. package/dist/src/domain/table/design/sub-model-matcher.d.ts +0 -1
  72. package/dist/src/domain/table/index.d.ts +2 -3
  73. package/dist/src/domain/table/registry.d.ts +0 -1
  74. package/dist/src/domain/table/types.d.ts +3 -8
  75. package/dist/src/index.d.ts +0 -6
  76. package/dist/src/nocode-base/src/_utils_/uuid.d.ts +0 -8
  77. package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +0 -3
  78. package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
  79. package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +17 -0
  80. package/dist/src/nocode-base/src/constant/index.d.ts +2 -8
  81. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +3 -11
  82. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +1 -0
  83. package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
  84. package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -23
  85. package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +1 -0
  86. package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -0
  87. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +5 -0
  88. package/dist/src/nocode-base/src/core/types/index.d.ts +0 -4
  89. package/dist/src/nocode-base/src/emit/enum.d.ts +12 -2
  90. package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +5 -7
  91. package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
  92. package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
  93. package/dist/src/nocode-base/src/hooks/index.d.ts +3 -5
  94. package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
  95. package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
  96. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -10
  97. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +25 -13
  98. package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +6 -5
  99. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +4 -8
  100. package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
  101. package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +0 -3
  102. package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +13 -0
  103. package/dist/src/nocode-base/src/hooks/useDependency.d.ts +1 -2
  104. package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +4 -7
  105. package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +15 -0
  106. package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +2 -3
  107. package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +9 -1
  108. package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +24 -8
  109. package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +99 -102
  110. package/dist/src/nocode-base/src/hooks/useValidator.d.ts +18 -0
  111. package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +10 -4
  112. package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +0 -1
  113. package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
  114. package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +2 -3
  115. package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +8 -5
  116. package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
  117. package/dist/src/nocode-base/src/hooks/validation/types.d.ts +8 -15
  118. package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +41 -0
  119. package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +0 -6
  120. package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
  121. package/dist/src/nocode-base/src/index.d.ts +0 -2
  122. package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
  123. package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +3 -4
  124. package/dist/src/nocode-base/src/interface/code-runner.d.ts +0 -4
  125. package/dist/src/nocode-base/src/interface/render.d.ts +2 -5
  126. package/dist/src/nocode-base/src/interface/transform.d.ts +22 -26
  127. package/dist/src/nocode-base/src/types/business/index.d.ts +1 -8
  128. package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +0 -3
  129. package/dist/src/nocode-base/src/types/common/base.d.ts +6 -62
  130. package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
  131. package/dist/src/nocode-base/src/types/fields/index.d.ts +0 -1
  132. package/dist/src/nocode-base/src/types/index.d.ts +1 -1
  133. package/dist/src/nocode-base/src/types/render/mb-render.d.ts +2 -4
  134. package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
  135. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -3
  136. package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +35 -4
  137. package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +1 -0
  138. package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +7 -4
  139. package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +6 -8
  140. package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
  141. package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +0 -2
  142. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +0 -3
  143. package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +0 -4
  144. package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -7
  145. package/dist/src/online-form/src/views/designer/enums/index.d.ts +1 -5
  146. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +0 -4
  147. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +0 -1
  148. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +678 -1208
  149. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -5
  150. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2480 -503
  151. 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
  152. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +1 -18
  153. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +327 -209
  154. package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +2 -0
  155. package/dist/src/online-form/src/views/designer/types/index.d.ts +26 -48
  156. package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +3 -8
  157. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +108 -11
  158. package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +4 -2
  159. package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
  160. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
  161. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +1 -2
  162. package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +0 -1
  163. package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +1 -2
  164. package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
  165. package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +19 -21
  166. package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
  167. package/dist/src/shared/components/Signature/index.d.ts +2 -1
  168. package/dist/src/shared/components/Signature/logic/index.d.ts +15 -2
  169. package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +29 -0
  170. package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +2 -4
  171. package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +18 -0
  172. package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +118 -0
  173. package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -1
  174. package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
  175. package/dist/src/shared/enum/field-type.d.ts +0 -23
  176. package/dist/src/shared/enum/online-form.d.ts +2 -8
  177. package/dist/src/shared/index.d.ts +0 -1
  178. package/dist/src/shared/types/field-meta.d.ts +0 -1
  179. package/dist/src/shared/utils/field-size.d.ts +2 -4
  180. package/dist/src/shared/utils/lot2sn.d.ts +0 -5
  181. package/dist/{text-design-Dd5uT-hc.js → text-design-C-EZZVRY.js} +2 -3
  182. package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-DadArQT5.js} +1 -1
  183. package/dist/{timediff-design-DhxYymPd.js → timediff-design-q-J7ObPi.js} +1 -2
  184. package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-Bt6sH9nJ.js} +2 -3
  185. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-JFeO09Sn.js} +2 -3
  186. package/dist/web-render/index.es.js +5 -6
  187. package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-BJWcsF99.js} +4 -5
  188. package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-DV6kaLwd.js} +3 -4
  189. package/dist/{widget-image-bPGudw8R.js → widget-image-ewHjWqqr.js} +5 -5
  190. package/dist/{widget-line-Dw1mkN0H.js → widget-line-BDvA6h3g.js} +2 -3
  191. package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-DY16bTxN.js} +5 -6
  192. package/dist/{widget-power-Ceni1m5s.js → widget-power-CviN2kwQ.js} +3 -4
  193. package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-61PSq7lC.js} +3 -4
  194. package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-BTvirJ4W.js} +3 -3
  195. package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-K9k_R7rl.js} +1 -1
  196. package/dist/{widget-text-BIMT_dmX.js → widget-text-vMW5bWn3.js} +5 -5
  197. package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-t_w2rNsB.js} +2 -3
  198. package/package.json +4 -4
  199. package/dist/index-Bfrtgjub.js +0 -27
  200. package/dist/paper-widget-design-B6GKQFw2.js +0 -4
  201. package/dist/print-runtime-instance-MxA8-bHV.js +0 -36
  202. package/dist/print-snapshot-renderer-D6sRzdVe.js +0 -76
  203. package/dist/seal-design-CJO9Kmm0.js +0 -4
  204. package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +0 -2
  205. package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +0 -2
  206. package/dist/src/domain/field/seal/seal-manifest.d.ts +0 -2
  207. package/dist/src/domain/field/select/inspection-container-manifest.d.ts +0 -2
  208. package/dist/src/domain/field/text/udi-manifest.d.ts +0 -2
  209. package/dist/src/domain/table/business/device/maintenance/index.d.ts +0 -1
  210. package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
  211. package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
  212. package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
  213. package/dist/src/domain/table/business/device/point-inspection/index.d.ts +0 -1
  214. package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
  215. package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
  216. package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
  217. package/dist/src/domain/table/business/device/signature-lock.d.ts +0 -9
  218. package/dist/src/domain/table/business/material/material-substitution/index.d.ts +0 -2
  219. package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -75
  220. package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
  221. package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
  222. package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
  223. package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
  224. package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +0 -7
  225. package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +0 -17
  226. package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +0 -11
  227. package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +0 -56
  228. package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
  229. package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +0 -24
  230. package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +0 -17
  231. package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -67
  232. package/dist/src/nocode-base/src/hooks/udi.d.ts +0 -6
  233. package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +0 -3
  234. package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +0 -4
  235. package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -65
  236. package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +0 -16
  237. package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +0 -66
  238. package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +0 -2
  239. package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +0 -4
  240. package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +0 -15
  241. package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +0 -11
  242. package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +0 -7
  243. package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +0 -21
  244. package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +0 -8
  245. package/dist/src/nocode-base/src/runtime/field-identity.d.ts +0 -21
  246. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +0 -7
  247. package/dist/src/nocode-base/src/runtime/index.d.ts +0 -18
  248. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +0 -43
  249. package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +0 -36
  250. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +0 -122
  251. package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +0 -82
  252. package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -26
  253. package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +0 -90
  254. package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +0 -7
  255. package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +0 -15
  256. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +0 -132
  257. package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +0 -80
  258. package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +0 -17
  259. package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +0 -296
  260. package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +0 -93
  261. package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +0 -37
  262. package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +0 -99
  263. package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +0 -44
  264. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +0 -23
  265. package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +0 -10
  266. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +0 -78
  267. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +0 -43
  268. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +0 -194
  269. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +0 -28
  270. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +0 -6
  271. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +0 -145
  272. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +0 -11
  273. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +0 -31
  274. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +0 -40
  275. package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +0 -2
  276. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +0 -6
  277. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +0 -4
  278. package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +0 -2
  279. package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +0 -2
  280. package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +0 -2
  281. package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +0 -9
  282. package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +0 -7
  283. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +0 -19
  284. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +0 -16
  285. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +0 -54
  286. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +0 -24
  287. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +0 -30
  288. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +0 -12
  289. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +0 -9
  290. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +0 -33
  291. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +0 -12
  292. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +0 -23
  293. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +0 -36
  294. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +0 -21
  295. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +0 -30
  296. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +0 -17
  297. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +0 -20
  298. package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +0 -8
  299. package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +0 -2
  300. package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +0 -2
  301. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +0 -16
  302. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +0 -17
  303. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -9
  304. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -9
  305. package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +0 -29
  306. package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -58
  307. package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +0 -14
  308. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +0 -10
  309. package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +0 -15
  310. package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +0 -9
  311. package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +0 -11
  312. package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +0 -11
  313. package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +0 -27
  314. package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +0 -24
  315. package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +0 -14
  316. package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +0 -6
  317. package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +0 -38
  318. package/dist/src/shared/seal/index.d.ts +0 -44
  319. package/dist/sub-table-factory-DLXJkTHY.js +0 -2118
@@ -1,11 +1,207 @@
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-BDkKB_4N.js";
1
+ import { an as noop, dq as tryOnScopeDispose, dr as isClient, ds as tryOnMounted, dt as resolveUnref, ao as isIOS, du as isString, dv as identity, z as api, a6 as _export_sfc, dw as getAugmentedNamespace, I as commonjsGlobal, J as getDefaultExportFromCjs, aA as watchDebounced, cM as getParseRuleConfig, cb as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js";
2
2
  import { message, Modal, Form } from "ant-design-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";
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";
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-jAsNtPqY.js";
7
- import { useFormBaseModal } from "@gct-paas/form-base";
6
+ import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BtXKf12F.js";
7
+ import { useFormBaseModal, closeAllFormBaseModal } 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);
9
205
  const uploadApis = {
10
206
  upload: null,
11
207
  transfer: (filename) => filename
@@ -2937,396 +3133,6 @@ class MemoryCache {
2937
3133
  }
2938
3134
  }
2939
3135
  }
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);
3330
3136
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3331
3137
  __name: "select-more",
3332
3138
  emits: ["next"],
@@ -3933,6 +3739,10 @@ class SubTableRender {
3933
3739
  return result;
3934
3740
  }
3935
3741
  };
3742
+ destroyAllModals() {
3743
+ closeAllFormBaseModal();
3744
+ this.modalManager.destroyAllModals();
3745
+ }
3936
3746
  }
3937
3747
  class AllocateWebRender extends SubTableRender {
3938
3748
  }
@@ -3996,13 +3806,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3996
3806
  }
3997
3807
  });
3998
3808
  class MbWebRender extends MBRender {
3999
- /** 多 Sheet / 同屏多份表单各自持有自己的物料明细弹层。 */
4000
- modals = /* @__PURE__ */ new Map();
4001
- async openConsumeModal(ownerId, data) {
4002
- if (this.modals.has(ownerId)) {
3809
+ /**
3810
+ * 所有打开的modal集合
3811
+ */
3812
+ modalHtml;
3813
+ async openConsumeModal(data) {
3814
+ if (this.modalHtml) {
4003
3815
  return;
4004
3816
  }
4005
- const modal = window.NocodeAdapter.utils.overlay.createModal(
3817
+ this.modalHtml = window.NocodeAdapter.utils.overlay.createModal(
4006
3818
  _sfc_main$2,
4007
3819
  {
4008
3820
  data
@@ -4017,19 +3829,15 @@ class MbWebRender extends MBRender {
4017
3829
  wrapClassName: "gct-draggable-modal"
4018
3830
  }
4019
3831
  );
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);
4026
- }
3832
+ await this.modalHtml.present();
3833
+ await this.modalHtml.onWillDismiss();
3834
+ this.modalHtml = null;
4027
3835
  }
4028
- destoryConsumeModal(ownerId) {
4029
- const modal = this.modals.get(ownerId);
4030
- if (!modal) return;
4031
- modal.dismiss();
4032
- this.modals.delete(ownerId);
3836
+ destoryConsumeModal() {
3837
+ if (this.modalHtml) {
3838
+ this.modalHtml.dismiss();
3839
+ this.modalHtml = null;
3840
+ }
4033
3841
  }
4034
3842
  }
4035
3843
  const _hoisted_1 = {
@@ -4130,21 +3938,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4130
3938
  });
4131
3939
  const BomModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d267371"]]);
4132
3940
  class McWebRender extends MCRender {
4133
- /** 多 Sheet 下所有弹层都记录实例 ownerId,禁止使用全局关闭影响其他表单。 */
3941
+ /**
3942
+ * 所有打开的modal集合
3943
+ */
4134
3944
  modals = [];
4135
- async handleModal(modal, ownerId) {
4136
- const record = { ownerId, modal };
4137
- this.modals.push(record);
3945
+ async handleModal(modal) {
3946
+ this.modals.push(modal);
4138
3947
  await modal.present();
4139
3948
  await modal.onWillDismiss();
4140
- this.modals = this.modals.filter((item) => item !== record);
3949
+ this.modals = this.modals.filter((item) => item !== modal);
4141
3950
  }
4142
- destroyAllModals(ownerId) {
4143
- const targets = this.modals.filter((item) => item.ownerId === ownerId);
4144
- for (const { modal } of targets) {
3951
+ destroyAllModals() {
3952
+ closeAllFormBaseModal();
3953
+ for (const modal of this.modals) {
4145
3954
  modal.dismiss();
4146
3955
  }
4147
- this.modals = this.modals.filter((item) => item.ownerId !== ownerId);
3956
+ this.modals = [];
4148
3957
  }
4149
3958
  message(opts) {
4150
3959
  message.open(opts);
@@ -4157,7 +3966,7 @@ class McWebRender extends MCRender {
4157
3966
  },
4158
3967
  { mask: false }
4159
3968
  );
4160
- await this.handleModal(modal, opts.ownerId);
3969
+ await this.handleModal(modal);
4161
3970
  }
4162
3971
  async openScanModal(opts) {
4163
3972
  await useFormBaseModal(
@@ -4287,19 +4096,15 @@ export {
4287
4096
  StocktakeWebRender as S,
4288
4097
  Uploader as U,
4289
4098
  _sfc_main$5 as _,
4290
- useThrottleFn as a,
4291
- useEventListener as b,
4292
- isIOS as c,
4099
+ useEventListener as a,
4100
+ unrefElement as b,
4101
+ useIntersectionObserver as c,
4293
4102
  defaultWindow as d,
4294
- unrefElement as e,
4295
- useIntersectionObserver as f,
4296
- cacheAdapter as g,
4297
- initWebNocodeAdapter as h,
4103
+ cacheAdapter as e,
4104
+ initWebNocodeAdapter as f,
4105
+ initRenderToAdapter as g,
4298
4106
  initWebPaasUploadApis as i,
4299
- initRenderToAdapter as j,
4300
- noop as n,
4301
4107
  onClickOutside as o,
4302
4108
  require$$0 as r,
4303
- useWebUpload as u,
4304
- watchDebounced as w
4109
+ useWebUpload as u
4305
4110
  };