@gct-paas/excel 0.1.28-beta.2 → 0.1.28-beta.21
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/{VueVideoPlayer-B6X1JmEL.js → VueVideoPlayer-DCU2I_H7.js} +2 -2
- package/dist/{agg-design-DZpDRz0Y.js → agg-design-RbW6fgNa.js} +1 -1
- package/dist/{agg-props-ockP_cAM.js → agg-props-CfoEBrRu.js} +1 -1
- package/dist/{agg-style-C7nWM2if.js → agg-style-CgbQAKr0.js} +1 -1
- package/dist/{align-editor-DpWvsI_x.js → align-editor-B80IEr3w.js} +1 -1
- package/dist/{attach-fields-editor-BbWYEXfG.js → attach-fields-editor-BIiVvohl.js} +2 -2
- package/dist/{barcode-design-D1hSeWVJ.js → barcode-design-DOLYhwbG.js} +2 -2
- package/dist/base/index.es.js +886 -703
- package/dist/{base-font-editor-DFHc_3JJ.js → base-font-editor-e9sd4IkJ.js} +2 -2
- package/dist/{boolean-design-UO0nUx1k.js → boolean-design-Dlu6lW8d.js} +8 -7
- package/dist/{boolean-props--l1hf_NI.js → boolean-props-s96hsuRe.js} +3 -3
- package/dist/{boolean-style-Dqwd3N4b.js → boolean-style-f5mMhRME.js} +4 -4
- package/dist/{cell-upload-PkWTiWYW.js → cell-upload-DYgGT9In.js} +8 -11
- package/dist/{date-range-editor-CVQsTg3G.js → date-range-editor-BUGosnLi.js} +2 -2
- package/dist/{date-time-design-DmeUPsi-.js → date-time-design-BdZ_d-PG.js} +25 -6
- package/dist/{date-time-props-DqAAdD7L.js → date-time-props-tlQ_cWpv.js} +3 -3
- package/dist/{date-time-style-BTtKVpV4.js → date-time-style--7vBwDaL.js} +1 -1
- package/dist/{decimal-design-DQ-61MMF.js → decimal-design-C0K5wkAw.js} +1 -1
- package/dist/{decimal-display-mode-CPL-jNCK.js → decimal-display-mode-C3qGt4Zt.js} +2 -2
- package/dist/{decimal-props-DUeC4_o5.js → decimal-props-PGR7K6rT.js} +4 -4
- package/dist/{decimal-style-B-0QILJa.js → decimal-style-D2u4XTHf.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CeTlpjT4.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BWpYVxPc.js} +2 -2
- package/dist/{diagonal-design-Cx7RTy6_.js → diagonal-design-BrGfDqGb.js} +2 -2
- package/dist/{double-design-Bpuy9Ss3.js → double-design-B1Uiy26Z.js} +1 -1
- package/dist/{double-props-BLp5rMS0.js → double-props-yH1fU0x4.js} +6 -4
- package/dist/{double-style-BQT4UDRo.js → double-style-BVx9woku.js} +1 -1
- package/dist/{dynamic-table-action-CT_aYOca.js → dynamic-table-action-Bg2X8eeh.js} +586 -380
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-SAa6KGYz.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js} +700 -332
- package/dist/{edit.utils-CXmmCnxE-CrBcZqbG.js → edit.utils-CXmmCnxE-C46O9P-0.js} +1 -1
- package/dist/{enum-design-DTh9UhHf.js → enum-design-D7-yLeJb.js} +11 -4
- package/dist/{enum-props-J-3PLabW.js → enum-props-COQQfulB.js} +68 -47
- package/dist/{enum-style-h5lmzZD_.js → enum-style-CcebnktY.js} +3 -3
- package/dist/excel.css +1373 -722
- package/dist/{exceljs.min-mW_Nqru2.js → exceljs.min-Muu74e_A.js} +2 -2
- package/dist/{expression-design-Cbi_6pnX.js → expression-design-DIJRzVab.js} +1 -1
- package/dist/{expression-props-DuvdDUWt.js → expression-props-Dd1_kGVD.js} +1 -1
- package/dist/{expression-style-CcdTrGye.js → expression-style-Bp-2sfOx.js} +1 -1
- package/dist/{file-design-Cix4ztNq.js → file-design-DLIY-29d.js} +1 -1
- package/dist/{file-props-DvZgFCjv.js → file-props-QGxoOGHI.js} +5 -4
- package/dist/{file-style-DTXliETB.js → file-style-CQZsWmvF.js} +1 -1
- package/dist/{font-editor-D_4CECiK.js → font-editor-DyrF1wB8.js} +3 -3
- package/dist/{image-design-BxFQTm4-.js → image-design-4odCIiI7.js} +3 -2
- package/dist/{image-design-IaQbw4Bv.js → image-design-eVwFd3tD.js} +1 -1
- package/dist/{image-props-BmLfiJIb.js → image-props-cT1RL-gD.js} +1 -1
- package/dist/{image-style-BuGQiWh9.js → image-style-MnNoeDW2.js} +1 -1
- package/dist/{index-hkXYQoCV.js → index-2I_EN7Yx.js} +6 -6
- package/dist/{index-DnxIXenr.js → index-2gNIJ0-V.js} +2 -2
- package/dist/{index-Dl48Dmuf.js → index-3JgiYInP.js} +1 -1
- package/dist/{index-CvefH3Ld.js → index-BBnBDqub.js} +1 -1
- package/dist/{index-V3KPtSlA.js → index-BC-6IALL.js} +1 -1
- package/dist/{index-DIHeOfRf.js → index-BEKNxaNo.js} +1 -1
- package/dist/{index-T_P3hv-X.js → index-BITMorpM.js} +2 -2
- package/dist/{index-DuELqbrc.js → index-BcLaruk3.js} +1 -1
- package/dist/{index-C7XazAkv.js → index-BeFplGKa.js} +121 -455
- package/dist/{index-CO1Iw_97.js → index-BhgnUKpp.js} +1 -1
- package/dist/{index-VU8yct3A.js → index-BidsDLhX.js} +1 -1
- package/dist/{index-5E89tzgQ.js → index-Bn9kqGy7.js} +1 -1
- package/dist/{index-PgmRu5Zh.js → index-C-e2nOug.js} +1 -1
- package/dist/{index-CYc23F99.js → index-CBIz0i4u.js} +1 -1
- package/dist/{index-1kSDRqJL.js → index-CEa50csS.js} +1 -1
- package/dist/{index-CSGDQQxf.js → index-CLKf0Gla.js} +6 -6
- package/dist/{index-HHW_GvS9.js → index-CMN7FUpJ.js} +1 -1
- package/dist/{index-aZhb-M_v.js → index-CO1k5u4I.js} +1 -1
- package/dist/{index-BKQgEYOt.js → index-CRbhhL-C.js} +1 -1
- package/dist/{index-CmfE-VkX.js → index-CaNmok7V.js} +1 -1
- package/dist/{index-BCFgHqQ4.js → index-Cjfws4Sx.js} +1 -1
- package/dist/{index-BuucdbMD.js → index-CnH58RKA.js} +1 -1
- package/dist/{index-BSWx0ysi.js → index-DCucm9qw.js} +1 -1
- package/dist/{index-DJsySg7Z.js → index-DJRgFTjP.js} +1 -1
- package/dist/{index-CdoJjtvt.js → index-DS3Z0wlu.js} +2 -2
- package/dist/{index-BRifPJNN.js → index-DW9FL8UO.js} +2 -2
- package/dist/{index-DG8SGSHV.js → index-DlGnj7bK.js} +1 -1
- package/dist/{index-hcp9zj3F.js → index-QFP7aiss.js} +7621 -3448
- package/dist/{index-uIR6j0YE.js → index-bk4bX2Xm.js} +1 -1
- package/dist/{index-DAVndG-D.js → index-islXi0nD.js} +2 -2
- package/dist/{index-DayP0trN.js → index-kCtDgCx3.js} +1 -1
- package/dist/{index-6AnvwL1T.js → index-oabZhVuL.js} +1 -1
- package/dist/{index-BUEsJ6db.js → index-tWQfSOrQ.js} +1 -1
- package/dist/index.es.js +45 -45
- package/dist/{integer-design-B48BapfF.js → integer-design-BD-LDEV_.js} +1 -1
- package/dist/{integer-props-G5n3P-Vt.js → integer-props-DZvJ_bdU.js} +4 -4
- package/dist/{integer-style-yziEYd90.js → integer-style-CxTdmZsN.js} +1 -1
- package/dist/{mb-render-DiWQ5hOn.js → mb-render-B9PVK2lM.js} +2 -1
- package/dist/{number-input-ex-6e_-B7y7.js → number-input-ex-BpIoI25j.js} +1 -1
- package/dist/{org-design-DEibx7uD.js → org-design-DWZI8xev.js} +1 -1
- package/dist/{org-props-uZzEnRfn.js → org-props-D0D94kmP.js} +2 -2
- package/dist/{org-style-CtYMw9ob.js → org-style-B_7Bhmgz.js} +1 -1
- package/dist/{pagination-design-CdnyxoR4.js → pagination-design-CWNP4U9A.js} +2 -2
- package/dist/paper-widget-design-CMzzcWw8.js +4 -0
- package/dist/{qrcode-design-Bh_lT1Yn.js → qrcode-design-DeCNb5kH.js} +1 -1
- package/dist/quick-search.util-DbpUfahg.js +77 -0
- package/dist/{ref-autofill-editor-99WrBySm.js → ref-autofill-editor-DQnrKJfB.js} +152 -115
- package/dist/{ref-design-C7LbDVQz.js → ref-design-BQ8o1gKm.js} +1 -1
- package/dist/{ref-props-BGzOHDvi.js → ref-props-BnrWZt61.js} +22 -13
- package/dist/{ref-style-C1-VGUt9.js → ref-style-BHBHe1mo.js} +1 -1
- package/dist/{regex-editor-BAjvqlvo.js → regex-editor-ChABNYS9.js} +94 -67
- package/dist/{revo-grid.entry-Cg-4cMIo.js → revo-grid.entry-DIdL7jYD.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DzamtFvo.js → revogr-attribution_7.entry-DBPjWGup.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CIxDfW07.js → revogr-clipboard_3.entry-MYdZD9tl.js} +2 -2
- package/dist/{revogr-data_4.entry-BNENcgpR.js → revogr-data_4.entry-C4rrqPT4.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BrYsomo0.js → revogr-filter-panel.entry-BAU18Dos.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Dg2h8nwx.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D_WfbMb1.js} +2 -2
- package/dist/{serialnumber-design-BsAogg1u.js → serialnumber-design-CckdQzWc.js} +1 -1
- package/dist/shared/index.es.js +22 -22
- package/dist/{signature-design-sSyiIxFB.js → signature-design-TKvCOON-.js} +1 -1
- package/dist/{signature-props-CYmd9GVl.js → signature-props-D1pC6hm4.js} +3 -3
- package/dist/{signature-style-wLJo19Kd.js → signature-style-BLrwnz_M.js} +1 -1
- package/dist/{single-field-drop-CilJB5DX.js → single-field-drop-C-PadB1d.js} +2 -2
- package/dist/{size-editor-DnyvSWUn.js → size-editor-szo7icZ-.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +10 -0
- package/dist/src/adapter/setup.d.ts +11 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +0 -2
- package/dist/src/index.d.ts +1 -2
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +3 -4
- package/dist/src/nocode-base/src/core/sub-table/index.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +3 -12
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +19 -17
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +3 -14
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +6 -5
- 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/index.d.ts +3 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/inventory-scan-api.d.ts +9 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/production-identification-scan-api.d.ts +9 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/scan-helpers.d.ts +38 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/stocktake-calc.d.ts +6 -59
- package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +11 -0
- package/dist/src/nocode-base/src/core/sub-table/warehouse-out-table-core.d.ts +21 -0
- package/dist/src/nocode-base/src/hooks/index.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/label-parse-rule/type.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +15 -74
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +32 -19
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +38 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +13 -0
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +14 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/device-query.d.ts +31 -0
- package/dist/src/nocode-base/src/interface/index.d.ts +1 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +1 -0
- package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
- package/dist/src/nocode-base/src/types/business/index.d.ts +11 -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 +3 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +4 -0
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +7 -0
- package/dist/src/nocode-web-render/src/render/parse-rule/add-rule-btn.vue.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/parse-rule/parse-rule-modal.vue.d.ts +1 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +2 -1
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/index.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts +11 -1
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-dependency.vue.d.ts +1 -0
- 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 +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +11 -3
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +2 -4
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +473 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +622 -2
- package/dist/src/online-form/src/views/designer/modules/modals/add-dependency-modal/add-dependency-modal.vue.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/index.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/consume-item.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/qty-item/bom-formula-editor.vue.d.ts +18 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/qty-item/qty-item.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/designer/modules/panel/material-consumption/policy-items/substitute-item.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +62 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/index.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +292 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-modal.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/edit-parse-rule.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +5 -15
- package/dist/src/online-form/src/views/designer/utils/design-readonly-modal.d.ts +3 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +2 -3
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/assoc-filter.d.ts +5 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/columns.d.ts +2 -1
- package/dist/src/shared/components/Signature/card-signer.vue.d.ts +14 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +1 -0
- package/dist/src/shared/components/Signature/security-config.d.ts +6 -0
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +8 -5
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -0
- package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +2 -0
- package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +2 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +1 -0
- package/dist/src/shared/enum/field-type.d.ts +12 -0
- package/dist/src/shared/utils/lot2sn.d.ts +22 -0
- package/dist/{text-design-7Cct8yh2.js → text-design-C8gY_Ud0.js} +5 -5
- package/dist/{text-design-DKPFi1Rh.js → text-design-DUOCvsW-.js} +2 -2
- package/dist/{text-props-a-16iwJu.js → text-props-D-KBRHkK.js} +5 -5
- package/dist/{text-style-CRqOGAZr.js → text-style-D75O3cAI.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BYyz4gtI.js → throttle-Cpk1LoGk-D40m8Nov.js} +1 -1
- package/dist/{timediff-design-JHt1-ug6.js → timediff-design-Brg2Aoo2.js} +1 -1
- package/dist/{trace-design-DAHDTG5n.js → trace-design-Bphl0RjB.js} +33 -9
- package/dist/{trace-props-B5FBtpNR.js → trace-props-DkH0QJYT.js} +63 -35
- package/dist/{trace-style-CgdePCcv.js → trace-style-DZx1slRE.js} +1 -1
- package/dist/{user-design-BRIV937X.js → user-design-fMF_h4IG.js} +4 -4
- package/dist/{user-props-BJVjolL7.js → user-props-u0p3vKkm.js} +2 -2
- package/dist/{user-style-D17ZPHqU.js → user-style-dhqwLgPW.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-J3MR2K39.js → value-editor.vue_vue_type_style_index_0_lang-C1Y-__ux.js} +2 -2
- package/dist/{version-select-Bw8yzDaH.js → version-select-Cx1oBH6h.js} +1 -1
- package/dist/web-render/index.es.js +397 -24
- package/dist/{widget-barcode-IbgHM5xo.js → widget-barcode-D8F4NNVm.js} +4 -4
- package/dist/{widget-diagonal-juPAlqEe.js → widget-diagonal-DxWX94Uz.js} +3 -3
- package/dist/{widget-image-Dnaej-nk.js → widget-image-BZQOltF7.js} +6 -5
- package/dist/{widget-line-DL9jw_oY.js → widget-line-DrYIib_u.js} +4 -4
- package/dist/{widget-pagination-BlRJo3n4.js → widget-pagination-M80nEc3Z.js} +5 -5
- package/dist/{widget-power-CIC6itUt.js → widget-power-D7jJhsVT.js} +3 -3
- package/dist/{widget-qrcode-BWEOVEZg.js → widget-qrcode-CY6qnSPs.js} +3 -3
- package/dist/{widget-rangelimit-C4KG56d-.js → widget-rangelimit-CZ6cWnwZ.js} +3 -3
- package/dist/{widget-serialnumber-DnfRRyBY.js → widget-serialnumber-DHmkrctf.js} +1 -1
- package/dist/{widget-text-C7d0ZrX3.js → widget-text-C4e7Ec_2.js} +5 -5
- package/dist/{widget-timediff-FAvqRtXk.js → widget-timediff-B4JkGADo.js} +2 -2
- package/package.json +12 -1
- package/dist/paper-widget-design-gmMHiQFV.js +0 -4
- package/dist/src/nocode-base/src/hooks/material-stocktake/index.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/material-stocktake/useMaterialStocktake.d.ts +0 -8
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/object-init-modal.vue.d.ts +0 -26
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { w as api, F as FIELD_TYPE$1,
|
|
3
|
-
import {
|
|
4
|
-
import { D as DisplayFieldsEditor,
|
|
2
|
+
import { w as api, F as FIELD_TYPE$1, c$ as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
|
+
import { n as applyDesignReadonlyModal, o as SEARCH_TYPE, u as useModelFields, b as FormItem, p as IconTooltip } from "./index-QFP7aiss.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DQnrKJfB.js";
|
|
5
|
+
import { g as getIsSearchableField } from "./quick-search.util-DbpUfahg.js";
|
|
5
6
|
import { message } from "ant-design-vue";
|
|
6
7
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
7
8
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -15,7 +16,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
15
16
|
onlineFormFieldList: {},
|
|
16
17
|
cascadeField: { type: Boolean },
|
|
17
18
|
modelKey: {},
|
|
18
|
-
detail: {}
|
|
19
|
+
detail: {},
|
|
20
|
+
readonly: { type: Boolean },
|
|
21
|
+
modal: {}
|
|
19
22
|
},
|
|
20
23
|
emits: ["register", "refresh"],
|
|
21
24
|
setup(__props, { emit: __emit }) {
|
|
@@ -59,7 +62,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
59
62
|
listConditionList.value = result.fieldMetaList.filter((i) => filterFieldKeys.includes(i.type)).filter((v) => v.createType === "USER_DEFINED" || v.createType === "BUILTIN");
|
|
60
63
|
return result.name;
|
|
61
64
|
};
|
|
62
|
-
useModal(async () => {
|
|
65
|
+
const modal = useModal(async () => {
|
|
66
|
+
if (props.readonly) return null;
|
|
63
67
|
const dataRulesRes = dataRulesRef.value.getDataRulesResult();
|
|
64
68
|
if (dataRulesRes.error && dataRulesRes.dataRuleEnabled) {
|
|
65
69
|
message.warn(dataRulesRes.error);
|
|
@@ -85,6 +89,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
85
89
|
data: params
|
|
86
90
|
};
|
|
87
91
|
});
|
|
92
|
+
if (props.readonly) {
|
|
93
|
+
applyDesignReadonlyModal(props.modal || modal);
|
|
94
|
+
}
|
|
88
95
|
return (_ctx, _cache) => {
|
|
89
96
|
const _component_DataRulesContainer = resolveComponent("DataRulesContainer");
|
|
90
97
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -101,13 +108,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
101
108
|
excludeValueType: __props.excludeValueType,
|
|
102
109
|
excludeOperatorType: __props.excludeOperatorType,
|
|
103
110
|
cascadeField: __props.cascadeField,
|
|
104
|
-
searchType: unref(SEARCH_TYPE)
|
|
105
|
-
|
|
111
|
+
searchType: unref(SEARCH_TYPE),
|
|
112
|
+
readonly: __props.readonly
|
|
113
|
+
}, null, 8, ["fieldList", "detail", "isPageDesigner", "isOnlineFormDesigner", "onlineFormFieldList", "mainModelKey", "excludeValueType", "excludeOperatorType", "cascadeField", "searchType", "readonly"])
|
|
106
114
|
]);
|
|
107
115
|
};
|
|
108
116
|
}
|
|
109
117
|
});
|
|
110
|
-
const _hoisted_1$1 = { class: "ref-data-filter-editor" };
|
|
118
|
+
const _hoisted_1$1 = { class: "ref-data-filter-editor allow-readonly-view" };
|
|
111
119
|
const _hoisted_2 = { class: "inpt-box" };
|
|
112
120
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
113
121
|
__name: "ref-data-filter-editor",
|
|
@@ -167,7 +175,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
167
175
|
isOnlineFormDesigner: true,
|
|
168
176
|
onlineFormFieldList: fieldOptions,
|
|
169
177
|
detail: detail.value,
|
|
170
|
-
modelKey: props.fieldMeta.refModelKey
|
|
178
|
+
modelKey: props.fieldMeta.refModelKey,
|
|
179
|
+
readonly: !!props.disabled
|
|
171
180
|
},
|
|
172
181
|
{
|
|
173
182
|
title: $t("sys.pageDesigner.fieldConditionRules"),
|
|
@@ -175,10 +184,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
175
184
|
width: 700
|
|
176
185
|
}
|
|
177
186
|
);
|
|
178
|
-
if (result.ok) {
|
|
187
|
+
if (result.ok && !props.disabled) {
|
|
179
188
|
emit("update:dataFilter", result.data);
|
|
180
189
|
await nextTick();
|
|
181
|
-
console.log(props.dataFilter, "propValue.value-------");
|
|
182
190
|
}
|
|
183
191
|
};
|
|
184
192
|
return (_ctx, _cache) => {
|
|
@@ -212,7 +220,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
212
220
|
};
|
|
213
221
|
}
|
|
214
222
|
});
|
|
215
|
-
const RefDataFilterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
223
|
+
const RefDataFilterEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-d25279f2"]]);
|
|
216
224
|
const _hoisted_1 = { class: "flex justify-between items-center" };
|
|
217
225
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
218
226
|
__name: "ref-props",
|
|
@@ -302,9 +310,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
302
310
|
createVNode(unref(DisplayFieldsEditor), {
|
|
303
311
|
displayFields: formState.value.displayFields,
|
|
304
312
|
"onUpdate:displayFields": _cache[2] || (_cache[2] = ($event) => formState.value.displayFields = $event),
|
|
313
|
+
"legacy-search-fields": formState.value.searchField,
|
|
305
314
|
fieldMeta: __props.fieldMeta,
|
|
306
315
|
disabled: __props.disabled
|
|
307
|
-
}, null, 8, ["displayFields", "fieldMeta", "disabled"]),
|
|
316
|
+
}, null, 8, ["displayFields", "legacy-search-fields", "fieldMeta", "disabled"]),
|
|
308
317
|
(isRefType.value || isRefMultiType.value || unref(getIsSearchableField)(__props.fieldMeta)) && __props.fieldMeta.field !== "production_identification_id_" ? (openBlock(), createBlock(unref(QuickSearchEditor), {
|
|
309
318
|
key: 1,
|
|
310
319
|
fieldMeta: __props.fieldMeta,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-e9sd4IkJ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, toDisplayString, ref, reactive, watch, onBeforeUnmount, withModifiers, Fragment, withCtx, createTextVNode, renderList, normalizeClass, createCommentVNode, onMounted, createBlock, normalizeStyle, toRaw } from "vue";
|
|
2
2
|
import { isNil, cloneDeep } from "lodash-es";
|
|
3
|
-
import { _ as _export_sfc, w as api, y as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
-
import {
|
|
3
|
+
import { _ as _export_sfc, w as api, y as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
|
+
import { n as applyDesignReadonlyModal, b as FormItem } from "./index-QFP7aiss.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _hoisted_1$3 = { class: "number-range" };
|
|
7
7
|
const _hoisted_2$2 = { class: "middle" };
|
|
@@ -384,30 +384,38 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
384
384
|
createElementVNode("div", _hoisted_17, [
|
|
385
385
|
createElementVNode("div", _hoisted_18, [
|
|
386
386
|
createElementVNode("div", _hoisted_19, toDisplayString(_ctx.$t("sys.name")), 1),
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
387
|
+
createElementVNode("div", {
|
|
388
|
+
class: normalizeClass({ "ant-form-item-has-error": !!formErrors.name })
|
|
389
|
+
}, [
|
|
390
|
+
createVNode(_component_a_input, {
|
|
391
|
+
value: formState.name,
|
|
392
|
+
"onUpdate:value": [
|
|
393
|
+
_cache[0] || (_cache[0] = ($event) => formState.name = $event),
|
|
394
|
+
_cache[1] || (_cache[1] = ($event) => validateFormField("name", { checkRequired: false }))
|
|
395
|
+
],
|
|
396
|
+
placeholder: _ctx.$t("sys.inputText"),
|
|
397
|
+
"allow-clear": "",
|
|
398
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => validateFormField("name"))
|
|
399
|
+
}, null, 8, ["value", "placeholder"])
|
|
400
|
+
], 2),
|
|
397
401
|
formErrors.name ? (openBlock(), createElementBlock("div", _hoisted_20, toDisplayString(formErrors.name), 1)) : createCommentVNode("", true)
|
|
398
402
|
]),
|
|
399
403
|
createElementVNode("div", _hoisted_21, [
|
|
400
404
|
createElementVNode("div", _hoisted_22, toDisplayString(_ctx.$t("sys.regexEditor.regex")), 1),
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
405
|
+
createElementVNode("div", {
|
|
406
|
+
class: normalizeClass({ "ant-form-item-has-error": !!formErrors.value })
|
|
407
|
+
}, [
|
|
408
|
+
createVNode(_component_a_input, {
|
|
409
|
+
value: formState.value,
|
|
410
|
+
"onUpdate:value": [
|
|
411
|
+
_cache[3] || (_cache[3] = ($event) => formState.value = $event),
|
|
412
|
+
_cache[4] || (_cache[4] = ($event) => validateFormField("value", { checkRequired: false }))
|
|
413
|
+
],
|
|
414
|
+
placeholder: _ctx.$t("sys.inputText"),
|
|
415
|
+
"allow-clear": "",
|
|
416
|
+
onBlur: _cache[5] || (_cache[5] = ($event) => validateFormField("value"))
|
|
417
|
+
}, null, 8, ["value", "placeholder"])
|
|
418
|
+
], 2),
|
|
411
419
|
formErrors.value ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(formErrors.value), 1)) : createCommentVNode("", true)
|
|
412
420
|
]),
|
|
413
421
|
createElementVNode("div", _hoisted_24, [
|
|
@@ -438,24 +446,24 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
438
446
|
};
|
|
439
447
|
}
|
|
440
448
|
});
|
|
441
|
-
const CommonRegexPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
449
|
+
const CommonRegexPanel = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-45300c70"]]);
|
|
442
450
|
const _hoisted_1$1 = { class: "regex-editor-modal" };
|
|
443
451
|
const _hoisted_2 = { class: "regex-editor-modal__item" };
|
|
444
452
|
const _hoisted_3 = { class: "regex-editor-modal__label" };
|
|
445
453
|
const _hoisted_4 = { class: "regex-editor-modal__regex-row" };
|
|
446
454
|
const _hoisted_5 = { class: "regex-editor-modal__regex-main" };
|
|
447
455
|
const _hoisted_6 = {
|
|
448
|
-
key: 0,
|
|
449
|
-
class: "regex-editor-modal__tags"
|
|
450
|
-
};
|
|
451
|
-
const _hoisted_7 = ["onClick"];
|
|
452
|
-
const _hoisted_8 = { class: "regex-common-panel-overlay__clip" };
|
|
453
|
-
const _hoisted_9 = { class: "delete-confirm__title" };
|
|
454
|
-
const _hoisted_10 = { class: "delete-confirm__actions" };
|
|
455
|
-
const _hoisted_11 = {
|
|
456
456
|
key: 0,
|
|
457
457
|
class: "error"
|
|
458
458
|
};
|
|
459
|
+
const _hoisted_7 = {
|
|
460
|
+
key: 1,
|
|
461
|
+
class: "regex-editor-modal__tags"
|
|
462
|
+
};
|
|
463
|
+
const _hoisted_8 = ["onClick"];
|
|
464
|
+
const _hoisted_9 = { class: "regex-common-panel-overlay__clip" };
|
|
465
|
+
const _hoisted_10 = { class: "delete-confirm__title" };
|
|
466
|
+
const _hoisted_11 = { class: "delete-confirm__actions" };
|
|
459
467
|
const _hoisted_12 = { class: "regex-editor-modal__item regex-editor-modal__item--hint" };
|
|
460
468
|
const _hoisted_13 = {
|
|
461
469
|
key: 0,
|
|
@@ -466,7 +474,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
466
474
|
__name: "regex-editor-modal",
|
|
467
475
|
props: {
|
|
468
476
|
value: {},
|
|
469
|
-
modal: {}
|
|
477
|
+
modal: {},
|
|
478
|
+
readonly: { type: Boolean }
|
|
470
479
|
},
|
|
471
480
|
setup(__props) {
|
|
472
481
|
const props = __props;
|
|
@@ -495,6 +504,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
495
504
|
}
|
|
496
505
|
onMounted(() => {
|
|
497
506
|
loadCommonList();
|
|
507
|
+
if (props.readonly) {
|
|
508
|
+
applyDesignReadonlyModal(props.modal);
|
|
509
|
+
}
|
|
498
510
|
});
|
|
499
511
|
async function onPanelVisibleChange(visible) {
|
|
500
512
|
panelShown.value = visible;
|
|
@@ -559,6 +571,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
559
571
|
return regexOk && hintOk;
|
|
560
572
|
};
|
|
561
573
|
async function onSave() {
|
|
574
|
+
if (props.readonly) {
|
|
575
|
+
return null;
|
|
576
|
+
}
|
|
562
577
|
if (!validateAll()) {
|
|
563
578
|
return { ok: false };
|
|
564
579
|
}
|
|
@@ -587,17 +602,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
587
602
|
createElementVNode("div", _hoisted_3, toDisplayString(_ctx.$t("sys.regexEditor.regex")), 1),
|
|
588
603
|
createElementVNode("div", _hoisted_4, [
|
|
589
604
|
createElementVNode("div", _hoisted_5, [
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
605
|
+
createElementVNode("div", {
|
|
606
|
+
class: normalizeClass({ "ant-form-item-has-error": !!errors.regex })
|
|
607
|
+
}, [
|
|
608
|
+
createVNode(_component_a_input, {
|
|
609
|
+
value: formState.regex,
|
|
610
|
+
"onUpdate:value": [
|
|
611
|
+
_cache[0] || (_cache[0] = ($event) => formState.regex = $event),
|
|
612
|
+
_cache[1] || (_cache[1] = ($event) => validateField("regex", { checkRequired: false }))
|
|
613
|
+
],
|
|
614
|
+
placeholder: _ctx.$t("sys.inputText"),
|
|
615
|
+
"allow-clear": "",
|
|
616
|
+
disabled: __props.readonly,
|
|
617
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => validateField("regex"))
|
|
618
|
+
}, null, 8, ["value", "placeholder", "disabled"])
|
|
619
|
+
], 2),
|
|
620
|
+
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(errors.regex), 1)) : createCommentVNode("", true),
|
|
621
|
+
commonList.value.length && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
601
622
|
(openBlock(true), createElementBlock(Fragment, null, renderList(commonList.value, (item) => {
|
|
602
623
|
return openBlock(), createBlock(_component_a_tooltip, {
|
|
603
624
|
key: item.id,
|
|
@@ -608,14 +629,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
608
629
|
type: "button",
|
|
609
630
|
class: "regex-tag",
|
|
610
631
|
onClick: ($event) => fillRegex(item)
|
|
611
|
-
}, toDisplayString(truncateName(item.name)), 9,
|
|
632
|
+
}, toDisplayString(truncateName(item.name)), 9, _hoisted_8)
|
|
612
633
|
]),
|
|
613
634
|
_: 2
|
|
614
635
|
}, 1032, ["title"]);
|
|
615
636
|
}), 128))
|
|
616
637
|
])) : createCommentVNode("", true)
|
|
617
638
|
]),
|
|
618
|
-
|
|
639
|
+
!__props.readonly ? (openBlock(), createBlock(_component_a_dropdown, {
|
|
640
|
+
key: 0,
|
|
619
641
|
visible: panelShown.value,
|
|
620
642
|
trigger: ["click"],
|
|
621
643
|
placement: "bottomRight",
|
|
@@ -632,7 +654,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
632
654
|
onClick: _cache[7] || (_cache[7] = withModifiers(() => {
|
|
633
655
|
}, ["stop"]))
|
|
634
656
|
}, [
|
|
635
|
-
createElementVNode("div",
|
|
657
|
+
createElementVNode("div", _hoisted_9, [
|
|
636
658
|
panelShown.value ? (openBlock(), createBlock(CommonRegexPanel, {
|
|
637
659
|
key: 0,
|
|
638
660
|
ref_key: "commonPanelRef",
|
|
@@ -652,11 +674,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
652
674
|
onClick: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
653
675
|
}, ["stop"]))
|
|
654
676
|
}, [
|
|
655
|
-
createElementVNode("div",
|
|
677
|
+
createElementVNode("div", _hoisted_10, [
|
|
656
678
|
_cache[11] || (_cache[11] = createElementVNode("i", { class: "iconfont icon-jinggao1 delete-confirm__icon" }, null, -1)),
|
|
657
679
|
createElementVNode("span", null, toDisplayString(_ctx.$t("sys.confirmExecution")), 1)
|
|
658
680
|
]),
|
|
659
|
-
createElementVNode("div",
|
|
681
|
+
createElementVNode("div", _hoisted_11, [
|
|
660
682
|
createVNode(_component_a_button, {
|
|
661
683
|
size: "small",
|
|
662
684
|
onClick: onCancelDelete
|
|
@@ -696,24 +718,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
696
718
|
}, 8, ["title"])
|
|
697
719
|
]),
|
|
698
720
|
_: 1
|
|
699
|
-
}, 8, ["visible"])
|
|
700
|
-
])
|
|
701
|
-
errors.regex ? (openBlock(), createElementBlock("div", _hoisted_11, toDisplayString(errors.regex), 1)) : createCommentVNode("", true)
|
|
721
|
+
}, 8, ["visible"])) : createCommentVNode("", true)
|
|
722
|
+
])
|
|
702
723
|
]),
|
|
703
724
|
createElementVNode("div", _hoisted_12, [
|
|
704
725
|
createElementVNode("div", {
|
|
705
726
|
class: normalizeClass(["regex-editor-modal__label", { "is-required": !!formState.regex }])
|
|
706
727
|
}, toDisplayString(_ctx.$t("sys.regexEditor.hint")), 3),
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
728
|
+
createElementVNode("div", {
|
|
729
|
+
class: normalizeClass({ "ant-form-item-has-error": !!errors.regexHint })
|
|
730
|
+
}, [
|
|
731
|
+
createVNode(_component_a_textarea, {
|
|
732
|
+
value: formState.regexHint,
|
|
733
|
+
"onUpdate:value": [
|
|
734
|
+
_cache[8] || (_cache[8] = ($event) => formState.regexHint = $event),
|
|
735
|
+
_cache[9] || (_cache[9] = ($event) => validateField("regexHint", { checkRequired: false }))
|
|
736
|
+
],
|
|
737
|
+
placeholder: _ctx.$t("sys.inputText"),
|
|
738
|
+
rows: 3,
|
|
739
|
+
disabled: __props.readonly,
|
|
740
|
+
onBlur: _cache[10] || (_cache[10] = ($event) => validateField("regexHint"))
|
|
741
|
+
}, null, 8, ["value", "placeholder", "disabled"])
|
|
742
|
+
], 2),
|
|
717
743
|
errors.regexHint ? (openBlock(), createElementBlock("div", _hoisted_13, toDisplayString(errors.regexHint), 1)) : createCommentVNode("", true)
|
|
718
744
|
])
|
|
719
745
|
])
|
|
@@ -723,7 +749,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
723
749
|
};
|
|
724
750
|
}
|
|
725
751
|
});
|
|
726
|
-
const RegexEditorModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
752
|
+
const RegexEditorModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-21e7e6bd"]]);
|
|
727
753
|
const _hoisted_1 = { class: "regex-editor__label" };
|
|
728
754
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
729
755
|
__name: "regex-editor",
|
|
@@ -738,11 +764,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
738
764
|
const emit = __emit;
|
|
739
765
|
const hasRegex = computed(() => !!(props.regex && props.regexHint));
|
|
740
766
|
const openModal = async () => {
|
|
741
|
-
if (props.disabled) return;
|
|
767
|
+
if (props.disabled && !hasRegex.value) return;
|
|
742
768
|
const result = await window.NocodeAdapter.utils.overlay.modal(
|
|
743
769
|
RegexEditorModal,
|
|
744
770
|
{
|
|
745
|
-
value: hasRegex.value ? { regex: props.regex, regexHint: props.regexHint } : void 0
|
|
771
|
+
value: hasRegex.value ? { regex: props.regex, regexHint: props.regexHint } : void 0,
|
|
772
|
+
readonly: !!props.disabled
|
|
746
773
|
},
|
|
747
774
|
{
|
|
748
775
|
title: $t("sys.regexEditor.config"),
|
|
@@ -753,7 +780,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
753
780
|
cancelText: $t("sys.cancelText")
|
|
754
781
|
}
|
|
755
782
|
);
|
|
756
|
-
if (!result.ok) return;
|
|
783
|
+
if (!result.ok || props.disabled) return;
|
|
757
784
|
const data = result.data?.[0] || {};
|
|
758
785
|
emit("update:regex", data.regex);
|
|
759
786
|
emit("update:regexHint", data.regexHint);
|
|
@@ -780,7 +807,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
780
807
|
]),
|
|
781
808
|
default: withCtx(() => [
|
|
782
809
|
createElementVNode("div", {
|
|
783
|
-
class: normalizeClass(["regex-editor__button", [hasRegex.value ? "primary" : "default"
|
|
810
|
+
class: normalizeClass(["regex-editor__button allow-readonly-view", [hasRegex.value ? "primary" : "default"]]),
|
|
784
811
|
onClick: openModal
|
|
785
812
|
}, toDisplayString(hasRegex.value ? _ctx.$t("sys.regexEditor.editExpr") : _ctx.$t("sys.regexEditor.addExpr")), 3)
|
|
786
813
|
]),
|
|
@@ -789,7 +816,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
789
816
|
};
|
|
790
817
|
}
|
|
791
818
|
});
|
|
792
|
-
const RegexEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
819
|
+
const RegexEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fb5cd7f9"]]);
|
|
793
820
|
export {
|
|
794
821
|
NumberRange as N,
|
|
795
822
|
RegexEditor as R
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { db as registerInstance, dc as createEvent, dd as getColumnByProp, de as timeout, df as getVisibleSourceItem, dg as getColumns, dh as rowTypes, di as GroupingRowPlugin, dj as StretchColumn, dk as isStretchPlugin, dl as AutoSizeColumnPlugin, dm as FilterPlugin, dn as ExportFilePlugin, dp as SortingPlugin, dq as ColumnMovePlugin, dr as ThemeService, ds as h, dt as Host, du as getElement, dv as BasePlugin, dw as reduce, dx as columnTypes, dy as debounce, dz as RESIZE_INTERVAL, dA as DimensionStore, dB as gatherTrimmedItems, dC as getColumnSizes, dD as getItemByIndex, dE as DataStore, dF as getSourceItem, dG as getSourceItemVirtualIndexByProp, dH as getColumnType, dI as setSourceByPhysicalIndex, dJ as setSourceByVirtualIndex, dK as SelectionStore, dL as cropCellToMax, dM as nextCell, dN as isRowType, dO as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-DzamtFvo.js → revogr-attribution_7.entry-DBPjWGup.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { db as registerInstance, ds as h, dt as Host, dc as createEvent, dF as getSourceItem, du as getElement, dT as ColumnService, dU as MOBILE_CLASS, dV as SELECTION_BORDER_CLASS, dW as getCellData, dX as getCellEditor, dY as getRange, dZ as isRangeSingleCell, d_ as codesLetter, dO as ViewportStore, dE as DataStore, d$ as calculateRowHeaderSize, e0 as ROW_HEADER_TYPE, e1 as getScrollbarSize, e2 as FOCUS_CLASS, dD as getItemByIndex, de as timeout, e3 as CELL_HANDLER_CLASS, dy as debounce, e4 as TMP_SELECTION_BG_CLASS, dz as RESIZE_INTERVAL, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-C46O9P-0.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-D40m8Nov.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { de as timeout, db as registerInstance, dc as createEvent, ds as h, e6 as EDIT_INPUT_WR, dt as Host, du as getElement, dy as debounce, e9 as DRAGG_TEXT, dF as getSourceItem, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-C46O9P-0.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { ea as PSEUDO_GROUP_ITEM, eb as GROUP_EXPANDED, ec as GROUP_DEPTH, ds as h, ed as GROUP_EXPAND_BTN, ee as DATA_ROW, dF as getSourceItem, ef as isGroupingColumn, eg as GROUP_COLUMN_PROP, eh as getCellRaw, ei as DATA_COL, ej as CELL_CLASS, ek as Build, el as isRowDragService, em as DRAG_ICON_CLASS, en as DRAGGABLE_CLASS, eo as getCellDataParsed, ep as GROUP_EXPAND_EVENT, db as registerInstance, dc as createEvent, dT as ColumnService, eq as isGrouping, dt as Host, du as getElement, dD as getItemByIndex, er as HEADER_ROW_CLASS, es as HEADER_ACTUAL_ROW_CLASS, et as ROW_FOCUSED_CLASS, eu as HEADER_SORTABLE_CLASS, ev as MIN_COL_SIZE, e2 as FOCUS_CLASS, ew as FilterButton, ex as HeaderCellRenderer, ey as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-D40m8Nov.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-BrYsomo0.js → revogr-filter-panel.entry-BAU18Dos.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { db as registerInstance, dc as createEvent, dy as debounce, ds as h, dP as AndOrButton, dQ as ReorderButton, dR as TrashButton, dS as isFilterBtn, dt as Host, du as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, unref, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp,
|
|
3
|
-
import { O as Orientation,
|
|
2
|
+
import { C as CellWidgetRenderComp, b as FormItem, S as SelectEx } from "./index-QFP7aiss.js";
|
|
3
|
+
import { O as Orientation, R as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S, a, V } from "../version-select-
|
|
1
|
+
import { ag, cZ, C, ah, am, c_, ai, aj, F, c$, l, d0, d1, d2, d3, d4, d5, k, J, K, a0, x, d6, aU, d7, ak, d8, U, aV, I } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { O, _, S, a, V } from "../version-select-Cx1oBH6h.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -43,46 +43,46 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
43
43
|
return GctMqttTopsEnum2;
|
|
44
44
|
})(GctMqttTopsEnum || {});
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
ag as ASSIGNMENTSTRATEGY_ENUM,
|
|
47
47
|
ButtonOpeEnum,
|
|
48
48
|
ButtonSize,
|
|
49
49
|
ButtonStyle,
|
|
50
50
|
ButtonType,
|
|
51
51
|
ButtonType_vant,
|
|
52
|
-
|
|
52
|
+
cZ as CardControlEnum,
|
|
53
53
|
C as CreateType,
|
|
54
|
-
|
|
54
|
+
ah as Dependency_ENUM,
|
|
55
55
|
am as EntityModelCategoryEnum,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
c_ as EntityModelTypeEnum,
|
|
57
|
+
ai as ExpressionModeEnum,
|
|
58
|
+
aj as ExpressionTabEnum,
|
|
59
59
|
F as FIELD_TYPE,
|
|
60
|
-
|
|
60
|
+
c$ as FIELD_TYPE_BASIC,
|
|
61
61
|
l as FIELD_TYPE_BUSINESS,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
d0 as FIELD_TYPE_INSPECTION,
|
|
63
|
+
d1 as FIELD_TYPE_LOGIC,
|
|
64
|
+
d2 as FIELD_TYPE_MATERIAL,
|
|
65
|
+
d3 as FIELD_TYPE_PRETREATMENT,
|
|
66
|
+
d4 as FIELD_TYPE_PRODUCE,
|
|
67
|
+
d5 as FIELD_TYPE_STERILIZATION,
|
|
68
68
|
k as FIELD_TYPE_TRACE,
|
|
69
69
|
J as FIELD_TYPE_WAREHOUSE,
|
|
70
70
|
K as FieldDefaultValueTypeEnum,
|
|
71
|
-
|
|
71
|
+
a0 as FieldIconMap,
|
|
72
72
|
x as FieldTypeToJs,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
d6 as FormDesignEnum,
|
|
74
|
+
aU as FormulaRuleFieldKeyEnum,
|
|
75
75
|
GctMqttTopsEnum,
|
|
76
76
|
O as OnlineFormModelModal,
|
|
77
77
|
_ as OnlineFormModelSelect,
|
|
78
78
|
Platform,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
d7 as RecordNoGenerateEnum,
|
|
80
|
+
ak as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
a as SignatureTypeEnum,
|
|
83
|
-
|
|
83
|
+
d8 as TagTypeEnum,
|
|
84
84
|
U as UniqueConstraintType,
|
|
85
85
|
V as VersionSelect,
|
|
86
|
-
|
|
86
|
+
aV as formulaRuleFieldDict,
|
|
87
87
|
I as onlineFormMasterModelTypeEnum
|
|
88
88
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-DYgGT9In.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { Y as SignatureTypeEnum, W as SignatureTimeTypeEnum, F as FIELD_TYPE, V as SignatureNumberTypeEnum, al as ImageDisplayModeEnum, X as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
|
+
import { b as FormItem, S as SelectEx } from "./index-QFP7aiss.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-BIiVvohl.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { d as useDrop, T as TransferType, u as useModelFields, e as getFieldIcon, x as SingleDrop } from "./index-QFP7aiss.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|