@gct-paas/excel 0.1.9 → 0.1.10

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 (135) hide show
  1. package/dist/{Scrollbar-Bl3GZ5Xl.js → Scrollbar-DU7XY6Tv.js} +2 -2
  2. package/dist/{VueVideoPlayer-OKUZ-GWX.js → VueVideoPlayer-CMvTuDff.js} +2 -2
  3. package/dist/{agg-design-CuvQmaG4.js → agg-design-DSUOcvss.js} +1 -1
  4. package/dist/{agg-props-DnZalom4.js → agg-props-DUuDjQY_.js} +1 -1
  5. package/dist/{agg-style-DfsRu2Br.js → agg-style-DXJFcoQ9.js} +1 -1
  6. package/dist/{align-editor-ChKObpC1.js → align-editor-38Glzc8q.js} +1 -1
  7. package/dist/{attach-fields-editor-DPF-vSk6.js → attach-fields-editor-Dn2Yy5nY.js} +2 -2
  8. package/dist/{barcode-design-DLP8_r7t.js → barcode-design-jvWYD2Xr.js} +2 -2
  9. package/dist/base/index.es.js +45 -45
  10. package/dist/{base-font-editor-Bnrk336n.js → base-font-editor-nqV0oxgD.js} +2 -2
  11. package/dist/{boolean-design-CzJfRrpG.js → boolean-design-GMYZRuKD.js} +2 -2
  12. package/dist/{boolean-props-CVrBd32I.js → boolean-props-ByLQsoom.js} +3 -3
  13. package/dist/{boolean-style-BamZLdDO.js → boolean-style-B14XUv1-.js} +4 -4
  14. package/dist/{cell-upload-BuhFy0lc.js → cell-upload-fhog0uI2.js} +2 -2
  15. package/dist/{date-format-editor-DEs1D5RR.js → date-format-editor-DKMCTOBS.js} +2 -2
  16. package/dist/{date-time-design-BsrXN-oK.js → date-time-design-CxF-IxYA.js} +1 -1
  17. package/dist/{date-time-props-C7lk3Svg.js → date-time-props-B3AEpDsN.js} +3 -3
  18. package/dist/{date-time-style-CuSYq9AB.js → date-time-style-BKA_x-bV.js} +1 -1
  19. package/dist/{decimal-design-EX_cJfEM.js → decimal-design-DyE6Gswv.js} +1 -1
  20. package/dist/{decimal-display-mode-DQtJPnvZ.js → decimal-display-mode-CpwAn2A8.js} +2 -2
  21. package/dist/{decimal-props-BJaAZ2YP.js → decimal-props-0BTM_idP.js} +4 -4
  22. package/dist/{decimal-style-8NhUAojc.js → decimal-style-CYQEfIde.js} +1 -1
  23. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-cSxqO5gw.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BZaCfT4R.js} +2 -2
  24. package/dist/{diagonal-design-BpN765Fh.js → diagonal-design-Ce4CXHbc.js} +2 -2
  25. package/dist/{double-design-AkCIFKZo.js → double-design-TFWMopYs.js} +1 -1
  26. package/dist/{double-props-2dVzEEcb.js → double-props-zMz2whf4.js} +4 -4
  27. package/dist/{double-style-SMbNlcUz.js → double-style-DuuGu-Er.js} +1 -1
  28. package/dist/{edit.utils-CXmmCnxE-89_3EOvf.js → edit.utils-CXmmCnxE-CUM4QnEZ.js} +1 -1
  29. package/dist/{enum-design-XBA6PBCE.js → enum-design-_zGZwm9c.js} +2 -2
  30. package/dist/{enum-props-0Kx2rVCh.js → enum-props-YYF6GGfi.js} +4 -4
  31. package/dist/{enum-style-YQoX2ssf.js → enum-style-8qL4ky4j.js} +2 -2
  32. package/dist/{error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js → error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js} +84 -84
  33. package/dist/excel.css +98 -98
  34. package/dist/{exceljs.min-CtZPH3-_.js → exceljs.min-RBJrN_T3.js} +2 -2
  35. package/dist/{expression-design-iUYp6X2j.js → expression-design-DTUsd-6p.js} +1 -1
  36. package/dist/{expression-props-CM-D6-8X.js → expression-props-BZ3crWLN.js} +1 -1
  37. package/dist/{expression-style-CKP_OY8W.js → expression-style-C6n91tvo.js} +1 -1
  38. package/dist/{file-design-DgVL4fBf.js → file-design-kaHx_-gr.js} +1 -1
  39. package/dist/{file-props-Dk4NxkWu.js → file-props-DXYYpAO7.js} +2 -2
  40. package/dist/{file-style-BvnlfLqa.js → file-style-C2RuYlmp.js} +1 -1
  41. package/dist/{font-editor-V3OI5elc.js → font-editor-qHOZRLz-.js} +3 -3
  42. package/dist/{form-annotation-controller-DnefDlQD.js → form-annotation-controller-B8-4KSZG.js} +2 -2
  43. package/dist/{image-design-CGB0GQ0M.js → image-design-BulJxvq7.js} +2 -2
  44. package/dist/{image-design-dF-80JDP.js → image-design-RFizg3Vb.js} +2 -2
  45. package/dist/{image-props-CtkG1D8P.js → image-props-f6Q4fnxz.js} +1 -1
  46. package/dist/{image-style-D09kZZlb.js → image-style-CmjaRNMh.js} +1 -1
  47. package/dist/{index-Bbt2mKIq.js → index-1od8xduY.js} +1 -1
  48. package/dist/{index-CI3VUQXT.js → index-B3ctahF2.js} +1 -1
  49. package/dist/{index-CZUFfnOl.js → index-BEcpuLN1.js} +2 -2
  50. package/dist/{index-D03nSfs8.js → index-BFi6q-2K.js} +918 -1259
  51. package/dist/{index-CiTedbWs.js → index-BIryBPVR.js} +1 -1
  52. package/dist/{index-C1WGDTJI.js → index-BMf-DwO1.js} +1 -1
  53. package/dist/{index-D_nLh3kx.js → index-BO_UpNHR.js} +2 -2
  54. package/dist/{index-DtD57fTj.js → index-BeWVFpEV.js} +1 -1
  55. package/dist/{index-CjZ7wlRK.js → index-BxKLtuwY.js} +1 -1
  56. package/dist/{index-BkMb7NQi.js → index-C1lMidaD.js} +1 -1
  57. package/dist/{index-DWXSDfBE.js → index-C6ftlqV_.js} +1 -1
  58. package/dist/{index-ESLtLBIP.js → index-CFfMJckH.js} +2 -2
  59. package/dist/{index-C-usEGmM.js → index-CHBhnhAn.js} +1 -1
  60. package/dist/{index-Cgd529ST.js → index-CLxVNZ0S.js} +2 -2
  61. package/dist/{index-DNVAx1YG.js → index-CXeN4UYP.js} +1 -1
  62. package/dist/{index-Bh0W0uqc.js → index-CjG-TdnG.js} +1 -1
  63. package/dist/{index-BSxaKbNe.js → index-CzSqf6Hs.js} +1 -1
  64. package/dist/{index-DwGlVXdO.js → index-D-AdIQcy.js} +1 -1
  65. package/dist/{index-C4f8PF4f.js → index-D7-l8lfx.js} +1 -1
  66. package/dist/{index-BztM-YU8.js → index-DFjphzbB.js} +1 -1
  67. package/dist/{index-D4xFADGG.js → index-DFwEef7S.js} +1 -1
  68. package/dist/{index-Vk9W2Vk3.js → index-DP84iJtH.js} +1 -1
  69. package/dist/{index-B4euEA-1.js → index-DT8XWPbq.js} +1 -1
  70. package/dist/{index-Qyom-xcp.js → index-DWBzq0eX.js} +1 -1
  71. package/dist/{index-CNzpmRjY.js → index-DsgwL7X3.js} +1 -1
  72. package/dist/{index-C_CfahTy.js → index-KFQWc3Mv.js} +1 -1
  73. package/dist/{index-BdmkrzfX.js → index-NdJv01gG.js} +1 -1
  74. package/dist/{index-zPJznjNc.js → index-YyaQ8A3a.js} +1 -1
  75. package/dist/{index-BxzatoGT.js → index-ZOihLI1B.js} +2 -2
  76. package/dist/{index-BHaE9Ha6.js → index-bl-YFdLz.js} +1 -1
  77. package/dist/{index-CcXsD6l_.js → index-l_IgRe07.js} +1 -1
  78. package/dist/{index-BXwQGIfF.js → index-qBZTRtu8.js} +1 -1
  79. package/dist/{index-Bkmo6-xe.js → index-s6BJSM78.js} +2 -2
  80. package/dist/index.es.js +5 -3
  81. package/dist/{integer-design-BDjQOFfK.js → integer-design-D1Sz5KOt.js} +1 -1
  82. package/dist/{integer-props-BYaEWt-9.js → integer-props-BVn6_GFq.js} +4 -4
  83. package/dist/{integer-style-CrzX24vm.js → integer-style-BJoAwG-C.js} +1 -1
  84. package/dist/{mb-render-2WbFdaDi.js → mb-render-DUf_FRYp.js} +1 -1
  85. package/dist/{number-input-ex-C_2Kjg36.js → number-input-ex-Do_j6JVf.js} +1 -1
  86. package/dist/{org-props-D_Bu0nH4.js → org-props-OGuMPH9u.js} +2 -2
  87. package/dist/{org-style-Dh73zVkt.js → org-style-DplgPRLB.js} +1 -1
  88. package/dist/{pagination-design-BqbaPMlu.js → pagination-design-ZPU0P0mv.js} +2 -2
  89. package/dist/paper-widget-design-Dmb7x_dI.js +4 -0
  90. package/dist/{qrcode-design-CzGMQTA9.js → qrcode-design-D71B7lLo.js} +1 -1
  91. package/dist/{ref-autofill-editor-CL-7lNvM.js → ref-autofill-editor-B7YFyDkP.js} +2 -2
  92. package/dist/{ref-props-CrYIPN6D.js → ref-props-C-9Svfjx.js} +3 -3
  93. package/dist/{ref-style-BPhhCRWX.js → ref-style-DhUqDfu_.js} +1 -1
  94. package/dist/{revo-grid.entry-CL40FYg-.js → revo-grid.entry-CkYTL6uD.js} +1 -1
  95. package/dist/{revogr-attribution_7.entry-DEDOtdW-.js → revogr-attribution_7.entry-IPm8d_lv.js} +3 -3
  96. package/dist/{revogr-clipboard_3.entry-Td0o90v0.js → revogr-clipboard_3.entry-fXXemX7X.js} +2 -2
  97. package/dist/{revogr-data_4.entry-CJBQtNZl.js → revogr-data_4.entry-B9ObmBJv.js} +2 -2
  98. package/dist/{revogr-filter-panel.entry-26PC7Amw.js → revogr-filter-panel.entry-CryNqKkG.js} +1 -1
  99. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CSG9fYXQ.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BBnYNkx7.js} +2 -2
  100. package/dist/{serialnumber-design-CrKouQeH.js → serialnumber-design-BDWOVP9j.js} +1 -1
  101. package/dist/shared/index.es.js +16 -14
  102. package/dist/{signature-design-BgGom6V8.js → signature-design-CyBUAY7M.js} +1 -1
  103. package/dist/{signature-props-DvEKSdl7.js → signature-props-CaqxYcLH.js} +3 -3
  104. package/dist/{signature-style-C275-nSw.js → signature-style-AnGTn3lY.js} +1 -1
  105. package/dist/{single-field-drop-Z5De5Xrl.js → single-field-drop-C7Nk_5KU.js} +2 -2
  106. package/dist/{size-editor-B_RIOXxg.js → size-editor-BOCyIQEL.js} +1 -1
  107. package/dist/src/index.d.ts +1 -0
  108. package/dist/src/shared/index.d.ts +1 -0
  109. package/dist/{text-design-MVF30X3y.js → text-design-B0rGCiYj.js} +2 -2
  110. package/dist/{text-design-CHIjLXqt.js → text-design-Ddv2RyHn.js} +2 -2
  111. package/dist/{text-props-z4L3VUrk.js → text-props-DU4PmTx7.js} +4 -4
  112. package/dist/{text-style-BlN5tprd.js → text-style-D618B5Gx.js} +1 -1
  113. package/dist/{throttle-Cpk1LoGk-Bcmbf_W9.js → throttle-Cpk1LoGk-Cia5bjua.js} +1 -1
  114. package/dist/{timediff-design-QoNenLDK.js → timediff-design-COXSrAFg.js} +1 -1
  115. package/dist/{trace-design-Bu-w7hDU.js → trace-design-NcADpj5o.js} +2 -2
  116. package/dist/{trace-props-zh5b1sKb.js → trace-props-XDjO68yP.js} +5 -5
  117. package/dist/{trace-style-B3FAcu-t.js → trace-style-CABcgS_d.js} +1 -1
  118. package/dist/{user-props-BLw4wDIp.js → user-props-BWBKljJy.js} +2 -2
  119. package/dist/{user-style-BZPs3tM8.js → user-style-QW2Z4Qbc.js} +1 -1
  120. package/dist/{value-editor.vue_vue_type_style_index_0_lang-B9hRSOD-.js → value-editor.vue_vue_type_style_index_0_lang-CJBFuplw.js} +2 -2
  121. package/dist/{version-select-309M4sOF.js → version-select-jJiM2LxP.js} +347 -9
  122. package/dist/web-render/index.es.js +4 -4
  123. package/dist/{widget-barcode-Bol2RKzB.js → widget-barcode-DYhAC1Yp.js} +4 -4
  124. package/dist/{widget-diagonal-V7yG04qt.js → widget-diagonal-CKygD6QJ.js} +3 -3
  125. package/dist/{widget-image-BAnuKi6V.js → widget-image-Br_X3xOI.js} +5 -5
  126. package/dist/{widget-line-XlC3UkVA.js → widget-line-Bl1xW6vy.js} +2 -2
  127. package/dist/{widget-pagination-BAehVkHt.js → widget-pagination-CoWkKGrT.js} +5 -5
  128. package/dist/{widget-power-Ws0NDEww.js → widget-power-BRL6a5xe.js} +3 -3
  129. package/dist/{widget-qrcode-DiOWbJWD.js → widget-qrcode-DAEwHC51.js} +3 -3
  130. package/dist/{widget-rangelimit-D8qkFYi3.js → widget-rangelimit-X7bsZe4l.js} +3 -3
  131. package/dist/{widget-serialnumber-CQjRJG_9.js → widget-serialnumber-COSAexI1.js} +1 -1
  132. package/dist/{widget-text-DlSNHoqu.js → widget-text-DSkYEZL2.js} +5 -5
  133. package/dist/{widget-timediff-BIhFKsok.js → widget-timediff-3QixVkQA.js} +2 -2
  134. package/package.json +1 -1
  135. package/dist/paper-widget-design-hS86nhxN.js +0 -4
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -14,6 +14,7 @@ export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/s
14
14
  export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
