@gct-paas/excel 0.1.28-beta.9 → 0.1.28
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.
- package/dist/{BaseComponent-yoXj5Q9c.js → BaseComponent-9YPaGJfR.js} +3 -1
- package/dist/{VueVideoPlayer-DnxMrbso.js → VueVideoPlayer-DDUZu4FR.js} +2 -2
- package/dist/{align-editor-B4gydK1M.js → align-editor-aEWznFoT.js} +1 -1
- package/dist/{barcode-design-Cid0MzDI.js → barcode-design-UQyluywP.js} +2 -2
- package/dist/base/index.es.js +718 -466
- package/dist/{diagonal-design-C1ZotzUS.js → diagonal-design-bGGzn_Wt.js} +2 -2
- package/dist/{dynamic-table-action-C1o2TjqX.js → dynamic-table-action-DmQ4nVdA.js} +825 -216
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js} +2457 -757
- package/dist/{edit.utils-CXmmCnxE-DEOcuCns.js → edit.utils-CXmmCnxE-pmY90xaE.js} +1 -1
- package/dist/excel.css +20939 -21654
- package/dist/{exceljs.min-DHw6Xo0Z.js → exceljs.min-BxkFiHRf.js} +2 -2
- package/dist/{font-editor-BMzWHu2P.js → font-editor-BBNgoyoK.js} +3 -3
- package/dist/{image-design-Cv7Md3br.js → image-design-CV8ivT4U.js} +3 -2
- package/dist/{index-ClwYjOaz.js → index-B94zjbXB.js} +2 -2
- package/dist/{index-DCyS2gPu.js → index-B9hn-Xpy.js} +62 -261
- package/dist/{index-CTfI5z2v.js → index-BI1w0HuA.js} +2 -2
- package/dist/{index-DYJ2NY6r.js → index-BIyoFjsu.js} +1 -1
- package/dist/{index-Cf0HUPLj.js → index-BNdFxtuu.js} +2 -2
- package/dist/{index-B_rAitke.js → index-BVy2F-LZ.js} +2 -2
- package/dist/{index-t_DIs_9d.js → index-BbRU7v-W.js} +2 -2
- package/dist/{index-BQLH_u5E.js → index-BgUSwNSn.js} +1 -1
- package/dist/{index-DPHsObDL.js → index-Bu5KxbKA.js} +2 -2
- package/dist/{index-DVknMcoI.js → index-BzNleuvF.js} +8 -5
- package/dist/{index-BC7ZPYu4.js → index-CJgeCzTz.js} +4 -7
- package/dist/{index-KJIuf63z.js → index-CY_9UWH1.js} +3 -3
- package/dist/{index-DYPfKE_B.js → index-Co8dy8tY.js} +2 -2
- package/dist/index-CuwWhVy-.js +26 -0
- package/dist/{index-B2oEU1dw.js → index-D3RlguP-.js} +2 -2
- package/dist/{index-De0lJXBW.js → index-DAokF2RK.js} +2 -2
- package/dist/{index-B_qNr-yz.js → index-DUomn6r4.js} +2 -2
- package/dist/{index-DLhVj92F.js → index-DVCumM_5.js} +2 -2
- package/dist/{index-DHCfwj7L.js → index-DX2S50Jz.js} +1 -1
- package/dist/{index-b03O87gX.js → index-DXutPZQB.js} +1 -1
- package/dist/{index-BMaOAtO5.js → index-DXvugQoP.js} +2 -2
- package/dist/{index-CDLpl1vT.js → index-DapZh4vf.js} +57467 -75573
- package/dist/{index-EGCBxJ5U.js → index-Dxiaj_9W.js} +2 -2
- package/dist/{index-CB2KdECV.js → index-DzZ4dTHg.js} +2 -2
- package/dist/index-FJwxWmrK.js +26 -0
- package/dist/{index-DGF9F0hk.js → index-JYTz2lAb.js} +2 -2
- package/dist/index-R0Xrpn-f.js +56 -0
- package/dist/{index-BNW93hpM.js → index-RHv1ncwn.js} +1 -1
- package/dist/{index-Bi8eFVNQ.js → index-eaPQQt2I.js} +1 -1
- package/dist/{index-Ca8Vr4hp.js → index-f4FwucgP.js} +3 -3
- package/dist/{index-D4SRGG7R.js → index-kZ3vhOMA.js} +2 -2
- package/dist/{index-yee5hcWj.js → index-q0gBBMoc.js} +2 -2
- package/dist/{index--m7aMhTe.js → index-s7YNVpgF.js} +1 -1
- package/dist/{index-DWd__rfX.js → index-zuExIXWU.js} +1 -1
- package/dist/index.es.js +49 -47
- package/dist/{mb-render-DNA0sAdk.js → mb-render-BBRR_byl.js} +3 -3
- package/dist/{version-select-Dt0iT2ZE.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BGrVMSEF.js} +418 -421
- package/dist/{pagination-design-a-8WGmGL.js → pagination-design-D2f9xg95.js} +2 -2
- package/dist/paper-widget-design-COSbrtAL.js +4 -0
- package/dist/{qrcode-design-CWa7ucIf.js → qrcode-design-DuLbid5Q.js} +1 -1
- package/dist/{revo-grid.entry-D7L9YPVS.js → revo-grid.entry-DW8yYngF.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Cp0OE2PX.js → revogr-attribution_7.entry-WnSOjAfL.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CcGTw0f4.js → revogr-clipboard_3.entry-5f1ZtJWy.js} +2 -2
- package/dist/{revogr-data_4.entry-Bh7oCpj9.js → revogr-data_4.entry-BwcXhOPY.js} +2 -2
- package/dist/{revogr-filter-panel.entry-OJyr7l1E.js → revogr-filter-panel.entry-CXpo_Btw.js} +1 -1
- package/dist/{serialnumber-design-BDTeHe2C.js → serialnumber-design-CYdELIDU.js} +1 -1
- package/dist/shared/index.es.js +25 -30
- package/dist/{single-field-drop-C-IeYaFA.js → single-field-drop-BpdZOAYb.js} +2 -2
- package/dist/{size-editor-Ibjf73lo.js → size-editor-Dr3sVcUl.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +36 -0
- package/dist/src/adapter/setup.d.ts +18 -12
- package/dist/src/domain/field/auto-complete/material-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/related-lot-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/scrap-material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/sterilization-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/production-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/re-inspection-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-end-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-start-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/trace-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/validity-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/warehouse-receipt-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/index.d.ts +9 -0
- package/dist/src/domain/field/number/decimal-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/destructive-test-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/double-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/integer-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/long-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/material-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/not-good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/of-inst-num-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-output-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/product-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/production-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-consumed-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-required-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/scrap-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/work-hours-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/boolean-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/e-sop-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/product-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/scrap-material-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/location-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/mfg-order-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/model-relation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/operation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/production-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/routing-operation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/shopfloor-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/target-warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/e-sop-version-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/external-reference-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/long-text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/order-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/record-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/warehouse-receipt-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +18 -0
- package/dist/src/domain/field/upload/attachment-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/image-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/reporter-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/signature-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/warehouse-manager-manifest.d.ts +2 -0
- package/dist/src/domain/index.d.ts +1 -0
- package/dist/src/domain/object/date-object/index.d.ts +5 -0
- package/dist/src/domain/object/date-object/profile/field-keys.d.ts +19 -0
- package/dist/src/domain/object/date-object/profile/fields.d.ts +2 -0
- package/dist/src/domain/object/date-object/profile/index.d.ts +3 -0
- package/dist/src/domain/object/date-object/runtime/date-object-context.d.ts +30 -0
- package/dist/src/domain/object/date-object/runtime/date-object-runtime.d.ts +43 -0
- package/dist/src/domain/object/date-object/runtime/fetch-records.d.ts +13 -0
- package/dist/src/domain/object/date-object/runtime/object-handlers.d.ts +4 -0
- package/dist/src/domain/object/date-object/runtime/re-inspection-date.d.ts +25 -0
- package/dist/src/domain/object/date-object/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/object/date-object/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/object/date-object/runtime/utils.d.ts +13 -0
- package/dist/src/domain/object/date-object/types.d.ts +53 -0
- package/dist/src/domain/object/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/shared/eqm-part-api.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +40 -3
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +9 -1
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +17 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +17 -34
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/types.d.ts +20 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/design/panel-features.d.ts +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +3 -1
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +2 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +5 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +42 -2
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +11 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/scan-helpers.d.ts +13 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/stocktake-calc.d.ts +3 -1
- package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +15 -0
- package/dist/src/nocode-base/src/core/sub-table/warehouse-out-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/date-object/use-date-object.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +3 -4
- package/dist/src/nocode-base/src/hooks/device-link/types.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +20 -6
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +34 -19
- package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +1 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +49 -8
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +35 -0
- package/dist/src/nocode-base/src/hooks/operation-receive-qty.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/useStyles.d.ts +2 -2
- package/dist/src/nocode-base/src/interface/device-query.d.ts +40 -0
- package/dist/src/nocode-base/src/interface/index.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/render.d.ts +11 -0
- package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
- package/dist/src/nocode-base/src/types/business/index.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/pretreatment-list.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/sterilize-batch.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/stocktake.d.ts +5 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +8 -0
- package/dist/src/nocode-base/src/types/fields/i-select.d.ts +13 -1
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +6 -6
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -8
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields-editor.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/field-config-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search-editor.vue.d.ts +1 -4
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +12 -10
- package/dist/src/online-form/src/views/__cell_widgets__/common/ref-autofill-editor/autofill-field-utils.d.ts +10 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-input.vue.d.ts +13 -0
- package/dist/src/{nocode-web-render/src/render/sub-table/stocktake/scan-modal.vue.d.ts → online-form/src/views/__cell_widgets__/fake-field/fake-number-input.vue.d.ts} +7 -1
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/index.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/field-design-components.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/index.d.ts +0 -3
- package/dist/src/online-form/src/views/__cell_widgets__/widget-panel-map.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +5 -6
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +80 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +110 -3
- package/dist/src/online-form/src/views/designer/modules/base/drag-box.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +6 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +58 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-entry-editor.vue.d.ts +2 -1
- package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +1 -3
- package/dist/src/online-form/src/views/designer/utils/cell-content-style.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/utils/field-type-label.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component-visible.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +34 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.d.ts +5 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +40 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-text-input.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/index.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/use-select-list-height.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/trace-like-wrapper.d.ts +26 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/auto-complete/index.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/{trace → rdo-select}/index.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/usePopoverWrapperHeight.d.ts +11 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/columns.d.ts +13 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +3 -3
- package/dist/src/shared/components/FieldStateIcon/field-state-icon.vue.d.ts +17 -0
- package/dist/src/shared/components/FieldStateIcon/index.d.ts +3 -0
- package/dist/src/shared/components/Preview/src/Functional.vue.d.ts +1 -1
- package/dist/src/shared/components/Signature/index.d.ts +2 -1
- package/dist/src/shared/components/Signature/types/index.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/handwriting-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +122 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -0
- package/dist/src/shared/components/registerGlobComp.d.ts +5 -0
- package/dist/src/shared/enum/field-type.d.ts +39 -284
- package/dist/src/shared/enum/index.d.ts +1 -1
- package/dist/src/shared/utils/field-size.d.ts +3 -0
- package/dist/src/shared/utils/lot2sn.d.ts +22 -0
- package/dist/{text-design-B1eX7Rp1.js → text-design-CwR0nlo0.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-kodOPzL5.js → throttle-Cpk1LoGk-Dkz6zJ8F.js} +1 -1
- package/dist/{timediff-design-CoDU15y8.js → timediff-design-INgy9LDa.js} +1 -1
- package/dist/trace-like-wrapper-CDVQC9nc.js +34 -0
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-ey1VNCHV.js → value-editor.vue_vue_type_style_index_0_lang-B6OHtKgu.js} +2 -2
- package/dist/web-render/index.es.js +118 -17
- package/dist/{widget-barcode-DAxib6qS.js → widget-barcode-BwVnh-YN.js} +4 -4
- package/dist/{widget-diagonal-BLo6XT0t.js → widget-diagonal-CrwmwCig.js} +5 -7
- package/dist/{widget-image-D_1erLrE.js → widget-image-BBUd3Sds.js} +6 -5
- package/dist/{widget-line-BwnSq4--.js → widget-line-BrtK1Cyg.js} +4 -4
- package/dist/{widget-pagination-DZMwe14i.js → widget-pagination-CL4-9x6C.js} +5 -5
- package/dist/{widget-power-DfV-8moi.js → widget-power-CM63pEBI.js} +3 -3
- package/dist/{widget-qrcode-C3yTAHOn.js → widget-qrcode-CKaQeTLP.js} +3 -3
- package/dist/{widget-rangelimit-DK8hANd1.js → widget-rangelimit-CXU8rtul.js} +3 -3
- package/dist/{widget-serialnumber-B2pkh6KT.js → widget-serialnumber-DyIKmcmC.js} +1 -1
- package/dist/{widget-text-98SaLOpt.js → widget-text-s757UF00.js} +5 -5
- package/dist/{widget-timediff-OD7HVoVr.js → widget-timediff-C6mIOI8p.js} +2 -2
- package/package.json +16 -6
- package/dist/agg-design-BO3eBkol.js +0 -24
- package/dist/agg-props-DEXapyb8.js +0 -10
- package/dist/agg-style-CDLpFoBn.js +0 -33
- package/dist/attach-fields-editor-DXh9f5iy.js +0 -116
- package/dist/base-font-editor-Ccv90UWY.js +0 -179
- package/dist/boolean-design-D1BIjOGz.js +0 -124
- package/dist/boolean-props-Cqb1zZfy.js +0 -155
- package/dist/boolean-style-C2uaO_Ei.js +0 -108
- package/dist/cell-upload-xzz2ufK7.js +0 -35
- package/dist/date-range-editor-D0SCmmS0.js +0 -472
- package/dist/date-time-design-pv0mRSgV.js +0 -64
- package/dist/date-time-props-B0YQO-ig.js +0 -105
- package/dist/date-time-style-Dn4TErcH.js +0 -33
- package/dist/decimal-design-BMKikWwr.js +0 -29
- package/dist/decimal-display-mode-BLrn-r-H.js +0 -60
- package/dist/decimal-props-BXVnDByV.js +0 -313
- package/dist/decimal-style-C5hB5sv6.js +0 -33
- package/dist/default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-LcZ8lvPF.js +0 -370
- package/dist/double-design-5yOxs5xB.js +0 -28
- package/dist/double-props-CQ9yBXNl.js +0 -91
- package/dist/double-style-C01aPXrT.js +0 -33
- package/dist/enum-design-DewhmfeF.js +0 -97
- package/dist/enum-props-0ECHvFUr.js +0 -734
- package/dist/enum-style-fm5Ap8eG.js +0 -76
- package/dist/expression-design-BY6oI5EW.js +0 -24
- package/dist/expression-props-3OvDgw-p.js +0 -10
- package/dist/expression-style-Hhv8wnAe.js +0 -33
- package/dist/file-design-QE5qUMix.js +0 -17
- package/dist/file-props-CEGee5yo.js +0 -201
- package/dist/file-style-65tfxL94.js +0 -9
- package/dist/image-design-BoQOLCEL.js +0 -23
- package/dist/image-props-GuHBNt9S.js +0 -16
- package/dist/image-style-BLQukPqV.js +0 -9
- package/dist/index-CBYXYocJ.js +0 -40
- package/dist/index-DI8vltuS.js +0 -68
- package/dist/integer-design-C8kRP1tV.js +0 -28
- package/dist/integer-props-XICS-8Qt.js +0 -162
- package/dist/integer-style-BstrlNJp.js +0 -33
- package/dist/number-input-ex-BjIp4mym.js +0 -69
- package/dist/org-design-DWZI8xev.js +0 -24
- package/dist/org-props-0CY6-hLS.js +0 -96
- package/dist/org-style-HDV7obSe.js +0 -33
- package/dist/paper-widget-design-CT80i7VR.js +0 -4
- package/dist/ref-autofill-editor-CObqr_xh.js +0 -2376
- package/dist/ref-design-BQ8o1gKm.js +0 -24
- package/dist/ref-props-xjVvnvGW.js +0 -348
- package/dist/ref-style-MZ52QRhu.js +0 -33
- package/dist/regex-editor-BctX8jdd.js +0 -823
- package/dist/select-render-type-editor.vue_vue_type_script_setup_true_lang-CONYLCmt.js +0 -159
- package/dist/signature-design-CFOFAaEu.js +0 -20
- package/dist/signature-props-N6ng9rqg.js +0 -346
- package/dist/signature-style-D2QQrgMT.js +0 -9
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +0 -44
- package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +0 -2
- package/dist/text-design-CCs-p8Y3.js +0 -39
- package/dist/text-props-C6-s7LBP.js +0 -447
- package/dist/text-style-OUxV8LDu.js +0 -33
- package/dist/trace-design-Bhg0EIyC.js +0 -77
- package/dist/trace-props-DVekq4wE.js +0 -624
- package/dist/trace-style-CfSu__TO.js +0 -33
- package/dist/user-design-fMF_h4IG.js +0 -24
- package/dist/user-props-BGjEpC4j.js +0 -103
- package/dist/user-style-RUHIGWFF.js +0 -33
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { nextTick, h, createVNode, defineComponent,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { nextTick, h, createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, watch, withCtx, withKeys, mergeProps, toRaw, withModifiers } from "vue";
|
|
2
|
+
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
+
import { V as FormTypeEnum, a4 as _export_sfc, aw as FormDesignEnum, z as api, G as useModal, cn as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js";
|
|
4
|
+
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
4
5
|
import "dayjs";
|
|
5
6
|
import { Form } from "ant-design-vue";
|
|
6
|
-
import {
|
|
7
|
+
import { VxeTable, VxeColumn } from "vxe-table";
|
|
7
8
|
var SignatureTypeEnum = /* @__PURE__ */ ((SignatureTypeEnum2) => {
|
|
8
9
|
SignatureTypeEnum2["SIGNATURE_ONLY"] = "signature_only";
|
|
9
10
|
SignatureTypeEnum2["SIGNATURE_DATE"] = "signature_date";
|
|
@@ -1101,37 +1102,20 @@ var CloseOutlined = function CloseOutlined2(props, context) {
|
|
|
1101
1102
|
};
|
|
1102
1103
|
CloseOutlined.displayName = "CloseOutlined";
|
|
1103
1104
|
CloseOutlined.inheritAttrs = false;
|
|
1104
|
-
const EmptyImg = "data:image/svg+xml,%3csvg%20width='90'%20height='66'%20viewBox='0%200%2090%2066'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='pic_nodata'%20clip-path='url(%23clip0_129_180)'%3e%3cg%20id='&%23233;&%23161;&%23181;&%23233;&%23157;&%23162;-1'%3e%3cg%20id='pic_nowenjuan'%3e%3cg%20id='&%23231;&%23188;&%23150;&%23231;&%23187;&%23132;-11'%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;-9'%20d='M42.6733%2020.3538C43.4673%2015.8467%2045.3793%2013.4462%2048.4095%2013.1524C52.9548%2012.7117%2047.4628%2018.0616%2046.6434%2016.1503C45.824%2014.2391%2049.337%209.47943%2051.6375%208.51257'%20stroke='%23DFE2E5'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;-10'%20opacity='0.5'%20d='M47.9468%207.17116C49.4703%205.01916%2051.1966%203.70564%2053.1258%203.23058'%20stroke='%23DFE2E5'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3cg%20id='&%23231;&%23188;&%23150;&%23231;&%23187;&%23132;'%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;'%20d='M32.94%2025.3089H13.9185V62.5073H32.94V25.3089Z'%20fill='url(%23paint0_linear_129_180)'/%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;_2'%20d='M74.5127%2025.3089H32.9399V62.5073H74.5127V25.3089Z'%20fill='url(%23paint1_linear_129_180)'/%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;_3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M52.9773%2053.5956H58.083C58.9474%2053.5956%2059.6482%2054.2908%2059.6482%2055.1485V61.9251H51.4121V55.1485C51.4121%2054.2908%2052.1129%2053.5956%2052.9773%2053.5956Z'%20fill='white'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;'%20d='M10%2063L78%2063'%20stroke='%23E9EBED'%20stroke-width='2'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;_2'%20opacity='0.6'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.5598%2016.8379L13.9186%2025.3089H32.9401L27.6453%2016.6929C26.7929%2015.3058%2025.2736%2014.4594%2023.6361%2014.4594H9.88553C9.02108%2014.4594%208.32031%2015.1547%208.32031%2016.0123C8.32031%2016.3044%208.40332%2016.5905%208.5598%2016.8379Z'%20fill='%23C1C5CA'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;_3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M55.2952%2025.3089L60.7781%2016.6416C61.6371%2015.2837%2063.1395%2014.4594%2064.7553%2014.4594H78.3925C79.257%2014.4594%2079.9577%2015.1547%2079.9577%2016.0123C79.9577%2016.2975%2079.8786%2016.5772%2079.7289%2016.8207L74.5127%2025.3089H55.2952Z'%20fill='%23E3E6E9'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;'%20d='M66.6689%205.97765C67.5353%205.97765%2068.2377%205.28373%2068.2377%204.42772C68.2377%203.57172%2067.5353%202.87779%2066.6689%202.87779C65.8025%202.87779%2065.1001%203.57172%2065.1001%204.42772C65.1001%205.28373%2065.8025%205.97765%2066.6689%205.97765Z'%20fill='%23F5F6F7'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;_2'%20d='M17.3998%206.23917C18.0509%206.23917%2018.5787%205.71771%2018.5787%205.07447C18.5787%204.43122%2018.0509%203.90976%2017.3998%203.90976C16.7487%203.90976%2016.2209%204.43122%2016.2209%205.07447C16.2209%205.71771%2016.7487%206.23917%2017.3998%206.23917Z'%20fill='%23F5F6F7'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;_3'%20d='M34.0675%2012.5416C35.8037%2012.5416%2037.2111%2011.151%2037.2111%209.43569C37.2111%207.72035%2035.8037%206.3298%2034.0675%206.3298C32.3313%206.3298%2030.9238%207.72035%2030.9238%209.43569C30.9238%2011.151%2032.3313%2012.5416%2034.0675%2012.5416Z'%20fill='%23F3F5F6'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle%204564'%20x='46'%20y='31'%20width='19'%20height='3'%20rx='1'%20fill='%23E3E6E9'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_129_180'%20x1='23.4292'%20y1='25.3089'%20x2='23.4292'%20y2='62.5073'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E1E4E8'/%3e%3cstop%20offset='1'%20stop-color='%23E9EBED'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_129_180'%20x1='53.7263'%20y1='25.3089'%20x2='53.7263'%20y2='62.5073'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EEF0F3'/%3e%3cstop%20offset='1'%20stop-color='%23F2F3F5'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_129_180'%3e%3crect%20width='90'%20height='66'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
1105
1105
|
const ViewOnlineForm = "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='&%23232;&%23167;&%23134;&%23229;&%23155;&%23190;%201'%3e%3cpath%20id='Vector'%20d='M12.5532%2011.9548C13.234%2011.9473%2013.9043%2012.1363%2014.4943%2012.5022C15.0843%2012.8681%2015.5725%2013.3975%2015.9082%2014.0354C15.5663%2014.668%2015.0763%2015.1929%2014.4872%2015.5577C13.898%2015.9226%2013.2302%2016.1146%2012.5506%2016.1146C11.871%2016.1146%2011.2032%2015.9226%2010.6141%2015.5577C10.0249%2015.1929%209.5349%2014.668%209.19303%2014.0354C9.52966%2013.3971%2010.0188%2012.8676%2010.6097%2012.5017C11.2006%2012.1358%2011.8717%2011.947%2012.5532%2011.9548ZM15.6646%201.88477C15.7977%201.88477%2015.9254%201.94172%2016.0196%202.0431C16.1137%202.14448%2016.1666%202.28198%2016.1666%202.42536V10.3904C16.1678%2010.4609%2016.1559%2010.5309%2016.1317%2010.5963C16.1075%2010.6618%2016.0714%2010.7214%2016.0256%2010.7718C15.9797%2010.8221%2015.9251%2010.8621%2015.8647%2010.8894C15.8044%2010.9167%2015.7397%2010.9309%2015.6742%2010.931H8.16899V15.3469C8.1688%2015.4292%208.15119%2015.5103%208.11751%2015.5842C8.08384%2015.6581%208.03497%2015.7227%207.97463%2015.7732C7.91429%2015.8237%207.84407%2015.8587%207.76928%2015.8755C7.6945%2015.8924%207.61713%2015.8907%207.54305%2015.8706C7.50675%2015.88%207.46952%2015.8848%207.43218%2015.8847H3.66952C3.60346%2015.8848%203.53802%2015.8709%203.47695%2015.8437C3.41589%2015.8165%203.36041%2015.7767%203.3137%2015.7263C3.26698%2015.676%203.22995%2015.6163%203.20472%2015.5505C3.17949%2015.4848%203.16656%2015.4143%203.16667%2015.3431V2.42536C3.16667%202.12639%203.39191%201.88477%203.66865%201.88477H15.6646ZM12.7069%2012.7756C12.4076%2012.7493%2012.1102%2012.847%2011.8754%2013.0486C11.6406%2013.2502%2011.4859%2013.5406%2011.443%2013.8607C11.4%2014.1808%2011.472%2014.5064%2011.6442%2014.7714C11.8164%2015.0363%2012.0759%2015.2206%2012.3699%2015.2867C12.7115%2015.3211%2013.0521%2015.211%2013.3196%2014.9798C13.5872%2014.7485%2013.7606%2014.4142%2013.8034%2014.0476C13.8041%2013.7248%2013.6909%2013.4137%2013.4867%2013.1773C13.2824%2012.941%2013.0024%2012.797%2012.7034%2012.7746H12.7069V12.7756ZM7.16504%2014.8035V10.93H4.17063V14.8035H7.16504ZM7.16504%205.68113H4.17063V9.84886H7.16504V5.68113ZM11.166%205.68113H8.16899V9.84886H11.166V5.68113ZM15.1626%205.68113H12.17V9.84886H15.1626V5.68113Z'%20fill='url(%23paint0_linear_704_3544)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_3544'%20x1='9.66667'%20y1='1.88477'%20x2='9.66667'%20y2='16.1146'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF7C88'/%3e%3cstop%20offset='1'%20stop-color='%23FFAEB5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
1106
1106
|
const TextOnlineForm = "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='&%23230;&%23150;&%23135;&%23230;&%23156;&%23172;-&%23229;&%23164;&%23154;&%23232;&%23161;&%23140;&%23230;&%23150;&%23135;&%23230;&%23156;&%23172;%201'%3e%3cpath%20id='Vector'%20d='M14.1754%201.75H5.15797C4.19633%201.75%203.41667%202.65424%203.41667%203.76991V14.2301C3.41667%2015.3456%204.19619%2016.25%205.15797%2016.25H14.1754C15.137%2016.25%2015.9167%2015.3458%2015.9167%2014.2301V3.76991C15.9165%202.6544%2015.137%201.75%2014.1754%201.75ZM6.25521%204.8636H9.3585C9.6156%204.8636%209.82393%205.12207%209.82393%205.44115C9.82393%205.76008%209.61546%206.01871%209.3585%206.01871H8.27228V10.6388C8.27228%2010.9578%208.06395%2011.2164%207.80685%2011.2164C7.54976%2011.2164%207.34143%2010.9578%207.34143%2010.6388V6.01871H6.25521C5.99811%206.01871%205.78978%205.76008%205.78978%205.44115C5.78964%205.12223%205.99811%204.8636%206.25521%204.8636ZM13.0825%2013.1414H6.25521C5.99811%2013.1414%205.78978%2012.8828%205.78978%2012.5639C5.78978%2012.2449%205.99825%2011.9863%206.25521%2011.9863H13.0825C13.3396%2011.9863%2013.5479%2012.2449%2013.5479%2012.5639C13.548%2012.8828%2013.3396%2013.1414%2013.0825%2013.1414ZM13.0825%2010.8314H9.66883C9.41173%2010.8314%209.20327%2010.5729%209.20327%2010.2538C9.20327%209.93487%209.41173%209.67624%209.66883%209.67624H13.0825C13.3396%209.67624%2013.5479%209.93487%2013.5479%2010.2538C13.548%2010.5727%2013.3396%2010.8314%2013.0825%2010.8314ZM13.0825%208.52129H10.2895C10.0324%208.52129%209.82393%208.26266%209.82393%207.94373C9.82393%207.62481%2010.0324%207.36618%2010.2895%207.36618H13.0825C13.3396%207.36618%2013.5479%207.62465%2013.5479%207.94373C13.548%208.26266%2013.3396%208.52129%2013.0825%208.52129ZM13.0825%206.21123H11.0654C10.8083%206.21123%2010.5998%205.95276%2010.5998%205.63367C10.5998%205.31459%2010.8083%205.05612%2011.0654%205.05612H13.0826C13.3397%205.05612%2013.548%205.31459%2013.548%205.63367C13.548%205.95276%2013.3396%206.21123%2013.0825%206.21123Z'%20fill='url(%23paint0_linear_704_3539)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_3539'%20x1='9.66667'%20y1='1.75'%20x2='9.66667'%20y2='16.25'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2345EEA2'/%3e%3cstop%20offset='1'%20stop-color='%23ACF7D1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
1107
1107
|
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";
|
|
1108
1108
|
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";
|
|
1109
1109
|
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";
|
|
1110
|
-
const _hoisted_1$4 =
|
|
1111
|
-
const _hoisted_2$1 = { class: "pt-20px px-20px gct-online-form-model-modal ks-col" };
|
|
1112
|
-
const _hoisted_3$1 = { class: "ks-row" };
|
|
1113
|
-
const _hoisted_4$1 = { class: "gct-text-overflow" };
|
|
1114
|
-
const _hoisted_5$1 = {
|
|
1115
|
-
key: 0,
|
|
1116
|
-
class: "gct-custom-tag ml4px"
|
|
1117
|
-
};
|
|
1118
|
-
const _hoisted_6$1 = {
|
|
1119
|
-
key: 0,
|
|
1120
|
-
class: "flex items-center"
|
|
1121
|
-
};
|
|
1122
|
-
const _hoisted_7$1 = ["src"];
|
|
1123
|
-
const _hoisted_8 = { class: "model-list w280px h520px" };
|
|
1124
|
-
const _hoisted_9 = { class: "model-table-wrap" };
|
|
1125
|
-
const _hoisted_10 = ["onClick"];
|
|
1126
|
-
const _hoisted_11 = ["title"];
|
|
1110
|
+
const _hoisted_1$4 = ["src"];
|
|
1127
1111
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
1128
|
-
__name: "
|
|
1112
|
+
__name: "form-type-tag",
|
|
1129
1113
|
props: {
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
formSelected: {}
|
|
1114
|
+
value: {},
|
|
1115
|
+
styleType: { default: "default" }
|
|
1133
1116
|
},
|
|
1134
1117
|
setup(__props) {
|
|
1118
|
+
const ns = useNamespace("form-type-tag");
|
|
1135
1119
|
const svgUtils = {
|
|
1136
1120
|
[FormTypeEnum.TEXT]: TextOnlineForm,
|
|
1137
1121
|
[FormTypeEnum.BASE]: BaseOnlineForm,
|
|
@@ -1140,375 +1124,50 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1140
1124
|
[FormTypeEnum.FILE]: FileOnlineForm
|
|
1141
1125
|
};
|
|
1142
1126
|
const props = __props;
|
|
1143
|
-
const
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
const
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1127
|
+
const calcShortText = (text) => {
|
|
1128
|
+
return text.replace($t("sys.form"), "");
|
|
1129
|
+
};
|
|
1130
|
+
const Type2color = {
|
|
1131
|
+
[FormTypeEnum.TEXT]: "#39d58e",
|
|
1132
|
+
[FormTypeEnum.BASE]: "#51a2fc",
|
|
1133
|
+
[FormTypeEnum.PROCESS]: "#ffaf50",
|
|
1134
|
+
[FormTypeEnum.VIEW]: "#ff808c",
|
|
1135
|
+
[FormTypeEnum.FILE]: "#AC96FF"
|
|
1136
|
+
};
|
|
1137
|
+
const styleVars = computed(() => {
|
|
1138
|
+
return ns.cssVarBlock({
|
|
1139
|
+
"bg-color": Type2color[props.value]
|
|
1156
1140
|
});
|
|
1157
1141
|
});
|
|
1158
|
-
async function getCategoryList() {
|
|
1159
|
-
const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
1160
|
-
{
|
|
1161
|
-
modelCategory: "entity",
|
|
1162
|
-
modelKey: "em_form_category",
|
|
1163
|
-
bsKey: "biz_tree"
|
|
1164
|
-
},
|
|
1165
|
-
{}
|
|
1166
|
-
);
|
|
1167
|
-
categoryList.value = Array.isArray(res) ? res : res?.data ?? [];
|
|
1168
|
-
}
|
|
1169
|
-
onMounted(async () => {
|
|
1170
|
-
getCategoryList();
|
|
1171
|
-
await getDataSource();
|
|
1172
|
-
const row = props.formSelected?.id ? tableData.value.find((i) => i.id === props.formSelected?.id) : tableData.value[0];
|
|
1173
|
-
if (row) {
|
|
1174
|
-
tableRef.value?.setCurrentRow(row);
|
|
1175
|
-
await cellClickEvent({ row });
|
|
1176
|
-
}
|
|
1177
|
-
modelKey.value = props.modelSelected;
|
|
1178
|
-
});
|
|
1179
|
-
async function getDataSource() {
|
|
1180
|
-
keys.forEach((key) => {
|
|
1181
|
-
if (formState.value[key]) {
|
|
1182
|
-
formState.value[key] = formState.value[key].trim();
|
|
1183
|
-
}
|
|
1184
|
-
});
|
|
1185
|
-
tableData.value = await api.apaas.onlineFormTmpl.getListBaseAndProcessForm(formState.value) || [];
|
|
1186
|
-
}
|
|
1187
|
-
const onSave = () => {
|
|
1188
|
-
return {
|
|
1189
|
-
ok: true,
|
|
1190
|
-
params: { modelKey: modelKey.value, formId: formId.value }
|
|
1191
|
-
};
|
|
1192
|
-
};
|
|
1193
|
-
async function cellClickEvent({ row }) {
|
|
1194
|
-
if (formId.value === row.id) return;
|
|
1195
|
-
formId.value = row.id;
|
|
1196
|
-
const data = await api.apaas.onlineFormTmpl.getFormModelsId({ id: row.id });
|
|
1197
|
-
modelTableData.value = orderBy(data, "subModel", "asc");
|
|
1198
|
-
modelKey.value = "";
|
|
1199
|
-
}
|
|
1200
|
-
useModal(onSave);
|
|
1201
1142
|
return (_ctx, _cache) => {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
default: withCtx(() => [
|
|
1217
|
-
createVNode(_component_a_col, { span: 12 }, {
|
|
1218
|
-
default: withCtx(() => [
|
|
1219
|
-
createVNode(_component_a_form_item, { label: "表单分类" }, {
|
|
1220
|
-
default: withCtx(() => [
|
|
1221
|
-
createVNode(_component_a_tree_select, {
|
|
1222
|
-
value: formState.value.categoryId,
|
|
1223
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.categoryId = $event),
|
|
1224
|
-
placeholder: "请选择表单分类",
|
|
1225
|
-
clearable: "",
|
|
1226
|
-
"show-search": "",
|
|
1227
|
-
"tree-data": categoryList.value,
|
|
1228
|
-
"tree-node-filter-prop": "name",
|
|
1229
|
-
fieldNames: {
|
|
1230
|
-
label: "name",
|
|
1231
|
-
value: "id",
|
|
1232
|
-
children: "child"
|
|
1233
|
-
},
|
|
1234
|
-
onChange: getDataSource
|
|
1235
|
-
}, null, 8, ["value", "tree-data"])
|
|
1236
|
-
]),
|
|
1237
|
-
_: 1
|
|
1238
|
-
})
|
|
1239
|
-
]),
|
|
1240
|
-
_: 1
|
|
1241
|
-
}),
|
|
1242
|
-
createVNode(_component_a_col, { span: 12 }, {
|
|
1243
|
-
default: withCtx(() => [
|
|
1244
|
-
createVNode(_component_a_form_item, { label: "表单名称" }, {
|
|
1245
|
-
default: withCtx(() => [
|
|
1246
|
-
createVNode(_component_a_input, {
|
|
1247
|
-
value: formState.value.name,
|
|
1248
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.name = $event),
|
|
1249
|
-
placeholder: "请输入表单名称",
|
|
1250
|
-
clearable: "",
|
|
1251
|
-
onKeyup: withKeys(getDataSource, ["enter"]),
|
|
1252
|
-
onChange: getDataSource
|
|
1253
|
-
}, null, 8, ["value"])
|
|
1254
|
-
]),
|
|
1255
|
-
_: 1
|
|
1256
|
-
})
|
|
1257
|
-
]),
|
|
1258
|
-
_: 1
|
|
1259
|
-
})
|
|
1260
|
-
]),
|
|
1261
|
-
_: 1
|
|
1262
|
-
})
|
|
1263
|
-
]),
|
|
1264
|
-
_: 1
|
|
1265
|
-
}, 8, ["model"]),
|
|
1266
|
-
createVNode(_component_vxe_table, {
|
|
1267
|
-
ref_key: "tableRef",
|
|
1268
|
-
ref: tableRef,
|
|
1269
|
-
"show-overflow": "",
|
|
1270
|
-
data: tableData.value,
|
|
1271
|
-
height: 400,
|
|
1272
|
-
"scroll-y": { enabled: true, oSize: 10 },
|
|
1273
|
-
"row-config": { isHover: true, keyField: "id", height: 44, isCurrent: true },
|
|
1274
|
-
class: normalizeClass({
|
|
1275
|
-
vxetable: true,
|
|
1276
|
-
default: true
|
|
1277
|
-
}),
|
|
1278
|
-
onCellClick: cellClickEvent
|
|
1279
|
-
}, {
|
|
1280
|
-
default: withCtx(() => [
|
|
1281
|
-
createVNode(_component_vxe_column, {
|
|
1282
|
-
field: "name",
|
|
1283
|
-
title: "表单名称",
|
|
1284
|
-
"show-overflow": "",
|
|
1285
|
-
"tree-node": ""
|
|
1286
|
-
}, {
|
|
1287
|
-
default: withCtx(({ row }) => [
|
|
1288
|
-
createElementVNode("div", _hoisted_3$1, [
|
|
1289
|
-
createVNode(_component_a_tooltip, null, {
|
|
1290
|
-
title: withCtx(() => [
|
|
1291
|
-
createTextVNode(toDisplayString(row.version || row.name), 1)
|
|
1292
|
-
]),
|
|
1293
|
-
default: withCtx(() => [
|
|
1294
|
-
createElementVNode("div", _hoisted_4$1, toDisplayString(row.version || row.name), 1)
|
|
1295
|
-
]),
|
|
1296
|
-
_: 2
|
|
1297
|
-
}, 1024),
|
|
1298
|
-
row.default ? (openBlock(), createElementBlock("div", _hoisted_5$1, toDisplayString(_ctx.$t("sys.default")), 1)) : createCommentVNode("", true)
|
|
1299
|
-
])
|
|
1300
|
-
]),
|
|
1301
|
-
_: 1
|
|
1302
|
-
}),
|
|
1303
|
-
createVNode(_component_vxe_column, {
|
|
1304
|
-
field: "formType",
|
|
1305
|
-
title: "表单类型",
|
|
1306
|
-
"show-overflow": "",
|
|
1307
|
-
width: "120"
|
|
1308
|
-
}, {
|
|
1309
|
-
default: withCtx(({ row }) => [
|
|
1310
|
-
row.formType ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
1311
|
-
createElementVNode("img", {
|
|
1312
|
-
src: svgUtils[row.formType],
|
|
1313
|
-
class: "w18px h18px mr-4px"
|
|
1314
|
-
}, null, 8, _hoisted_7$1),
|
|
1315
|
-
createTextVNode(" " + toDisplayString(_ctx.$t(`sys.onlineForm.formTypeEnum.${row.formType}`)), 1)
|
|
1316
|
-
])) : createCommentVNode("", true)
|
|
1317
|
-
]),
|
|
1318
|
-
_: 1
|
|
1319
|
-
})
|
|
1320
|
-
]),
|
|
1321
|
-
_: 1
|
|
1322
|
-
}, 8, ["data"])
|
|
1323
|
-
]),
|
|
1324
|
-
createElementVNode("div", _hoisted_8, [
|
|
1325
|
-
_cache[2] || (_cache[2] = createElementVNode("div", { class: "model-title" }, "选择模型", -1)),
|
|
1326
|
-
createElementVNode("div", _hoisted_9, [
|
|
1327
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(modelTableData.value, (item) => {
|
|
1328
|
-
return openBlock(), createElementBlock("div", {
|
|
1329
|
-
key: item.key,
|
|
1330
|
-
class: normalizeClass(["model-table-row ks-row", { selected: item.key === modelKey.value }]),
|
|
1331
|
-
onClick: ($event) => modelKey.value = item.key
|
|
1332
|
-
}, [
|
|
1333
|
-
createElementVNode("div", {
|
|
1334
|
-
class: "model-tag mr8px",
|
|
1335
|
-
style: normalizeStyle({
|
|
1336
|
-
"--tag-bg": item.subModel === 1 ? "#0066FF" : "#B445F5"
|
|
1337
|
-
})
|
|
1338
|
-
}, toDisplayString(item.subModel === 1 ? "子表" : "主表"), 5),
|
|
1339
|
-
createElementVNode("div", {
|
|
1340
|
-
class: "ks-col ell",
|
|
1341
|
-
title: item.name
|
|
1342
|
-
}, toDisplayString(item.name), 9, _hoisted_11)
|
|
1343
|
-
], 10, _hoisted_10);
|
|
1344
|
-
}), 128))
|
|
1345
|
-
])
|
|
1346
|
-
])
|
|
1347
|
-
]);
|
|
1143
|
+
return openBlock(), createElementBlock("span", {
|
|
1144
|
+
class: normalizeClass(["flex items-center", [unref(ns).b(), unref(ns).m(__props.styleType)]]),
|
|
1145
|
+
style: normalizeStyle(styleVars.value)
|
|
1146
|
+
}, [
|
|
1147
|
+
__props.styleType === "default" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1148
|
+
createElementVNode("img", {
|
|
1149
|
+
src: svgUtils[__props.value],
|
|
1150
|
+
class: "w18px h18px mr-4px"
|
|
1151
|
+
}, null, 8, _hoisted_1$4),
|
|
1152
|
+
createTextVNode(" " + toDisplayString(_ctx.$t(`sys.onlineForm.formTypeEnum.${__props.value}`)), 1)
|
|
1153
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1154
|
+
createTextVNode(toDisplayString(calcShortText(_ctx.$t(`sys.onlineForm.formTypeEnum.${__props.value}`))), 1)
|
|
1155
|
+
], 64))
|
|
1156
|
+
], 6);
|
|
1348
1157
|
};
|
|
1349
1158
|
}
|
|
1350
1159
|
});
|
|
1351
|
-
const
|
|
1160
|
+
const FormTypeTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-ce6f9699"]]);
|
|
1161
|
+
const _hoisted_1$3 = ["title"];
|
|
1352
1162
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1353
|
-
__name: "
|
|
1163
|
+
__name: "right-list",
|
|
1354
1164
|
props: {
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
border: { type: Boolean, default: true }
|
|
1165
|
+
items: {},
|
|
1166
|
+
moduleType: {}
|
|
1358
1167
|
},
|
|
1359
|
-
emits: ["
|
|
1168
|
+
emits: ["delete"],
|
|
1360
1169
|
setup(__props, { emit: __emit }) {
|
|
1361
|
-
const
|
|
1362
|
-
const props = __props;
|
|
1363
|
-
const emit = __emit;
|
|
1364
|
-
const _options = ref([]);
|
|
1365
|
-
const localVal = computed({
|
|
1366
|
-
get() {
|
|
1367
|
-
return props.joinFormRefId;
|
|
1368
|
-
},
|
|
1369
|
-
set(v) {
|
|
1370
|
-
emit("update:joinFormRefId", v);
|
|
1371
|
-
}
|
|
1372
|
-
});
|
|
1373
|
-
watch(
|
|
1374
|
-
() => localVal.value,
|
|
1375
|
-
async (v) => {
|
|
1376
|
-
if (v) {
|
|
1377
|
-
let data = _options.value.find((e) => e.refId === v);
|
|
1378
|
-
if (!data) {
|
|
1379
|
-
const id = v ? v.split(":")[1] || v.split(":")[0] : "";
|
|
1380
|
-
data = await getTmplInfo(id);
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
immediate: true
|
|
1386
|
-
}
|
|
1387
|
-
);
|
|
1388
|
-
const optionsData = computed(() => {
|
|
1389
|
-
return _options.value.map((e) => {
|
|
1390
|
-
return {
|
|
1391
|
-
...e,
|
|
1392
|
-
fieldLabel: `${e.name}${e.version ? " : " + e.version : ""}`
|
|
1393
|
-
};
|
|
1394
|
-
});
|
|
1395
|
-
});
|
|
1396
|
-
async function getTmplInfo(id) {
|
|
1397
|
-
const res = await api.apaas.formRelate.getInfo({
|
|
1398
|
-
id,
|
|
1399
|
-
moduleType
|
|
1400
|
-
});
|
|
1401
|
-
res && _options.value.push({
|
|
1402
|
-
...res,
|
|
1403
|
-
refId: res.baseId ? res.baseId + ":" + res.id : res.id
|
|
1404
|
-
});
|
|
1405
|
-
return res;
|
|
1406
|
-
}
|
|
1407
|
-
function getOptionValue(v = localVal.value) {
|
|
1408
|
-
return toRaw(optionsData.value.find((i) => i.refId === v));
|
|
1409
|
-
}
|
|
1410
|
-
const openModal = async () => {
|
|
1411
|
-
const res = await window.NocodeAdapter.utils.overlay.modal(
|
|
1412
|
-
OnlineFormModelModal,
|
|
1413
|
-
{
|
|
1414
|
-
formSelected: getOptionValue(),
|
|
1415
|
-
modelSelected: props.joinModelKey,
|
|
1416
|
-
moduleType
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
title: "表单模型选择",
|
|
1420
|
-
width: 800,
|
|
1421
|
-
okText: $t("sys.okText"),
|
|
1422
|
-
okButtonProps: {
|
|
1423
|
-
disabled: true
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
);
|
|
1427
|
-
if (res.ok && res.params) {
|
|
1428
|
-
emit("update:joinModelKey", res.params.modelKey);
|
|
1429
|
-
localVal.value = res.params.formId;
|
|
1430
|
-
}
|
|
1431
|
-
};
|
|
1432
|
-
return (_ctx, _cache) => {
|
|
1433
|
-
const _component_a_select = resolveComponent("a-select");
|
|
1434
|
-
return openBlock(), createBlock(_component_a_select, {
|
|
1435
|
-
class: normalizeClass([!__props.border && "custom-select-no-arrow"]),
|
|
1436
|
-
value: localVal.value,
|
|
1437
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => localVal.value = $event),
|
|
1438
|
-
placeholder: _ctx.$t("sys.chooseText"),
|
|
1439
|
-
bordered: __props.border,
|
|
1440
|
-
showSearch: false,
|
|
1441
|
-
showArrow: false,
|
|
1442
|
-
allowClear: false,
|
|
1443
|
-
open: false,
|
|
1444
|
-
fieldNames: { label: "fieldLabel", value: "refId" },
|
|
1445
|
-
options: optionsData.value,
|
|
1446
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => openModal(), ["stop"]))
|
|
1447
|
-
}, null, 8, ["class", "value", "placeholder", "bordered", "options"]);
|
|
1448
|
-
};
|
|
1449
|
-
}
|
|
1450
|
-
});
|
|
1451
|
-
const _hoisted_1$3 = ["src"];
|
|
1452
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1453
|
-
__name: "form-type-tag",
|
|
1454
|
-
props: {
|
|
1455
|
-
value: {},
|
|
1456
|
-
styleType: { default: "default" }
|
|
1457
|
-
},
|
|
1458
|
-
setup(__props) {
|
|
1459
|
-
const ns = useNamespace("form-type-tag");
|
|
1460
|
-
const svgUtils = {
|
|
1461
|
-
[FormTypeEnum.TEXT]: TextOnlineForm,
|
|
1462
|
-
[FormTypeEnum.BASE]: BaseOnlineForm,
|
|
1463
|
-
[FormTypeEnum.PROCESS]: ProccessOnlineForm,
|
|
1464
|
-
[FormTypeEnum.VIEW]: ViewOnlineForm,
|
|
1465
|
-
[FormTypeEnum.FILE]: FileOnlineForm
|
|
1466
|
-
};
|
|
1467
|
-
const props = __props;
|
|
1468
|
-
const calcShortText = (text) => {
|
|
1469
|
-
return text.replace($t("sys.form"), "");
|
|
1470
|
-
};
|
|
1471
|
-
const Type2color = {
|
|
1472
|
-
[FormTypeEnum.TEXT]: "#39d58e",
|
|
1473
|
-
[FormTypeEnum.BASE]: "#51a2fc",
|
|
1474
|
-
[FormTypeEnum.PROCESS]: "#ffaf50",
|
|
1475
|
-
[FormTypeEnum.VIEW]: "#ff808c",
|
|
1476
|
-
[FormTypeEnum.FILE]: "#AC96FF"
|
|
1477
|
-
};
|
|
1478
|
-
const styleVars = computed(() => {
|
|
1479
|
-
return ns.cssVarBlock({
|
|
1480
|
-
"bg-color": Type2color[props.value]
|
|
1481
|
-
});
|
|
1482
|
-
});
|
|
1483
|
-
return (_ctx, _cache) => {
|
|
1484
|
-
return openBlock(), createElementBlock("span", {
|
|
1485
|
-
class: normalizeClass(["flex items-center", [unref(ns).b(), unref(ns).m(__props.styleType)]]),
|
|
1486
|
-
style: normalizeStyle(styleVars.value)
|
|
1487
|
-
}, [
|
|
1488
|
-
__props.styleType === "default" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1489
|
-
createElementVNode("img", {
|
|
1490
|
-
src: svgUtils[__props.value],
|
|
1491
|
-
class: "w18px h18px mr-4px"
|
|
1492
|
-
}, null, 8, _hoisted_1$3),
|
|
1493
|
-
createTextVNode(" " + toDisplayString(_ctx.$t(`sys.onlineForm.formTypeEnum.${__props.value}`)), 1)
|
|
1494
|
-
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1495
|
-
createTextVNode(toDisplayString(calcShortText(_ctx.$t(`sys.onlineForm.formTypeEnum.${__props.value}`))), 1)
|
|
1496
|
-
], 64))
|
|
1497
|
-
], 6);
|
|
1498
|
-
};
|
|
1499
|
-
}
|
|
1500
|
-
});
|
|
1501
|
-
const FormTypeTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-ce6f9699"]]);
|
|
1502
|
-
const _hoisted_1$2 = ["title"];
|
|
1503
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1504
|
-
__name: "right-list",
|
|
1505
|
-
props: {
|
|
1506
|
-
items: {},
|
|
1507
|
-
moduleType: {}
|
|
1508
|
-
},
|
|
1509
|
-
emits: ["delete"],
|
|
1510
|
-
setup(__props, { emit: __emit }) {
|
|
1511
|
-
const ns = useNamespace("right-list");
|
|
1170
|
+
const ns = useNamespace("right-list");
|
|
1512
1171
|
const props = __props;
|
|
1513
1172
|
const emit = __emit;
|
|
1514
1173
|
const title = computed(() => {
|
|
@@ -1541,7 +1200,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1541
1200
|
createElementVNode("div", {
|
|
1542
1201
|
class: normalizeClass([unref(ns).e("item-text")]),
|
|
1543
1202
|
title: getItemText(item)
|
|
1544
|
-
}, toDisplayString(getItemText(item)), 11, _hoisted_1$
|
|
1203
|
+
}, toDisplayString(getItemText(item)), 11, _hoisted_1$3),
|
|
1545
1204
|
createVNode(unref(CloseOutlined), {
|
|
1546
1205
|
class: normalizeClass([unref(ns).e("item-icon")]),
|
|
1547
1206
|
onClick: ($event) => emit("delete", item)
|
|
@@ -1553,8 +1212,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1553
1212
|
};
|
|
1554
1213
|
}
|
|
1555
1214
|
});
|
|
1556
|
-
const RightList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1557
|
-
const _sfc_main$
|
|
1215
|
+
const RightList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-267c6ad7"]]);
|
|
1216
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1558
1217
|
__name: "category-select",
|
|
1559
1218
|
props: {
|
|
1560
1219
|
value: { default: void 0 },
|
|
@@ -1624,18 +1283,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
1624
1283
|
};
|
|
1625
1284
|
}
|
|
1626
1285
|
});
|
|
1627
|
-
const CategorySelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1628
|
-
const
|
|
1629
|
-
const
|
|
1630
|
-
const
|
|
1631
|
-
const
|
|
1632
|
-
const
|
|
1633
|
-
const
|
|
1286
|
+
const CategorySelect = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-00136bc2"]]);
|
|
1287
|
+
const EmptyImg = "data:image/svg+xml,%3csvg%20width='90'%20height='66'%20viewBox='0%200%2090%2066'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='pic_nodata'%20clip-path='url(%23clip0_129_180)'%3e%3cg%20id='&%23233;&%23161;&%23181;&%23233;&%23157;&%23162;-1'%3e%3cg%20id='pic_nowenjuan'%3e%3cg%20id='&%23231;&%23188;&%23150;&%23231;&%23187;&%23132;-11'%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;-9'%20d='M42.6733%2020.3538C43.4673%2015.8467%2045.3793%2013.4462%2048.4095%2013.1524C52.9548%2012.7117%2047.4628%2018.0616%2046.6434%2016.1503C45.824%2014.2391%2049.337%209.47943%2051.6375%208.51257'%20stroke='%23DFE2E5'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;-10'%20opacity='0.5'%20d='M47.9468%207.17116C49.4703%205.01916%2051.1966%203.70564%2053.1258%203.23058'%20stroke='%23DFE2E5'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3cg%20id='&%23231;&%23188;&%23150;&%23231;&%23187;&%23132;'%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;'%20d='M32.94%2025.3089H13.9185V62.5073H32.94V25.3089Z'%20fill='url(%23paint0_linear_129_180)'/%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;_2'%20d='M74.5127%2025.3089H32.9399V62.5073H74.5127V25.3089Z'%20fill='url(%23paint1_linear_129_180)'/%3e%3cpath%20id='&%23231;&%23159;&%23169;&%23229;&%23189;&%23162;_3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M52.9773%2053.5956H58.083C58.9474%2053.5956%2059.6482%2054.2908%2059.6482%2055.1485V61.9251H51.4121V55.1485C51.4121%2054.2908%2052.1129%2053.5956%2052.9773%2053.5956Z'%20fill='white'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;'%20d='M10%2063L78%2063'%20stroke='%23E9EBED'%20stroke-width='2'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;_2'%20opacity='0.6'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.5598%2016.8379L13.9186%2025.3089H32.9401L27.6453%2016.6929C26.7929%2015.3058%2025.2736%2014.4594%2023.6361%2014.4594H9.88553C9.02108%2014.4594%208.32031%2015.1547%208.32031%2016.0123C8.32031%2016.3044%208.40332%2016.5905%208.5598%2016.8379Z'%20fill='%23C1C5CA'/%3e%3cpath%20id='&%23232;&%23183;&%23175;&%23229;&%23190;&%23132;_3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M55.2952%2025.3089L60.7781%2016.6416C61.6371%2015.2837%2063.1395%2014.4594%2064.7553%2014.4594H78.3925C79.257%2014.4594%2079.9577%2015.1547%2079.9577%2016.0123C79.9577%2016.2975%2079.8786%2016.5772%2079.7289%2016.8207L74.5127%2025.3089H55.2952Z'%20fill='%23E3E6E9'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;'%20d='M66.6689%205.97765C67.5353%205.97765%2068.2377%205.28373%2068.2377%204.42772C68.2377%203.57172%2067.5353%202.87779%2066.6689%202.87779C65.8025%202.87779%2065.1001%203.57172%2065.1001%204.42772C65.1001%205.28373%2065.8025%205.97765%2066.6689%205.97765Z'%20fill='%23F5F6F7'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;_2'%20d='M17.3998%206.23917C18.0509%206.23917%2018.5787%205.71771%2018.5787%205.07447C18.5787%204.43122%2018.0509%203.90976%2017.3998%203.90976C16.7487%203.90976%2016.2209%204.43122%2016.2209%205.07447C16.2209%205.71771%2016.7487%206.23917%2017.3998%206.23917Z'%20fill='%23F5F6F7'/%3e%3cpath%20id='&%23230;&%23164;&%23173;&%23229;&%23156;&%23134;&%23229;&%23189;&%23162;_3'%20d='M34.0675%2012.5416C35.8037%2012.5416%2037.2111%2011.151%2037.2111%209.43569C37.2111%207.72035%2035.8037%206.3298%2034.0675%206.3298C32.3313%206.3298%2030.9238%207.72035%2030.9238%209.43569C30.9238%2011.151%2032.3313%2012.5416%2034.0675%2012.5416Z'%20fill='%23F3F5F6'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20id='Rectangle%204564'%20x='46'%20y='31'%20width='19'%20height='3'%20rx='1'%20fill='%23E3E6E9'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_129_180'%20x1='23.4292'%20y1='25.3089'%20x2='23.4292'%20y2='62.5073'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23E1E4E8'/%3e%3cstop%20offset='1'%20stop-color='%23E9EBED'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_129_180'%20x1='53.7263'%20y1='25.3089'%20x2='53.7263'%20y2='62.5073'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23EEF0F3'/%3e%3cstop%20offset='1'%20stop-color='%23F2F3F5'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_129_180'%3e%3crect%20width='90'%20height='66'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
1288
|
+
const _hoisted_1$2 = { class: "select-table flex flex-col h-full" };
|
|
1289
|
+
const _hoisted_2$1 = { class: "select-table__vxe-table-wrapper" };
|
|
1290
|
+
const _hoisted_3$1 = { class: "select-table__vxe-table-area" };
|
|
1291
|
+
const _hoisted_4$1 = { class: "ks-row" };
|
|
1292
|
+
const _hoisted_5$1 = { class: "gct-text-overflow" };
|
|
1293
|
+
const _hoisted_6$1 = {
|
|
1634
1294
|
key: 0,
|
|
1635
1295
|
class: "gct-custom-tag ml4px"
|
|
1636
1296
|
};
|
|
1637
|
-
const _hoisted_7 = { class: "pt-12px" };
|
|
1638
|
-
const _sfc_main$
|
|
1297
|
+
const _hoisted_7$1 = { class: "pt-12px" };
|
|
1298
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1639
1299
|
__name: "select-table",
|
|
1640
1300
|
props: {
|
|
1641
1301
|
moduleType: { default: FormDesignEnum.ONLINE_FORM },
|
|
@@ -1864,12 +1524,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1864
1524
|
const _component_a_input = resolveComponent("a-input");
|
|
1865
1525
|
const _component_a_row = resolveComponent("a-row");
|
|
1866
1526
|
const _component_a_form = resolveComponent("a-form");
|
|
1867
|
-
const _component_vxe_column = resolveComponent("vxe-column");
|
|
1868
1527
|
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
1869
1528
|
const _component_a_empty = resolveComponent("a-empty");
|
|
1870
|
-
const _component_vxe_table = resolveComponent("vxe-table");
|
|
1871
1529
|
const _component_a_pagination = resolveComponent("a-pagination");
|
|
1872
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1530
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
1873
1531
|
createVNode(_component_a_form, {
|
|
1874
1532
|
class: "select-table__search-form",
|
|
1875
1533
|
model: formData.value
|
|
@@ -1924,9 +1582,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1924
1582
|
]),
|
|
1925
1583
|
_: 1
|
|
1926
1584
|
}, 8, ["model"]),
|
|
1927
|
-
createElementVNode("div", _hoisted_2, [
|
|
1928
|
-
createElementVNode("div", _hoisted_3, [
|
|
1929
|
-
createVNode(
|
|
1585
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
1586
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
1587
|
+
createVNode(unref(VxeTable), mergeProps({
|
|
1930
1588
|
ref_key: "tableRef",
|
|
1931
1589
|
ref: tableRef,
|
|
1932
1590
|
"show-overflow": "",
|
|
@@ -1951,21 +1609,21 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1951
1609
|
}, null, 8, ["description", "image"])
|
|
1952
1610
|
]),
|
|
1953
1611
|
default: withCtx(() => [
|
|
1954
|
-
__props.multiple ? (openBlock(), createBlock(
|
|
1612
|
+
__props.multiple ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
1955
1613
|
key: 0,
|
|
1956
1614
|
"show-overflow": false,
|
|
1957
1615
|
type: "checkbox",
|
|
1958
1616
|
width: "40",
|
|
1959
1617
|
resizable: false
|
|
1960
1618
|
})) : createCommentVNode("", true),
|
|
1961
|
-
!__props.multiple ? (openBlock(), createBlock(
|
|
1619
|
+
!__props.multiple ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
1962
1620
|
key: 1,
|
|
1963
1621
|
"show-overflow": false,
|
|
1964
1622
|
type: "radio",
|
|
1965
1623
|
width: "40",
|
|
1966
1624
|
resizable: false
|
|
1967
1625
|
})) : createCommentVNode("", true),
|
|
1968
|
-
__props.showColumns.includes("name") ? (openBlock(), createBlock(
|
|
1626
|
+
__props.showColumns.includes("name") ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
1969
1627
|
key: 2,
|
|
1970
1628
|
field: "name",
|
|
1971
1629
|
title: _ctx.$t("sys.name"),
|
|
@@ -1973,29 +1631,29 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1973
1631
|
"tree-node": ""
|
|
1974
1632
|
}, {
|
|
1975
1633
|
default: withCtx(({ row }) => [
|
|
1976
|
-
createElementVNode("div", _hoisted_4, [
|
|
1634
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
1977
1635
|
createVNode(_component_a_tooltip, null, {
|
|
1978
1636
|
title: withCtx(() => [
|
|
1979
1637
|
createTextVNode(toDisplayString(row.version || row.name), 1)
|
|
1980
1638
|
]),
|
|
1981
1639
|
default: withCtx(() => [
|
|
1982
|
-
createElementVNode("div", _hoisted_5, toDisplayString(row.version || row.name), 1)
|
|
1640
|
+
createElementVNode("div", _hoisted_5$1, toDisplayString(row.version || row.name), 1)
|
|
1983
1641
|
]),
|
|
1984
1642
|
_: 2
|
|
1985
1643
|
}, 1024),
|
|
1986
|
-
row.default ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(_ctx.$t("sys.default")), 1)) : createCommentVNode("", true)
|
|
1644
|
+
row.default ? (openBlock(), createElementBlock("div", _hoisted_6$1, toDisplayString(_ctx.$t("sys.default")), 1)) : createCommentVNode("", true)
|
|
1987
1645
|
])
|
|
1988
1646
|
]),
|
|
1989
1647
|
_: 1
|
|
1990
1648
|
}, 8, ["title"])) : createCommentVNode("", true),
|
|
1991
|
-
__props.showColumns.includes("description") ? (openBlock(), createBlock(
|
|
1649
|
+
__props.showColumns.includes("description") ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
1992
1650
|
key: 3,
|
|
1993
1651
|
field: "description",
|
|
1994
1652
|
title: isOnlineForm.value ? onlineFormTypeLabel : _ctx.$t("sys.description"),
|
|
1995
1653
|
"show-overflow": "",
|
|
1996
1654
|
formatter: ({ cellValue }) => cellValue || "--"
|
|
1997
1655
|
}, null, 8, ["title", "formatter"])) : createCommentVNode("", true),
|
|
1998
|
-
__props.showColumns.includes("modifyUserName") ? (openBlock(), createBlock(
|
|
1656
|
+
__props.showColumns.includes("modifyUserName") ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
1999
1657
|
key: 4,
|
|
2000
1658
|
field: "modifyUserName",
|
|
2001
1659
|
title: _ctx.$t("sys.appDesigner.modifier"),
|
|
@@ -2003,7 +1661,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2003
1661
|
"show-overflow": "",
|
|
2004
1662
|
formatter: ({ cellValue }) => cellValue || "--"
|
|
2005
1663
|
}, null, 8, ["title", "formatter"])) : createCommentVNode("", true),
|
|
2006
|
-
__props.showColumns.includes("modifyTime") ? (openBlock(), createBlock(
|
|
1664
|
+
__props.showColumns.includes("modifyTime") ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
2007
1665
|
key: 5,
|
|
2008
1666
|
field: "modifyTime",
|
|
2009
1667
|
title: _ctx.$t("sys.appDesigner.modificationTime"),
|
|
@@ -2014,7 +1672,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2014
1672
|
_: 1
|
|
2015
1673
|
}, 16, ["data"])
|
|
2016
1674
|
]),
|
|
2017
|
-
createElementVNode("div", _hoisted_7, [
|
|
1675
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
2018
1676
|
createVNode(_component_a_pagination, mergeProps(paginationAttr.value, {
|
|
2019
1677
|
onChange: showSizeChange,
|
|
2020
1678
|
class: "pagination-total-left"
|
|
@@ -2025,9 +1683,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2025
1683
|
};
|
|
2026
1684
|
}
|
|
2027
1685
|
});
|
|
2028
|
-
const SelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2029
|
-
const _hoisted_1 = { class: "py-24px px-24px gct-tmpl-modal flex" };
|
|
2030
|
-
const _sfc_main$
|
|
1686
|
+
const SelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d9d1f32a"]]);
|
|
1687
|
+
const _hoisted_1$1 = { class: "py-24px px-24px gct-tmpl-modal flex" };
|
|
1688
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2031
1689
|
__name: "tmpl-modal",
|
|
2032
1690
|
props: {
|
|
2033
1691
|
selected: {},
|
|
@@ -2065,7 +1723,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2065
1723
|
selectTable.value.doRemove(row);
|
|
2066
1724
|
};
|
|
2067
1725
|
return (_ctx, _cache) => {
|
|
2068
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1726
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
2069
1727
|
createVNode(SelectTable, {
|
|
2070
1728
|
class: "flex-grow-1",
|
|
2071
1729
|
selected: selectedArr.value,
|
|
@@ -2091,8 +1749,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
2091
1749
|
};
|
|
2092
1750
|
}
|
|
2093
1751
|
});
|
|
2094
|
-
const tmplModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2095
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1752
|
+
const tmplModal = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-0a4e013e"]]);
|
|
1753
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2096
1754
|
__name: "version-select",
|
|
2097
1755
|
props: {
|
|
2098
1756
|
value: { default: void 0 },
|
|
@@ -2300,7 +1958,346 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2300
1958
|
};
|
|
2301
1959
|
}
|
|
2302
1960
|
});
|
|
2303
|
-
const VersionSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5cb613e8"]]);
|
|
1961
|
+
const VersionSelect = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-5cb613e8"]]);
|
|
1962
|
+
const _hoisted_1 = { class: "ks-row" };
|
|
1963
|
+
const _hoisted_2 = { class: "pt-20px px-20px gct-online-form-model-modal ks-col" };
|
|
1964
|
+
const _hoisted_3 = { class: "ks-row" };
|
|
1965
|
+
const _hoisted_4 = { class: "gct-text-overflow" };
|
|
1966
|
+
const _hoisted_5 = {
|
|
1967
|
+
key: 0,
|
|
1968
|
+
class: "gct-custom-tag ml4px"
|
|
1969
|
+
};
|
|
1970
|
+
const _hoisted_6 = {
|
|
1971
|
+
key: 0,
|
|
1972
|
+
class: "flex items-center"
|
|
1973
|
+
};
|
|
1974
|
+
const _hoisted_7 = ["src"];
|
|
1975
|
+
const _hoisted_8 = { class: "model-list w280px h520px" };
|
|
1976
|
+
const _hoisted_9 = { class: "model-table-wrap" };
|
|
1977
|
+
const _hoisted_10 = ["onClick"];
|
|
1978
|
+
const _hoisted_11 = ["title"];
|
|
1979
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1980
|
+
__name: "online-form-model-modal",
|
|
1981
|
+
props: {
|
|
1982
|
+
modal: {},
|
|
1983
|
+
modelSelected: {},
|
|
1984
|
+
formSelected: {}
|
|
1985
|
+
},
|
|
1986
|
+
setup(__props) {
|
|
1987
|
+
const svgUtils = {
|
|
1988
|
+
[FormTypeEnum.TEXT]: TextOnlineForm,
|
|
1989
|
+
[FormTypeEnum.BASE]: BaseOnlineForm,
|
|
1990
|
+
[FormTypeEnum.PROCESS]: ProccessOnlineForm,
|
|
1991
|
+
[FormTypeEnum.VIEW]: ViewOnlineForm,
|
|
1992
|
+
[FormTypeEnum.FILE]: FileOnlineForm
|
|
1993
|
+
};
|
|
1994
|
+
const props = __props;
|
|
1995
|
+
const keys = ["name", "code"];
|
|
1996
|
+
const tableRef = ref();
|
|
1997
|
+
const categoryList = ref([]);
|
|
1998
|
+
const formState = ref({});
|
|
1999
|
+
const tableData = ref([]);
|
|
2000
|
+
const modelTableData = ref([]);
|
|
2001
|
+
const modelKey = ref();
|
|
2002
|
+
const formId = ref();
|
|
2003
|
+
watch(modelKey, (k) => {
|
|
2004
|
+
props.modal.setOptions({
|
|
2005
|
+
okButtonProps: {
|
|
2006
|
+
disabled: !k
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
});
|
|
2010
|
+
async function getCategoryList() {
|
|
2011
|
+
const res = await api.apaas.modelComprehensive.postBizServiceModelCategoryModelKeyBsKey(
|
|
2012
|
+
{
|
|
2013
|
+
modelCategory: "entity",
|
|
2014
|
+
modelKey: "em_form_category",
|
|
2015
|
+
bsKey: "biz_tree"
|
|
2016
|
+
},
|
|
2017
|
+
{}
|
|
2018
|
+
);
|
|
2019
|
+
categoryList.value = Array.isArray(res) ? res : res?.data ?? [];
|
|
2020
|
+
}
|
|
2021
|
+
onMounted(async () => {
|
|
2022
|
+
getCategoryList();
|
|
2023
|
+
await getDataSource();
|
|
2024
|
+
const row = props.formSelected?.id ? tableData.value.find((i) => i.id === props.formSelected?.id) : tableData.value[0];
|
|
2025
|
+
if (row) {
|
|
2026
|
+
tableRef.value?.setCurrentRow(row);
|
|
2027
|
+
await cellClickEvent({ row });
|
|
2028
|
+
}
|
|
2029
|
+
modelKey.value = props.modelSelected;
|
|
2030
|
+
});
|
|
2031
|
+
async function getDataSource() {
|
|
2032
|
+
keys.forEach((key) => {
|
|
2033
|
+
if (formState.value[key]) {
|
|
2034
|
+
formState.value[key] = formState.value[key].trim();
|
|
2035
|
+
}
|
|
2036
|
+
});
|
|
2037
|
+
tableData.value = await api.apaas.onlineFormTmpl.getListBaseAndProcessForm(formState.value) || [];
|
|
2038
|
+
}
|
|
2039
|
+
const onSave = () => {
|
|
2040
|
+
return {
|
|
2041
|
+
ok: true,
|
|
2042
|
+
params: { modelKey: modelKey.value, formId: formId.value }
|
|
2043
|
+
};
|
|
2044
|
+
};
|
|
2045
|
+
async function cellClickEvent({ row }) {
|
|
2046
|
+
if (formId.value === row.id) return;
|
|
2047
|
+
formId.value = row.id;
|
|
2048
|
+
const data = await api.apaas.onlineFormTmpl.getFormModelsId({ id: row.id });
|
|
2049
|
+
modelTableData.value = orderBy(data, "subModel", "asc");
|
|
2050
|
+
modelKey.value = "";
|
|
2051
|
+
}
|
|
2052
|
+
useModal(onSave);
|
|
2053
|
+
return (_ctx, _cache) => {
|
|
2054
|
+
const _component_a_tree_select = resolveComponent("a-tree-select");
|
|
2055
|
+
const _component_a_form_item = resolveComponent("a-form-item");
|
|
2056
|
+
const _component_a_col = resolveComponent("a-col");
|
|
2057
|
+
const _component_a_input = resolveComponent("a-input");
|
|
2058
|
+
const _component_a_row = resolveComponent("a-row");
|
|
2059
|
+
const _component_a_form = resolveComponent("a-form");
|
|
2060
|
+
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
2061
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
2062
|
+
createElementVNode("div", _hoisted_2, [
|
|
2063
|
+
createVNode(_component_a_form, { model: formState.value }, {
|
|
2064
|
+
default: withCtx(() => [
|
|
2065
|
+
createVNode(_component_a_row, { gutter: 16 }, {
|
|
2066
|
+
default: withCtx(() => [
|
|
2067
|
+
createVNode(_component_a_col, { span: 12 }, {
|
|
2068
|
+
default: withCtx(() => [
|
|
2069
|
+
createVNode(_component_a_form_item, { label: "表单分类" }, {
|
|
2070
|
+
default: withCtx(() => [
|
|
2071
|
+
createVNode(_component_a_tree_select, {
|
|
2072
|
+
value: formState.value.categoryId,
|
|
2073
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.categoryId = $event),
|
|
2074
|
+
placeholder: "请选择表单分类",
|
|
2075
|
+
clearable: "",
|
|
2076
|
+
"show-search": "",
|
|
2077
|
+
"tree-data": categoryList.value,
|
|
2078
|
+
"tree-node-filter-prop": "name",
|
|
2079
|
+
fieldNames: {
|
|
2080
|
+
label: "name",
|
|
2081
|
+
value: "id",
|
|
2082
|
+
children: "child"
|
|
2083
|
+
},
|
|
2084
|
+
onChange: getDataSource
|
|
2085
|
+
}, null, 8, ["value", "tree-data"])
|
|
2086
|
+
]),
|
|
2087
|
+
_: 1
|
|
2088
|
+
})
|
|
2089
|
+
]),
|
|
2090
|
+
_: 1
|
|
2091
|
+
}),
|
|
2092
|
+
createVNode(_component_a_col, { span: 12 }, {
|
|
2093
|
+
default: withCtx(() => [
|
|
2094
|
+
createVNode(_component_a_form_item, { label: "表单名称" }, {
|
|
2095
|
+
default: withCtx(() => [
|
|
2096
|
+
createVNode(_component_a_input, {
|
|
2097
|
+
value: formState.value.name,
|
|
2098
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.name = $event),
|
|
2099
|
+
placeholder: "请输入表单名称",
|
|
2100
|
+
clearable: "",
|
|
2101
|
+
onKeyup: withKeys(getDataSource, ["enter"]),
|
|
2102
|
+
onChange: getDataSource
|
|
2103
|
+
}, null, 8, ["value"])
|
|
2104
|
+
]),
|
|
2105
|
+
_: 1
|
|
2106
|
+
})
|
|
2107
|
+
]),
|
|
2108
|
+
_: 1
|
|
2109
|
+
})
|
|
2110
|
+
]),
|
|
2111
|
+
_: 1
|
|
2112
|
+
})
|
|
2113
|
+
]),
|
|
2114
|
+
_: 1
|
|
2115
|
+
}, 8, ["model"]),
|
|
2116
|
+
createVNode(unref(VxeTable), {
|
|
2117
|
+
ref_key: "tableRef",
|
|
2118
|
+
ref: tableRef,
|
|
2119
|
+
"show-overflow": "",
|
|
2120
|
+
data: tableData.value,
|
|
2121
|
+
height: 400,
|
|
2122
|
+
"scroll-y": { enabled: true, oSize: 10 },
|
|
2123
|
+
"row-config": { isHover: true, keyField: "id", height: 44, isCurrent: true },
|
|
2124
|
+
class: normalizeClass({
|
|
2125
|
+
vxetable: true,
|
|
2126
|
+
default: true
|
|
2127
|
+
}),
|
|
2128
|
+
onCellClick: cellClickEvent
|
|
2129
|
+
}, {
|
|
2130
|
+
default: withCtx(() => [
|
|
2131
|
+
createVNode(unref(VxeColumn), {
|
|
2132
|
+
field: "name",
|
|
2133
|
+
title: "表单名称",
|
|
2134
|
+
"show-overflow": "",
|
|
2135
|
+
"tree-node": ""
|
|
2136
|
+
}, {
|
|
2137
|
+
default: withCtx(({ row }) => [
|
|
2138
|
+
createElementVNode("div", _hoisted_3, [
|
|
2139
|
+
createVNode(_component_a_tooltip, null, {
|
|
2140
|
+
title: withCtx(() => [
|
|
2141
|
+
createTextVNode(toDisplayString(row.version || row.name), 1)
|
|
2142
|
+
]),
|
|
2143
|
+
default: withCtx(() => [
|
|
2144
|
+
createElementVNode("div", _hoisted_4, toDisplayString(row.version || row.name), 1)
|
|
2145
|
+
]),
|
|
2146
|
+
_: 2
|
|
2147
|
+
}, 1024),
|
|
2148
|
+
row.default ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(_ctx.$t("sys.default")), 1)) : createCommentVNode("", true)
|
|
2149
|
+
])
|
|
2150
|
+
]),
|
|
2151
|
+
_: 1
|
|
2152
|
+
}),
|
|
2153
|
+
createVNode(unref(VxeColumn), {
|
|
2154
|
+
field: "formType",
|
|
2155
|
+
title: "表单类型",
|
|
2156
|
+
"show-overflow": "",
|
|
2157
|
+
width: "120"
|
|
2158
|
+
}, {
|
|
2159
|
+
default: withCtx(({ row }) => [
|
|
2160
|
+
row.formType ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
2161
|
+
createElementVNode("img", {
|
|
2162
|
+
src: svgUtils[row.formType],
|
|
2163
|
+
class: "w18px h18px mr-4px"
|
|
2164
|
+
}, null, 8, _hoisted_7),
|
|
2165
|
+
createTextVNode(" " + toDisplayString(_ctx.$t(`sys.onlineForm.formTypeEnum.${row.formType}`)), 1)
|
|
2166
|
+
])) : createCommentVNode("", true)
|
|
2167
|
+
]),
|
|
2168
|
+
_: 1
|
|
2169
|
+
})
|
|
2170
|
+
]),
|
|
2171
|
+
_: 1
|
|
2172
|
+
}, 8, ["data"])
|
|
2173
|
+
]),
|
|
2174
|
+
createElementVNode("div", _hoisted_8, [
|
|
2175
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "model-title" }, "选择模型", -1)),
|
|
2176
|
+
createElementVNode("div", _hoisted_9, [
|
|
2177
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(modelTableData.value, (item) => {
|
|
2178
|
+
return openBlock(), createElementBlock("div", {
|
|
2179
|
+
key: item.key,
|
|
2180
|
+
class: normalizeClass(["model-table-row ks-row", { selected: item.key === modelKey.value }]),
|
|
2181
|
+
onClick: ($event) => modelKey.value = item.key
|
|
2182
|
+
}, [
|
|
2183
|
+
createElementVNode("div", {
|
|
2184
|
+
class: "model-tag mr8px",
|
|
2185
|
+
style: normalizeStyle({
|
|
2186
|
+
"--tag-bg": item.subModel === 1 ? "#0066FF" : "#B445F5"
|
|
2187
|
+
})
|
|
2188
|
+
}, toDisplayString(item.subModel === 1 ? "子表" : "主表"), 5),
|
|
2189
|
+
createElementVNode("div", {
|
|
2190
|
+
class: "ks-col ell",
|
|
2191
|
+
title: item.name
|
|
2192
|
+
}, toDisplayString(item.name), 9, _hoisted_11)
|
|
2193
|
+
], 10, _hoisted_10);
|
|
2194
|
+
}), 128))
|
|
2195
|
+
])
|
|
2196
|
+
])
|
|
2197
|
+
]);
|
|
2198
|
+
};
|
|
2199
|
+
}
|
|
2200
|
+
});
|
|
2201
|
+
const OnlineFormModelModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-53c0bf79"]]);
|
|
2202
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2203
|
+
__name: "online-form-model-select",
|
|
2204
|
+
props: {
|
|
2205
|
+
joinFormRefId: {},
|
|
2206
|
+
joinModelKey: {},
|
|
2207
|
+
border: { type: Boolean, default: true }
|
|
2208
|
+
},
|
|
2209
|
+
emits: ["update:joinFormRefId", "update:joinModelKey"],
|
|
2210
|
+
setup(__props, { emit: __emit }) {
|
|
2211
|
+
const moduleType = FormDesignEnum.ONLINE_FORM;
|
|
2212
|
+
const props = __props;
|
|
2213
|
+
const emit = __emit;
|
|
2214
|
+
const _options = ref([]);
|
|
2215
|
+
const localVal = computed({
|
|
2216
|
+
get() {
|
|
2217
|
+
return props.joinFormRefId;
|
|
2218
|
+
},
|
|
2219
|
+
set(v) {
|
|
2220
|
+
emit("update:joinFormRefId", v);
|
|
2221
|
+
}
|
|
2222
|
+
});
|
|
2223
|
+
watch(
|
|
2224
|
+
() => localVal.value,
|
|
2225
|
+
async (v) => {
|
|
2226
|
+
if (v) {
|
|
2227
|
+
let data = _options.value.find((e) => e.refId === v);
|
|
2228
|
+
if (!data) {
|
|
2229
|
+
const id = v ? v.split(":")[1] || v.split(":")[0] : "";
|
|
2230
|
+
data = await getTmplInfo(id);
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
immediate: true
|
|
2236
|
+
}
|
|
2237
|
+
);
|
|
2238
|
+
const optionsData = computed(() => {
|
|
2239
|
+
return _options.value.map((e) => {
|
|
2240
|
+
return {
|
|
2241
|
+
...e,
|
|
2242
|
+
fieldLabel: `${e.name}${e.version ? " : " + e.version : ""}`
|
|
2243
|
+
};
|
|
2244
|
+
});
|
|
2245
|
+
});
|
|
2246
|
+
async function getTmplInfo(id) {
|
|
2247
|
+
const res = await api.apaas.formRelate.getInfo({
|
|
2248
|
+
id,
|
|
2249
|
+
moduleType
|
|
2250
|
+
});
|
|
2251
|
+
res && _options.value.push({
|
|
2252
|
+
...res,
|
|
2253
|
+
refId: res.baseId ? res.baseId + ":" + res.id : res.id
|
|
2254
|
+
});
|
|
2255
|
+
return res;
|
|
2256
|
+
}
|
|
2257
|
+
function getOptionValue(v = localVal.value) {
|
|
2258
|
+
return toRaw(optionsData.value.find((i) => i.refId === v));
|
|
2259
|
+
}
|
|
2260
|
+
const openModal = async () => {
|
|
2261
|
+
const res = await window.NocodeAdapter.utils.overlay.modal(
|
|
2262
|
+
OnlineFormModelModal,
|
|
2263
|
+
{
|
|
2264
|
+
formSelected: getOptionValue(),
|
|
2265
|
+
modelSelected: props.joinModelKey,
|
|
2266
|
+
moduleType
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
title: "表单模型选择",
|
|
2270
|
+
width: 800,
|
|
2271
|
+
okText: $t("sys.okText"),
|
|
2272
|
+
okButtonProps: {
|
|
2273
|
+
disabled: true
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
);
|
|
2277
|
+
if (res.ok && res.params) {
|
|
2278
|
+
emit("update:joinModelKey", res.params.modelKey);
|
|
2279
|
+
localVal.value = res.params.formId;
|
|
2280
|
+
}
|
|
2281
|
+
};
|
|
2282
|
+
return (_ctx, _cache) => {
|
|
2283
|
+
const _component_a_select = resolveComponent("a-select");
|
|
2284
|
+
return openBlock(), createBlock(_component_a_select, {
|
|
2285
|
+
class: normalizeClass([!__props.border && "custom-select-no-arrow"]),
|
|
2286
|
+
value: localVal.value,
|
|
2287
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => localVal.value = $event),
|
|
2288
|
+
placeholder: _ctx.$t("sys.chooseText"),
|
|
2289
|
+
bordered: __props.border,
|
|
2290
|
+
showSearch: false,
|
|
2291
|
+
showArrow: false,
|
|
2292
|
+
allowClear: false,
|
|
2293
|
+
open: false,
|
|
2294
|
+
fieldNames: { label: "fieldLabel", value: "refId" },
|
|
2295
|
+
options: optionsData.value,
|
|
2296
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => openModal(), ["stop"]))
|
|
2297
|
+
}, null, 8, ["class", "value", "placeholder", "bordered", "options"]);
|
|
2298
|
+
};
|
|
2299
|
+
}
|
|
2300
|
+
});
|
|
2304
2301
|
export {
|
|
2305
2302
|
CloseOutlined as C,
|
|
2306
2303
|
EmptyImg as E,
|
|
@@ -2308,7 +2305,7 @@ export {
|
|
|
2308
2305
|
OnlineFormModelModal as O,
|
|
2309
2306
|
SEARCH_SEVICE as S,
|
|
2310
2307
|
VersionSelect as V,
|
|
2311
|
-
_sfc_main
|
|
2308
|
+
_sfc_main as _,
|
|
2312
2309
|
SignatureTypeEnum as a,
|
|
2313
2310
|
svgBaseProps as s,
|
|
2314
2311
|
useInsertStyles as u,
|