@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,370 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createVNode, watch, createElementBlock, Fragment, createCommentVNode, mergeProps } from "vue";
|
|
2
|
-
import { b as FormItem, S as SelectEx, h as FormulaEditor } from "./index-CDLpl1vT.js";
|
|
3
|
-
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
4
|
-
import { _ as _export_sfc, aQ as RangeValidateMode, bR as RangeCompareOp } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
|
|
5
|
-
import { isNil } from "lodash-es";
|
|
6
|
-
import "dayjs";
|
|
7
|
-
import "ant-design-vue";
|
|
8
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "indices-editor",
|
|
10
|
-
props: {
|
|
11
|
-
scriptValue: {},
|
|
12
|
-
isSuperScript: { type: Boolean },
|
|
13
|
-
disabled: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
emits: ["update:scriptValue", "update:isSuperScript"],
|
|
16
|
-
setup(__props, { emit: __emit }) {
|
|
17
|
-
const ns = useNamespace("indices-editor");
|
|
18
|
-
const props = __props;
|
|
19
|
-
const emit = __emit;
|
|
20
|
-
const _scriptValue = computed({
|
|
21
|
-
get() {
|
|
22
|
-
return props.scriptValue;
|
|
23
|
-
},
|
|
24
|
-
set(v) {
|
|
25
|
-
emit("update:scriptValue", v);
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _isSuperScript = computed({
|
|
29
|
-
get() {
|
|
30
|
-
return props.isSuperScript;
|
|
31
|
-
},
|
|
32
|
-
set(v) {
|
|
33
|
-
emit("update:isSuperScript", v);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
const renderCompOptions = [
|
|
37
|
-
{
|
|
38
|
-
label: $t("sys.onlineForm.superscript"),
|
|
39
|
-
value: true,
|
|
40
|
-
icon: "icon-jiaobiao-shang"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: $t("sys.onlineForm.subscript"),
|
|
44
|
-
value: false,
|
|
45
|
-
icon: "icon-jiaobiao-xia"
|
|
46
|
-
}
|
|
47
|
-
];
|
|
48
|
-
return (_ctx, _cache) => {
|
|
49
|
-
const _component_a_input = resolveComponent("a-input");
|
|
50
|
-
return openBlock(), createBlock(FormItem, {
|
|
51
|
-
class: normalizeClass([unref(ns).b()]),
|
|
52
|
-
label: _ctx.$t("sys.onlineForm.superscriptSubscript"),
|
|
53
|
-
inline: false
|
|
54
|
-
}, {
|
|
55
|
-
default: withCtx(() => [
|
|
56
|
-
createVNode(_component_a_input, {
|
|
57
|
-
class: normalizeClass([unref(ns).e("value")]),
|
|
58
|
-
size: "small",
|
|
59
|
-
value: _scriptValue.value,
|
|
60
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => _scriptValue.value = $event),
|
|
61
|
-
disabled: __props.disabled,
|
|
62
|
-
placeholder: _ctx.$t("sys.inputText")
|
|
63
|
-
}, null, 8, ["class", "value", "disabled", "placeholder"]),
|
|
64
|
-
createVNode(unref(SelectEx), {
|
|
65
|
-
class: normalizeClass([unref(ns).e("script")]),
|
|
66
|
-
value: _isSuperScript.value,
|
|
67
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => _isSuperScript.value = $event),
|
|
68
|
-
options: renderCompOptions,
|
|
69
|
-
disabled: __props.disabled,
|
|
70
|
-
"show-mode": "icon",
|
|
71
|
-
"icon-type": "custom",
|
|
72
|
-
direction: "portrait"
|
|
73
|
-
}, null, 8, ["class", "value", "disabled"])
|
|
74
|
-
]),
|
|
75
|
-
_: 1
|
|
76
|
-
}, 8, ["class", "label"]);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
const IndicesEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-97c50769"]]);
|
|
81
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
82
|
-
__name: "number-range-editor",
|
|
83
|
-
props: {
|
|
84
|
-
fieldMeta: {},
|
|
85
|
-
widget: {},
|
|
86
|
-
readonly: { type: Boolean },
|
|
87
|
-
precision: {},
|
|
88
|
-
disabled: { type: Boolean }
|
|
89
|
-
},
|
|
90
|
-
setup(__props) {
|
|
91
|
-
const ns = useNamespace("number-range-editor");
|
|
92
|
-
const props = __props;
|
|
93
|
-
const formState = computed({
|
|
94
|
-
get() {
|
|
95
|
-
return props.widget;
|
|
96
|
-
},
|
|
97
|
-
set(v) {
|
|
98
|
-
Object.assign(props.widget, v);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
const onEnableChange = (checked) => {
|
|
102
|
-
if (checked === true) {
|
|
103
|
-
if (isNil(formState.value.maxValidateMode)) {
|
|
104
|
-
formState.value.maxValidateMode = RangeValidateMode.No_Validate;
|
|
105
|
-
}
|
|
106
|
-
if (isNil(formState.value.minValidateMode)) {
|
|
107
|
-
formState.value.minValidateMode = RangeValidateMode.No_Validate;
|
|
108
|
-
}
|
|
109
|
-
if (isNil(formState.value.maxCompareOp)) {
|
|
110
|
-
formState.value.maxCompareOp = RangeCompareOp.LE;
|
|
111
|
-
}
|
|
112
|
-
if (isNil(formState.value.minCompareOp)) {
|
|
113
|
-
formState.value.minCompareOp = RangeCompareOp.GE;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
watch(
|
|
118
|
-
() => formState.value.maxValidateMode,
|
|
119
|
-
(mode) => {
|
|
120
|
-
if (mode === RangeValidateMode.Fixed_Number && isNil(formState.value.maxCompareOp)) {
|
|
121
|
-
formState.value.maxCompareOp = RangeCompareOp.LE;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
);
|
|
125
|
-
watch(
|
|
126
|
-
() => formState.value.minValidateMode,
|
|
127
|
-
(mode) => {
|
|
128
|
-
if (mode === RangeValidateMode.Fixed_Number && isNil(formState.value.minCompareOp)) {
|
|
129
|
-
formState.value.minCompareOp = RangeCompareOp.GE;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
);
|
|
133
|
-
const validateModeOptions = Object.values(RangeValidateMode).map((val) => {
|
|
134
|
-
return {
|
|
135
|
-
label: $t(`sys.numberRangeValidateMode.${val}`),
|
|
136
|
-
value: val
|
|
137
|
-
};
|
|
138
|
-
});
|
|
139
|
-
const maxCompareOpOptions = [
|
|
140
|
-
{ label: $t("sys.rangeCompareOp.le"), value: RangeCompareOp.LE },
|
|
141
|
-
{ label: $t("sys.rangeCompareOp.lt"), value: RangeCompareOp.LT }
|
|
142
|
-
];
|
|
143
|
-
const minCompareOpOptions = [
|
|
144
|
-
{ label: $t("sys.rangeCompareOp.ge"), value: RangeCompareOp.GE },
|
|
145
|
-
{ label: $t("sys.rangeCompareOp.gt"), value: RangeCompareOp.GT }
|
|
146
|
-
];
|
|
147
|
-
const minLimit = computed(() => {
|
|
148
|
-
const lowerLimit = -Infinity;
|
|
149
|
-
const upperLimit = isNil(formState.value.max) ? Infinity : formState.value.max;
|
|
150
|
-
return {
|
|
151
|
-
lowerLimit,
|
|
152
|
-
upperLimit
|
|
153
|
-
};
|
|
154
|
-
});
|
|
155
|
-
const maxLimit = computed(() => {
|
|
156
|
-
const lowerLimit = isNil(formState.value.min) ? -Infinity : formState.value.min;
|
|
157
|
-
const upperLimit = Infinity;
|
|
158
|
-
return {
|
|
159
|
-
lowerLimit,
|
|
160
|
-
upperLimit
|
|
161
|
-
};
|
|
162
|
-
});
|
|
163
|
-
return (_ctx, _cache) => {
|
|
164
|
-
const _component_a_switch = resolveComponent("a-switch");
|
|
165
|
-
const _component_a_select = resolveComponent("a-select");
|
|
166
|
-
const _component_a_input_number = resolveComponent("a-input-number");
|
|
167
|
-
const _component_a_input_group = resolveComponent("a-input-group");
|
|
168
|
-
return openBlock(), createElementBlock("div", {
|
|
169
|
-
class: normalizeClass([unref(ns).b()])
|
|
170
|
-
}, [
|
|
171
|
-
createVNode(FormItem, {
|
|
172
|
-
label: _ctx.$t("sys.isEnableRangeValidate")
|
|
173
|
-
}, {
|
|
174
|
-
default: withCtx(() => [
|
|
175
|
-
createVNode(_component_a_switch, {
|
|
176
|
-
class: normalizeClass([unref(ns).e("switch")]),
|
|
177
|
-
size: "small",
|
|
178
|
-
checked: formState.value.enableRangeValidate,
|
|
179
|
-
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => formState.value.enableRangeValidate = $event),
|
|
180
|
-
disabled: __props.disabled || __props.readonly,
|
|
181
|
-
onChange: onEnableChange
|
|
182
|
-
}, null, 8, ["class", "checked", "disabled"])
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 8, ["label"]),
|
|
186
|
-
formState.value.enableRangeValidate ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
187
|
-
createVNode(FormItem, {
|
|
188
|
-
label: _ctx.$t("sys.maxValidateMode"),
|
|
189
|
-
inline: false
|
|
190
|
-
}, {
|
|
191
|
-
default: withCtx(() => [
|
|
192
|
-
createVNode(unref(SelectEx), {
|
|
193
|
-
"show-mode": "icon-label",
|
|
194
|
-
"icon-type": "custom",
|
|
195
|
-
"style-type": "buttons",
|
|
196
|
-
class: "w-full",
|
|
197
|
-
options: unref(validateModeOptions),
|
|
198
|
-
value: formState.value.maxValidateMode,
|
|
199
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.maxValidateMode = $event),
|
|
200
|
-
disabled: __props.disabled || __props.readonly
|
|
201
|
-
}, null, 8, ["options", "value", "disabled"])
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
}, 8, ["label"]),
|
|
205
|
-
formState.value.maxValidateMode === unref(RangeValidateMode).Fixed_Number ? (openBlock(), createBlock(_component_a_input_group, {
|
|
206
|
-
key: 0,
|
|
207
|
-
compact: "",
|
|
208
|
-
class: normalizeClass([unref(ns).e("fixed-row")])
|
|
209
|
-
}, {
|
|
210
|
-
default: withCtx(() => [
|
|
211
|
-
createVNode(_component_a_select, {
|
|
212
|
-
size: "small",
|
|
213
|
-
class: normalizeClass([unref(ns).e("op")]),
|
|
214
|
-
options: maxCompareOpOptions,
|
|
215
|
-
value: formState.value.maxCompareOp || unref(RangeCompareOp).LE,
|
|
216
|
-
disabled: __props.disabled || __props.readonly,
|
|
217
|
-
"dropdown-match-select-width": false,
|
|
218
|
-
"dropdown-style": { minWidth: "110px" },
|
|
219
|
-
onChange: _cache[2] || (_cache[2] = (v) => formState.value.maxCompareOp = v)
|
|
220
|
-
}, null, 8, ["class", "value", "disabled"]),
|
|
221
|
-
createVNode(_component_a_input_number, {
|
|
222
|
-
size: "small",
|
|
223
|
-
class: normalizeClass([unref(ns).e("value")]),
|
|
224
|
-
value: formState.value.max,
|
|
225
|
-
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => formState.value.max = $event),
|
|
226
|
-
min: maxLimit.value.lowerLimit,
|
|
227
|
-
max: maxLimit.value.upperLimit,
|
|
228
|
-
precision: __props.precision,
|
|
229
|
-
controls: false,
|
|
230
|
-
placeholder: _ctx.$t("sys.inputTextTip", { name: _ctx.$t("sys.maxNumber") }),
|
|
231
|
-
disabled: __props.disabled || __props.readonly
|
|
232
|
-
}, null, 8, ["class", "value", "min", "max", "precision", "placeholder", "disabled"])
|
|
233
|
-
]),
|
|
234
|
-
_: 1
|
|
235
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
236
|
-
formState.value.maxValidateMode === unref(RangeValidateMode).Variable_Validate ? (openBlock(), createBlock(unref(FormulaEditor), {
|
|
237
|
-
key: 1,
|
|
238
|
-
class: normalizeClass([unref(ns).e("formula")]),
|
|
239
|
-
size: "small",
|
|
240
|
-
modelKey: __props.fieldMeta.model,
|
|
241
|
-
disabled: __props.disabled,
|
|
242
|
-
expr: formState.value.maxExpr,
|
|
243
|
-
"onUpdate:expr": _cache[4] || (_cache[4] = ($event) => formState.value.maxExpr = $event),
|
|
244
|
-
"expr-echo": formState.value.maxExprEcho,
|
|
245
|
-
"onUpdate:exprEcho": _cache[5] || (_cache[5] = ($event) => formState.value.maxExprEcho = $event)
|
|
246
|
-
}, null, 8, ["class", "modelKey", "disabled", "expr", "expr-echo"])) : createCommentVNode("", true),
|
|
247
|
-
createVNode(FormItem, {
|
|
248
|
-
label: _ctx.$t("sys.minValidateMode"),
|
|
249
|
-
inline: false
|
|
250
|
-
}, {
|
|
251
|
-
default: withCtx(() => [
|
|
252
|
-
createVNode(unref(SelectEx), {
|
|
253
|
-
"show-mode": "icon-label",
|
|
254
|
-
"icon-type": "custom",
|
|
255
|
-
"style-type": "buttons",
|
|
256
|
-
class: "w-full",
|
|
257
|
-
options: unref(validateModeOptions),
|
|
258
|
-
disabled: __props.disabled,
|
|
259
|
-
value: formState.value.minValidateMode,
|
|
260
|
-
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => formState.value.minValidateMode = $event)
|
|
261
|
-
}, null, 8, ["options", "disabled", "value"])
|
|
262
|
-
]),
|
|
263
|
-
_: 1
|
|
264
|
-
}, 8, ["label"]),
|
|
265
|
-
formState.value.minValidateMode === unref(RangeValidateMode).Fixed_Number ? (openBlock(), createBlock(_component_a_input_group, {
|
|
266
|
-
key: 2,
|
|
267
|
-
compact: "",
|
|
268
|
-
class: normalizeClass([unref(ns).e("fixed-row")])
|
|
269
|
-
}, {
|
|
270
|
-
default: withCtx(() => [
|
|
271
|
-
createVNode(_component_a_select, {
|
|
272
|
-
size: "small",
|
|
273
|
-
class: normalizeClass([unref(ns).e("op")]),
|
|
274
|
-
options: minCompareOpOptions,
|
|
275
|
-
value: formState.value.minCompareOp || unref(RangeCompareOp).GE,
|
|
276
|
-
disabled: __props.disabled || __props.readonly,
|
|
277
|
-
"dropdown-match-select-width": false,
|
|
278
|
-
"dropdown-style": { minWidth: "110px" },
|
|
279
|
-
onChange: _cache[7] || (_cache[7] = (v) => formState.value.minCompareOp = v)
|
|
280
|
-
}, null, 8, ["class", "value", "disabled"]),
|
|
281
|
-
createVNode(_component_a_input_number, {
|
|
282
|
-
size: "small",
|
|
283
|
-
class: normalizeClass([unref(ns).e("value")]),
|
|
284
|
-
value: formState.value.min,
|
|
285
|
-
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => formState.value.min = $event),
|
|
286
|
-
min: minLimit.value.lowerLimit,
|
|
287
|
-
max: minLimit.value.upperLimit,
|
|
288
|
-
precision: __props.precision,
|
|
289
|
-
controls: false,
|
|
290
|
-
placeholder: _ctx.$t("sys.inputTextTip", { name: _ctx.$t("sys.minNumber") }),
|
|
291
|
-
disabled: __props.disabled || __props.readonly
|
|
292
|
-
}, null, 8, ["class", "value", "min", "max", "precision", "placeholder", "disabled"])
|
|
293
|
-
]),
|
|
294
|
-
_: 1
|
|
295
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
296
|
-
formState.value.minValidateMode === unref(RangeValidateMode).Variable_Validate ? (openBlock(), createBlock(unref(FormulaEditor), {
|
|
297
|
-
key: 3,
|
|
298
|
-
class: normalizeClass([unref(ns).e("formula")]),
|
|
299
|
-
size: "small",
|
|
300
|
-
modelKey: __props.fieldMeta.model,
|
|
301
|
-
disabled: __props.disabled,
|
|
302
|
-
expr: formState.value.minExpr,
|
|
303
|
-
"onUpdate:expr": _cache[9] || (_cache[9] = ($event) => formState.value.minExpr = $event),
|
|
304
|
-
"expr-echo": formState.value.minExprEcho,
|
|
305
|
-
"onUpdate:exprEcho": _cache[10] || (_cache[10] = ($event) => formState.value.minExprEcho = $event)
|
|
306
|
-
}, null, 8, ["class", "modelKey", "disabled", "expr", "expr-echo"])) : createCommentVNode("", true)
|
|
307
|
-
], 64)) : createCommentVNode("", true)
|
|
308
|
-
], 2);
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
const NumberRangeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-80683448"]]);
|
|
313
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
314
|
-
__name: "default-value-editor",
|
|
315
|
-
props: {
|
|
316
|
-
widget: {},
|
|
317
|
-
precision: {},
|
|
318
|
-
disabled: { type: Boolean }
|
|
319
|
-
},
|
|
320
|
-
setup(__props) {
|
|
321
|
-
const props = __props;
|
|
322
|
-
const formState = computed({
|
|
323
|
-
get() {
|
|
324
|
-
return props.widget;
|
|
325
|
-
},
|
|
326
|
-
set(v) {
|
|
327
|
-
Object.assign(props.widget, v);
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
const attrs = computed(() => {
|
|
331
|
-
const params = {};
|
|
332
|
-
if (formState.value.enableRangeValidate) {
|
|
333
|
-
if (formState.value.maxValidateMode === RangeValidateMode.Fixed_Number) {
|
|
334
|
-
Object.assign(params, {
|
|
335
|
-
max: formState.value.max
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
if (formState.value.minValidateMode === RangeValidateMode.Fixed_Number) {
|
|
339
|
-
Object.assign(params, {
|
|
340
|
-
min: formState.value.min
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
return params;
|
|
345
|
-
});
|
|
346
|
-
return (_ctx, _cache) => {
|
|
347
|
-
const _component_a_input_number = resolveComponent("a-input-number");
|
|
348
|
-
return openBlock(), createBlock(FormItem, {
|
|
349
|
-
label: `${_ctx.$t("sys.defaultValue")}`,
|
|
350
|
-
inline: false
|
|
351
|
-
}, {
|
|
352
|
-
default: withCtx(() => [
|
|
353
|
-
createVNode(_component_a_input_number, mergeProps({
|
|
354
|
-
precision: __props.precision,
|
|
355
|
-
size: "small",
|
|
356
|
-
value: formState.value.defaultValue,
|
|
357
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.defaultValue = $event),
|
|
358
|
-
placeholder: _ctx.$t("sys.inputText")
|
|
359
|
-
}, attrs.value, { disabled: __props.disabled }), null, 16, ["precision", "value", "placeholder", "disabled"])
|
|
360
|
-
]),
|
|
361
|
-
_: 1
|
|
362
|
-
}, 8, ["label"]);
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
});
|
|
366
|
-
export {
|
|
367
|
-
IndicesEditor as I,
|
|
368
|
-
NumberRangeEditor as N,
|
|
369
|
-
_sfc_main as _
|
|
370
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-BjIp4mym.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "double-design",
|
|
5
|
-
props: {
|
|
6
|
-
disabled: { type: Boolean },
|
|
7
|
-
fieldWidget: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
return (_ctx, _cache) => {
|
|
11
|
-
return openBlock(), createElementBlock("div", null, [
|
|
12
|
-
createVNode(NumberInputEx, {
|
|
13
|
-
disabled: __props.disabled,
|
|
14
|
-
placeholder: __props.fieldWidget.placeholder,
|
|
15
|
-
value: __props.fieldWidget.defaultValue,
|
|
16
|
-
"is-super-script": __props.fieldWidget.isSuperScript,
|
|
17
|
-
"script-value": __props.fieldWidget.scriptValue,
|
|
18
|
-
min: __props.fieldWidget.min,
|
|
19
|
-
max: __props.fieldWidget.max,
|
|
20
|
-
step: __props.fieldWidget.stepCounter
|
|
21
|
-
}, null, 8, ["disabled", "placeholder", "value", "is-super-script", "script-value", "min", "max", "step"])
|
|
22
|
-
]);
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
export {
|
|
27
|
-
_sfc_main as default
|
|
28
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { b as FormItem } from "./index-CDLpl1vT.js";
|
|
3
|
-
import { _ as _sfc_main$1, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-LcZ8lvPF.js";
|
|
4
|
-
import { F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
|
|
5
|
-
import { D as DecimalDisplayMode } from "./decimal-display-mode-BLrn-r-H.js";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "double-props",
|
|
8
|
-
props: {
|
|
9
|
-
fieldMeta: {},
|
|
10
|
-
widget: {},
|
|
11
|
-
fieldType: {},
|
|
12
|
-
readonly: { type: Boolean },
|
|
13
|
-
disabled: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
setup(__props) {
|
|
16
|
-
const props = __props;
|
|
17
|
-
const formState = computed({
|
|
18
|
-
get() {
|
|
19
|
-
return props.widget;
|
|
20
|
-
},
|
|
21
|
-
set(v) {
|
|
22
|
-
Object.assign(props.widget, v);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const showConfig = computed(() => {
|
|
26
|
-
return ![
|
|
27
|
-
FIELD_TYPE.GOOD_QTY,
|
|
28
|
-
FIELD_TYPE.NOT_GOOD_QTY,
|
|
29
|
-
FIELD_TYPE.OPERATION_RECEIVE_QTY,
|
|
30
|
-
FIELD_TYPE.OPERATION_OUTPUT_QTY,
|
|
31
|
-
FIELD_TYPE.SCRAP_QTY,
|
|
32
|
-
FIELD_TYPE.DESTRUCTIVE_TEST_QTY,
|
|
33
|
-
FIELD_TYPE.PRODUCT_CHECK_QTY,
|
|
34
|
-
FIELD_TYPE.MATERIAL_CHECK_QTY
|
|
35
|
-
].includes(props.fieldType);
|
|
36
|
-
});
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
const _component_a_input = resolveComponent("a-input");
|
|
39
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
40
|
-
!__props.readonly ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
41
|
-
createVNode(FormItem, {
|
|
42
|
-
label: `${_ctx.$t("sys.pageDesigner.fieldPlaceholder")}`,
|
|
43
|
-
inline: false
|
|
44
|
-
}, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
createVNode(_component_a_input, {
|
|
47
|
-
size: "small",
|
|
48
|
-
value: formState.value.placeholder,
|
|
49
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => formState.value.placeholder = $event),
|
|
50
|
-
placeholder: _ctx.$t("sys.inputText"),
|
|
51
|
-
disabled: __props.disabled,
|
|
52
|
-
"show-count": "",
|
|
53
|
-
maxlength: 32
|
|
54
|
-
}, null, 8, ["value", "placeholder", "disabled"])
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
}, 8, ["label"]),
|
|
58
|
-
createVNode(_sfc_main$1, {
|
|
59
|
-
widget: __props.widget,
|
|
60
|
-
precision: NaN,
|
|
61
|
-
disabled: __props.disabled
|
|
62
|
-
}, null, 8, ["widget", "disabled"]),
|
|
63
|
-
showConfig.value ? (openBlock(), createBlock(DecimalDisplayMode, {
|
|
64
|
-
key: 0,
|
|
65
|
-
value: formState.value.displayMode,
|
|
66
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => formState.value.displayMode = $event),
|
|
67
|
-
disabled: __props.disabled
|
|
68
|
-
}, null, 8, ["value", "disabled"])) : createCommentVNode("", true),
|
|
69
|
-
createVNode(NumberRangeEditor, {
|
|
70
|
-
widget: __props.widget,
|
|
71
|
-
fieldMeta: __props.fieldMeta,
|
|
72
|
-
readonly: __props.readonly,
|
|
73
|
-
precision: NaN,
|
|
74
|
-
disabled: __props.disabled
|
|
75
|
-
}, null, 8, ["widget", "fieldMeta", "readonly", "disabled"])
|
|
76
|
-
], 64)) : createCommentVNode("", true),
|
|
77
|
-
showConfig.value ? (openBlock(), createBlock(IndicesEditor, {
|
|
78
|
-
key: 1,
|
|
79
|
-
"is-super-script": formState.value.isSuperScript,
|
|
80
|
-
"onUpdate:isSuperScript": _cache[2] || (_cache[2] = ($event) => formState.value.isSuperScript = $event),
|
|
81
|
-
"script-value": formState.value.scriptValue,
|
|
82
|
-
"onUpdate:scriptValue": _cache[3] || (_cache[3] = ($event) => formState.value.scriptValue = $event),
|
|
83
|
-
disabled: __props.disabled
|
|
84
|
-
}, null, 8, ["is-super-script", "script-value", "disabled"])) : createCommentVNode("", true)
|
|
85
|
-
], 64);
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
export {
|
|
90
|
-
_sfc_main as default
|
|
91
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-Ccv90UWY.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "double-style",
|
|
5
|
-
props: {
|
|
6
|
-
widget: {},
|
|
7
|
-
disabled: { type: Boolean }
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
const formState = computed({
|
|
12
|
-
get() {
|
|
13
|
-
return props.widget;
|
|
14
|
-
},
|
|
15
|
-
set(v) {
|
|
16
|
-
Object.assign(props.widget, v);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
return (_ctx, _cache) => {
|
|
20
|
-
return openBlock(), createBlock(BaseFontEditor, {
|
|
21
|
-
"font-size": formState.value.fontSize,
|
|
22
|
-
"onUpdate:fontSize": _cache[0] || (_cache[0] = ($event) => formState.value.fontSize = $event),
|
|
23
|
-
"letter-space": formState.value.letterSpace,
|
|
24
|
-
"onUpdate:letterSpace": _cache[1] || (_cache[1] = ($event) => formState.value.letterSpace = $event),
|
|
25
|
-
"no-letter-space": true,
|
|
26
|
-
disabled: __props.disabled
|
|
27
|
-
}, null, 8, ["font-size", "letter-space", "disabled"]);
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
_sfc_main as default
|
|
33
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, normalizeStyle, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, S as SelectEx, a as CellWidgetDesign } from "./index-CDLpl1vT.js";
|
|
3
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js";
|
|
4
|
-
import { isNil } from "lodash-es";
|
|
5
|
-
const _hoisted_1 = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "enum-design__affix"
|
|
8
|
-
};
|
|
9
|
-
const _hoisted_2 = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "enum-design__affix"
|
|
12
|
-
};
|
|
13
|
-
const DEFAULT_OPTION_GAP = 12;
|
|
14
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
|
-
__name: "enum-design",
|
|
16
|
-
props: {
|
|
17
|
-
disabled: { type: Boolean },
|
|
18
|
-
fieldWidget: {},
|
|
19
|
-
fieldMeta: {}
|
|
20
|
-
},
|
|
21
|
-
setup(__props) {
|
|
22
|
-
const props = __props;
|
|
23
|
-
const hasAffix = computed(() => Boolean(props.fieldWidget.prefix || props.fieldWidget.suffix));
|
|
24
|
-
const options = computed(() => {
|
|
25
|
-
return props.fieldWidget.options.map((item) => ({
|
|
26
|
-
label: item.text,
|
|
27
|
-
value: item.value
|
|
28
|
-
}));
|
|
29
|
-
});
|
|
30
|
-
const getOptionMeta = (value) => {
|
|
31
|
-
return props.fieldWidget.options.find((item) => item.value === value);
|
|
32
|
-
};
|
|
33
|
-
const iconType = computed(() => {
|
|
34
|
-
return {
|
|
35
|
-
[CellWidgetRenderComp.Radio]: "radio",
|
|
36
|
-
[CellWidgetRenderComp.Checkbox]: "checkbox"
|
|
37
|
-
}[props.fieldWidget.renderComp];
|
|
38
|
-
});
|
|
39
|
-
const isMultiple = computed(() => {
|
|
40
|
-
return props.fieldMeta.fieldType === FIELD_TYPE.ENUM_MULTI || props.fieldMeta.fieldType === FIELD_TYPE.OPTION_MULTI;
|
|
41
|
-
});
|
|
42
|
-
const defaultValue = computed(() => {
|
|
43
|
-
if (isMultiple.value) {
|
|
44
|
-
return props.fieldWidget.options.filter((item) => item.defaultSelected).map((item) => item.value);
|
|
45
|
-
} else {
|
|
46
|
-
return props.fieldWidget.options.find((item) => item.defaultSelected)?.value;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
const optionGap = computed(() => props.fieldWidget.optionGap ?? DEFAULT_OPTION_GAP);
|
|
50
|
-
const styleVars = computed(() => {
|
|
51
|
-
const result = {};
|
|
52
|
-
if (!isNil(props.fieldWidget.iconLabelSpace)) {
|
|
53
|
-
result["--gct-select-ex-icon-label-space"] = `${props.fieldWidget.iconLabelSpace}px`;
|
|
54
|
-
}
|
|
55
|
-
result["--gct-select-ex-option-gap"] = `${optionGap.value}px`;
|
|
56
|
-
return result;
|
|
57
|
-
});
|
|
58
|
-
return (_ctx, _cache) => {
|
|
59
|
-
return openBlock(), createElementBlock("div", {
|
|
60
|
-
class: normalizeClass(["enum-design", { "enum-design--with-affix": hasAffix.value }])
|
|
61
|
-
}, [
|
|
62
|
-
__props.fieldWidget.prefix ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(__props.fieldWidget.prefix), 1)) : createCommentVNode("", true),
|
|
63
|
-
createVNode(unref(SelectEx), {
|
|
64
|
-
disabled: __props.disabled,
|
|
65
|
-
options: options.value,
|
|
66
|
-
value: defaultValue.value,
|
|
67
|
-
"is-multiple": isMultiple.value,
|
|
68
|
-
"show-mode": __props.fieldWidget.renderComp === unref(CellWidgetRenderComp).Select ? "select" : "icon-label",
|
|
69
|
-
"icon-type": iconType.value,
|
|
70
|
-
direction: __props.fieldWidget.direction,
|
|
71
|
-
"label-position": __props.fieldWidget.labelPosition,
|
|
72
|
-
"icon-label-space": __props.fieldWidget.iconLabelSpace,
|
|
73
|
-
"option-gap": optionGap.value,
|
|
74
|
-
style: normalizeStyle(styleVars.value),
|
|
75
|
-
size: "small",
|
|
76
|
-
placeholder: __props.fieldWidget.placeholder ?? _ctx.$t("sys.chooseText")
|
|
77
|
-
}, {
|
|
78
|
-
suffix: withCtx(({ option }) => [
|
|
79
|
-
!!getOptionMeta(option.value)?.attachFields ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getOptionMeta(option.value).attachFields, (field) => {
|
|
80
|
-
return openBlock(), createBlock(CellWidgetDesign, {
|
|
81
|
-
key: field.fieldMeta.field,
|
|
82
|
-
"field-meta": field.fieldMeta,
|
|
83
|
-
"field-widget": field.fieldWidget
|
|
84
|
-
}, null, 8, ["field-meta", "field-widget"]);
|
|
85
|
-
}), 128)) : createCommentVNode("", true)
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
}, 8, ["disabled", "options", "value", "is-multiple", "show-mode", "icon-type", "direction", "label-position", "icon-label-space", "option-gap", "style", "placeholder"]),
|
|
89
|
-
__props.fieldWidget.suffix ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.fieldWidget.suffix), 1)) : createCommentVNode("", true)
|
|
90
|
-
], 2);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
const enumDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-828131ba"]]);
|
|
95
|
-
export {
|
|
96
|
-
enumDesign as default
|
|
97
|
-
};
|