@gct-paas/excel 0.1.12 → 0.1.14

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 (134) hide show
  1. package/dist/{VueVideoPlayer-d4JJML6j.js → VueVideoPlayer-Db7qcsRE.js} +2 -2
  2. package/dist/{agg-design-C7LsX4wO.js → agg-design-D_bnN4p_.js} +1 -1
  3. package/dist/{agg-props-C1ZOhIiC.js → agg-props-CrdosdGr.js} +1 -1
  4. package/dist/{agg-style-C2RvlFZZ.js → agg-style-CHjNdEgd.js} +1 -1
  5. package/dist/{align-editor-BeR32X3b.js → align-editor-BaNT0jhx.js} +1 -1
  6. package/dist/{attach-fields-editor-D9tv2WAk.js → attach-fields-editor-BHubIJqt.js} +2 -2
  7. package/dist/{barcode-design-B5OKxkjs.js → barcode-design-DLnc5667.js} +2 -2
  8. package/dist/base/index.es.js +6 -6
  9. package/dist/{base-font-editor-gMPKQobT.js → base-font-editor-D3NbRsXW.js} +2 -2
  10. package/dist/{boolean-design-CUFpKhqe.js → boolean-design-tIk_bVKv.js} +2 -2
  11. package/dist/{boolean-props-BJC2AhBl.js → boolean-props-BNmdmnN_.js} +3 -3
  12. package/dist/{boolean-style-Bu5sUXbn.js → boolean-style-DkYiooCK.js} +4 -4
  13. package/dist/{cell-upload-rKSx6kTg.js → cell-upload-CVH4AqHr.js} +2 -2
  14. package/dist/{date-format-editor-DI3Y09mq.js → date-format-editor-NxEEz6Iy.js} +2 -2
  15. package/dist/{date-time-design-taO0zTTU.js → date-time-design-Du8pmDo-.js} +1 -1
  16. package/dist/{date-time-props-CvR9LXOo.js → date-time-props-DGPwWjqI.js} +3 -3
  17. package/dist/{date-time-style-r1JuXbzs.js → date-time-style-BOpu7_Hx.js} +1 -1
  18. package/dist/{decimal-design-ulvNw1eD.js → decimal-design-C2GbzP9k.js} +1 -1
  19. package/dist/{decimal-display-mode-oy-xAtqq.js → decimal-display-mode-DO9RGiuD.js} +2 -2
  20. package/dist/{decimal-props-BIFLYxbo.js → decimal-props-BjjCsPYR.js} +4 -4
  21. package/dist/{decimal-style-dRW-vGM6.js → decimal-style-CsK_xE5b.js} +1 -1
  22. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-3GFwpbHl.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CGoJ0i5J.js} +2 -2
  23. package/dist/{diagonal-design-UI1rZvTg.js → diagonal-design-CnllVbHF.js} +2 -2
  24. package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js} +6 -5
  25. package/dist/{document-sub-table-action-DoKGpAG_.js → document-sub-table-action-rz6gyez5.js} +2 -2
  26. package/dist/{double-design-CWXK_XqO.js → double-design-CyXEqcV7.js} +1 -1
  27. package/dist/{double-props-BkbA67BO.js → double-props-Cz1tntyC.js} +4 -4
  28. package/dist/{double-style-C_3b4XzZ.js → double-style-DlpQGKon.js} +1 -1
  29. package/dist/{edit.utils-CXmmCnxE-BCLXHJdj.js → edit.utils-CXmmCnxE-DW8ClKe9.js} +1 -1
  30. package/dist/{enum-design-D19czKYv.js → enum-design-D_aQ8JzA.js} +2 -2
  31. package/dist/{enum-props-CBSPufYp.js → enum-props-BX8_T4nA.js} +4 -4
  32. package/dist/{enum-style-BtW1oU-2.js → enum-style-GVXPn_ar.js} +2 -2
  33. package/dist/{exceljs.min-BbK1G0Sp.js → exceljs.min-D9gV8q6H.js} +2 -2
  34. package/dist/{expression-design-CajaHsXd.js → expression-design-BdV6VUBg.js} +1 -1
  35. package/dist/{expression-props-D5yAvTfp.js → expression-props-BpHbrsle.js} +1 -1
  36. package/dist/{expression-style-7xxnO4tf.js → expression-style-C2DnFbAt.js} +1 -1
  37. package/dist/{file-design-DQSIvQDV.js → file-design-BuAI8y9h.js} +1 -1
  38. package/dist/{file-props-CFJH9fqG.js → file-props-BSJqce72.js} +2 -2
  39. package/dist/{file-style-B4X31a1Q.js → file-style-C6KW_szu.js} +1 -1
  40. package/dist/{font-editor-npsfUQhh.js → font-editor-CIM2Mjxk.js} +3 -3
  41. package/dist/{form-annotation-controller-83IvwhS0.js → form-annotation-controller-KcMm2QYA.js} +2 -2
  42. package/dist/{image-design-DHkixm-K.js → image-design-CCfpT4Rp.js} +2 -2
  43. package/dist/{image-design-CAUNlkot.js → image-design-HFvSBatP.js} +2 -2
  44. package/dist/{image-props-DFaDpTo1.js → image-props-bLcWJoSM.js} +1 -1
  45. package/dist/{image-style-CN7Kwe4C.js → image-style-DX6Q_gF4.js} +1 -1
  46. package/dist/{index-mpkyqmP9.js → index-B4MNHAE7.js} +2 -2
  47. package/dist/{index-20qJwPZx.js → index-BB5uSbo3.js} +1 -1
  48. package/dist/{index-Dq9aNm3v.js → index-BEBKoAOg.js} +1 -1
  49. package/dist/{index-Cad2VjFj.js → index-BJYc6k0f.js} +2 -2
  50. package/dist/{index-Bj2nc8E2.js → index-BJhQ2fXo.js} +85 -74
  51. package/dist/{index-D9YqAJFB.js → index-BXMOCfWv.js} +1 -1
  52. package/dist/{index-DmYKH5MH.js → index-BYl8cK0A.js} +1 -1
  53. package/dist/{index-BpadLuXQ.js → index-Be7TFwwX.js} +1 -1
  54. package/dist/{index-CSO-MSJ4.js → index-Bg-x1hF6.js} +1 -1
  55. package/dist/{index-Dl0hnuM6.js → index-BhzF0Rp3.js} +1 -1
  56. package/dist/{index--bfaGB6L.js → index-BzhFcvnJ.js} +1 -1
  57. package/dist/{index-B4XCYx73.js → index-C8qPy1oW.js} +1 -1
  58. package/dist/{index-Dxl_DuNO.js → index-CIoB2iny.js} +1 -1
  59. package/dist/{index-BnTIz0wj.js → index-CX6rz5E0.js} +2 -2
  60. package/dist/{index-C4FpUsR_.js → index-CmaPtyCh.js} +1 -1
  61. package/dist/{index-CgEIr0Qx.js → index-CtTSTTkq.js} +1 -1
  62. package/dist/{index-CGM_uWTs.js → index-D6diRqWG.js} +1 -1
  63. package/dist/{index-DH64qI8o.js → index-DBGtGiTt.js} +2 -2
  64. package/dist/{index-C4-0v0ZB.js → index-DFgGQBCZ.js} +3 -2
  65. package/dist/{index-CoKnnND9.js → index-DJISlRXi.js} +1 -1
  66. package/dist/{index-CoE5YwYI.js → index-DOFSbVSN.js} +1 -1
  67. package/dist/{index-DA7DGGlY.js → index-DRKvAxuA.js} +1 -1
  68. package/dist/{index-C9zUwcNj.js → index-DRd2oRK1.js} +1 -1
  69. package/dist/{index-n17n94Jy.js → index-Da7W9uBC.js} +1 -1
  70. package/dist/{index-DZS3hsfK.js → index-Doxcf2Zs.js} +1 -1
  71. package/dist/{index-DgU_VQdf.js → index-DsASTvC2.js} +1 -1
  72. package/dist/{index-BWgsd2z9.js → index-Dsj3FuVs.js} +1 -1
  73. package/dist/{index-BBM8-adL.js → index-Dy_erwbZ.js} +2 -2
  74. package/dist/{index-Db4VwlQC.js → index-DzIKEtWw.js} +1 -1
  75. package/dist/{index-CXRfIrVb.js → index-IUYnmIJe.js} +1 -1
  76. package/dist/{index-DOo5-oVV.js → index-XbgrTOMF.js} +1 -1
  77. package/dist/{index-DCaFnKzD.js → index-bvhV6lsn.js} +1 -1
  78. package/dist/{index-JClPMOkh.js → index-tbaOl7Nd.js} +1 -1
  79. package/dist/index.es.js +33 -32
  80. package/dist/{integer-design-DUSdAdsR.js → integer-design-CPzJPZon.js} +1 -1
  81. package/dist/{integer-props-i1Bgd3TD.js → integer-props-D0ivl0vl.js} +4 -4
  82. package/dist/{integer-style-Bs-dns9N.js → integer-style-jb-NcCZ3.js} +1 -1
  83. package/dist/{mb-render-Dg7VYy7X.js → mb-render-Bejyn-ep.js} +1 -1
  84. package/dist/{number-input-ex-BEigpuQ6.js → number-input-ex-CgwOH18n.js} +1 -1
  85. package/dist/{org-props-DwEbVlPA.js → org-props-GukTTuwd.js} +2 -2
  86. package/dist/{org-style-CLiQAdz9.js → org-style-DyegGzSf.js} +1 -1
  87. package/dist/{pagination-design-B00ZvllJ.js → pagination-design-C6iIi-DV.js} +2 -2
  88. package/dist/paper-widget-design-Bdt2a2bR.js +4 -0
  89. package/dist/{qrcode-design-Cb2jBkmj.js → qrcode-design-CzNg-2TA.js} +1 -1
  90. package/dist/{ref-autofill-editor-n3vrWAxv.js → ref-autofill-editor-B2vPeD6v.js} +2 -2
  91. package/dist/{ref-props-DqAV0qLd.js → ref-props-D92K9oXS.js} +3 -3
  92. package/dist/{ref-style-CdmWtEFc.js → ref-style-CPzyiQr8.js} +1 -1
  93. package/dist/{revo-grid.entry-BXFHCUhx.js → revo-grid.entry-ztDhASK3.js} +1 -1
  94. package/dist/{revogr-attribution_7.entry-Cwmq3fZn.js → revogr-attribution_7.entry-BtXV91vv.js} +3 -3
  95. package/dist/{revogr-clipboard_3.entry-BvOpZUG9.js → revogr-clipboard_3.entry-DXpq4oNb.js} +2 -2
  96. package/dist/{revogr-data_4.entry-P7N9s2WY.js → revogr-data_4.entry-WA1PNcGb.js} +2 -2
  97. package/dist/{revogr-filter-panel.entry-BAq-CvCo.js → revogr-filter-panel.entry-unpVAD7l.js} +1 -1
  98. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CAdMT7QO.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D2pMMKdv.js} +2 -2
  99. package/dist/{serialnumber-design-DNn9NfBt.js → serialnumber-design-ClArHZWU.js} +1 -1
  100. package/dist/shared/index.es.js +2 -2
  101. package/dist/{signature-design-BkgoenJq.js → signature-design-LghR2hj9.js} +1 -1
  102. package/dist/{signature-props-BFBsm8C6.js → signature-props-B2-w0nID.js} +3 -3
  103. package/dist/{signature-style-DtVe8fjs.js → signature-style-DtlZdeFB.js} +1 -1
  104. package/dist/{single-field-drop-DvW3gWsm.js → single-field-drop-D_ol3SXP.js} +2 -2
  105. package/dist/{size-editor-DfXuwW02.js → size-editor-DyGGEX3s.js} +1 -1
  106. package/dist/src/adapter/adapter.d.ts +14 -0
  107. package/dist/src/adapter/setup.d.ts +7 -3
  108. package/dist/{text-design-DPQAvuod.js → text-design-DarbJugB.js} +2 -2
  109. package/dist/{text-design-BZ4_ttv9.js → text-design-u9_vkWVB.js} +2 -2
  110. package/dist/{text-props-9W8OE-8u.js → text-props-D-HVZ6Vy.js} +4 -4
  111. package/dist/{text-style-DJ06d-My.js → text-style-2IYLF8gz.js} +1 -1
  112. package/dist/{throttle-Cpk1LoGk-2hIzMxja.js → throttle-Cpk1LoGk-BWXeZXFZ.js} +1 -1
  113. package/dist/{timediff-design-CuBdiB7r.js → timediff-design-DEh9xNVa.js} +1 -1
  114. package/dist/{trace-design-CtGEPzfh.js → trace-design-CVKhejlL.js} +2 -2
  115. package/dist/{trace-props-pat0WDAs.js → trace-props-D4Bx13Xt.js} +5 -5
  116. package/dist/{trace-style-aH2e121M.js → trace-style-DHKM3daM.js} +1 -1
  117. package/dist/{user-props-CQLseQeZ.js → user-props-DTpfy_Fl.js} +2 -2
  118. package/dist/{user-style-BF2h5o2F.js → user-style-BfpzgSVA.js} +1 -1
  119. package/dist/{value-editor.vue_vue_type_style_index_0_lang-D1wcuG55.js → value-editor.vue_vue_type_style_index_0_lang-JJTlORwi.js} +2 -2
  120. package/dist/{version-select-CiqPkkuS.js → version-select-dvsx-Ifv.js} +1 -1
  121. package/dist/web-render/index.es.js +4 -4
  122. package/dist/{widget-barcode-DT4YM8MF.js → widget-barcode-BiGgCTyr.js} +4 -4
  123. package/dist/{widget-diagonal-Dx7KAXjY.js → widget-diagonal-B4vFZCXK.js} +3 -3
  124. package/dist/{widget-image-Br3wMM2J.js → widget-image-BH-abjes.js} +5 -5
  125. package/dist/{widget-line-CXIKsu-H.js → widget-line-2reL5omx.js} +2 -2
  126. package/dist/{widget-pagination-DaKB2HrC.js → widget-pagination-a8LiY08i.js} +5 -5
  127. package/dist/{widget-power-8IDJQoPW.js → widget-power-1jxtTK1V.js} +3 -3
  128. package/dist/{widget-qrcode-C9bsHvMx.js → widget-qrcode-CrcKuMqq.js} +3 -3
  129. package/dist/{widget-rangelimit-DqTQ7cur.js → widget-rangelimit-BaePvx3j.js} +3 -3
  130. package/dist/{widget-serialnumber-B0TT9s8K.js → widget-serialnumber-Ck07ifYo.js} +1 -1
  131. package/dist/{widget-text-DSY9nKzc.js → widget-text-1nSzC-0g.js} +5 -5
  132. package/dist/{widget-timediff-K8cwOEww.js → widget-timediff-tU_3B_yR.js} +2 -2
  133. package/package.json +1 -1
  134. package/dist/paper-widget-design-DFXznRiz.js +0 -4
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { z, E, G, H, J, K, N, B, g, C, O, Q, U, W, X, Y, Z, $, a0, a1, a2, v, a3, a4, a5, x, a6, p, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, u } from "./index-Bj2nc8E2.js";
2
- import { O as O2, _, V } from "./version-select-CiqPkkuS.js";
1
+ import { z, E, G, H, J, K, N, B, g, C, O, Q, U, W, X, Y, Z, $, a0, a1, a2, a3, v, a4, a5, a6, x, a7, p, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, u } from "./index-BJhQ2fXo.js";
2
+ import { O as O2, _, V } from "./version-select-dvsx-Ifv.js";
3
3
  export {
4
4
  z as ApaasCollect,
5
5
  E as ApaasCollectSheetView,
@@ -11,41 +11,42 @@ export {
11
11
  B as BwipCodeTypeOptions,
12
12
  g as CellWidgetCategory,
13
13
  C as CellWidgetRenderComp,
14
- O as ContextMenu,
15
- Q as DesignMode,
16
- U as DomParser,
17
- W as EXCEL_PACKAGE_NAME,
18
- X as ExcelHostComponentNames,
19
- Y as FIELD_TYPE_LABEL_MAP,
20
- Z as FieldSceneType,
21
- $ as FieldTypeToCellWidgetMap,
22
- a0 as FontFamilyEnum,
23
- a1 as FontFamilyOptions,
24
- a2 as InputParamModal,
14
+ O as CodeHelper,
15
+ Q as ContextMenu,
16
+ U as DesignMode,
17
+ W as DomParser,
18
+ X as EXCEL_PACKAGE_NAME,
19
+ Y as ExcelHostComponentNames,
20
+ Z as FIELD_TYPE_LABEL_MAP,
21
+ $ as FieldSceneType,
22
+ a0 as FieldTypeToCellWidgetMap,
23
+ a1 as FontFamilyEnum,
24
+ a2 as FontFamilyOptions,
25
+ a3 as InputParamModal,
25
26
  v as LineStyleOptions,
26
- a3 as NocodeAdapter,
27
- a4 as ObjectInitModal,
27
+ a4 as NocodeAdapter,
28
+ a5 as ObjectInitModal,
28
29
  O2 as OnlineFormModelModal,
29
30
  _ as OnlineFormModelSelect,
30
- a5 as OutParamModal,
31
+ a6 as OutParamModal,
31
32
  x as PaginationFormatOptions,
32
- a6 as PanelTmplConfig,
33
+ a7 as PanelTmplConfig,
33
34
  p as PanelType,
34
- a7 as PreviewContainer,
35
- a8 as RangeLimitType,
36
- a9 as ResizeDirection,
37
- aa as SelectCheckDsModal,
38
- ab as SignatureConfigModal,
39
- ac as VersionDiffPreviewRouter,
35
+ a8 as PreviewContainer,
36
+ a9 as RangeLimitType,
37
+ aa as ResizeDirection,
38
+ ab as SelectCheckDsModal,
39
+ ac as SignatureConfigModal,
40
+ ad as VersionDiffPreviewRouter,
40
41
  V as VersionSelect,
41
- ad as XlsxParser,
42
- ae as calcUsedFields,
43
- af as createDefaultExcelStores,
44
- ag as isReverseModelingEnabled,
45
- ah as openVersionDiff,
46
- ai as registerExcelHostComponents,
47
- aj as scanField,
48
- ak as setupExcel,
49
- al as useCheckItem,
42
+ ae as XlsxParser,
43
+ af as calcUsedFields,
44
+ ag as createDefaultExcelStores,
45
+ ah as isReverseModelingEnabled,
46
+ ai as openVersionDiff,
47
+ aj as registerExcelHostComponents,
48
+ ak as scanField,
49
+ al as setupExcel,
50
+ am as useCheckItem,
50
51
  u as useModelFields
51
52
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
2
- import { N as NumberInputEx } from "./number-input-ex-BEigpuQ6.js";
2
+ import { N as NumberInputEx } from "./number-input-ex-CgwOH18n.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "integer-design",
5
5
  props: {
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode, Fragment } from "vue";
2
- import { F as FormItem } from "./index-Bj2nc8E2.js";
3
- import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-3GFwpbHl.js";
4
- import { E as useNamespace, _ as _export_sfc, t as FormTypeEnum, F as FIELD_TYPE, bm as FormDesignEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { F as FormItem } from "./index-BJhQ2fXo.js";
3
+ import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CGoJ0i5J.js";
4
+ import { E as useNamespace, _ as _export_sfc, t as FormTypeEnum, F as FIELD_TYPE, bm as FormDesignEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
- import { V as VersionSelect } from "./version-select-CiqPkkuS.js";
7
+ import { V as VersionSelect } from "./version-select-dvsx-Ifv.js";
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "number-step-counter-editor",
10
10
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "integer-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { reactive, inject, provide, watch, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref } from "vue";
2
- import { i as api, F as FIELD_TYPE, C as CreateType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { i as api, F as FIELD_TYPE, C as CreateType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  const InstanceStatusValues = {
4
4
  /** 作废状态 */
5
5
  ABANDON: "ABANDON",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, createSlots, withCtx, createElementBlock, toDisplayString, createCommentVNode } from "vue";
2
- import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  import { isNil } from "lodash-es";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "number-input-ex",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-Bj2nc8E2.js";
3
- import { aS as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { F as FormItem } from "./index-BJhQ2fXo.js";
3
+ import { aS as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "org-style",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
2
- import { P as PaginationFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { P as PaginationFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
- import { n as calcText } from "./index-Bj2nc8E2.js";
5
+ import { n as calcText } from "./index-BJhQ2fXo.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "pagination-design",
8
8
  props: {
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./index-BJhQ2fXo.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, m as loadBwip } from "./index-Bj2nc8E2.js";
2
+ import { B as BwipCodeTypeOptions, m as loadBwip } from "./index-BJhQ2fXo.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toRefs, ref, reactive, onMounted, createElementVNode, createTextVNode, toDisplayString, unref, createBlock, normalizeClass, createCommentVNode, withDirectives, vShow, h, mergeProps } from "vue";
2
- import { F as FIELD_TYPE, C as CreateType, i as api, I as FieldIconMap, g as SubTableType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
3
- import { u as useModelFields, k as SEARCH_TYPE, F as FormItem, e as draggableComponent, t as transformMappingField4Auto } from "./index-Bj2nc8E2.js";
2
+ import { F as FIELD_TYPE, C as CreateType, i as api, I as FieldIconMap, g as SubTableType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { u as useModelFields, k as SEARCH_TYPE, F as FormItem, e as draggableComponent, t as transformMappingField4Auto } from "./index-BJhQ2fXo.js";
4
4
  import { cloneDeep } from "lodash-es";
5
5
  import { useModal } from "@gct-paas/core";
6
6
  const _hoisted_1$2 = { class: "quick-search-editor" };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
2
- import { i as api, F as FIELD_TYPE$1, bf as FIELD_TYPE_BASIC, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
3
- import { k as SEARCH_TYPE, u as useModelFields, F as FormItem, l as IconTooltip } from "./index-Bj2nc8E2.js";
4
- import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-n3vrWAxv.js";
2
+ import { i as api, F as FIELD_TYPE$1, bf as FIELD_TYPE_BASIC, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { k as SEARCH_TYPE, u as useModelFields, F as FormItem, l as IconTooltip } from "./index-BJhQ2fXo.js";
4
+ import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-B2vPeD6v.js";
5
5
  import { message } from "ant-design-vue";
6
6
  import { FIELD_TYPE, useModal } from "@gct-paas/core";
7
7
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "ref-style",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { bp as registerInstance, bq as createEvent, br as getColumnByProp, bs as timeout, bt as getVisibleSourceItem, bu as getColumns, bv as rowTypes, bw as GroupingRowPlugin, bx as StretchColumn, by as isStretchPlugin, bz as AutoSizeColumnPlugin, bA as FilterPlugin, bB as ExportFilePlugin, bC as SortingPlugin, bD as ColumnMovePlugin, bE as ThemeService, bF as h, bG as Host, bH as getElement, bI as BasePlugin, bJ as reduce, bK as columnTypes, bL as debounce, bM as RESIZE_INTERVAL, bN as DimensionStore, bO as gatherTrimmedItems, bP as getColumnSizes, bQ as getItemByIndex, bR as DataStore, bS as getSourceItem, bT as getSourceItemVirtualIndexByProp, bU as getColumnType, bV as setSourceByPhysicalIndex, bW as setSourceByVirtualIndex, bX as SelectionStore, bY as cropCellToMax, bZ as nextCell, b_ as isRowType, b$ as ViewportStore } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
1
+ import { bp as registerInstance, bq as createEvent, br as getColumnByProp, bs as timeout, bt as getVisibleSourceItem, bu as getColumns, bv as rowTypes, bw as GroupingRowPlugin, bx as StretchColumn, by as isStretchPlugin, bz as AutoSizeColumnPlugin, bA as FilterPlugin, bB as ExportFilePlugin, bC as SortingPlugin, bD as ColumnMovePlugin, bE as ThemeService, bF as h, bG as Host, bH as getElement, bI as BasePlugin, bJ as reduce, bK as columnTypes, bL as debounce, bM as RESIZE_INTERVAL, bN as DimensionStore, bO as gatherTrimmedItems, bP as getColumnSizes, bQ as getItemByIndex, bR as DataStore, bS as getSourceItem, bT as getSourceItemVirtualIndexByProp, bU as getColumnType, bV as setSourceByPhysicalIndex, bW as setSourceByVirtualIndex, bX as SelectionStore, bY as cropCellToMax, bZ as nextCell, b_ as isRowType, b$ as ViewportStore } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
2
  import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
3
3
  import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
4
4
  class ColumnDataProvider {
@@ -1,8 +1,8 @@
1
- import { bp as registerInstance, bF as h, bG as Host, bq as createEvent, bS as getSourceItem, bH as getElement, c4 as ColumnService, c5 as MOBILE_CLASS, c6 as SELECTION_BORDER_CLASS, c7 as getCellData, c8 as getCellEditor, c9 as getRange, ca as isRangeSingleCell, cb as codesLetter, b$ as ViewportStore, bR as DataStore, cc as calculateRowHeaderSize, cd as ROW_HEADER_TYPE, ce as getScrollbarSize, cf as FOCUS_CLASS, bQ as getItemByIndex, bs as timeout, cg as CELL_HANDLER_CLASS, bL as debounce, ch as TMP_SELECTION_BG_CLASS, bM as RESIZE_INTERVAL, ci as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
1
+ import { bp as registerInstance, bF as h, bG as Host, bq as createEvent, bS as getSourceItem, bH as getElement, c4 as ColumnService, c5 as MOBILE_CLASS, c6 as SELECTION_BORDER_CLASS, c7 as getCellData, c8 as getCellEditor, c9 as getRange, ca as isRangeSingleCell, cb as codesLetter, b$ as ViewportStore, bR as DataStore, cc as calculateRowHeaderSize, cd as ROW_HEADER_TYPE, ce as getScrollbarSize, cf as FOCUS_CLASS, bQ as getItemByIndex, bs as timeout, cg as CELL_HANDLER_CLASS, bL as debounce, ch as TMP_SELECTION_BG_CLASS, bM as RESIZE_INTERVAL, ci as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
2
  import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
3
- import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-BCLXHJdj.js";
3
+ import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-DW8ClKe9.js";
4
4
  import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
5
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-2hIzMxja.js";
5
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BWXeZXFZ.js";
6
6
  const Attribution = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
@@ -1,5 +1,5 @@
1
- import { bs as timeout, bp as registerInstance, bq as createEvent, bF as h, cj as EDIT_INPUT_WR, bG as Host, bH as getElement, bL as debounce, cm as DRAGG_TEXT, bS as getSourceItem, ci as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
- import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BCLXHJdj.js";
1
+ import { bs as timeout, bp as registerInstance, bq as createEvent, bF as h, cj as EDIT_INPUT_WR, bG as Host, bH as getElement, bL as debounce, cm as DRAGG_TEXT, bS as getSourceItem, ci as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-DW8ClKe9.js";
3
3
  class TextEditor {
4
4
  constructor(data, saveCallback) {
5
5
  this.data = data;
@@ -1,5 +1,5 @@
1
- import { cn as PSEUDO_GROUP_ITEM, co as GROUP_EXPANDED, cp as GROUP_DEPTH, bF as h, cq as GROUP_EXPAND_BTN, cr as DATA_ROW, bS as getSourceItem, cs as isGroupingColumn, ct as GROUP_COLUMN_PROP, cu as getCellRaw, cv as DATA_COL, cw as CELL_CLASS, cx as Build, cy as isRowDragService, cz as DRAG_ICON_CLASS, cA as DRAGGABLE_CLASS, cB as getCellDataParsed, cC as GROUP_EXPAND_EVENT, bp as registerInstance, bq as createEvent, c4 as ColumnService, cD as isGrouping, bG as Host, bH as getElement, bQ as getItemByIndex, cE as HEADER_ROW_CLASS, cF as HEADER_ACTUAL_ROW_CLASS, cG as ROW_FOCUSED_CLASS, cH as HEADER_SORTABLE_CLASS, cI as MIN_COL_SIZE, cf as FOCUS_CLASS, cJ as FilterButton, cK as HeaderCellRenderer, cL as HEADER_CLASS } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
- import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-2hIzMxja.js";
1
+ import { cn as PSEUDO_GROUP_ITEM, co as GROUP_EXPANDED, cp as GROUP_DEPTH, bF as h, cq as GROUP_EXPAND_BTN, cr as DATA_ROW, bS as getSourceItem, cs as isGroupingColumn, ct as GROUP_COLUMN_PROP, cu as getCellRaw, cv as DATA_COL, cw as CELL_CLASS, cx as Build, cy as isRowDragService, cz as DRAG_ICON_CLASS, cA as DRAGGABLE_CLASS, cB as getCellDataParsed, cC as GROUP_EXPAND_EVENT, bp as registerInstance, bq as createEvent, c4 as ColumnService, cD as isGrouping, bG as Host, bH as getElement, bQ as getItemByIndex, cE as HEADER_ROW_CLASS, cF as HEADER_ACTUAL_ROW_CLASS, cG as ROW_FOCUSED_CLASS, cH as HEADER_SORTABLE_CLASS, cI as MIN_COL_SIZE, cf as FOCUS_CLASS, cJ as FilterButton, cK as HeaderCellRenderer, cL as HEADER_CLASS } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BWXeZXFZ.js";
3
3
  import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
4
4
  const SortingSign = ({ column }) => {
5
5
  var _a;
@@ -1,4 +1,4 @@
1
- import { bp as registerInstance, bq as createEvent, bL as debounce, bF as h, c0 as AndOrButton, c1 as ReorderButton, c2 as TrashButton, c3 as isFilterBtn, bG as Host, bH as getElement } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
1
+ import { bp as registerInstance, bq as createEvent, bL as debounce, bF as h, c0 as AndOrButton, c1 as ReorderButton, c2 as TrashButton, c3 as isFilterBtn, bG as Host, bH as getElement } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
2
  (function closest() {
3
3
  if (!Element.prototype.matches) {
4
4
  Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, unref, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
2
- import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-Bj2nc8E2.js";
3
- import { O as Orientation, v as LabelPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-BJhQ2fXo.js";
3
+ import { O as Orientation, v as LabelPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
2
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "serialnumber-design",
@@ -1,5 +1,5 @@
1
- import { Q, bd, C, R, a1, be, X, Y, F, bf, d, bg, bh, bi, bj, bk, bl, c, n, q, I, j, bm, at, bn, Z, bo, U, au, o } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
- import { O, _, S, V } from "../version-select-CiqPkkuS.js";
1
+ import { Q, bd, C, R, a1, be, X, Y, F, bf, d, bg, bh, bi, bj, bk, bl, c, n, q, I, j, bm, at, bn, Z, bo, U, au, o } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
+ import { O, _, S, V } from "../version-select-dvsx-Ifv.js";
3
3
  import { S as S2 } from "../AntdIcon-C3RMq2zm.js";
4
4
  var Platform = /* @__PURE__ */ ((Platform2) => {
5
5
  Platform2["WEB"] = "web";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock } from "vue";
2
- import { C as CellUpload } from "./cell-upload-rKSx6kTg.js";
2
+ import { C as CellUpload } from "./cell-upload-CVH4AqHr.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "signature-design",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
2
2
  import { message } from "ant-design-vue";
3
- import { A as SignatureTypeEnum, y as SignatureTimeTypeEnum, F as FIELD_TYPE, x as SignatureNumberTypeEnum, $ as ImageDisplayModeEnum, z as SignShowTypeEnum, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
4
- import { F as FormItem, S as SelectEx } from "./index-Bj2nc8E2.js";
5
- import { A as AttachFieldEditor } from "./attach-fields-editor-D9tv2WAk.js";
3
+ import { A as SignatureTypeEnum, y as SignatureTimeTypeEnum, F as FIELD_TYPE, x as SignatureNumberTypeEnum, $ as ImageDisplayModeEnum, z as SignShowTypeEnum, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
+ import { F as FormItem, S as SelectEx } from "./index-BJhQ2fXo.js";
5
+ import { A as AttachFieldEditor } from "./attach-fields-editor-BHubIJqt.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
8
  const _hoisted_1 = { class: "adaptive-warning" };
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
1
+ import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return null;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
- import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
3
- import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-Bj2nc8E2.js";
2
+ import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
+ import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-BJhQ2fXo.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -86,6 +86,14 @@ export interface ExcelPopup {
86
86
  export interface ExcelDialog {
87
87
  open: (component: any, payload?: Record<string, any>) => void;
88
88
  }
89
+ /** 代码运行辅助(抽象类型;具体实现由宿主 setupExcel 注入) */
90
+ export declare abstract class CodeHelper {
91
+ protected static _babel: any;
92
+ /** setupExcel await loadBabel 后写入,业务同步读取 */
93
+ static babel: any;
94
+ /** 异步加载 Babel(宿主实现) */
95
+ static abstract loadBabel(): Promise<any>;
96
+ }
89
97
  /** 宿主注入的工具方法 */
90
98
  export interface ExcelHostUtils {
91
99
  /** 全局模态 / 抽屉等呈现控制器 */
@@ -100,6 +108,12 @@ export interface ExcelHostUtils {
100
108
  * 宿主:setupExcel({ utils: { GctDialog } })
101
109
  */
102
110
  GctDialog?: ExcelDialog;
111
+ /**
112
+ * 代码辅助(须由宿主注入实现类)
113
+ * - `await setupExcel({ utils: { CodeHelper } })` 内会调用 loadBabel 并写入 babel
114
+ * - 业务:`window.NocodeAdapter.utils!.CodeHelper!.babel`
115
+ */
116
+ CodeHelper?: typeof CodeHelper;
103
117
  /** 打开公式编辑弹窗 */
104
118
  openFormulaEditor?: OpenFormulaEditor;
105
119
  formulaIdentify?: FormulaIdentify;
@@ -58,7 +58,7 @@ export interface ExcelSetupOptions {
58
58
  /** 宿主 API */
59
59
  apis?: ExcelApis;
60
60
  /**
61
- * 宿主工具方法(overlay / GctPopup / GctDialog / 公式等)
61
+ * 宿主工具方法(overlay / GctPopup / GctDialog / CodeHelper / 公式等)
62
62
  *
63
63
  * API 不走 setup:直接使用全局 `_gct.api` / `_gct.HttpUtil`
64
64
  * - 本地 demo:main.ts 中 `_gct.api = api` 并自行 HttpUtil.use(interceptors)
@@ -73,13 +73,17 @@ export interface ExcelSetupOptions {
73
73
  * - 业务侧:`window.NocodeAdapter.utils!.GctDialog!.open(Comp, payload)`
74
74
  * - 宿主注入:`utils: { GctDialog }`
75
75
  * - 未注入时同样挂空实现
76
+ *
77
+ * CodeHelper:须由宿主注入实现类(包内仅抽象类型)
78
+ * - `await setupExcel({ utils: { CodeHelper } })` 内调用 loadBabel,结果写入 babel
79
+ * - 业务:`window.NocodeAdapter.utils!.CodeHelper!.babel`
76
80
  */
77
81
  utils?: ExcelHostUtils;
78
82
  }
79
83
  /**
80
- * 主工程 bootstrap 时调用一次。
84
+ * 主工程 bootstrap 时调用一次(async:若注入 CodeHelper 则 await loadBabel)。
81
85
  */
82
- export declare function setupExcel(options?: ExcelSetupOptions): typeof NocodeAdapter;
86
+ export declare function setupExcel(options?: ExcelSetupOptions): Promise<typeof NocodeAdapter>;
83
87
  /**
84
88
  * 将 setupExcel 注入的宿主组件注册到指定 Vue app(含 popup / dialog 独立应用)。
85
89
  * 例:`app.component('MobileBasicPopup', ...)` 后模板可直接使用 `<MobileBasicPopup>`。
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-Bj2nc8E2.js";
3
- import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { C as CellWidgetRenderComp } from "./index-BJhQ2fXo.js";
3
+ import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
3
+ import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
4
  import "dayjs";
5
- import { c as useSpreadSheet, u as useModelFields } from "./index-Bj2nc8E2.js";
5
+ import { c as useSpreadSheet, u as useModelFields } from "./index-BJhQ2fXo.js";
6
6
  const _hoisted_1 = { class: "ws-pre-wrap" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "text-design",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, reactive, ref, createBlock, withCtx, toRaw, createTextVNode, toDisplayString, onUnmounted, h, onMounted, mergeProps, unref, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, C as CellWidgetRenderComp } from "./index-Bj2nc8E2.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-BJhQ2fXo.js";
3
3
  import { isNil, debounce, pick } from "lodash-es";
4
- import { _ as _export_sfc, D as useModal, i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-C4-0v0ZB.js";
6
- import { w as watchDebounced } from "./mb-render-Dg7VYy7X.js";
4
+ import { _ as _export_sfc, D as useModal, i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
+ import { s as useIntersectionObserver, t as cacheAdapter } from "./index-DFgGQBCZ.js";
6
+ import { w as watchDebounced } from "./mb-render-Bejyn-ep.js";
7
7
  const _hoisted_1 = { class: "number-range" };
8
8
  const _hoisted_2 = { class: "middle" };
9
9
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { cl as isObject, bL as debounce } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { cl as isObject, bL as debounce } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
- import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
4
- import { C as CellWidgetRenderComp } from "./index-Bj2nc8E2.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
+ import { C as CellWidgetRenderComp } from "./index-BJhQ2fXo.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, computed, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, unref, createTextVNode } from "vue";
2
- import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-Bj2nc8E2.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-DI3Y09mq.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-n3vrWAxv.js";
5
- import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-BJhQ2fXo.js";
3
+ import { D as DateFormatEditor } from "./date-format-editor-NxEEz6Iy.js";
4
+ import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-B2vPeD6v.js";
5
+ import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
8
  import "ant-design-vue";
9
- import { A as AddRuleBtn } from "./index-C4-0v0ZB.js";
9
+ import { A as AddRuleBtn } from "./index-DFgGQBCZ.js";
10
10
  const _hoisted_1 = { class: "mt-4px" };
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  __name: "trace-props",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "trace-style",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-Bj2nc8E2.js";
3
- import { aS as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { F as FormItem } from "./index-BJhQ2fXo.js";
3
+ import { aS as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-gMPKQobT.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-D3NbRsXW.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "user-style",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useModelFields, c as useSpreadSheet, h as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, i as getFieldIcon } from "./index-Bj2nc8E2.js";
4
- import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
3
+ import { u as useModelFields, c as useSpreadSheet, h as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, i as getFieldIcon } from "./index-BJhQ2fXo.js";
4
+ import { m as PaperWidgeValueType, X as ExpressionModeEnum, Y as ExpressionTabEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
5
  import "dayjs";
6
6
  const _hoisted_1 = { class: "mt-4px" };
7
7
  const _hoisted_2 = ["id"];
@@ -1,5 +1,5 @@
1
1
  import { createVNode, defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, withCtx, withKeys, normalizeClass, toDisplayString, createTextVNode, createCommentVNode, Fragment, renderList, normalizeStyle, computed, createBlock, withModifiers, toRaw, unref, nextTick, mergeProps, h } from "vue";
2
- import { t as FormTypeEnum, i as api, D as useModal, _ as _export_sfc, bm as FormDesignEnum, E as useNamespace, aQ as ControlStatusEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { t as FormTypeEnum, i as api, D as useModal, _ as _export_sfc, bm as FormDesignEnum, E as useNamespace, aQ as ControlStatusEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
3
3
  import { orderBy, isArray, cloneDeep } from "lodash-es";
4
4
  import "dayjs";
5
5
  import { I as Icon } from "./AntdIcon-C3RMq2zm.js";
@@ -1,11 +1,11 @@
1
- import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-C4-0v0ZB.js";
2
- import { A, B, l, m, P, n, p, q, j, i, a } from "../index-C4-0v0ZB.js";
1
+ import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-DFgGQBCZ.js";
2
+ import { A, B, l, m, P, n, p, q, j, i, a } from "../index-DFgGQBCZ.js";
3
3
  import { message, Modal } from "ant-design-vue";
4
- import { i as api, D as useModal, E as useNamespace, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
4
+ import { i as api, D as useModal, E as useNamespace, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
5
  import { createVNode, defineComponent, ref, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, withCtx, computed, createBlock, mergeProps, createElementVNode, toDisplayString, createCommentVNode, createTextVNode } from "vue";
6
6
  import "lodash-es";
7
7
  import dayjs from "dayjs";
8
- import { a as FormAnnotationController } from "../form-annotation-controller-83IvwhS0.js";
8
+ import { a as FormAnnotationController } from "../form-annotation-controller-KcMm2QYA.js";
9
9
  import { I as Icon } from "../AntdIcon-C3RMq2zm.js";
10
10
  var PrintModeEnum = /* @__PURE__ */ ((PrintModeEnum2) => {
11
11
  PrintModeEnum2["ASYNC"] = "async";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-Bj2nc8E2.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-D1wcuG55.js";
4
- import { a as PaperWidgeType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
2
+ import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BJhQ2fXo.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-JJTlORwi.js";
4
+ import { a as PaperWidgeType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
- import { A as AlignEditor } from "./align-editor-BeR32X3b.js";
7
+ import { A as AlignEditor } from "./align-editor-BaNT0jhx.js";
8
8
  const _hoisted_1 = { class: "pl-6px" };
9
9
  const _hoisted_2 = { class: "flex justify-end" };
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, S as SelectEx } from "./index-Bj2nc8E2.js";
2
+ import { F as FormItem, S as SelectEx } from "./index-BJhQ2fXo.js";
3
3
  import { defaults } from "lodash-es";
4
- import { E as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-CF2fvhL7.js";
4
+ import { E as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js";
5
5
  import "dayjs";
6
- import { S as SingleFieldDrop } from "./single-field-drop-DvW3gWsm.js";
6
+ import { S as SingleFieldDrop } from "./single-field-drop-D_ol3SXP.js";
7
7
  import { message } from "ant-design-vue";
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "diagonal-name-editor",