15
15
  export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
16
16
  export { VersionSelect } from './shared/components/version-select';
17
+ export { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
17
18
  export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
18
19
  export type { CellWidget } from './online-form/src/views/designer/types/cell-widget';
19
20
  export type { PaperWidget } from './online-form/src/views/types/paper-widget';
@@ -2,3 +2,4 @@
2
2
  export * from './enum';
3
3
  export type * from './types';
4
4
  export { VersionSelect } from './components/version-select';
5
+ export { OnlineFormModelSelect, OnlineFormModelModal, } from './components/online-form-model-select';
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { n as PaperWidgeValueType, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
3
+ import { n as PaperWidgeValueType, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { c as useSpreadSheet, u as useModelFields } from "./index-D03nSfs8.js";
6
+ import { c as useSpreadSheet, u as useModelFields } from "./index-BFi6q-2K.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-D03nSfs8.js";
3
- import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { C as CellWidgetRenderComp } from "./index-BFi6q-2K.js";
3
+ import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -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-D03nSfs8.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-BFi6q-2K.js";
3
3
  import { isNil, debounce, pick } from "lodash-es";
4
- import { _ as _export_sfc, H as useModal, j as api, F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-CZUFfnOl.js";
6
- import { w as watchDebounced } from "./mb-render-2WbFdaDi.js";
4
+ import { _ as _export_sfc, H as useModal, j as api, F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
+ import { s as useIntersectionObserver, t as cacheAdapter } from "./index-BEcpuLN1.js";
6
+ import { w as watchDebounced } from "./mb-render-DUf_FRYp.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-Bnrk336n.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.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 { cq as isObject, bQ as debounce } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { cq as isObject, bQ as debounce } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.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 { V as TimeDiffFormat } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { V as TimeDiffFormat } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
@@ -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 "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
4
- import { C as CellWidgetRenderComp } from "./index-D03nSfs8.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
+ import { C as CellWidgetRenderComp } from "./index-BFi6q-2K.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-D03nSfs8.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-DEs1D5RR.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-CL-7lNvM.js";
5
- import { F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-BFi6q-2K.js";
3
+ import { D as DateFormatEditor } from "./date-format-editor-DKMCTOBS.js";
4
+ import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-B7YFyDkP.js";
5
+ import { F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
8
  import "ant-design-vue";
9
- import { A as AddRuleBtn } from "./index-CZUFfnOl.js";
9
+ import { A as AddRuleBtn } from "./index-BEcpuLN1.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-Bnrk336n.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.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-D03nSfs8.js";
3
- import { aZ as FieldSysVarDefaultValueEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { F as FormItem } from "./index-BFi6q-2K.js";
3
+ import { aY as FieldSysVarDefaultValueEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-Bnrk336n.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.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-D03nSfs8.js";
4
- import { n as PaperWidgeValueType, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.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-BFi6q-2K.js";
4
+ import { n as PaperWidgeValueType, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "mt-4px" };
@@ -1,6 +1,6 @@
1
- import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw } from "vue";
2
- import { I as Icon, x as FormTypeEnum, J as useNamespace, _ as _export_sfc, ad as FormDesignEnum, j as api, H as useModal, aX as ControlStatusEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
3
- import { isArray, cloneDeep } from "lodash-es";
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 { I as Icon, x as FormTypeEnum, j as api, H as useModal, _ as _export_sfc, br as FormDesignEnum, J as useNamespace, aW as ControlStatusEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
+ import { orderBy, isArray, cloneDeep } from "lodash-es";
4
4
  import "dayjs";
5
5
  import { Form } from "ant-design-vue";
6
6
  var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
@@ -74,6 +74,347 @@ const TextOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20v
74
74
  const ProccessOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23231;&%23167;&%23187;&%23229;&%23138;&%23168;&%23231;&%23171;&%23175;icon_&%23230;&%23181;&%23129;&%23231;&%23168;&%23139;&%23232;&%23161;&%23168;&%23229;&%23141;&%23149;%201'%3e%3cg%20id='Vector'%3e%3cpath%20d='M15.0385%202.67227H13.0698C13.0135%203.40352%2012.3948%203.99414%2011.6354%203.99414H7.69792C6.93855%203.99414%206.3198%203.40352%206.26355%202.67227H4.2948C3.76042%202.67227%203.33855%203.09414%203.33855%203.62852V15.441C3.33855%2015.9754%203.76042%2016.3973%204.2948%2016.3973H15.0385C15.5729%2016.3973%2015.9948%2015.9754%2015.9948%2015.441V3.62852C15.9948%203.09414%2015.5729%202.67227%2015.0385%202.67227ZM8.59792%206.75039C8.59792%206.38477%208.87917%206.10352%209.2448%206.10352H10.0323C10.3979%206.10352%2010.6792%206.38477%2010.6792%206.75039V7.53789C10.6792%207.90352%2010.3979%208.18477%2010.0323%208.18477H9.2448C8.87917%208.18477%208.59792%207.90352%208.59792%207.53789V6.75039ZM7.81042%2012.8254C7.81042%2013.191%207.52917%2013.4723%207.16355%2013.4723H6.37605C6.01042%2013.4723%205.72917%2013.191%205.72917%2012.8254V12.0379C5.72917%2011.6723%206.01042%2011.391%206.37605%2011.391H7.16355C7.52917%2011.391%207.81042%2011.6723%207.81042%2012.0379V12.8254ZM7.05105%2010.5754C7.05105%2010.7441%206.93855%2010.8566%206.7698%2010.8566C6.60105%2010.8566%206.48855%2010.7441%206.48855%2010.5754C6.48855%209.84414%207.07917%209.22539%207.83855%209.22539H9.38542V8.71914C9.38542%208.55039%209.49792%208.43789%209.66667%208.43789C9.83542%208.43789%209.94792%208.55039%209.94792%208.71914V9.22539H11.5229C12.2542%209.22539%2012.8729%209.81601%2012.8729%2010.5754C12.8729%2010.7441%2012.7604%2010.8566%2012.5917%2010.8566C12.4229%2010.8566%2012.3104%2010.7441%2012.3104%2010.5754C12.3104%2010.1535%2011.9729%209.78789%2011.5229%209.78789H9.94792V10.716C9.94792%2010.8848%209.83542%2010.9973%209.66667%2010.9973C9.49792%2010.9973%209.38542%2010.8848%209.38542%2010.716V9.78789H7.81042C7.38855%209.81602%207.05105%2010.1535%207.05105%2010.5754ZM10.7073%2012.8254C10.7073%2013.191%2010.426%2013.4723%2010.0604%2013.4723H9.27292C8.9073%2013.4723%208.62605%2013.191%208.62605%2012.8254V12.0379C8.62605%2011.6723%208.9073%2011.391%209.27292%2011.391H10.0604C10.426%2011.391%2010.7073%2011.6723%2010.7073%2012.0379V12.8254ZM13.6323%2012.8254C13.6323%2013.191%2013.351%2013.4723%2012.9854%2013.4723H12.1979C11.8323%2013.4723%2011.551%2013.191%2011.551%2012.8254V12.0379C11.551%2011.6723%2011.8323%2011.391%2012.1979%2011.391H12.9854C13.351%2011.391%2013.6323%2011.6723%2013.6323%2012.0379V12.8254Z'%20fill='url(%23paint0_linear_704_2738)'/%3e%3cpath%20d='M7.69792%203.45977H11.6354C12.1417%203.45977%2012.5635%203.03789%2012.5635%202.53164C12.5635%202.02539%2012.1417%201.60352%2011.6354%201.60352H7.69792C7.19167%201.60352%206.7698%202.02539%206.7698%202.53164C6.7698%203.03789%207.19167%203.45977%207.69792%203.45977Z'%20fill='url(%23paint1_linear_704_2738)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_2738'%20x1='9.66667'%20y1='1.60352'%20x2='9.66667'%20y2='16.3973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A23'/%3e%3cstop%20offset='1'%20stop-color='%23FFC785'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_704_2738'%20x1='9.66667'%20y1='1.60352'%20x2='9.66667'%20y2='16.3973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A23'/%3e%3cstop%20offset='1'%20stop-color='%23FFC785'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
75
75
  const BaseOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23233;&%23157;&%23162;&%23230;&%23128;&%23167;-&%23232;&%23161;&%23168;&%23229;&%23141;&%23149;%202'%3e%3cg%20id='Vector'%3e%3cpath%20d='M14.9917%206.375L11.7667%206.3375C11.1292%206.3375%2010.6417%205.85%2010.6417%205.2125V2.2125C10.6417%201.8375%2010.3417%201.5%209.92917%201.5H4.94167C4.22917%201.5%203.66667%202.0625%203.66667%202.7375V15.225C3.66667%2015.9%204.22917%2016.4625%204.94167%2016.4625H14.3542C15.0667%2016.4625%2015.6292%2015.9%2015.6292%2015.225V7.05C15.6667%206.675%2015.3667%206.375%2014.9917%206.375ZM7.41667%207.875H10.7917C11.2042%207.875%2011.5417%208.2125%2011.5417%208.625C11.5417%209.0375%2011.2042%209.375%2010.7917%209.375H7.41667C7.00417%209.375%206.66667%209.0375%206.66667%208.625C6.66667%208.2125%207.00417%207.875%207.41667%207.875ZM11.9167%2012.375H7.41667C7.00417%2012.375%206.66667%2012.0375%206.66667%2011.625C6.66667%2011.2125%207.00417%2010.875%207.41667%2010.875H11.9167C12.3292%2010.875%2012.6667%2011.2125%2012.6667%2011.625C12.6667%2012.0375%2012.3292%2012.375%2011.9167%2012.375Z'%20fill='url(%23paint0_linear_704_2762)'/%3e%3cpath%20d='M12.0667%205.9625L15.1042%206C15.5167%206%2015.7417%205.475%2015.4042%205.2125L11.9167%201.6875C11.6167%201.3875%2011.1667%201.6125%2011.1667%201.9875V5.025C11.1667%205.55%2011.5792%205.9625%2012.0667%205.9625Z'%20fill='url(%23paint1_linear_704_2762)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_2762'%20x1='9.64951'%20y1='1.5'%20x2='9.64951'%20y2='16.4625'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%234C9EFC'/%3e%3cstop%20offset='1'%20stop-color='%2377C6FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_704_2762'%20x1='9.64951'%20y1='1.5'%20x2='9.64951'%20y2='16.4625'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%234C9EFC'/%3e%3cstop%20offset='1'%20stop-color='%2377C6FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
76
76
  const FileOnlineForm = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4227_2219)'%3e%3cpath%20d='M9.84961%201V4.2998C9.84961%204.63118%2010.1188%204.90039%2010.4502%204.90039H13.75V14C13.75%2014.5523%2013.3023%2015%2012.75%2015H3.25C2.69772%2015%202.25%2014.5523%202.25%2014V2C2.25%201.44772%202.69772%201%203.25%201H9.84961ZM10.6504%201.0127C10.7428%201.03308%2010.8285%201.07853%2010.8965%201.14648L13.6035%203.85352C13.6715%203.92147%2013.7169%204.00721%2013.7373%204.09961H10.6504V1.0127Z'%20fill='url(%23paint0_linear_4227_2219)'/%3e%3cellipse%20cx='9.52006'%20cy='6.99998'%20rx='0.960003'%20ry='0.999981'%20fill='white'/%3e%3cpath%20d='M6.79604%207.67624C6.83544%207.61531%206.92458%207.61531%206.96398%207.67624L9.66023%2011.8456C9.70326%2011.9121%209.6555%2011.9999%209.57626%2011.9999H4.18376C4.10452%2011.9999%204.05676%2011.9121%204.09978%2011.8456L6.79604%207.67624Z'%20fill='white'/%3e%3cpath%20d='M9.43652%208.90777C9.47614%208.84878%209.56389%208.84878%209.60352%208.90777L11.5752%2011.8443C11.6198%2011.9107%2011.5722%2012.0005%2011.4922%2012.0005H10.292L8.85254%209.77594L9.43652%208.90777Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4227_2219'%20x1='7.6272'%20y1='0.735353'%20x2='7.6272'%20y2='14.2379'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A188FF'/%3e%3cstop%20offset='1'%20stop-color='%23D0A9FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_4227_2219'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
77
+ const _hoisted_1$4 = { class: "ks-row" };
78
+ const _hoisted_2$1 = { class: "pt-20px px-20px gct-online-form-model-modal ks-col" };
79
+ const _hoisted_3$1 = { class: "ks-row" };
80
+ const _hoisted_4$1 = { class: "gct-text-overflow" };
81
+ const _hoisted_5$1 = {
82
+ key: 0,
83
+ class: "gct-custom-tag ml4px"
84
+ };
85
+ const _hoisted_6$1 = {
86
+ key: 0,
87
+ class: "flex items-center"
88
+ };
89
+ const _hoisted_7$1 = ["src"];
90
+ const _hoisted_8 = { class: "model-list w280px h520px" };
91
+ const _hoisted_9 = { class: "model-table-wrap" };
92
+ const _hoisted_10 = ["onClick"];
93
+ const _hoisted_11 = ["title"];
94
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
95
+ __name: "online-form-model-modal",
96
+ props: {
97
+ modal: {},
98
+ modelSelected: {},
99
+ formSelected: {}
100
+ },
101
+ setup(__props) {
102
+ const svgUtils = {
103
+ [FormTypeEnum.TEXT]: TextOnlineForm,
104
+ [FormTypeEnum.BASE]: BaseOnlineForm,
105
+ [FormTypeEnum.PROCESS]: ProccessOnlineForm,
106
+ [FormTypeEnum.VIEW]: ViewOnlineForm,
107
+ [FormTypeEnum.FILE]: FileOnlineForm
108
+ };
109
+ const props = __props;
110
+ const keys = ["name", "code"];
111
+ const tableRef = ref();
112
+ const categoryList = ref([]);
113
+ const formState = ref({});
114
+ const tableData = ref([]);
115
+ const modelTableData = ref([]);
116
+ const modelKey = ref();
117
+ const formId = ref();
118
+ watch(modelKey, (k) => {
119
+ props.modal.setOptions({
120
+ okButtonProps: {
121
+ disabled: !k
122
+ }
123
+ });
124
+ });
125
+ async function getCategoryList() {
126
+ const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
127
+ {
128
+ modelCategory: "entity",
129
+ modelKey: "em_form_category",
130
+ bsKey: "biz_tree"
131
+ },
132
+ {}
133
+ );
134
+ categoryList.value = Array.isArray(res) ? res : res?.data ?? [];
135
+ }
136
+ onMounted(async () => {
137
+ getCategoryList();
138
+ await getDataSource();
139
+ const row = props.formSelected?.id ? tableData.value.find((i) => i.id === props.formSelected?.id) : tableData.value[0];
140
+ if (row) {
141
+ tableRef.value?.setCurrentRow(row);
142
+ await cellClickEvent({ row });
143
+ }
144
+ modelKey.value = props.modelSelected;
145
+ });
146
+ async function getDataSource() {
147
+ keys.forEach((key) => {
148
+ if (formState.value[key]) {
149
+ formState.value[key] = formState.value[key].trim();
150
+ }
151
+ });
152
+ tableData.value = await api.apaas.onlineFormTmpl.getListBaseAndProcessForm(formState.value) || [];
153
+ }
154
+ const onSave = () => {
155
+ return {
156
+ ok: true,
157
+ params: { modelKey: modelKey.value, formId: formId.value }
158
+ };
159
+ };
160
+ async function cellClickEvent({ row }) {
161
+ if (formId.value === row.id) return;
162
+ formId.value = row.id;
163
+ const data = await api.apaas.onlineFormTmpl.getFormModelsId({ id: row.id });
164
+ modelTableData.value = orderBy(data, "subModel", "asc");
165
+ modelKey.value = "";
166
+ }
167
+ useModal(onSave);
168
+ return (_ctx, _cache) => {
169
+ const _component_a_tree_select = resolveComponent("a-tree-select");
170
+ const _component_a_form_item = resolveComponent("a-form-item");
171
+ const _component_a_col = resolveComponent("a-col");
172
+ const _component_a_input = resolveComponent("a-input");
173
+ const _component_a_row = resolveComponent("a-row");
174
+ const _component_a_form = resolveComponent("a-form");
175
+ const _component_a_tooltip = resolveComponent("a-tooltip");
176
+ const _component_vxe_column = resolveComponent("vxe-column");
177
+ const _component_vxe_table = resolveComponent("vxe-table");
178
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
179
+ createElementVNode("div", _hoisted_2$1, [
180
+ createVNode(_component_a_form, { model: formState.value }, {
181
+ default: withCtx(() => [
182
+ createVNode(_component_a_row, { gutter: 16 }, {
183
+ default: withCtx(() => [
184
+ createVNode(_component_a_col, { span: 12 }, {
185
+ default: withCtx(() => [
186
+ createVNode(_component_a_form_item, { label: "表单分类" }, {
187
+ default: withCtx(() => [
188
+ createVNode(_component_a_tree_select, {
189
+ value: formState.value.categoryId,
190
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.categoryId = $event),
191
+ placeholder: "请选择表单分类",
192
+ clearable: "",
193
+ "show-search": "",
194
+ "tree-data": categoryList.value,
195
+ "tree-node-filter-prop": "name",
196
+ fieldNames: {
197
+ label: "name",
198
+ value: "id",
199
+ children: "child"
200
+ },
201
+ onChange: getDataSource
202
+ }, null, 8, ["value", "tree-data"])
203
+ ]),
204
+ _: 1
205
+ })
206
+ ]),
207
+ _: 1
208
+ }),
209
+ createVNode(_component_a_col, { span: 12 }, {
210
+ default: withCtx(() => [
211
+ createVNode(_component_a_form_item, { label: "表单名称" }, {
212
+ default: withCtx(() => [
213
+ createVNode(_component_a_input, {
214
+ value: formState.value.name,
215
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.name = $event),
216
+ placeholder: "请输入表单名称",
217
+ clearable: "",
218
+ onKeyup: withKeys(getDataSource, ["enter"]),
219
+ onChange: getDataSource
220
+ }, null, 8, ["value"])
221
+ ]),
222
+ _: 1
223
+ })
224
+ ]),
225
+ _: 1
226
+ })
227
+ ]),
228
+ _: 1
229
+ })
230
+ ]),
231
+ _: 1
232
+ }, 8, ["model"]),
233
+ createVNode(_component_vxe_table, {
234
+ ref_key: "tableRef",
235
+ ref: tableRef,
236
+ "show-overflow": "",
237
+ data: tableData.value,
238
+ height: 400,
239
+ "scroll-y": { enabled: true, oSize: 10 },
240
+ "row-config": { isHover: true, keyField: "id", height: 44, isCurrent: true },
241
+ class: normalizeClass({
242
+ vxetable: true,
243
+ default: true
244
+ }),
245
+ onCellClick: cellClickEvent
246
+ }, {
247
+ default: withCtx(() => [
248
+ createVNode(_component_vxe_column, {
249
+ field: "name",
250
+ title: "表单名称",
251
+ "show-overflow": "",
252
+ "tree-node": ""
253
+ }, {
254
+ default: withCtx(({ row }) => [
255
+ createElementVNode("div", _hoisted_3$1, [
256
+ createVNode(_component_a_tooltip, null, {
257
+ title: withCtx(() => [
258
+ createTextVNode(toDisplayString(row.version || row.name), 1)
259
+ ]),
260
+ default: withCtx(() => [
261
+ createElementVNode("div", _hoisted_4$1, toDisplayString(row.version || row.name), 1)
262
+ ]),
263
+ _: 2
264
+ }, 1024),
265
+ row.default ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(_ctx.$t("sys.default")), 1)) : createCommentVNode("", true)
266
+ ])
267
+ ]),
268
+ _: 1
269
+ }),
270
+ createVNode(_component_vxe_column, {
271
+ field: "formType",
272
+ title: "表单类型",
273
+ "show-overflow": "",
274
+ width: "120"
275
+ }, {
276
+ default: withCtx(({ row }) => [
277
+ row.formType ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
278
+ createElementVNode("img", {
279
+ src: svgUtils[row.formType],
280
+ class: "w18px h18px mr-4px"
281
+ }, null, 8, _hoisted_7$1),
282
+ createTextVNode(" " + toDisplayString(_ctx.$t(`sys.onlineForm.formTypeEnum.${row.formType}`)), 1)
283
+ ])) : createCommentVNode("", true)
284
+ ]),
285
+ _: 1
286
+ })
287
+ ]),
288
+ _: 1
289
+ }, 8, ["data"])
290
+ ]),
291
+ createElementVNode("div", _hoisted_8, [
292
+ _cache[2] || (_cache[2] = createElementVNode("div", { class: "model-title" }, "选择模型", -1)),
293
+ createElementVNode("div", _hoisted_9, [
294
+ (openBlock(true), createElementBlock(Fragment, null, renderList(modelTableData.value, (item) => {
295
+ return openBlock(), createElementBlock("div", {
296
+ key: item.key,
297
+ class: normalizeClass(["model-table-row ks-row", { selected: item.key === modelKey.value }]),
298
+ onClick: ($event) => modelKey.value = item.key
299
+ }, [
300
+ createElementVNode("div", {
301
+ class: "model-tag mr8px",
302
+ style: normalizeStyle({
303
+ "--tag-bg": item.subModel === 1 ? "#0066FF" : "#B445F5"
304
+ })
305
+ }, toDisplayString(item.subModel === 1 ? "子表" : "主表"), 5),
306
+ createElementVNode("div", {
307
+ class: "ks-col ell",
308
+ title: item.name
309
+ }, toDisplayString(item.name), 9, _hoisted_11)
310
+ ], 10, _hoisted_10);
311
+ }), 128))
312
+ ])
313
+ ])
314
+ ]);
315
+ };
316
+ }
317
+ });
318
+ const OnlineFormModelModal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0c95ee3b"]]);
319
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
320
+ __name: "online-form-model-select",
321
+ props: {
322
+ joinFormRefId: {},
323
+ joinModelKey: {},
324
+ border: { type: Boolean, default: true }
325
+ },
326
+ emits: ["update:joinFormRefId", "update:joinModelKey"],
327
+ setup(__props, { emit: __emit }) {
328
+ const moduleType = FormDesignEnum.ONLINE_FORM;
329
+ const props = __props;
330
+ const emit = __emit;
331
+ const _options = ref([]);
332
+ const localVal = computed({
333
+ get() {
334
+ return props.joinFormRefId;
335
+ },
336
+ set(v) {
337
+ emit("update:joinFormRefId", v);
338
+ }
339
+ });
340
+ watch(
341
+ () => localVal.value,
342
+ async (v) => {
343
+ if (v) {
344
+ let data = _options.value.find((e) => e.refId === v);
345
+ if (!data) {
346
+ const id = v ? v.split(":")[1] || v.split(":")[0] : "";
347
+ data = await getTmplInfo(id);
348
+ }
349
+ }
350
+ },
351
+ {
352
+ immediate: true
353
+ }
354
+ );
355
+ const optionsData = computed(() => {
356
+ return _options.value.map((e) => {
357
+ return {
358
+ ...e,
359
+ fieldLabel: `${e.name}${e.version ? " : " + e.version : ""}`
360
+ };
361
+ });
362
+ });
363
+ async function getTmplInfo(id) {
364
+ const res = await api.apaas.formRelate.getInfo({
365
+ id,
366
+ moduleType
367
+ });
368
+ res && _options.value.push({
369
+ ...res,
370
+ refId: res.baseId ? res.baseId + ":" + res.id : res.id
371
+ });
372
+ return res;
373
+ }
374
+ function getOptionValue(v = localVal.value) {
375
+ return toRaw(optionsData.value.find((i) => i.refId === v));
376
+ }
377
+ const openModal = async () => {
378
+ const res = await window.NocodeAdapter.utils.overlay.modal(
379
+ OnlineFormModelModal,
380
+ {
381
+ formSelected: getOptionValue(),
382
+ modelSelected: props.joinModelKey,
383
+ moduleType
384
+ },
385
+ {
386
+ title: "表单模型选择",
387
+ width: 800,
388
+ okText: $t("sys.okText"),
389
+ okButtonProps: {
390
+ disabled: true
391
+ }
392
+ }
393
+ );
394
+ if (res.ok && res.params) {
395
+ emit("update:joinModelKey", res.params.modelKey);
396
+ localVal.value = res.params.formId;
397
+ }
398
+ };
399
+ return (_ctx, _cache) => {
400
+ const _component_a_select = resolveComponent("a-select");
401
+ return openBlock(), createBlock(_component_a_select, {
402
+ class: normalizeClass([!__props.border && "custom-select-no-arrow"]),
403
+ value: localVal.value,
404
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => localVal.value = $event),
405
+ placeholder: _ctx.$t("sys.chooseText"),
406
+ bordered: __props.border,
407
+ showSearch: false,
408
+ showArrow: false,
409
+ allowClear: false,
410
+ open: false,
411
+ fieldNames: { label: "fieldLabel", value: "refId" },
412
+ options: optionsData.value,
413
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => openModal(), ["stop"]))
414
+ }, null, 8, ["class", "value", "placeholder", "bordered", "options"]);
415
+ };
416
+ }
417
+ });
77
418
  const _hoisted_1$3 = ["src"];
