@gct-paas/excel 0.1.28-beta.9 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-yoXj5Q9c.js → BaseComponent-9YPaGJfR.js} +3 -1
- package/dist/{VueVideoPlayer-DnxMrbso.js → VueVideoPlayer-DDUZu4FR.js} +2 -2
- package/dist/{align-editor-B4gydK1M.js → align-editor-aEWznFoT.js} +1 -1
- package/dist/{barcode-design-Cid0MzDI.js → barcode-design-BxpkeU3s.js} +2 -2
- package/dist/base/index.es.js +718 -466
- package/dist/{diagonal-design-C1ZotzUS.js → diagonal-design-TclIHJPn.js} +2 -2
- package/dist/{dynamic-table-action-C1o2TjqX.js → dynamic-table-action-DmQ4nVdA.js} +825 -216
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D8HQKSsX.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BviS9x-o.js} +2457 -757
- package/dist/{edit.utils-CXmmCnxE-DEOcuCns.js → edit.utils-CXmmCnxE-pmY90xaE.js} +1 -1
- package/dist/excel.css +20939 -21654
- package/dist/{exceljs.min-DHw6Xo0Z.js → exceljs.min-DMs_Il25.js} +2 -2
- package/dist/{font-editor-BMzWHu2P.js → font-editor-Jk202Wfw.js} +3 -3
- package/dist/{image-design-Cv7Md3br.js → image-design-CV8ivT4U.js} +3 -2
- package/dist/index-56SEKe0q.js +56 -0
- package/dist/{index-ClwYjOaz.js → index-B94zjbXB.js} +2 -2
- package/dist/{index-DCyS2gPu.js → index-B9hn-Xpy.js} +62 -261
- package/dist/{index-CTfI5z2v.js → index-BI1w0HuA.js} +2 -2
- package/dist/{index-DYJ2NY6r.js → index-BIyoFjsu.js} +1 -1
- package/dist/{index-Cf0HUPLj.js → index-BNdFxtuu.js} +2 -2
- package/dist/index-BR3okRzi.js +26 -0
- package/dist/{index-B_rAitke.js → index-BVy2F-LZ.js} +2 -2
- package/dist/{index-CDLpl1vT.js → index-BWSh7ft6.js} +57467 -75573
- package/dist/{index-BQLH_u5E.js → index-BgUSwNSn.js} +1 -1
- package/dist/{index-DVknMcoI.js → index-BzNleuvF.js} +8 -5
- package/dist/{index-BC7ZPYu4.js → index-CJgeCzTz.js} +4 -7
- package/dist/{index-KJIuf63z.js → index-CM0bDadW.js} +3 -3
- package/dist/{index-DYPfKE_B.js → index-Co8dy8tY.js} +2 -2
- package/dist/{index-Ca8Vr4hp.js → index-CslB9Mj3.js} +3 -3
- package/dist/{index-B2oEU1dw.js → index-D3RlguP-.js} +2 -2
- package/dist/{index-De0lJXBW.js → index-DAokF2RK.js} +2 -2
- package/dist/{index-B_qNr-yz.js → index-DUomn6r4.js} +2 -2
- package/dist/{index-DGF9F0hk.js → index-DVBGDVN0.js} +2 -2
- package/dist/{index-DLhVj92F.js → index-DVCumM_5.js} +2 -2
- package/dist/{index-DHCfwj7L.js → index-DX2S50Jz.js} +1 -1
- package/dist/{index-b03O87gX.js → index-DXutPZQB.js} +1 -1
- package/dist/{index-BMaOAtO5.js → index-DXvugQoP.js} +2 -2
- package/dist/{index-t_DIs_9d.js → index-DmLngOvC.js} +2 -2
- package/dist/{index-EGCBxJ5U.js → index-Dxiaj_9W.js} +2 -2
- package/dist/{index-CB2KdECV.js → index-DzZ4dTHg.js} +2 -2
- package/dist/index-P-QlF0da.js +26 -0
- package/dist/{index-BNW93hpM.js → index-RHv1ncwn.js} +1 -1
- package/dist/{index-Bi8eFVNQ.js → index-eaPQQt2I.js} +1 -1
- package/dist/{index-DPHsObDL.js → index-iCBdHXeT.js} +2 -2
- package/dist/{index-D4SRGG7R.js → index-kZ3vhOMA.js} +2 -2
- package/dist/{index-yee5hcWj.js → index-q0gBBMoc.js} +2 -2
- package/dist/{index--m7aMhTe.js → index-s7YNVpgF.js} +1 -1
- package/dist/{index-DWd__rfX.js → index-zuExIXWU.js} +1 -1
- package/dist/index.es.js +49 -47
- package/dist/{mb-render-DNA0sAdk.js → mb-render-BBRR_byl.js} +3 -3
- package/dist/{version-select-Dt0iT2ZE.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BGrVMSEF.js} +418 -421
- package/dist/{pagination-design-a-8WGmGL.js → pagination-design-DWvn4UrB.js} +2 -2
- package/dist/paper-widget-design-DZ7tF6Rn.js +4 -0
- package/dist/{qrcode-design-CWa7ucIf.js → qrcode-design-yLHw_1Hb.js} +1 -1
- package/dist/{revo-grid.entry-D7L9YPVS.js → revo-grid.entry-DW8yYngF.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Cp0OE2PX.js → revogr-attribution_7.entry-WnSOjAfL.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CcGTw0f4.js → revogr-clipboard_3.entry-5f1ZtJWy.js} +2 -2
- package/dist/{revogr-data_4.entry-Bh7oCpj9.js → revogr-data_4.entry-BwcXhOPY.js} +2 -2
- package/dist/{revogr-filter-panel.entry-OJyr7l1E.js → revogr-filter-panel.entry-CXpo_Btw.js} +1 -1
- package/dist/{serialnumber-design-BDTeHe2C.js → serialnumber-design-CYdELIDU.js} +1 -1
- package/dist/shared/index.es.js +25 -30
- package/dist/{single-field-drop-C-IeYaFA.js → single-field-drop-hAnlTOzR.js} +2 -2
- package/dist/{size-editor-Ibjf73lo.js → size-editor-Dr3sVcUl.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +36 -0
- package/dist/src/adapter/setup.d.ts +18 -12
- package/dist/src/domain/field/auto-complete/material-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/related-lot-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/scrap-material-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/auto-complete/sterilization-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/date-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/production-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/re-inspection-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-end-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/report-start-time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/time-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/trace-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/validity-manifest.d.ts +2 -0
- package/dist/src/domain/field/date/warehouse-receipt-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/index.d.ts +9 -0
- package/dist/src/domain/field/number/decimal-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/destructive-test-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/double-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/integer-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/long-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/material-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/not-good-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/of-inst-num-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-output-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/product-check-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/production-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-consumed-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/qty-required-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/scrap-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/work-hours-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/boolean-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/enum-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-manifest.d.ts +2 -0
- package/dist/src/domain/field/option/option-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/e-sop-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/product-manifest.d.ts +2 -0
- package/dist/src/domain/field/rdo-select/scrap-material-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/device-ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/location-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/mfg-order-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/model-relation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/not-good-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/operation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/org-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/production-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/ref-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/routing-operation-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-group-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/scrap-reason-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/shopfloor-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/target-warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/user-multi-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/warehouse-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/e-sop-version-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/external-reference-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/long-text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/order-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/record-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/text-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/warehouse-receipt-no-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +18 -0
- package/dist/src/domain/field/upload/attachment-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/image-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/reporter-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/signature-manifest.d.ts +2 -0
- package/dist/src/domain/field/upload/warehouse-manager-manifest.d.ts +2 -0
- package/dist/src/domain/index.d.ts +1 -0
- package/dist/src/domain/object/date-object/index.d.ts +5 -0
- package/dist/src/domain/object/date-object/profile/field-keys.d.ts +19 -0
- package/dist/src/domain/object/date-object/profile/fields.d.ts +2 -0
- package/dist/src/domain/object/date-object/profile/index.d.ts +3 -0
- package/dist/src/domain/object/date-object/runtime/date-object-context.d.ts +30 -0
- package/dist/src/domain/object/date-object/runtime/date-object-runtime.d.ts +43 -0
- package/dist/src/domain/object/date-object/runtime/fetch-records.d.ts +13 -0
- package/dist/src/domain/object/date-object/runtime/object-handlers.d.ts +4 -0
- package/dist/src/domain/object/date-object/runtime/re-inspection-date.d.ts +25 -0
- package/dist/src/domain/object/date-object/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/object/date-object/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/object/date-object/runtime/utils.d.ts +13 -0
- package/dist/src/domain/object/date-object/types.d.ts +53 -0
- package/dist/src/domain/object/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/shared/eqm-part-api.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +40 -3
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +9 -1
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +17 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +14 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +17 -34
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/types.d.ts +20 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +14 -0
- package/dist/src/domain/table/design/panel-features.d.ts +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +3 -1
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +2 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +5 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +42 -2
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +11 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/scan-helpers.d.ts +13 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/stocktake-calc.d.ts +3 -1
- package/dist/src/nocode-base/src/core/sub-table/warehouse-in-table-core.d.ts +15 -0
- package/dist/src/nocode-base/src/core/sub-table/warehouse-out-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/date-object/use-date-object.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +3 -4
- package/dist/src/nocode-base/src/hooks/device-link/types.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +20 -6
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +34 -19
- package/dist/src/nocode-base/src/hooks/material-consume/service.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +1 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +49 -8
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +35 -0
- package/dist/src/nocode-base/src/hooks/operation-receive-qty.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/useStyles.d.ts +2 -2
- package/dist/src/nocode-base/src/interface/device-query.d.ts +40 -0
- package/dist/src/nocode-base/src/interface/index.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/render.d.ts +11 -0
- package/dist/src/nocode-base/src/interface/transform.d.ts +1 -1
- package/dist/src/nocode-base/src/types/business/index.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/pretreatment-list.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/sterilize-batch.d.ts +3 -1
- package/dist/src/nocode-base/src/types/business/stocktake.d.ts +5 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +8 -0
- package/dist/src/nocode-base/src/types/fields/i-select.d.ts +13 -1
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +6 -6
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -8
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields-editor.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/field-config-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search-editor.vue.d.ts +1 -4
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +12 -10
- package/dist/src/online-form/src/views/__cell_widgets__/common/ref-autofill-editor/autofill-field-utils.d.ts +10 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-input.vue.d.ts +13 -0
- package/dist/src/{nocode-web-render/src/render/sub-table/stocktake/scan-modal.vue.d.ts → online-form/src/views/__cell_widgets__/fake-field/fake-number-input.vue.d.ts} +7 -1
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-select.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/index.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/field-design-components.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/index.d.ts +0 -3
- package/dist/src/online-form/src/views/__cell_widgets__/widget-panel-map.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +5 -6
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +80 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +110 -3
- package/dist/src/online-form/src/views/designer/modules/base/drag-box.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor.vue.d.ts +6 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +58 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-entry-editor.vue.d.ts +2 -1
- package/dist/src/online-form/src/views/designer/modules/toolkit/model-field/add-field-btn.vue.d.ts +1 -3
- package/dist/src/online-form/src/views/designer/utils/cell-content-style.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/utils/field-type-label.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component-visible.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +34 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.d.ts +5 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +40 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-text-input.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/index.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/use-select-list-height.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/trace-like-wrapper.d.ts +26 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/auto-complete/index.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/{trace → rdo-select}/index.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/usePopoverWrapperHeight.d.ts +11 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/columns.d.ts +13 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +3 -3
- package/dist/src/shared/components/FieldStateIcon/field-state-icon.vue.d.ts +17 -0
- package/dist/src/shared/components/FieldStateIcon/index.d.ts +3 -0
- package/dist/src/shared/components/Preview/src/Functional.vue.d.ts +1 -1
- package/dist/src/shared/components/Signature/index.d.ts +2 -1
- package/dist/src/shared/components/Signature/types/index.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/handwriting-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +1 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +122 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +4 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -0
- package/dist/src/shared/components/registerGlobComp.d.ts +5 -0
- package/dist/src/shared/enum/field-type.d.ts +39 -284
- package/dist/src/shared/enum/index.d.ts +1 -1
- package/dist/src/shared/utils/field-size.d.ts +3 -0
- package/dist/src/shared/utils/lot2sn.d.ts +22 -0
- package/dist/{text-design-B1eX7Rp1.js → text-design-B9BH6_VT.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-kodOPzL5.js → throttle-Cpk1LoGk-Dkz6zJ8F.js} +1 -1
- package/dist/{timediff-design-CoDU15y8.js → timediff-design-INgy9LDa.js} +1 -1
- package/dist/trace-like-wrapper-B-PzUZAG.js +34 -0
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-ey1VNCHV.js → value-editor.vue_vue_type_style_index_0_lang-BSGmjBMz.js} +2 -2
- package/dist/web-render/index.es.js +118 -17
- package/dist/{widget-barcode-DAxib6qS.js → widget-barcode-su16tQ64.js} +4 -4
- package/dist/{widget-diagonal-BLo6XT0t.js → widget-diagonal-Dl3D3MJK.js} +5 -7
- package/dist/{widget-image-D_1erLrE.js → widget-image-C3143nmQ.js} +6 -5
- package/dist/{widget-line-BwnSq4--.js → widget-line-B3FO96uu.js} +4 -4
- package/dist/{widget-pagination-DZMwe14i.js → widget-pagination-Su-wNAqe.js} +5 -5
- package/dist/{widget-power-DfV-8moi.js → widget-power-DLbxegjB.js} +3 -3
- package/dist/{widget-qrcode-C3yTAHOn.js → widget-qrcode-BC2Eyf9h.js} +3 -3
- package/dist/{widget-rangelimit-DK8hANd1.js → widget-rangelimit-iuZswyH3.js} +3 -3
- package/dist/{widget-serialnumber-B2pkh6KT.js → widget-serialnumber-BqZm6cQQ.js} +1 -1
- package/dist/{widget-text-98SaLOpt.js → widget-text-DSAv-liE.js} +5 -5
- package/dist/{widget-timediff-OD7HVoVr.js → widget-timediff-CD8Jrx8s.js} +2 -2
- package/package.json +16 -6
- package/dist/agg-design-BO3eBkol.js +0 -24
- package/dist/agg-props-DEXapyb8.js +0 -10
- package/dist/agg-style-CDLpFoBn.js +0 -33
- package/dist/attach-fields-editor-DXh9f5iy.js +0 -116
- package/dist/base-font-editor-Ccv90UWY.js +0 -179
- package/dist/boolean-design-D1BIjOGz.js +0 -124
- package/dist/boolean-props-Cqb1zZfy.js +0 -155
- package/dist/boolean-style-C2uaO_Ei.js +0 -108
- package/dist/cell-upload-xzz2ufK7.js +0 -35
- package/dist/date-range-editor-D0SCmmS0.js +0 -472
- package/dist/date-time-design-pv0mRSgV.js +0 -64
- package/dist/date-time-props-B0YQO-ig.js +0 -105
- package/dist/date-time-style-Dn4TErcH.js +0 -33
- package/dist/decimal-design-BMKikWwr.js +0 -29
- package/dist/decimal-display-mode-BLrn-r-H.js +0 -60
- package/dist/decimal-props-BXVnDByV.js +0 -313
- package/dist/decimal-style-C5hB5sv6.js +0 -33
- package/dist/default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-LcZ8lvPF.js +0 -370
- package/dist/double-design-5yOxs5xB.js +0 -28
- package/dist/double-props-CQ9yBXNl.js +0 -91
- package/dist/double-style-C01aPXrT.js +0 -33
- package/dist/enum-design-DewhmfeF.js +0 -97
- package/dist/enum-props-0ECHvFUr.js +0 -734
- package/dist/enum-style-fm5Ap8eG.js +0 -76
- package/dist/expression-design-BY6oI5EW.js +0 -24
- package/dist/expression-props-3OvDgw-p.js +0 -10
- package/dist/expression-style-Hhv8wnAe.js +0 -33
- package/dist/file-design-QE5qUMix.js +0 -17
- package/dist/file-props-CEGee5yo.js +0 -201
- package/dist/file-style-65tfxL94.js +0 -9
- package/dist/image-design-BoQOLCEL.js +0 -23
- package/dist/image-props-GuHBNt9S.js +0 -16
- package/dist/image-style-BLQukPqV.js +0 -9
- package/dist/index-CBYXYocJ.js +0 -40
- package/dist/index-DI8vltuS.js +0 -68
- package/dist/integer-design-C8kRP1tV.js +0 -28
- package/dist/integer-props-XICS-8Qt.js +0 -162
- package/dist/integer-style-BstrlNJp.js +0 -33
- package/dist/number-input-ex-BjIp4mym.js +0 -69
- package/dist/org-design-DWZI8xev.js +0 -24
- package/dist/org-props-0CY6-hLS.js +0 -96
- package/dist/org-style-HDV7obSe.js +0 -33
- package/dist/paper-widget-design-CT80i7VR.js +0 -4
- package/dist/ref-autofill-editor-CObqr_xh.js +0 -2376
- package/dist/ref-design-BQ8o1gKm.js +0 -24
- package/dist/ref-props-xjVvnvGW.js +0 -348
- package/dist/ref-style-MZ52QRhu.js +0 -33
- package/dist/regex-editor-BctX8jdd.js +0 -823
- package/dist/select-render-type-editor.vue_vue_type_script_setup_true_lang-CONYLCmt.js +0 -159
- package/dist/signature-design-CFOFAaEu.js +0 -20
- package/dist/signature-props-N6ng9rqg.js +0 -346
- package/dist/signature-style-D2QQrgMT.js +0 -9
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +0 -44
- package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +0 -2
- package/dist/text-design-CCs-p8Y3.js +0 -39
- package/dist/text-props-C6-s7LBP.js +0 -447
- package/dist/text-style-OUxV8LDu.js +0 -33
- package/dist/trace-design-Bhg0EIyC.js +0 -77
- package/dist/trace-props-DVekq4wE.js +0 -624
- package/dist/trace-style-CfSu__TO.js +0 -33
- package/dist/user-design-fMF_h4IG.js +0 -24
- package/dist/user-props-BGjEpC4j.js +0 -103
- package/dist/user-style-RUHIGWFF.js +0 -33
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/** 设备状态(enu_device_status) */
|
|
2
|
+
export declare const DeviceStatus: {
|
|
3
|
+
/** 使用中 */
|
|
4
|
+
readonly IN_USE: "state_device_in_use";
|
|
5
|
+
/** 维修中 */
|
|
6
|
+
readonly REPAIRING: "REPAIRING";
|
|
7
|
+
/** 保养中 */
|
|
8
|
+
readonly MAINTAINING: "MAINTAINING";
|
|
9
|
+
/** 点检中 */
|
|
10
|
+
readonly INSPECTING: "INSPECTING";
|
|
11
|
+
/** 校准中 */
|
|
12
|
+
readonly CALIBRATING: "CALIBRATING";
|
|
13
|
+
/** 验证中 */
|
|
14
|
+
readonly VERIFYING: "VERIFYING";
|
|
15
|
+
/** 备用 */
|
|
16
|
+
readonly STANDBY: "STANDBY";
|
|
17
|
+
/** 停用 */
|
|
18
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
19
|
+
/** 报废 */
|
|
20
|
+
readonly SCRAPPED: "SCRAPPED";
|
|
21
|
+
};
|
|
22
|
+
export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
|
|
23
|
+
/** 填报设备下拉 / 扫码查询 */
|
|
24
|
+
export declare const DEVICE_SEARCH_API: {
|
|
25
|
+
modelCategory: string;
|
|
26
|
+
modelKey: string;
|
|
27
|
+
bsKey: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const DEVICE_GROUP_QUERY_KEY = "device_group_id_";
|
|
30
|
+
/**
|
|
31
|
+
* 设备可选过滤:使用中 +(校准有效期未过 OR 无校准日期)。
|
|
32
|
+
* `__orExpKeys` 供 buildDeviceFilterQuery 把校准两条件做成 OR。
|
|
33
|
+
* 设备组不要放进 extraQuery。
|
|
34
|
+
*/
|
|
35
|
+
export declare function buildDeviceBaseQuery(extraQuery?: Record<string, any>): Record<string, any>;
|
|
36
|
+
/** 设备下拉:条件与 ref 相同;device_group_id_ 只进 query,不进 exp。 */
|
|
37
|
+
export declare function buildDeviceFilterQuery(extraQuery?: Record<string, any>): {
|
|
38
|
+
queryData: Record<string, any>;
|
|
39
|
+
exp: string;
|
|
40
|
+
};
|
|
@@ -6,10 +6,11 @@ export type { ICheckDsFetchResult, ICheckDsTableFetchResult } from './check-ds-d
|
|
|
6
6
|
export { hasAnyCheckTableSnapshot, hasByTableCheckTableSnapshot, hasSharedCheckTableSnapshot, parseFrontConfig, } from './front-config';
|
|
7
7
|
export type { ICheckTableConfig, IFrontConfig } from './front-config';
|
|
8
8
|
export { renderUtils } from './render';
|
|
9
|
+
export { buildDeviceBaseQuery, buildDeviceFilterQuery, DEVICE_GROUP_QUERY_KEY, DEVICE_SEARCH_API, DeviceStatus, } from './device-query';
|
|
9
10
|
export { CodeRunner } from './code-runner';
|
|
10
11
|
export { sqlUtils } from './sql';
|
|
11
12
|
export { jsonSchemaUtils } from './json-schema';
|
|
12
13
|
export { refUtils } from './ref';
|
|
13
14
|
export type { RefCustomLoader, RefCustomLoaderParams, RefCustomLoaderRawResult, RefLoaderMode, RefLoaderNormalizedResult, } from './ref-loader';
|
|
14
15
|
export { extractKeywordFromQueryData, normalizeRefLoaderResult } from './ref-loader';
|
|
15
|
-
export { commonUtils, useOnlineFormActionButton, useOnlineFormTransformField2Component, } from './util';
|
|
16
|
+
export { commonUtils, useOnlineFormActionButton, useOnlineFormTransformField2Component, resolveFieldRenderComponent, } from './util';
|
|
@@ -50,6 +50,16 @@ export declare const renderUtils: {
|
|
|
50
50
|
finished: any;
|
|
51
51
|
totalCount: any;
|
|
52
52
|
}>;
|
|
53
|
+
requestDeviceOptions: (params: any) => Promise<{
|
|
54
|
+
options: {
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
label: any;
|
|
57
|
+
value: any;
|
|
58
|
+
_item: any;
|
|
59
|
+
}[];
|
|
60
|
+
finished: any;
|
|
61
|
+
totalCount: any;
|
|
62
|
+
}>;
|
|
53
63
|
formatValue: (fieldType: any, value: any) => any;
|
|
54
64
|
/** 获取流程字段权限map */
|
|
55
65
|
getBpmnFieldAuthMap: (list: any) => {
|
|
@@ -68,6 +78,7 @@ export declare const renderUtils: {
|
|
|
68
78
|
modelKeyList: unknown[];
|
|
69
79
|
useDefaultValueFields: unknown[];
|
|
70
80
|
useAppendixFields: unknown[];
|
|
81
|
+
useSignatureFields: unknown[];
|
|
71
82
|
useSignFields: unknown[];
|
|
72
83
|
tdIdGroups: Map<any, any>;
|
|
73
84
|
useClsReasonDataLink: string[];
|
|
@@ -139,6 +139,6 @@ export declare const transformUtils: {
|
|
|
139
139
|
};
|
|
140
140
|
/** 数据转成真实提交数据(二维表要平铺) */
|
|
141
141
|
getSubmitFormData: (formData: any, paper: IPaper) => Partial<{}>;
|
|
142
|
-
getFormDataIdsMap: (formData: any) => any;
|
|
142
|
+
getFormDataIdsMap: (formData: any, preserveKeys?: string[]) => any;
|
|
143
143
|
};
|
|
144
144
|
export {};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { IStocktakeConfig } from './stocktake';
|
|
2
2
|
import { ISterilizeBatchConfig } from './sterilize-batch';
|
|
3
3
|
import { IPretreatmentListConfig } from './pretreatment-list';
|
|
4
|
-
import { ParseRuleProps } from '../common/base';
|
|
4
|
+
import { ParseRuleProps, ScanParamType } from '../common/base';
|
|
5
5
|
/** 通用业务表扫码配置(入库/出库/调拨等) */
|
|
6
6
|
export interface IBusinessScanConfig {
|
|
7
7
|
table_key_?: string;
|
|
8
8
|
/** 库存自动加载(盘点) */
|
|
9
9
|
autoLoadStock?: boolean;
|
|
10
10
|
barcodeParsingRules?: ParseRuleProps;
|
|
11
|
+
disableBarcodeParsing?: boolean;
|
|
12
|
+
scanParamType?: ScanParamType;
|
|
11
13
|
}
|
|
12
14
|
export type IBizTableConfig = IStocktakeConfig | ISterilizeBatchConfig | IPretreatmentListConfig | IBusinessScanConfig;
|
|
13
15
|
export * from './allocate';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ParseRuleProps } from '../common/base';
|
|
1
|
+
import { ParseRuleProps, ScanParamType } from '../common/base';
|
|
2
2
|
/** 预处理表业务配置 */
|
|
3
3
|
export interface IPretreatmentListConfig {
|
|
4
4
|
/** 表单里业务表的 id */
|
|
5
5
|
table_key_: string;
|
|
6
6
|
/** 条码解析规则 */
|
|
7
7
|
barcodeParsingRules?: ParseRuleProps;
|
|
8
|
+
disableBarcodeParsing?: boolean;
|
|
9
|
+
scanParamType?: ScanParamType;
|
|
8
10
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ParseRuleProps } from '../common/base';
|
|
1
|
+
import { ParseRuleProps, ScanParamType } from '../common/base';
|
|
2
2
|
/** 委托灭菌生产批次列表业务配置 */
|
|
3
3
|
export interface ISterilizeBatchConfig {
|
|
4
4
|
/** 表单里业务表的 id */
|
|
5
5
|
table_key_: string;
|
|
6
6
|
/** 条码解析规则 */
|
|
7
7
|
barcodeParsingRules?: ParseRuleProps;
|
|
8
|
+
disableBarcodeParsing?: boolean;
|
|
9
|
+
scanParamType?: ScanParamType;
|
|
8
10
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { ParseRuleProps } from '../common/base';
|
|
1
|
+
import { ParseRuleProps, ScanParamType } from '../common/base';
|
|
2
2
|
/** 盘点表业务配置 */
|
|
3
3
|
export interface IStocktakeConfig {
|
|
4
4
|
/** 表单里物料消耗表的id */
|
|
5
5
|
table_key_: string;
|
|
6
6
|
/** 库存自动加载 */
|
|
7
7
|
autoLoadStock?: boolean;
|
|
8
|
+
/** 盘点维度:按仓库汇总 / 按库位精细 */
|
|
9
|
+
stocktakeDimension?: 'warehouse_summary' | 'location_detail';
|
|
8
10
|
/** 条码解析规则 */
|
|
9
11
|
barcodeParsingRules?: ParseRuleProps;
|
|
12
|
+
disableBarcodeParsing?: boolean;
|
|
13
|
+
scanParamType?: ScanParamType;
|
|
10
14
|
}
|
|
@@ -304,6 +304,10 @@ export interface IBasicInfoItem {
|
|
|
304
304
|
validatorLocationList: Array<string>;
|
|
305
305
|
/** 校验字段错误信息集合 */
|
|
306
306
|
validatorMessageMap: Record<string, any>;
|
|
307
|
+
/** 物料消耗表行级校验坐标(与 form live/display 合并隔离) */
|
|
308
|
+
mcValidatorLocationList?: Array<string>;
|
|
309
|
+
/** 物料消耗表行级校验错误 */
|
|
310
|
+
mcValidatorMessageMap?: Record<string, any[]>;
|
|
307
311
|
/** 移动端使用 tdId集合 */
|
|
308
312
|
mobileTdIdGroups: Map<any, any>;
|
|
309
313
|
/** 移动端选中的tdId */
|
|
@@ -316,6 +320,10 @@ export interface IBasicInfoItem {
|
|
|
316
320
|
__isPrintRender?: boolean;
|
|
317
321
|
/** 打印时是否显示字段控件底色 */
|
|
318
322
|
showPrintFieldBg?: boolean;
|
|
323
|
+
/** 填报入参(selfInfo.params + paramExtraProps) */
|
|
324
|
+
paramsConfig?: Record<string, any>;
|
|
325
|
+
/** 实例状态 */
|
|
326
|
+
instanceStatus?: string;
|
|
319
327
|
}
|
|
320
328
|
export interface ICellBorder {
|
|
321
329
|
left?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseCoreComponent } from '../common/base';
|
|
1
|
+
import { BaseCoreComponent, ParseRuleProps } from '../common/base';
|
|
2
2
|
export interface ISelectProps extends BaseCoreComponent.FieldBasicProps {
|
|
3
3
|
/** options内容 */
|
|
4
4
|
optionsJson?: string;
|
|
@@ -24,6 +24,18 @@ export interface ISelectProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
24
24
|
/** 快速搜索 */
|
|
25
25
|
quickSearchField?: string[];
|
|
26
26
|
quickSearchExp?: string;
|
|
27
|
+
/** 是否启用关联过滤 */
|
|
28
|
+
enableAssocFilter?: boolean;
|
|
29
|
+
/** 关联过滤源字段 key;子表字段为 `subFieldKey.fieldKey` */
|
|
30
|
+
assocFilterSourceField?: string;
|
|
31
|
+
/** 关联过滤源字段类型 */
|
|
32
|
+
assocFilterSourceFieldType?: string;
|
|
33
|
+
/** 条码解析规则配置 */
|
|
34
|
+
parseRuleProps?: ParseRuleProps;
|
|
35
|
+
/** 是否开启设备组级联数据过滤 */
|
|
36
|
+
enableCascadeDataFilter?: boolean;
|
|
37
|
+
/** 限制设备字段可选择的设备组 */
|
|
38
|
+
deviceGroupId?: string;
|
|
27
39
|
}
|
|
28
40
|
export interface ISelect extends BaseCoreComponent.BasicSchema {
|
|
29
41
|
props: ISelectProps;
|
|
@@ -10,17 +10,17 @@ export interface ITraceProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
10
10
|
/** 正则校验提示文案 */
|
|
11
11
|
regexHint?: string;
|
|
12
12
|
/** 组件类型 */
|
|
13
|
-
bindCompStyleType
|
|
13
|
+
bindCompStyleType?: BindCmpStyleEnum;
|
|
14
14
|
/**组件类型 */
|
|
15
|
-
dateType
|
|
15
|
+
dateType?: 'YYYY' | 'YYYY-MM' | 'YYYY-MM-DD';
|
|
16
16
|
/** 分割符 */
|
|
17
|
-
separator
|
|
17
|
+
separator?: string;
|
|
18
18
|
/** 日期类型 */
|
|
19
|
-
format
|
|
19
|
+
format?: string;
|
|
20
20
|
/**是否启用自定义格式化 */
|
|
21
|
-
enableCustomFormat
|
|
21
|
+
enableCustomFormat?: boolean;
|
|
22
22
|
/** 自定义格式化字符串 */
|
|
23
|
-
customFormat
|
|
23
|
+
customFormat?: string;
|
|
24
24
|
/**默认系统日期 */
|
|
25
25
|
defaultSysDate?: boolean;
|
|
26
26
|
/** 自动填充 */
|
|
@@ -32,20 +32,16 @@ export interface IPaperProps {
|
|
|
32
32
|
customDataSource: Array<any>;
|
|
33
33
|
/** Object initialization */
|
|
34
34
|
objectInitialValues: Array<any>;
|
|
35
|
-
/**
|
|
36
|
-
|
|
35
|
+
/** 物料日期对象(主模型或子模型);运行时由设计器收集 */
|
|
36
|
+
dateObjects?: Array<{
|
|
37
37
|
modelKey: string;
|
|
38
38
|
objectField: string;
|
|
39
39
|
subFields: Array<{
|
|
40
40
|
key: string;
|
|
41
|
-
|
|
41
|
+
bizType?: string;
|
|
42
|
+
type?: string;
|
|
42
43
|
}>;
|
|
43
44
|
}>;
|
|
44
|
-
/** Supplied by host only for a newly created reinspection instance; never infer from viewing. */
|
|
45
|
-
materialDateContext?: {
|
|
46
|
-
isNewInstance?: boolean;
|
|
47
|
-
inspectionType?: string;
|
|
48
|
-
};
|
|
49
45
|
/** table 单元格宽度 */
|
|
50
46
|
colsWidth: number[];
|
|
51
47
|
/**表头 ids */
|
|
@@ -14,5 +14,5 @@ export declare class StocktakeWebRender extends SubTableRender implements IStock
|
|
|
14
14
|
barcode?: string;
|
|
15
15
|
type?: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
}): Promise<
|
|
17
|
+
}): Promise<import('node_modules/@gct-paas/form-base/dist/modal/modal.type').IModalData<import('node_modules/@gct-paas/form-base/dist/modal/modals/common-scan/type').ICommonScanResult>>;
|
|
18
18
|
}
|
|
@@ -2,6 +2,8 @@ import { IDisplayField } from './display-fields.util';
|
|
|
2
2
|
import { IBindField } from '../../../../../../nocode-base/src';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
displayFields?: IDisplayField[];
|
|
5
|
+
/** 旧版本中兼具展示作用的搜索字段,仅用于 displayFields 未定义时迁移。 */
|
|
6
|
+
legacySearchFields?: string[];
|
|
5
7
|
fieldMeta: IBindField;
|
|
6
8
|
disabled: boolean;
|
|
7
9
|
};
|
|
@@ -9,7 +11,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
9
11
|
"update:displayFields": (...args: any[]) => void;
|
|
10
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
13
|
"onUpdate:displayFields"?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
displayFields: IDisplayField[];
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -9,3 +9,18 @@ export interface IDisplayField {
|
|
|
9
9
|
* 不同字段类型显示字段的默认字段列表
|
|
10
10
|
*/
|
|
11
11
|
export declare const DEFAULT_DISPLAY_FIELDS_MAP: Record<string, string[]>;
|
|
12
|
+
interface DefaultDisplayFieldConfig {
|
|
13
|
+
keys: string[];
|
|
14
|
+
unremovableKeys: string[];
|
|
15
|
+
}
|
|
16
|
+
export declare const getDefaultDisplayFieldConfig: (fieldType?: string) => DefaultDisplayFieldConfig;
|
|
17
|
+
export declare function getDisplayFieldKey(item?: {
|
|
18
|
+
key?: string;
|
|
19
|
+
_dfValue?: string;
|
|
20
|
+
}): string | undefined;
|
|
21
|
+
/** 历史设备配置只含编码/名称时,填报端使用内置列。 */
|
|
22
|
+
export declare function isLegacyDeviceDisplayFields(fields?: Array<{
|
|
23
|
+
key?: string;
|
|
24
|
+
_dfValue?: string;
|
|
25
|
+
}> | null): boolean;
|
|
26
|
+
export {};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { IBindField } from '../../../../../../nocode-base/src';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
fieldMeta: IBindField;
|
|
4
|
-
searchable?: boolean;
|
|
5
4
|
searchField?: string[];
|
|
6
5
|
disabled: boolean;
|
|
7
6
|
};
|
|
8
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
"update:searchable": (...args: any[]) => void;
|
|
10
8
|
"update:searchField": (...args: any[]) => void;
|
|
11
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
"onUpdate:searchable"?: ((...args: any[]) => any) | undefined;
|
|
13
10
|
"onUpdate:searchField"?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
12
|
export default _default;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { IBindField } from '../../../../../../nocode-base/src';
|
|
2
|
-
/**
|
|
3
|
-
* 「快速搜索」字段默认带出的字段列表(预留)
|
|
4
|
-
*/
|
|
2
|
+
/** 「快速搜索」字段按原型首次带出的字段列表。 */
|
|
5
3
|
export declare const SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP: {
|
|
6
4
|
material: string[];
|
|
7
|
-
warehouseMaterial: string[];
|
|
8
|
-
device: string[];
|
|
9
|
-
batch: string[];
|
|
10
5
|
};
|
|
11
|
-
/**
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
6
|
+
/** 获取字段首次创建时应带出的快速搜索字段。 */
|
|
7
|
+
export declare const getDefaultQuickSearchFields: (fieldMeta: IBindField) => string[];
|
|
8
|
+
export declare const INVENTORY_QUICK_SEARCH_FIELDS: string[];
|
|
9
|
+
export declare const isInventoryProductField: (fieldMeta: IBindField) => boolean;
|
|
10
|
+
/** 搜索框由快速搜索配置或字段内置的基础搜索规则决定。 */
|
|
11
|
+
export declare const resolveQuickSearchConfig: (fieldMeta: IBindField & {
|
|
12
|
+
searchField?: string[];
|
|
13
|
+
}) => {
|
|
14
|
+
searchable: boolean;
|
|
15
|
+
fields: string[];
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FieldMetaDTO } from '@gct-paas/api/apaas';
|
|
2
|
+
import { FIELD_TYPE } from '../../../../../../shared/enum';
|
|
3
|
+
type AutofillFieldMeta = Pick<FieldMetaDTO, 'bindInfo' | 'bizType' | 'key' | 'type'>;
|
|
4
|
+
export declare const resolveFieldStorageType: (field: AutofillFieldMeta) => FIELD_TYPE;
|
|
5
|
+
export declare const resolveFieldManifestType: (field: AutofillFieldMeta) => FIELD_TYPE;
|
|
6
|
+
/** 取值来源仅排除布尔字段。 */
|
|
7
|
+
export declare const isSelectableFromField: (field: AutofillFieldMeta) => boolean;
|
|
8
|
+
/** 自动填充目标字段兼容性判定。 */
|
|
9
|
+
export declare const matchAutofillTargetField: (fromMeta: AutofillFieldMeta, toMeta: AutofillFieldMeta) => boolean;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../nocode-base/src';
|
|
2
|
+
import { CellWidget } from '../../designer/types/cell-widget';
|
|
3
|
+
import { FieldDesignComponent } from '../../../../../domain/field';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
fieldWidget: CellWidget.BasicSchema;
|
|
6
|
+
fieldMeta?: IBindField;
|
|
7
|
+
design?: FieldDesignComponent;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
rootRef: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { CellWidget } from '../../designer/types/cell-widget';
|
|
2
|
+
import { FieldDesignComponent } from '../../../../../domain/field';
|
|
3
|
+
import { IBindField } from '../../../../../nocode-base/src';
|
|
1
4
|
type __VLS_Props = {
|
|
2
|
-
|
|
5
|
+
fieldWidget: CellWidget.BasicSchema;
|
|
6
|
+
fieldMeta?: IBindField;
|
|
7
|
+
design?: FieldDesignComponent;
|
|
8
|
+
disabled?: boolean;
|
|
3
9
|
};
|
|
4
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
11
|
export default _default;
|
package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../nocode-base/src';
|
|
2
|
+
import { CellWidget } from '../../designer/types/cell-widget';
|
|
3
|
+
import { FieldDesignComponent } from '../../../../../domain/field';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
fieldWidget: CellWidget.BasicSchema;
|
|
6
|
+
fieldMeta?: IBindField;
|
|
7
|
+
design?: FieldDesignComponent;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../nocode-base/src';
|
|
2
|
+
import { CellWidget } from '../../designer/types/cell-widget';
|
|
3
|
+
import { FieldDesignComponent } from '../../../../../domain/field';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
fieldWidget: CellWidget.BasicSchema;
|
|
6
|
+
fieldMeta?: IBindField;
|
|
7
|
+
design?: FieldDesignComponent;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -4,7 +4,4 @@ type AsyncConfigModule = Record<string, {
|
|
|
4
4
|
}>;
|
|
5
5
|
export declare function asyncImportWidgetConfig(): AsyncConfigModule;
|
|
6
6
|
export declare const widgetConfigMap: AsyncConfigModule;
|
|
7
|
-
export declare function asyncImportWidgetDesign(): {};
|
|
8
|
-
export declare function asyncImportWidgetProps(): {};
|
|
9
|
-
export declare function asyncImportWidgetStyle(): {};
|
|
10
7
|
export {};
|
|
@@ -6,8 +6,6 @@ export declare const DEFAULT_ROW_HEIGHT = 30;
|
|
|
6
6
|
export declare const DEFAULT_COL_WIDTH = 75;
|
|
7
7
|
export declare const PaperWidgetDropBoxId = "PaperWidgetDropBoxId";
|
|
8
8
|
export declare const ValueEditorFieldDropBoxId = "ValueEditorFieldDropBoxId";
|
|
9
|
-
export declare const CellContentDropBoxId = "CellContentDropBoxId";
|
|
10
|
-
export declare const CellContentDropBoxClass = "CellContentDropBoxClass";
|
|
11
9
|
export declare const FontSizeOptions: number[];
|
|
12
10
|
export declare const DEFAULT_FONT_SIZE = 12;
|
|
13
11
|
export declare const DefaultPaper: IPaper;
|
|
@@ -52,12 +50,12 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
52
50
|
ref: CellWidgetCategory;
|
|
53
51
|
model_relation: CellWidgetCategory;
|
|
54
52
|
warehouse: CellWidgetCategory;
|
|
53
|
+
target_warehouse: CellWidgetCategory;
|
|
55
54
|
location: CellWidgetCategory;
|
|
56
55
|
production_container: CellWidgetCategory;
|
|
57
56
|
ref_multi: CellWidgetCategory;
|
|
58
57
|
electronic_signature: CellWidgetCategory;
|
|
59
|
-
|
|
60
|
-
agg: CellWidgetCategory;
|
|
58
|
+
operation: CellWidgetCategory;
|
|
61
59
|
routing_operation: CellWidgetCategory;
|
|
62
60
|
good_qty: CellWidgetCategory;
|
|
63
61
|
not_good_qty: CellWidgetCategory;
|
|
@@ -67,6 +65,8 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
67
65
|
report_end_time: CellWidgetCategory;
|
|
68
66
|
work_hours: CellWidgetCategory;
|
|
69
67
|
production_date: CellWidgetCategory;
|
|
68
|
+
validity: CellWidgetCategory;
|
|
69
|
+
re_inspection_date: CellWidgetCategory;
|
|
70
70
|
reporter: CellWidgetCategory;
|
|
71
71
|
not_good_reason: CellWidgetCategory;
|
|
72
72
|
not_good_group: CellWidgetCategory;
|
|
@@ -78,6 +78,7 @@ export declare const FieldTypeToCellWidgetMap: {
|
|
|
78
78
|
destructive_test_qty: CellWidgetCategory;
|
|
79
79
|
product_check_qty: CellWidgetCategory;
|
|
80
80
|
material_check_qty: CellWidgetCategory;
|
|
81
|
+
inspection_qty: CellWidgetCategory;
|
|
81
82
|
device_ref: CellWidgetCategory;
|
|
82
83
|
device_ref_multi: CellWidgetCategory;
|
|
83
84
|
qty_required: CellWidgetCategory;
|
|
@@ -98,8 +99,6 @@ export declare const OnlineFormTraceTypes: FIELD_TYPE[];
|
|
|
98
99
|
export declare const OnlineFormBusinessTypes: FIELD_TYPE[];
|
|
99
100
|
/** 在线表单支持的自增字段类型 */
|
|
100
101
|
export declare const OnlineFormAutoFieldTypes: FIELD_TYPE[];
|
|
101
|
-
/** 在线表单支持的所有字段类型 */
|
|
102
|
-
export declare const OnlineFormAllTypes: FIELD_TYPE[];
|
|
103
102
|
/**
|
|
104
103
|
* 导入用
|
|
105
104
|
* 字段属性与文本映射
|