@gct-paas/excel 0.1.26 → 0.1.28-beta.0
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-0DuOfiQX.js → VueVideoPlayer-DoCV5anE.js} +2 -2
- package/dist/{agg-design-Bs7uvazc.js → agg-design-FWqhGZMN.js} +1 -1
- package/dist/{agg-props-Bp3BzB8p.js → agg-props-Demj2zwb.js} +1 -1
- package/dist/{agg-style-5rib-2BW.js → agg-style-0D2plP6P.js} +1 -1
- package/dist/{align-editor-DQ8dFN7Z.js → align-editor-BT_0oTzG.js} +1 -1
- package/dist/{attach-fields-editor-C96vYS5i.js → attach-fields-editor-Bh-SLSaJ.js} +5 -5
- package/dist/{barcode-design-GARKK2E6.js → barcode-design-B6DeTtec.js} +2 -2
- package/dist/base/index.es.js +437 -586
- package/dist/{base-font-editor-D1Yhc2dM.js → base-font-editor-rUy04_I5.js} +2 -2
- package/dist/{boolean-design-E8aTzvqE.js → boolean-design-s-0j811G.js} +2 -2
- package/dist/{boolean-props-DXxrp-m9.js → boolean-props-BKDCL1yv.js} +3 -3
- package/dist/{boolean-style-CL0DlbC0.js → boolean-style-z1WMMTXQ.js} +4 -4
- package/dist/{cell-upload-Mt9EhaFR.js → cell-upload-DIfLFlqF.js} +1 -1
- package/dist/{date-range-editor-CWD3tYMA.js → date-range-editor-Bl5qPmvu.js} +2 -2
- package/dist/{date-time-design-DxEvgEi8.js → date-time-design-BTNkgPAM.js} +1 -1
- package/dist/{date-time-props-B5Xtc7-X.js → date-time-props-DiVxg9n4.js} +3 -3
- package/dist/{date-time-style-CH-mslF5.js → date-time-style-yt5pO1dc.js} +1 -1
- package/dist/{decimal-design-DvIA4NX0.js → decimal-design-BW5UQRTH.js} +1 -1
- package/dist/{decimal-display-mode-DZwDd5fU.js → decimal-display-mode-BWR1rZ3-.js} +2 -2
- package/dist/{decimal-props-BKRzrJ-r.js → decimal-props-S3vHwaWf.js} +4 -4
- package/dist/{decimal-style-DMFs7IFs.js → decimal-style-6q9_KbIT.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BLCWBDOv.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B51R6Kdt.js} +2 -2
- package/dist/{diagonal-design-COpzJE_o.js → diagonal-design-BKuv-KYn.js} +2 -2
- package/dist/{double-design-BTJtq1hk.js → double-design-CrnloQ6U.js} +1 -1
- package/dist/{double-props-Bq3vZziK.js → double-props-CIqRhF3C.js} +4 -4
- package/dist/{double-style-DiufxslF.js → double-style-BRXKv9Tt.js} +1 -1
- package/dist/{dynamic-table-action-Dqp3OJDg.js → dynamic-table-action-B3_wsebH.js} +1359 -1077
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CvVlP70-.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js} +3396 -621
- package/dist/{edit.utils-CXmmCnxE-W27Whv1y.js → edit.utils-CXmmCnxE-C1IiqVhe.js} +1 -1
- package/dist/{enum-design-BcF4g87b.js → enum-design-4iAQqQWj.js} +2 -2
- package/dist/{enum-props-C7JjTMv4.js → enum-props-BTNED9Yi.js} +3 -3
- package/dist/{enum-style-CyAkQvzE.js → enum-style-BKunBcCU.js} +3 -3
- package/dist/excel.css +1120 -797
- package/dist/{exceljs.min-D-ILZl-Z.js → exceljs.min-DqUfJ7Zu.js} +2 -2
- package/dist/{expression-design-CjzPxio0.js → expression-design-Avbzm2SR.js} +1 -1
- package/dist/{expression-props-mAVBd5Lq.js → expression-props-BJ2AaS83.js} +1 -1
- package/dist/{expression-style-CrRd3CZN.js → expression-style-Cf0ZciKB.js} +1 -1
- package/dist/{file-design-BvSmEEHz.js → file-design-DXTNk70M.js} +1 -1
- package/dist/{file-props-CmbLCylK.js → file-props-GieYTgUG.js} +2 -2
- package/dist/{file-style-ouUREdJB.js → file-style-CLDdPXPd.js} +1 -1
- package/dist/{font-editor-5O8-WS9U.js → font-editor-DFkc4KNc.js} +3 -3
- package/dist/{image-design-DOdX4Ejf.js → image-design-DWY2Pn2m.js} +2 -2
- package/dist/{image-design-D5Avl99X.js → image-design-J45gqUS9.js} +1 -1
- package/dist/{image-props-DS7B2haQ.js → image-props-DZmoqEbT.js} +1 -1
- package/dist/{image-style-BdC16P3Z.js → image-style-C41-zdmF.js} +1 -1
- package/dist/{index-CqvvTfDm.js → index-5k7C2AD1.js} +1 -1
- package/dist/{index-CZB6MFo2.js → index-B-UBLtsV.js} +1 -1
- package/dist/{index-tVnYGnyM.js → index-B3D6zOat.js} +1 -1
- package/dist/{index-DZWPjTfD.js → index-B9nlN0jW.js} +1 -1
- package/dist/{index--x-rjhUN.js → index-BHIdTmFi.js} +3697 -3053
- package/dist/{index-Bg7RbNAd.js → index-BNn5fobS.js} +1 -1
- package/dist/{index-DjO3xXoL.js → index-BlnMSgZL.js} +2 -2
- package/dist/{index-7Z0q-sUY.js → index-BsOmgpN3.js} +1 -1
- package/dist/{index-u0UnKD61.js → index-Bs_2N-BE.js} +1 -1
- package/dist/{index-Ul5I5n2Y.js → index-BtUdO868.js} +1 -1
- package/dist/{index-DeHhItHR.js → index-C0K1pWGN.js} +1 -1
- package/dist/{index-COPdP22U.js → index-C4hw1NhV.js} +1 -1
- package/dist/{index-Bs5CmUJ6.js → index-C6-vGm0H.js} +1 -1
- package/dist/{index-BA1e8Zw5.js → index-CR7wxW9-.js} +1 -1
- package/dist/{index-Bgz9h2Ur.js → index-CYKuotDL.js} +217 -98
- package/dist/{index-BGwmxIrV.js → index-Cir8zmM7.js} +1 -1
- package/dist/{index-nDINH7fF.js → index-D-uEhZUx.js} +5 -3
- package/dist/{index-DWlCnH_H.js → index-DIknXBmB.js} +2 -2
- package/dist/{index-DPFhljcW.js → index-DRfeEqsi.js} +12 -1
- package/dist/{index-CF4GPHX_.js → index-DXZ9-91Q.js} +1 -1
- package/dist/{index-DAVr0Puy.js → index-Dlcg-_u1.js} +1 -1
- package/dist/{index-B6YwjnNP.js → index-DpPM2hsI.js} +1 -1
- package/dist/{index-POh3kOtN.js → index-DsVq6bop.js} +1 -1
- package/dist/{index-CUDme4M_.js → index-DxfrB4yU.js} +2 -2
- package/dist/{index-OD0V6QZx.js → index-DyTI4fVG.js} +4 -2
- package/dist/{index-upoyI1QX.js → index-FJf8yRGg.js} +1 -1
- package/dist/{index-CO9M5kpu.js → index-Iri9iQ7A.js} +1 -1
- package/dist/{index-B4uW2dJ0.js → index-Izpo3y-u.js} +1 -1
- package/dist/{index-CMM4w3Dw.js → index-Kc67z3Sn.js} +1 -1
- package/dist/{index-mEVrSKb2.js → index-O2psifaU.js} +5 -3
- package/dist/{index-B9bcnmUU.js → index-ZKvvKhlF.js} +1 -1
- package/dist/{index-BqzGUi2w.js → index-s5kgaRm2.js} +1 -1
- package/dist/{index-BP7lVop7.js → index-vDKWJHdv.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/{integer-design-XoAOklHI.js → integer-design-oIq4PZgB.js} +1 -1
- package/dist/{integer-props-UG7rgL98.js → integer-props-Dv0CFbj2.js} +4 -4
- package/dist/{integer-style-BwF6P-1M.js → integer-style-CQsFEa78.js} +1 -1
- package/dist/mb-render-13-1F66x.js +263 -0
- package/dist/{number-input-ex-BUhgQIz_.js → number-input-ex-b3jwWBec.js} +1 -1
- package/dist/{org-props-BYIR1Qja.js → org-props-CP6UEZUk.js} +2 -2
- package/dist/{org-style-DXX3gSuh.js → org-style-CVX9tnGL.js} +1 -1
- package/dist/{pagination-design-BVFW-spw.js → pagination-design-CzI3BVnu.js} +2 -2
- package/dist/paper-widget-design-DMIGXtG2.js +4 -0
- package/dist/{qrcode-design-CoFoYXe2.js → qrcode-design-eO4Bd2-V.js} +1 -1
- package/dist/{ref-autofill-editor-8-T3_HNa.js → ref-autofill-editor-DXDYy7g2.js} +7 -6
- package/dist/{ref-props-CkbU8Sr5.js → ref-props-Aiwbx2BA.js} +3 -3
- package/dist/{ref-style-BUqCIl-S.js → ref-style-BYC5yPHt.js} +1 -1
- package/dist/{regex-editor-BAfv4Tt4.js → regex-editor-DWglxD2y.js} +2 -2
- package/dist/{revo-grid.entry-RWcWTs8I.js → revo-grid.entry-DxhjfysT.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BCSuWj1U.js → revogr-attribution_7.entry-ChJzXX9c.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BTpzs_Rr.js → revogr-clipboard_3.entry-CTfO-vHs.js} +2 -2
- package/dist/{revogr-data_4.entry-DYkSdHom.js → revogr-data_4.entry-DpsZq5Vu.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DOqtLQay.js → revogr-filter-panel.entry-CkNGH07B.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-D26X3WBX.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D36XgznF.js} +2 -2
- package/dist/{serialnumber-design-Bx6oAxgA.js → serialnumber-design-cvNqTdU4.js} +1 -1
- package/dist/shared/index.es.js +29 -29
- package/dist/{signature-design-BYwB_lgz.js → signature-design-CxYVBP9N.js} +1 -1
- package/dist/{signature-props-SNM8PS89.js → signature-props-Cs3PONrq.js} +3 -3
- package/dist/{signature-style-BqZ2DAS6.js → signature-style-CAa92-pw.js} +1 -1
- package/dist/{single-field-drop-BwCKh5bM.js → single-field-drop-BXX5wlj_.js} +2 -2
- package/dist/{size-editor-DUazmEj_.js → size-editor-B4aRo4sR.js} +1 -1
- package/dist/src/assets/svgs/table/index.d.ts +38 -0
- package/dist/src/domain/index.d.ts +1 -0
- package/dist/src/domain/suite/suite-features.d.ts +14 -0
- package/dist/src/domain/table/business/check/check-table/index.d.ts +1 -0
- package/dist/src/domain/table/business/check/check-table/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/material/material-balance/index.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-balance/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/material/material-consume/index.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-consume/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/index.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +187 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +26 -0
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/index.d.ts +1 -0
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +65 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +70 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +10 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +87 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +7 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in-out/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in-out/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +33 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +114 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +11 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +84 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +64 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/data/dynamic-table/index.d.ts +1 -0
- package/dist/src/domain/table/data/dynamic-table/profile/index.d.ts +3 -0
- package/dist/src/domain/table/data/fixed-table/index.d.ts +1 -0
- package/dist/src/domain/table/data/fixed-table/profile/index.d.ts +3 -0
- package/dist/src/domain/table/data/two-d-table/index.d.ts +1 -0
- package/dist/src/domain/table/data/two-d-table/profile/index.d.ts +3 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +19 -0
- package/dist/src/domain/table/design/create-subtable.d.ts +14 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +13 -0
- package/dist/src/domain/table/design/index.d.ts +6 -0
- package/dist/src/domain/table/design/label.d.ts +3 -0
- package/dist/src/domain/table/design/panel-features.d.ts +16 -0
- package/dist/src/domain/table/design/panel-type.d.ts +6 -0
- package/dist/src/domain/table/design/ribbon-options.d.ts +38 -0
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +10 -0
- package/dist/src/domain/table/index.d.ts +12 -0
- package/dist/src/domain/table/registry.d.ts +27 -0
- package/dist/src/domain/table/runtime/apply-profile.d.ts +16 -0
- package/dist/src/domain/table/runtime/runtime-handlers.d.ts +9 -0
- package/dist/src/domain/table/types.d.ts +137 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +0 -1
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +3 -1
- package/dist/src/nocode-base/src/constant/index.d.ts +18 -2
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +12 -7
- package/dist/src/nocode-base/src/core/sub-table/index.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +12 -5
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +58 -0
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +17 -19
- package/dist/src/nocode-base/src/core/sub-table/utils/pretreatment/field-keys.d.ts +2 -117
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/field-keys.d.ts +2 -60
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/device-link/types.d.ts +10 -0
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +6 -1
- package/dist/src/nocode-base/src/hooks/form-model/types.d.ts +5 -0
- package/dist/src/nocode-base/src/hooks/form-tmpl-config/form-tmpl-config-controller.d.ts +16 -0
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +140 -18
- package/dist/src/nocode-base/src/hooks/material-consume/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-group-merge.d.ts +20 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +50 -8
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +8 -0
- package/dist/src/nocode-base/src/hooks/material-consume/product-id-query.d.ts +31 -0
- package/dist/src/nocode-base/src/hooks/material-consume/scan-fill.d.ts +10 -0
- package/dist/src/nocode-base/src/hooks/material-consume/scan-validator.d.ts +192 -0
- package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +9 -0
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -3
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/allocate.d.ts +8 -0
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +4 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +8 -0
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +16 -0
- package/dist/src/nocode-base/src/types/widgets/i-serialnumber.d.ts +4 -0
- package/dist/src/nocode-web-render/src/render/index.d.ts +2 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/multi-rows-modal.vue.d.ts +15 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +2 -3
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +4 -0
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/assoc-filter-editor/assoc-filter.util.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/input-prop-editor/input-prop-editor.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +8 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +48 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +66 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/parameter-struct/json-expression-editor.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-card.vue.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +19 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/identify-param-card.vue.d.ts +10 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/repeating-sub-table-config.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/sub-table-panel-shell.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +1533 -0
- package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/bom-entry-editor.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/bom-modal.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/select-check-ds-modal.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +5 -1
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +1 -1
- package/dist/src/shared/components/Signature/logic/index.d.ts +4 -0
- package/dist/src/shared/enum/field-type.d.ts +17 -5
- package/dist/src/shared/enum/index.d.ts +4 -2
- package/dist/src/shared/enum/online-form.d.ts +14 -2
- package/dist/{text-design-Wz4yRq1g.js → text-design-DbDDDCTT.js} +2 -2
- package/dist/{text-design-DN3i2RFW.js → text-design-vFgsAOs6.js} +2 -2
- package/dist/{text-props-B00HIRMS.js → text-props-LQ8JxfCA.js} +4 -5
- package/dist/{text-style-fu30umvT.js → text-style-CKBIm6Y6.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Fx3LWSEd.js → throttle-Cpk1LoGk-CJfuMBhT.js} +1 -1
- package/dist/{timediff-design-B-4vNIoK.js → timediff-design-C7qKjT0h.js} +1 -1
- package/dist/{trace-design-DtHxTSsv.js → trace-design-DdHPN-JX.js} +2 -2
- package/dist/{trace-props-Rg7mqGt_.js → trace-props-BSRELXnc.js} +60 -48
- package/dist/{trace-style-mCgCCGMz.js → trace-style-BOx3LU4R.js} +1 -1
- package/dist/{user-props-DonrdBsi.js → user-props-DCy_CVdE.js} +2 -2
- package/dist/{user-style-CumTeI-A.js → user-style-BbXij2Ui.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DRQFluA7.js → value-editor.vue_vue_type_style_index_0_lang-DqIfRgzS.js} +2 -2
- package/dist/{version-select-DZOffw2U.js → version-select--5mTgIzw.js} +1 -1
- package/dist/web-render/index.es.js +6 -5
- package/dist/{widget-barcode-Djaec1i2.js → widget-barcode-BYZx9koE.js} +4 -4
- package/dist/{widget-diagonal-Dw5Q9iRl.js → widget-diagonal-CbEoMTV6.js} +3 -3
- package/dist/{widget-image-Dq6zxwLm.js → widget-image-Bgb0W9tX.js} +5 -5
- package/dist/{widget-line-Csab5i9z.js → widget-line-xBvHpkdt.js} +2 -2
- package/dist/{widget-pagination-BmsUSsKm.js → widget-pagination-BjH75g8_.js} +5 -5
- package/dist/{widget-power-DtPCy7UV.js → widget-power-Bvr05ltd.js} +3 -3
- package/dist/{widget-qrcode-BAMbK-3b.js → widget-qrcode-Bj-ntq_n.js} +3 -3
- package/dist/{widget-rangelimit-Bx9qfojs.js → widget-rangelimit-BHa420t4.js} +3 -3
- package/dist/{widget-serialnumber-Bz6EQZR_.js → widget-serialnumber-BoYlmag6.js} +1 -1
- package/dist/{widget-text-CkXtxU3r.js → widget-text-_Q96wqKl.js} +5 -5
- package/dist/{widget-timediff-wqTd7OZs.js → widget-timediff-DtoWALwY.js} +2 -2
- package/package.json +8 -7
- package/dist/mb-render-CRA1gDau.js +0 -449
- package/dist/paper-widget-design-DFOElS47.js +0 -4
- package/dist/src/online-form/src/views/designer/modules/panel/panel-material-balance-table.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-material-stocktake-table.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-pretreatment-table.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-sterilize-batch-table.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/common/add-tmpl-btn.vue.d.ts +0 -7
- /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/edit-parse-rule.vue.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/panel-material-consumption-table.vue.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/translate-span.vue.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{material-consumption → sub-table/material-consumption}/use-product-translate.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/add-ds-btn.vue.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table → sub-table/panel-check-table}/right-list.vue.d.ts +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-check-table.vue.d.ts → sub-table/panel-check-table.vue.d.ts} +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-data-group-2d.vue.d.ts → sub-table/panel-data-group-2d.vue.d.ts} +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-data-group.vue.d.ts → sub-table/panel-data-group.vue.d.ts} +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-fixed-table.vue.d.ts → sub-table/panel-fixed-table.vue.d.ts} +0 -0
- /package/dist/src/online-form/src/views/designer/modules/panel/{panel-dynamic-table.vue.d.ts → sub-table/panel-repeating-sub-table.vue.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick, omit, merge } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, O as Orientation, Q as LabelPosition, aC as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
6
|
import { B as BaseComponent } from "./BaseComponent-xTm5lvAr.js";
|
|
7
|
-
import { g as getFieldWidget } from "./index
|
|
7
|
+
import { g as getFieldWidget } from "./index-BHIdTmFi.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -17,7 +17,9 @@ class EnumSelect extends BaseComponent {
|
|
|
17
17
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
18
18
|
letterSpace: get(data.info, "iconLabelSpace", 0),
|
|
19
19
|
optionGap: get(data.info, "optionGap", 12),
|
|
20
|
-
size: get(data.info, "fontSize", 12)
|
|
20
|
+
size: get(data.info, "fontSize", 12),
|
|
21
|
+
prefix: get(data.info, "prefix"),
|
|
22
|
+
suffix: get(data.info, "suffix")
|
|
21
23
|
},
|
|
22
24
|
style: this.getCommonStyle(data),
|
|
23
25
|
event: this.getCommonEvent(data),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index
|
|
7
|
+
import { g as getFieldWidget } from "./index-BHIdTmFi.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as PageSizeEnum, m as ComponentTypeEnum, at as ParamModelTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { has, cloneDeep, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -36,6 +36,7 @@ class Paper {
|
|
|
36
36
|
pageHeight,
|
|
37
37
|
pageMargins: data?.padding ?? "12mm 16mm",
|
|
38
38
|
subTableFieldMap: data?.subTableFieldMap ?? [],
|
|
39
|
+
fixedTables: [],
|
|
39
40
|
fixedTableInfoMap: [],
|
|
40
41
|
javascript: data?.javascript ?? "",
|
|
41
42
|
fixedTableLenMap: {},
|
|
@@ -116,6 +117,16 @@ class Paper {
|
|
|
116
117
|
if (has(data, "objectInitialValues")) {
|
|
117
118
|
cmp.props.objectInitialValues = cloneDeep(data.objectInitialValues ?? []);
|
|
118
119
|
}
|
|
120
|
+
if (has(data, "materialDateObjects")) {
|
|
121
|
+
cmp.props.materialDateObjects = cloneDeep(data.materialDateObjects);
|
|
122
|
+
const dateObjects = new Set((data.materialDateObjects ?? []).map((item) => item.objectField));
|
|
123
|
+
cmp.props.objectInitialValues = (cmp.props.objectInitialValues ?? []).filter(
|
|
124
|
+
(item) => !dateObjects.has(item.objectField)
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
if (has(data, "materialDateContext")) {
|
|
128
|
+
cmp.props.materialDateContext = cloneDeep(data.materialDateContext);
|
|
129
|
+
}
|
|
119
130
|
if (has(data, "objectFieldList")) {
|
|
120
131
|
cmp.props.objectFieldList = cloneDeep(
|
|
121
132
|
data.objectFieldList ?? []
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, aC as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, ak as ImageDisplayModeEnum, T as SignatureNumberTypeEnum, V as SignatureTimeTypeEnum, W as SignShowTypeEnum, X as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, ak as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index
|
|
3
|
-
import {
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-BHIdTmFi.js";
|
|
3
|
+
import { m as ComponentTypeEnum, t as CellType, h as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, bM as RangeCompareOp, aL as RangeValidateMode, aC as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -51,7 +51,9 @@ class Trace extends BaseComponent {
|
|
|
51
51
|
displayFields,
|
|
52
52
|
quickSearchable: searchable === void 0 ? true : searchable,
|
|
53
53
|
quickSearchField: searchField,
|
|
54
|
-
quickSearchExp: exp
|
|
54
|
+
quickSearchExp: exp,
|
|
55
|
+
enableCascadeDataFilter: get(data.info, "enableCascadeDataFilter", false),
|
|
56
|
+
deviceGroupId: get(data.info, "deviceGroupId")
|
|
55
57
|
},
|
|
56
58
|
style: this.getCommonStyle(data),
|
|
57
59
|
event: this.getCommonEvent(data),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, O as Orientation, R as BooleanShowMode, Q as LabelPosition, aC as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { g as getFieldWidget } from "./index
|
|
6
|
+
import { g as getFieldWidget } from "./index-BHIdTmFi.js";
|
|
7
7
|
import { B as BaseComponent } from "./BaseComponent-xTm5lvAr.js";
|
|
8
8
|
class Switch extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Switch;
|
|
@@ -20,7 +20,9 @@ class Switch extends BaseComponent {
|
|
|
20
20
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
21
21
|
letterSpace: get(data.info, "iconLabelSpace", 0),
|
|
22
22
|
optionGap: get(data.info, "optionGap", 12),
|
|
23
|
-
size: get(data.info, "fontSize", 12)
|
|
23
|
+
size: get(data.info, "fontSize", 12),
|
|
24
|
+
prefix: get(data.info, "prefix"),
|
|
25
|
+
suffix: get(data.info, "suffix")
|
|
24
26
|
},
|
|
25
27
|
style: this.getCommonStyle(data),
|
|
26
28
|
event: this.getCommonEvent(data),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import {
|
|
2
|
+
import { m as ComponentTypeEnum, aD as DecimalDisplayMode, bM as RangeCompareOp, aL as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H, J, K, N, O, Q, U, B,
|
|
2
|
-
import { O as O2, _, V } from "./version-select
|
|
1
|
+
import { H, J, K, N, O, Q, U, B, l, C, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, y, a7, a8, a9, E, aa, P, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, u } from "./index-BHIdTmFi.js";
|
|
2
|
+
import { O as O2, _, V } from "./version-select--5mTgIzw.js";
|
|
3
3
|
export {
|
|
4
4
|
H as ApaasCollect,
|
|
5
5
|
J as ApaasCollectSheetView,
|
|
@@ -9,7 +9,7 @@ export {
|
|
|
9
9
|
Q as BorderPositionEnum,
|
|
10
10
|
U as BorderPositionOptions,
|
|
11
11
|
B as BwipCodeTypeOptions,
|
|
12
|
-
|
|
12
|
+
l as CellWidgetCategory,
|
|
13
13
|
C as CellWidgetRenderComp,
|
|
14
14
|
W as CodeHelper,
|
|
15
15
|
X as ContextMenu,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
-
import { N as NumberInputEx } from "./number-input-ex-
|
|
2
|
+
import { N as NumberInputEx } from "./number-input-ex-b3jwWBec.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "integer-design",
|
|
5
5
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode, Fragment } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index
|
|
3
|
-
import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-
|
|
2
|
+
import { F as FormItem } from "./index-BHIdTmFi.js";
|
|
3
|
+
import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B51R6Kdt.js";
|
|
4
4
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
5
|
-
import { _ as _export_sfc,
|
|
5
|
+
import { _ as _export_sfc, M as FormTypeEnum, F as FIELD_TYPE, cU as FormDesignEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "ant-design-vue";
|
|
9
|
-
import { V as VersionSelect } from "./version-select
|
|
9
|
+
import { V as VersionSelect } from "./version-select--5mTgIzw.js";
|
|
10
10
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "number-step-counter-editor",
|
|
12
12
|
props: {
|
|
@@ -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-rUy04_I5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "integer-style",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { reactive, inject, provide } from "vue";
|
|
2
|
+
import { w as api, F as FIELD_TYPE, C as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
|
+
class MCRender {
|
|
4
|
+
/**
|
|
5
|
+
* 提示信息
|
|
6
|
+
* @param opts
|
|
7
|
+
*/
|
|
8
|
+
message(opts) {
|
|
9
|
+
throw new Error("Function message not implemented.");
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 已经打开的bom的modal的参数对象
|
|
13
|
+
* @static
|
|
14
|
+
*/
|
|
15
|
+
static bomModalProps;
|
|
16
|
+
async openScanModal(opts) {
|
|
17
|
+
throw new Error("Function openScanModal not implemented.");
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 实际打开UIModal的函数
|
|
21
|
+
*/
|
|
22
|
+
async _openBomModal(reactiveOpts) {
|
|
23
|
+
}
|
|
24
|
+
async openBomModal(opts) {
|
|
25
|
+
if (MCRender.bomModalProps) {
|
|
26
|
+
Object.assign(MCRender.bomModalProps, opts);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
MCRender.bomModalProps = reactive(opts);
|
|
30
|
+
await this._openBomModal(MCRender.bomModalProps);
|
|
31
|
+
console.log("模态关闭");
|
|
32
|
+
MCRender.bomModalProps = void 0;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 打开修改条码解析规则的modal
|
|
36
|
+
* 返回空或者修改后的规则字段id
|
|
37
|
+
* @param opts \
|
|
38
|
+
* - config 回显用的配置对象
|
|
39
|
+
* @return {*}
|
|
40
|
+
*/
|
|
41
|
+
async openChangeRuleModal(opts) {
|
|
42
|
+
throw new Error("Function openChangeRuleModal not implemented.");
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 扫码返回多条候选时,弹窗选择其中一条
|
|
46
|
+
* 取消返回 undefined
|
|
47
|
+
*/
|
|
48
|
+
async openMultiRowsModal(opts) {
|
|
49
|
+
throw new Error("Function openMultiRowsModal not implemented.");
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 销毁所有固定的模态
|
|
53
|
+
*/
|
|
54
|
+
destroyAllModals() {
|
|
55
|
+
throw new Error("Function destroyAllModals not implemented.");
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
class BaseFormModelFetcher {
|
|
59
|
+
/** 默认接口 */
|
|
60
|
+
apis = {
|
|
61
|
+
getFieldMetaList: api.apaas.fieldMeta.getList,
|
|
62
|
+
getModelMetaSubModelList: api.apaas.modelComprehensive.getSubModelList,
|
|
63
|
+
getModelDetail2FieldList: api.apaas.modelMeta.getDetail
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* 模型映射缓存
|
|
67
|
+
*/
|
|
68
|
+
modelMetaMap = {};
|
|
69
|
+
async load(opts) {
|
|
70
|
+
const { model } = opts;
|
|
71
|
+
this.modelMetaMap = {};
|
|
72
|
+
await this.loadModelFields(model);
|
|
73
|
+
await this.loadSubModelsFields(model);
|
|
74
|
+
return Object.values(this.modelMetaMap);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* 补全字段信息
|
|
78
|
+
* @param modelKey 字段所属的模型
|
|
79
|
+
* @param [fields=[]]
|
|
80
|
+
* @return {*}
|
|
81
|
+
*/
|
|
82
|
+
completeFields(modelKey, fields = []) {
|
|
83
|
+
return fields.map((field) => {
|
|
84
|
+
if (!field.modelKey) {
|
|
85
|
+
field.modelKey = modelKey;
|
|
86
|
+
}
|
|
87
|
+
return field;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 根据模型key加载模型字段
|
|
92
|
+
*
|
|
93
|
+
* @param [modelKey=this.model]
|
|
94
|
+
* @return {*}
|
|
95
|
+
*/
|
|
96
|
+
async loadModelFields(modelKey) {
|
|
97
|
+
if (typeof this.apis.getFieldMetaList !== "function") {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const res = await this.apis.getFieldMetaList({
|
|
101
|
+
modelKey
|
|
102
|
+
});
|
|
103
|
+
this.modelMetaMap[modelKey] = {
|
|
104
|
+
key: modelKey,
|
|
105
|
+
name: "",
|
|
106
|
+
fields: this.completeFields(modelKey, res)
|
|
107
|
+
};
|
|
108
|
+
return res;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* 加载表单所有子表字段对应模型的字段信息集合
|
|
112
|
+
*/
|
|
113
|
+
async loadSubModelsFields(modelKey) {
|
|
114
|
+
const res = await this.apis.getModelMetaSubModelList({
|
|
115
|
+
modelKey
|
|
116
|
+
});
|
|
117
|
+
(res ?? []).forEach((m) => {
|
|
118
|
+
if (!this.modelMetaMap[m.key]) {
|
|
119
|
+
this.modelMetaMap[m.key] = {
|
|
120
|
+
key: m.key,
|
|
121
|
+
name: m.name,
|
|
122
|
+
subModel: m.subModel,
|
|
123
|
+
fields: this.completeFields(m.key, m.fieldMetaList)
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
class FormModelController {
|
|
130
|
+
/** 主模型的key */
|
|
131
|
+
masterModelKey;
|
|
132
|
+
/** 主模型的名称 */
|
|
133
|
+
masterModelName;
|
|
134
|
+
/** 模型请求器 */
|
|
135
|
+
fetcher = new BaseFormModelFetcher();
|
|
136
|
+
/** 模型映射缓存 */
|
|
137
|
+
modelMetaMap = reactive({});
|
|
138
|
+
/** 主模型信息 */
|
|
139
|
+
get masterModel() {
|
|
140
|
+
return this.modelMetaMap[this.masterModelKey];
|
|
141
|
+
}
|
|
142
|
+
/** 获取主模型字段集合 */
|
|
143
|
+
get masterFields() {
|
|
144
|
+
return this.masterModel.fields;
|
|
145
|
+
}
|
|
146
|
+
/** 获取子模型 */
|
|
147
|
+
getSubModel(subModelKey) {
|
|
148
|
+
return this.modelMetaMap[subModelKey];
|
|
149
|
+
}
|
|
150
|
+
/** 获取子模型字段集合 */
|
|
151
|
+
getSubModelFields(subModelKey) {
|
|
152
|
+
return this.getSubModel(subModelKey)?.fields;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* 表单字段下拉选项(排除系统字段和子表字段)
|
|
156
|
+
* value 格式为 modelKey.fieldKey,与字段映射存储格式一致
|
|
157
|
+
*/
|
|
158
|
+
getFormFieldOptions(subModelKey) {
|
|
159
|
+
const fields = subModelKey ? this.getSubModelFields(subModelKey) : this.masterModel?.fields;
|
|
160
|
+
return (fields ?? []).filter((field) => !this.isSystemField(field) && !this.isSubField(field)).map((field) => ({
|
|
161
|
+
label: `${field.name}[${field.key}]`,
|
|
162
|
+
value: `${field.modelKey}.${field.key}`
|
|
163
|
+
}));
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* 初始化
|
|
167
|
+
*
|
|
168
|
+
* @param opts
|
|
169
|
+
* - model 主模型key
|
|
170
|
+
* - name 主模型名称
|
|
171
|
+
*/
|
|
172
|
+
async init(opts) {
|
|
173
|
+
this.masterModelKey = opts.model;
|
|
174
|
+
this.masterModelName = opts.name;
|
|
175
|
+
await this.load();
|
|
176
|
+
}
|
|
177
|
+
/** 刷新数据 */
|
|
178
|
+
async refresh() {
|
|
179
|
+
await this.load();
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* 加载数据并填充到modelMetaMap中
|
|
183
|
+
* @protected
|
|
184
|
+
* @return {*}
|
|
185
|
+
*/
|
|
186
|
+
async load() {
|
|
187
|
+
if (!this.masterModelKey) {
|
|
188
|
+
console.error("缺少主模型的key");
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
const models = await this.fetcher.load({ model: this.masterModelKey });
|
|
192
|
+
this.modelMetaMap = models.reduce((acc, cur) => {
|
|
193
|
+
acc[cur.key] = cur;
|
|
194
|
+
if (cur.key === this.masterModelKey) {
|
|
195
|
+
cur.name = this.masterModelName;
|
|
196
|
+
}
|
|
197
|
+
return acc;
|
|
198
|
+
}, {});
|
|
199
|
+
}
|
|
200
|
+
/** 是否是子模型字段 */
|
|
201
|
+
isSubField(field) {
|
|
202
|
+
return field.type === FIELD_TYPE.MASTERSLAVE && field.bindInfo;
|
|
203
|
+
}
|
|
204
|
+
/** 是否是预置字段,包括系统字段和业务内置字段 */
|
|
205
|
+
isPresetField(field) {
|
|
206
|
+
return [CreateType.BUILTIN, CreateType.SYSTEM].includes(field.createType);
|
|
207
|
+
}
|
|
208
|
+
/** 是否是系统字段 */
|
|
209
|
+
isSystemField(field) {
|
|
210
|
+
return field.createType === CreateType.SYSTEM;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* 获取主模型里子表字段对应的子模型key
|
|
214
|
+
*
|
|
215
|
+
* @param fieldKey 子表字段在主表里的字段key
|
|
216
|
+
* @return {*}
|
|
217
|
+
*/
|
|
218
|
+
getSubFieldModelKey(fieldKey) {
|
|
219
|
+
return this.masterFields.find((field) => field.key === fieldKey)?.bindInfo;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* 获取字段信息
|
|
223
|
+
* @param [modelKey=this.masterModelKey] 模型key
|
|
224
|
+
* @param fieldKey 字段key
|
|
225
|
+
* @return {*}
|
|
226
|
+
*/
|
|
227
|
+
findField(modelKey = this.masterModelKey, fieldKey) {
|
|
228
|
+
const model = this.modelMetaMap[modelKey];
|
|
229
|
+
if (!model) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
return model.fields.find((field) => field.key === fieldKey);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
const FormModelControllerKey = "GctFormModelController";
|
|
236
|
+
function useFormModel() {
|
|
237
|
+
function provideController(c = new FormModelController()) {
|
|
238
|
+
provide(FormModelControllerKey, c);
|
|
239
|
+
return c;
|
|
240
|
+
}
|
|
241
|
+
function injectController() {
|
|
242
|
+
return inject(FormModelControllerKey);
|
|
243
|
+
}
|
|
244
|
+
return {
|
|
245
|
+
provideController,
|
|
246
|
+
injectController
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
class MBRender {
|
|
250
|
+
async openConsumeModal(data) {
|
|
251
|
+
throw new Error("Function openConsumeModal not implemented.");
|
|
252
|
+
}
|
|
253
|
+
async destoryConsumeModal() {
|
|
254
|
+
throw new Error("Function destoryConsumeModal not implemented.");
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
export {
|
|
258
|
+
BaseFormModelFetcher as B,
|
|
259
|
+
FormModelController as F,
|
|
260
|
+
MBRender as M,
|
|
261
|
+
MCRender as a,
|
|
262
|
+
useFormModel as u
|
|
263
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, createSlots, withCtx, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
3
|
import { isNil } from "lodash-es";
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "number-input-ex",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index
|
|
3
|
-
import {
|
|
2
|
+
import { F as FormItem } from "./index-BHIdTmFi.js";
|
|
3
|
+
import { bI as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-rUy04_I5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "org-style",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { s as calcText } from "./index
|
|
6
|
+
import { s as calcText } from "./index-BHIdTmFi.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, p as loadBwip } from "./index
|
|
2
|
+
import { B as BwipCodeTypeOptions, p as loadBwip } from "./index-BHIdTmFi.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch, toRefs, reactive, toRaw, defineComponent, ref, computed, createVNode, createTextVNode, Fragment, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, toDisplayString, createCommentVNode, mergeProps, createApp, onMounted, normalizeClass, withDirectives, vShow, h } from "vue";
|
|
2
|
-
import { D as DownOutlined, r as registerDialogComp, u as useModelFields, F as FormItem,
|
|
2
|
+
import { D as DownOutlined, r as registerDialogComp, u as useModelFields, F as FormItem, m as SEARCH_TYPE, j as draggableComponent, t as transformMappingField4Auto } from "./index-BHIdTmFi.js";
|
|
3
3
|
import { Cascader, Tooltip, Input, Empty, Tree, Transfer, Select, Tag } from "ant-design-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { w as api, F as FIELD_TYPE, C as CreateType, $ as FieldIconMap, _ as _export_sfc, k as FIELD_TYPE_TRACE, d as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
5
5
|
import { cloneDeep, has, isEmpty, pick, isBoolean } from "lodash-es";
|
|
6
6
|
import { useModal } from "@gct-paas/core";
|
|
7
7
|
const DEFAULT_DISPLAY_FIELDS_MAP = {
|
|
@@ -1596,7 +1596,7 @@ const DEFAULT_SEARCHABLE_FIELDS = [
|
|
|
1596
1596
|
FIELD_TYPE.MATERIAL_NO,
|
|
1597
1597
|
FIELD_TYPE.RELATED_LOT_NO,
|
|
1598
1598
|
FIELD_TYPE.SCRAP_MATERIAL_NO,
|
|
1599
|
-
FIELD_TYPE.
|
|
1599
|
+
FIELD_TYPE.MATERIAL_CONTAINER
|
|
1600
1600
|
];
|
|
1601
1601
|
const SEARCHABLE_FIELDS = [
|
|
1602
1602
|
...DEFAULT_SEARCHABLE_FIELDS,
|
|
@@ -1610,13 +1610,14 @@ const SEARCHABLE_FIELDS = [
|
|
|
1610
1610
|
FIELD_TYPE.SHOPFLOOR,
|
|
1611
1611
|
FIELD_TYPE.MODEL_RELATION,
|
|
1612
1612
|
FIELD_TYPE.WAREHOUSE,
|
|
1613
|
-
FIELD_TYPE.
|
|
1613
|
+
FIELD_TYPE.PRODUCTION_CONTAINER,
|
|
1614
|
+
FIELD_TYPE.STERILIZATION_CONTAINER,
|
|
1614
1615
|
FIELD_TYPE.STERILIZE_BATCH
|
|
1615
1616
|
];
|
|
1616
1617
|
const getRealFieldType = (fieldMeta) => {
|
|
1617
1618
|
const { fieldType, bizType } = fieldMeta;
|
|
1618
|
-
if (bizType === FIELD_TYPE_TRACE.
|
|
1619
|
-
return FIELD_TYPE.
|
|
1619
|
+
if (bizType === FIELD_TYPE_TRACE.STERILIZATION_CONTAINER) {
|
|
1620
|
+
return FIELD_TYPE.STERILIZATION_CONTAINER;
|
|
1620
1621
|
}
|
|
1621
1622
|
return fieldType;
|
|
1622
1623
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
2
|
+
import { w as api, F as FIELD_TYPE$1, cN as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js";
|
|
3
|
+
import { m as SEARCH_TYPE, u as useModelFields, F as FormItem, n as IconTooltip } from "./index-BHIdTmFi.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DXDYy7g2.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
7
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-rUy04_I5.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|