78
419
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
79
420
  __name: "form-type-tag",
@@ -928,13 +1269,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
928
1269
  });
929
1270
  const VersionSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5cb613e8"]]);
930
1271
  export {
931
- BaseOnlineForm as B,
932
1272
  CloseOutlined as C,
933
1273
  EmptyImg as E,
934
- FileOnlineForm as F,
935
- ProccessOnlineForm as P,
1274
+ OnlineFormModelModal as O,
936
1275
  SEARCH_SEVICE as S,
937
- TextOnlineForm as T,
938
- ViewOnlineForm as V,
939
- VersionSelect as a
1276
+ VersionSelect as V,
1277
+ _sfc_main$6 as _
940
1278
  };
@@ -1,11 +1,11 @@
1
- import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-CZUFfnOl.js";
2
- import { A, B, l, m, P, n, p, q, j, i, a } from "../index-CZUFfnOl.js";
1
+ import { S as SignMode, k as SignSwitcher, g as getPreviewUrl, G as GctDialog } from "../index-BEcpuLN1.js";
2
+ import { A, B, l, m, P, n, p, q, j, i, a } from "../index-BEcpuLN1.js";
3
3
  import { message, Modal } from "ant-design-vue";
4
- import { I as Icon, j as api, H as useModal, J as useNamespace, _ as _export_sfc } from "../error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
4
+ import { I as Icon, j as api, H as useModal, J as useNamespace, _ as _export_sfc } from "../error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.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-DnefDlQD.js";
8
+ import { a as FormAnnotationController } from "../form-annotation-controller-B8-4KSZG.js";
9
9
  var ExclamationCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
10
10
  function _objectSpread(target) {
11
11
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -1,11 +1,11 @@
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-D03nSfs8.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-B9hRSOD-.js";
4
- import { a as PaperWidgeType } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
2
+ import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BFi6q-2K.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CJBFuplw.js";
4
+ import { a as PaperWidgeType } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
7
  import "ant-design-vue";
8
- import { A as AlignEditor } from "./align-editor-ChKObpC1.js";
8
+ import { A as AlignEditor } from "./align-editor-38Glzc8q.js";
9
9
  const _hoisted_1 = { class: "pl-6px" };
10
10
  const _hoisted_2 = { class: "flex justify-end" };
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,10 +1,10 @@
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-D03nSfs8.js";
2
+ import { F as FormItem, S as SelectEx } from "./index-BFi6q-2K.js";
3
3
  import { defaults } from "lodash-es";
4
- import { J as useNamespace, F as FIELD_TYPE, _ as _export_sfc, R as DiagonalDirection } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
4
+ import { J as useNamespace, F as FIELD_TYPE, _ as _export_sfc, R as DiagonalDirection } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
5
  import "dayjs";
6
6
  import { message } from "ant-design-vue";
7
- import { S as SingleFieldDrop } from "./single-field-drop-Z5De5Xrl.js";
7
+ import { S as SingleFieldDrop } from "./single-field-drop-C7Nk_5KU.js";
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "diagonal-name-editor",
10
10
  props: {
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, r as isClient, c as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-D03nSfs8.js";
3
- import { S as SizeEditor } from "./size-editor-B_RIOXxg.js";
2
+ import { L as LeftOutlined, R as RightOutlined, r as isClient, c as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-BFi6q-2K.js";
3
+ import { S as SizeEditor } from "./size-editor-BOCyIQEL.js";
4
4
  import { message } from "ant-design-vue";
5
- import { W as WidgetImageSizeMode, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-Dv7_xOts.js";
5
+ import { W as WidgetImageSizeMode, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
- import { a as useWebUpload } from "./index-CZUFfnOl.js";
9
- import { C as CloseOutlined } from "./version-select-309M4sOF.js";
8
+ import { a as useWebUpload } from "./index-BEcpuLN1.js";
9
+ import { C as CloseOutlined } from "./version-select-jJiM2LxP.js";
10
10
  const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
11
11
  const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
12
12
  const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";