@gct-paas/excel 0.1.25 → 0.1.27
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-DrKYCkDg.js → VueVideoPlayer-D5r4RRnv.js} +2 -2
- package/dist/{agg-design-8eUd9TWn.js → agg-design-BVxNAUfK.js} +1 -1
- package/dist/{agg-props-Cb0GvhgU.js → agg-props-BM1V7-82.js} +1 -1
- package/dist/{agg-style-CP9sxtsi.js → agg-style-bu1csor3.js} +1 -1
- package/dist/{align-editor-BW22Y-bE.js → align-editor-D2IrDyiX.js} +1 -1
- package/dist/{attach-fields-editor-pR59KJbo.js → attach-fields-editor-cbkBKnao.js} +3 -3
- package/dist/{barcode-design-CmPxgGJB.js → barcode-design-BRx1bmVT.js} +2 -2
- package/dist/base/index.es.js +146 -139
- package/dist/{base-font-editor-DQM-NcTv.js → base-font-editor-DvxGgHGz.js} +3 -3
- package/dist/{boolean-design-Djbg02Nm.js → boolean-design-bh0IRiJd.js} +20 -7
- package/dist/{boolean-props-BX5Ok__q.js → boolean-props-CblOGRwR.js} +3 -3
- package/dist/{boolean-style-JY9ijHJV.js → boolean-style-DwRYZG46.js} +4 -4
- package/dist/cell-upload-C-xtn3eM.js +38 -0
- package/dist/{date-range-editor-MZ464S06.js → date-range-editor-DgRj3qWq.js} +3 -3
- package/dist/{date-time-design-BjOmfNvq.js → date-time-design-CmzyZZ0f.js} +1 -1
- package/dist/{date-time-props-Bcamjhvb.js → date-time-props-D2g7OYyD.js} +3 -3
- package/dist/{date-time-style-C0DUGMEb.js → date-time-style-D1hsou32.js} +1 -1
- package/dist/{decimal-design-CyFDgKzS.js → decimal-design-mtrsEocu.js} +1 -1
- package/dist/{decimal-display-mode-D9_TH-rg.js → decimal-display-mode-DBBORdt8.js} +2 -2
- package/dist/{decimal-props-CeOCpAZR.js → decimal-props-BAnCY6iG.js} +4 -4
- package/dist/{decimal-style-Ck-jdxrY.js → decimal-style-B_3SjSrk.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CRouimIw.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CaXarLgm.js} +3 -3
- package/dist/{diagonal-design-DiTtAl48.js → diagonal-design-CcD7fvfW.js} +2 -2
- package/dist/{double-design-Ctq8CZYg.js → double-design-7vcqNVyg.js} +1 -1
- package/dist/{double-props-DPDPvkaN.js → double-props-B-y0KH2n.js} +4 -4
- package/dist/{double-style-wBlYIkRL.js → double-style-CA5tNsrD.js} +1 -1
- package/dist/{dynamic-table-action-DizP0cBU.js → dynamic-table-action-C2GfKCbJ.js} +1363 -1079
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CM2UpTsb.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js} +1531 -501
- package/dist/{edit.utils-CXmmCnxE-NznLz-dC.js → edit.utils-CXmmCnxE-Ca3Pb0IU.js} +1 -1
- package/dist/{enum-design-C4Xq7qCJ.js → enum-design-QV-rTgR9.js} +20 -8
- package/dist/{enum-props-CsbFucZR.js → enum-props-75ShzzCh.js} +4 -4
- package/dist/{enum-style-MdRMxg9I.js → enum-style-BMtWgRC6.js} +3 -3
- package/dist/excel.css +2359 -1006
- package/dist/{exceljs.min-C4tGMm7G.js → exceljs.min-0mQdhEhP.js} +2 -2
- package/dist/{expression-design-bZfTH0Gl.js → expression-design-E4gBR1RY.js} +1 -1
- package/dist/{expression-props-ScLE3Hxg.js → expression-props-BwPz0GJc.js} +1 -1
- package/dist/{expression-style-WyB-Q2SD.js → expression-style-D7o1udLl.js} +1 -1
- package/dist/{file-design-KtBYJ4Nl.js → file-design-CY5qOoTr.js} +1 -1
- package/dist/{file-props-CADrcb5q.js → file-props-zXWQ1bVe.js} +2 -2
- package/dist/{file-style-DJ49yOVY.js → file-style-BxiYD3KK.js} +1 -1
- package/dist/{font-editor--TX9pRIW.js → font-editor-Dvzk8M-U.js} +3 -3
- package/dist/{image-design-DcVh6ef6.js → image-design-BhK2hIpf.js} +2 -2
- package/dist/{image-design-CuzmYS4l.js → image-design-lVRSbqr7.js} +2 -2
- package/dist/{image-props-_-hVAoB8.js → image-props-BzWQmFnm.js} +1 -1
- package/dist/{image-style-DX7y12ib.js → image-style-COx37YQA.js} +1 -1
- package/dist/{index-Dq2fcTKP.js → index--0Kpxacn.js} +1 -1
- package/dist/{index-B_KMJFf2.js → index-7I61fuwY.js} +1 -1
- package/dist/{index-khkFIIpm.js → index-BKcbh7wy.js} +1 -1
- package/dist/{index-qrVXTYo_.js → index-BKl3sdLV.js} +1 -1
- package/dist/{index-Df5x-HlG.js → index-BOJ1qa5y.js} +3 -2
- package/dist/{index-BcZY4Zoa.js → index-BQkzdAys.js} +1 -1
- package/dist/{index-gJYIz_91.js → index-BZUfZUe_.js} +1 -1
- package/dist/{index-DOk_dASa.js → index-BcFJ5NMo.js} +1 -1
- package/dist/{index-CnT14Ynb.js → index-BfFR4_sj.js} +4 -2
- package/dist/{index-4SyFxX28.js → index-Bnw3rp6T.js} +2 -2
- package/dist/{index-SXqY_RqM.js → index-BxJDx07D.js} +1 -1
- package/dist/{index-BrnfxhFy.js → index-C3vFg5YC.js} +2 -2
- package/dist/{index-DEbaoJCi.js → index-C8YcRZdY.js} +1 -1
- package/dist/{index-C8Mj5jCg.js → index-CLiI_jbj.js} +1 -1
- package/dist/{index-BMZk1B6N.js → index-Cv8PAOND.js} +1 -1
- package/dist/{index-B6BE028Z.js → index-CvgNTIj3.js} +14059 -7084
- package/dist/{index-BsKF7nen.js → index-CvnUTiu5.js} +2 -2
- package/dist/{index-w5US1Xj5.js → index-D1eAo-Nu.js} +1 -1
- package/dist/{index-B8jI-pcj.js → index-D4c8S3QX.js} +1 -1
- package/dist/{index-BDiGdene.js → index-DJMQPKtC.js} +1 -1
- package/dist/{index-BeQJg5FL.js → index-DQUYeRO2.js} +1 -1
- package/dist/{index-kKbkxtcq.js → index-DX751NRk.js} +1 -1
- package/dist/{index-U5Mlom4N.js → index-D_EbV20_.js} +2 -2
- package/dist/{index-DACtl2FJ.js → index-FsRMnSH6.js} +1 -1
- package/dist/{index-BavMax9_.js → index-JMdllXCQ.js} +1 -1
- package/dist/{index-DbCcmPvf.js → index-LPi5gPDc.js} +3 -2
- package/dist/{index-DB0Aqof5.js → index-Xo3mSme0.js} +1 -1
- package/dist/{index-BbtrRWC8.js → index-_sBfWkw5.js} +1 -1
- package/dist/{index-CV96rqXh.js → index-gZDQm5ZQ.js} +1 -1
- package/dist/{index-CC1hotEe.js → index-n08cOEu4.js} +1 -1
- package/dist/{index-QqGI4m8P.js → index-sDAMzgHy.js} +2 -1
- package/dist/{index-3W1W2CJ2.js → index-uPWALfQF.js} +1 -1
- package/dist/{index-GYc693un.js → index-xAiRicc_.js} +193 -79
- package/dist/index.es.js +45 -44
- package/dist/{integer-design-CHYVLdaZ.js → integer-design-B4_XsKZo.js} +1 -1
- package/dist/{integer-props-Cw4Z0TNV.js → integer-props-C6PM1TRQ.js} +5 -5
- package/dist/{integer-style-DcxXrUeC.js → integer-style-BEQYgQr6.js} +1 -1
- package/dist/mb-render-Cuhqw431.js +252 -0
- package/dist/{number-input-ex-CwVf8X9n.js → number-input-ex-C-lDRF5x.js} +2 -2
- package/dist/{org-props-9qOKXh9R.js → org-props-COEjPBZu.js} +2 -2
- package/dist/{org-style-Cmo_gyi-.js → org-style-BCAm4c-t.js} +1 -1
- package/dist/{pagination-design-CwNVuj9q.js → pagination-design-BCbcTaoL.js} +2 -2
- package/dist/paper-widget-design-B1eAfVY6.js +4 -0
- package/dist/{qrcode-design-DBOXla3J.js → qrcode-design-DsWOsTMb.js} +1 -1
- package/dist/{ref-autofill-editor-CnxsKzEs.js → ref-autofill-editor-M4SwZwAT.js} +2 -2
- package/dist/{ref-props-BMF-yN1j.js → ref-props-z-4FJ63a.js} +3 -3
- package/dist/{ref-style-BY_KCFaF.js → ref-style-Cd4xxgki.js} +1 -1
- package/dist/{regex-editor-di2pdExg.js → regex-editor-Clq3qEOM.js} +2 -3
- package/dist/{revo-grid.entry-DgxhZfAo.js → revo-grid.entry-mK396nD_.js} +1 -1
- package/dist/{revogr-attribution_7.entry-D3UhK-WX.js → revogr-attribution_7.entry-CVFYs2_S.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-B-lQshG2.js → revogr-clipboard_3.entry-CXob_C6H.js} +2 -2
- package/dist/{revogr-data_4.entry-QcY1FWQH.js → revogr-data_4.entry-DdIOstSg.js} +2 -2
- package/dist/{revogr-filter-panel.entry-N7DpGorS.js → revogr-filter-panel.entry-CbN2tKV5.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CCnCM2og.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BRaJttUU.js} +2 -2
- package/dist/{serialnumber-design-C2u7rTeb.js → serialnumber-design-lwuR-KrB.js} +1 -1
- package/dist/shared/index.es.js +26 -26
- package/dist/{signature-design-BlksOZ8L.js → signature-design-CWKOqjMe.js} +1 -1
- package/dist/{signature-props-DsroCtHM.js → signature-props-B4yndn4q.js} +3 -3
- package/dist/{signature-style-DmAhSHYV.js → signature-style-5DImPCv-.js} +1 -1
- package/dist/{single-field-drop-Cep_fOic.js → single-field-drop-C0IXAiGz.js} +3 -3
- package/dist/{size-editor-CEHzkEnJ.js → size-editor-DKIp_UFV.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +4 -0
- package/dist/src/assets/svgs/table/index.d.ts +34 -0
- package/dist/src/domain/index.d.ts +1 -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 +1 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +3 -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/warehouse-allocate/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/index.d.ts +1 -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-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-inventory/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -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/create-subtable.d.ts +14 -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 +8 -0
- package/dist/src/domain/table/registry.d.ts +27 -0
- package/dist/src/domain/table/types.d.ts +78 -0
- package/dist/src/index.d.ts +4 -3
- 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 +9 -1
- 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-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/useDependency.d.ts +2 -3
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- 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 +2 -0
- package/dist/src/nocode-base/src/types/widgets/i-ro.d.ts +16 -0
- package/dist/src/nocode-base/src/types/widgets/i-serialnumber.d.ts +4 -0
- package/dist/src/nocode-base/src/types/widgets/index.d.ts +1 -1
- 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/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/designer/constants/index.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +4 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +96 -0
- package/dist/src/online-form/src/views/designer/hooks/useCellInlineEditor.d.ts +32 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +125 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-attribute-value.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-breadcrumb-separator.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-chevron.vue.d.ts +5 -0
- package/dist/src/online-form/src/views/designer/modules/base/field-panel-text-icon.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/modals/inline-media-modal.vue.d.ts +17 -0
- 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 +1529 -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/sheet/inline-cell-editor.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/sheet/sheet-cell.vue.d.ts +1 -3
- package/dist/src/online-form/src/views/designer/modules/toolbar.vue.d.ts +31 -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/designer/types/index.d.ts +2 -1
- package/dist/src/online-form/src/views/inline-cell/inline-cell-content.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/inline-cell/medical-device-icon-labels.d.ts +7 -0
- package/dist/src/online-form/src/views/inline-cell/use-inline-icon-catalog.d.ts +57 -0
- 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 +7 -1
- package/dist/src/shared/enum/index.d.ts +4 -2
- package/dist/src/shared/enum/online-form.d.ts +5 -1
- package/dist/{text-design-DGqMlbc6.js → text-design-Buv9yt9S.js} +2 -2
- package/dist/{text-design-CF73oh7E.js → text-design-Cvkrx7Ay.js} +2 -2
- package/dist/{text-props-BsBFt5JJ.js → text-props-CkVBSTXP.js} +4 -5
- package/dist/{text-style-Bxl0WhxT.js → text-style-ByQS_L5l.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BAKF8Jrc.js → throttle-Cpk1LoGk-G-XhI3O-.js} +1 -1
- package/dist/{timediff-design-Bwegb7jM.js → timediff-design-DDoTcrkV.js} +1 -1
- package/dist/{trace-design-x7ZPqdyj.js → trace-design-BCzk8EyB.js} +2 -2
- package/dist/{trace-props-BdkfBKqh.js → trace-props-BL3L-jup.js} +60 -48
- package/dist/{trace-style-Bpyt1oSq.js → trace-style-BlpFFb55.js} +1 -1
- package/dist/{use-namespace-qtLS8nEh.js → use-namespace-BxkK4ofX.js} +1 -12
- package/dist/{user-props-BgJ96sjN.js → user-props-B-vYJaSq.js} +13 -6
- package/dist/{user-style-5VqcsMzw.js → user-style-CbvEdi3Y.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-QQVkVpPD.js → value-editor.vue_vue_type_style_index_0_lang-s8AB671m.js} +8 -7
- package/dist/{version-select-CXTB_A2k.js → version-select-CgXKULuu.js} +2 -2
- package/dist/web-render/index.es.js +75 -6
- package/dist/{widget-barcode-O6DzMN-0.js → widget-barcode-DSSIOMEn.js} +4 -4
- package/dist/{widget-diagonal-B8CiCiyV.js → widget-diagonal-Ce7X4BVB.js} +4 -4
- package/dist/{widget-image-CTmh03Jw.js → widget-image-B07sa8Hv.js} +5 -5
- package/dist/{widget-line-BiXxV7Xe.js → widget-line-gfOAwJ73.js} +2 -2
- package/dist/{widget-pagination-wvZWVot6.js → widget-pagination-DQT0Hcnv.js} +5 -5
- package/dist/{widget-power-Co66IvVp.js → widget-power-DB41Q7HC.js} +4 -4
- package/dist/{widget-qrcode-ktbJtgPd.js → widget-qrcode-DPMDGtjU.js} +3 -3
- package/dist/{widget-rangelimit-2GcRTXPN.js → widget-rangelimit-BpxO9qfT.js} +4 -4
- package/dist/{widget-serialnumber-CaFp4L20.js → widget-serialnumber-CM-Lm2mW.js} +1 -1
- package/dist/{widget-text-CVp_fAQf.js → widget-text-DnHhMcYh.js} +5 -5
- package/dist/{widget-timediff-cMmyhO7r.js → widget-timediff-CHA6cLPN.js} +2 -2
- package/package.json +8 -7
- package/dist/cell-upload-DgpCH5mZ.js +0 -34
- package/dist/mb-render-jyqRTwAF.js +0 -449
- package/dist/paper-widget-design-BtscRL22.js +0 -4
- 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/panel-material-consumption-table.vue.d.ts → nocode-web-render/src/components/print-fill-background-selector.vue.d.ts} +0 -0
- /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/{panel-check-table.vue.d.ts → 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-data-group-2d.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.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-dynamic-table.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-material-balance-table.vue.d.ts → sub-table/panel-repeating-sub-table.vue.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-C-xtn3eM.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
|
-
import {
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { G as SignatureTypeEnum, D as SignatureTimeTypeEnum, F as FIELD_TYPE, A as SignatureNumberTypeEnum, a4 as ImageDisplayModeEnum, E as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-CvgNTIj3.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-cbkBKnao.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon,
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, y as SingleDrop } from "./index-CvgNTIj3.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -29,6 +29,10 @@ export interface ExcelHostStores {
|
|
|
29
29
|
export declare function createDefaultExcelStores(): ExcelHostStores;
|
|
30
30
|
/** 宿主注入的 hooks(按需扩展) */
|
|
31
31
|
export interface ExcelHostHooks {
|
|
32
|
+
/** 图文混排选择器使用的资产中心图标目录。 */
|
|
33
|
+
useIconAsset?: () => {
|
|
34
|
+
getIconAssetCats: () => Promise<any[]>;
|
|
35
|
+
};
|
|
32
36
|
useBusinessSetting?: (...args: any[]) => any;
|
|
33
37
|
useRootSetting?: (...args: any[]) => any;
|
|
34
38
|
useLocale?: (...args: any[]) => any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** 工具栏主按钮图标 */
|
|
2
|
+
export declare const TABLE_CATEGORY_SVG: {
|
|
3
|
+
readonly dataTable: string;
|
|
4
|
+
readonly businessTable: string;
|
|
5
|
+
};
|
|
6
|
+
/** 数据表下拉项图标 */
|
|
7
|
+
export declare const TABLE_DATA_SVG: {
|
|
8
|
+
readonly 'table-header': string;
|
|
9
|
+
readonly 'dynamic-table': string;
|
|
10
|
+
readonly 'fixed-table': string;
|
|
11
|
+
readonly 'two-d-table': string;
|
|
12
|
+
};
|
|
13
|
+
/** 业务表下拉项图标 */
|
|
14
|
+
export declare const TABLE_BUSINESS_SVG: {
|
|
15
|
+
readonly 'warehouse-in': string;
|
|
16
|
+
readonly 'warehouse-out': string;
|
|
17
|
+
readonly 'warehouse-in-out': string;
|
|
18
|
+
readonly 'warehouse-inventory': string;
|
|
19
|
+
readonly 'warehouse-allocate': string;
|
|
20
|
+
readonly 'material-consume': string;
|
|
21
|
+
readonly 'material-balance': string;
|
|
22
|
+
readonly 'check-table': string;
|
|
23
|
+
readonly 'pretreatment-list': string;
|
|
24
|
+
readonly 'entrust-steril-batch-list': string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Excel 工具栏 / Profile ribbonAction / 部分 legacy key → SVG
|
|
28
|
+
*/
|
|
29
|
+
export declare const TABLE_SVG_BY_RIBBON_ACTION: Record<string, string>;
|
|
30
|
+
/** 按 key 解析表格图标(找不到则回退动态表) */
|
|
31
|
+
export declare function resolveTableSvg(key?: string): string;
|
|
32
|
+
export type TableCategorySvgKey = keyof typeof TABLE_CATEGORY_SVG;
|
|
33
|
+
export type TableDataSvgKey = keyof typeof TABLE_DATA_SVG;
|
|
34
|
+
export type TableBusinessSvgKey = keyof typeof TABLE_BUSINESS_SVG;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as checkTableProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as materialBalanceProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as materialConsumeProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as pretreatmentListProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as entrustSterilBatchListProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as warehouseAllocateProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as warehouseInProfile, TABLE_TYPE } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as warehouseInOutProfile, TABLE_TYPE } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as warehouseInventoryProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as warehouseOutProfile, TABLE_TYPE } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as dynamicTableProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as fixedTableProfile } from './profile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { profile as twoDTableProfile } from './profile';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SubTableType } from '../../../nocode-base/src/constant';
|
|
2
|
+
import { ExcelSubTableCreateTarget, TableProfile } from '../types';
|
|
3
|
+
interface ResolvedSubTableCreate {
|
|
4
|
+
profile?: TableProfile;
|
|
5
|
+
createTarget: ExcelSubTableCreateTarget;
|
|
6
|
+
defaultWidgetProps: Record<string, unknown>;
|
|
7
|
+
themeColor?: string;
|
|
8
|
+
seedTableKeyOnCreate?: boolean;
|
|
9
|
+
seedCheckDataSourceOnCreate?: boolean;
|
|
10
|
+
assocColField?: 'required' | 'optional';
|
|
11
|
+
}
|
|
12
|
+
export declare function resolveSubTableCreate(tableType: SubTableType | string): ResolvedSubTableCreate;
|
|
13
|
+
export declare function resolvePanelTypeByTableType(tableType: SubTableType | string | undefined, PanelTypeEnum: Record<string, number | string>, fallback: number | string): number | string;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { resolveSubTableCreate, resolvePanelTypeByTableType } from './create-subtable';
|
|
2
|
+
export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './panel-type';
|
|
3
|
+
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './panel-features';
|
|
4
|
+
export { resolveTableLabelKey } from './label';
|
|
5
|
+
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './ribbon-options';
|
|
6
|
+
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink } from './sub-model-matcher';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SubTableType } from '../../../nocode-base/src/constant';
|
|
2
|
+
/** 需要 seed bizTableConfig 默认值的类型 */
|
|
3
|
+
export declare const BIZ_TABLE_CONFIG_SEED_TYPES: Set<SubTableType>;
|
|
4
|
+
interface DesignPanelFeatures {
|
|
5
|
+
showQuickFill: boolean;
|
|
6
|
+
showConfirmBeforeDelete: boolean;
|
|
7
|
+
showBarcodeParsingRules: boolean;
|
|
8
|
+
showAutoLoadStock: boolean;
|
|
9
|
+
showAutoMergeInCells: boolean;
|
|
10
|
+
/** 配置区折叠标题 i18n key;无则仅在有其它配置项时由面板自行决定 */
|
|
11
|
+
configHeaderKey?: string;
|
|
12
|
+
/** 是否展示配置折叠(物料结存等仅单元格) */
|
|
13
|
+
showConfigSection: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function resolveDesignPanelFeatures(tableType: SubTableType | string | undefined): DesignPanelFeatures;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SubTableType } from '../../../nocode-base/src/constant';
|
|
2
|
+
/** SubTableType → 设计态 PanelType 枚举键名 */
|
|
3
|
+
export declare const SUB_TABLE_PANEL_TYPE_NAME: Record<SubTableType, string>;
|
|
4
|
+
export declare function isDynamicSubTablePanelType(panelType: number | string, PanelTypeEnum: Record<string, number | string>): boolean;
|
|
5
|
+
export declare function isFixedSubTablePanelType(panelType: number | string, PanelTypeEnum: Record<string, number | string>): boolean;
|
|
6
|
+
export declare function isRepeatingSubTablePanelType(panelType: number | string, PanelTypeEnum: Record<string, number | string>): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SubTableType } from '../../../nocode-base/src/constant';
|
|
2
|
+
import { TableIconKey } from '../types';
|
|
3
|
+
interface MenuVisibilityCtx {
|
|
4
|
+
isTextOnlineForm: boolean;
|
|
5
|
+
suiteKey?: string;
|
|
6
|
+
isBomGranted: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface DataMenuItemView {
|
|
9
|
+
kind: 'thead' | 'sub-table';
|
|
10
|
+
type?: SubTableType;
|
|
11
|
+
ribbonAction?: string;
|
|
12
|
+
labelKey?: string;
|
|
13
|
+
label: string;
|
|
14
|
+
icon: TableIconKey;
|
|
15
|
+
}
|
|
16
|
+
interface BusinessMenuItemView {
|
|
17
|
+
type: SubTableType;
|
|
18
|
+
ribbonAction?: string;
|
|
19
|
+
labelKey?: string;
|
|
20
|
+
label: string;
|
|
21
|
+
icon: TableIconKey;
|
|
22
|
+
fromProfile: boolean;
|
|
23
|
+
}
|
|
24
|
+
interface BusinessMenuGroupView {
|
|
25
|
+
title: string;
|
|
26
|
+
titleKey?: string;
|
|
27
|
+
showDivider?: boolean;
|
|
28
|
+
items: BusinessMenuItemView[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 数据表下拉:表头 + 固定/动态/二维(Profile)
|
|
32
|
+
*/
|
|
33
|
+
export declare function getDataRibbonMenuItems(ctx: MenuVisibilityCtx): DataMenuItemView[];
|
|
34
|
+
/**
|
|
35
|
+
* 生成业务表工具栏菜单(全部 Profile)
|
|
36
|
+
*/
|
|
37
|
+
export declare function getBusinessRibbonMenuGroups(ctx: MenuVisibilityCtx): BusinessMenuGroupView[];
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SubTableType } from '../../../nocode-base/src/constant';
|
|
2
|
+
/**
|
|
3
|
+
* 创建弹窗:主表模型是否允许选择某 refModelType
|
|
4
|
+
*/
|
|
5
|
+
export declare function isAllowedRefModelForCreate(tableType: SubTableType | string, refModelType: string | undefined | null): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* 创建弹窗:动态关联模型(colField)是否允许选择某 refModelType
|
|
8
|
+
* 仅普通子模型,排除全部业务表
|
|
9
|
+
*/
|
|
10
|
+
export declare function isAllowedRefModelForDynamicLink(refModelType: string | undefined | null): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './design/ribbon-options';
|
|
2
|
+
export { resolveSubTableCreate, resolvePanelTypeByTableType } from './design/create-subtable';
|
|
3
|
+
export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
|
|
4
|
+
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
|
|
5
|
+
export { resolveTableLabelKey } from './design/label';
|
|
6
|
+
export { isAllowedRefModelForCreate, isAllowedRefModelForDynamicLink, } from './design/sub-model-matcher';
|
|
7
|
+
export { getAllTableProfiles, getExclusiveBusinessTypeTokens, getProfileByTableType, getSubTableTypeByRefModelType, getThemeColorByTableType, isDynamicCellSubTable, isDynamicCreateTarget, resolveCreateTargetByTableType, } from './registry';
|
|
8
|
+
export { isBusinessSubTableProfile, isDataTableProfile, type BusinessSubTableProfile, type TableProfile, } from './types';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SubTableType } from '../../nocode-base/src/constant';
|
|
2
|
+
import { BusinessSubTableProfile, DataTableProfile, ExcelSubTableCreateTarget, TableProfile } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* 按 tableType 推导创建落点:FIXED / CHECK → fixedTables,其余 → dynamicTables
|
|
5
|
+
*/
|
|
6
|
+
export declare function resolveCreateTargetByTableType(tableType: SubTableType | string | undefined): ExcelSubTableCreateTarget;
|
|
7
|
+
export declare function getProfile(type: string): TableProfile | undefined;
|
|
8
|
+
export declare function getProfileByTableType(tableType: SubTableType | string | undefined): TableProfile | undefined;
|
|
9
|
+
export declare function getAllTableProfiles(): TableProfile[];
|
|
10
|
+
export declare function getAllDataProfiles(): DataTableProfile[];
|
|
11
|
+
export declare function getAllBusinessProfiles(): BusinessSubTableProfile[];
|
|
12
|
+
/** 全部业务表 refModelType */
|
|
13
|
+
export declare function getAllBusinessRefModelTypes(): Set<string>;
|
|
14
|
+
/** 是否创建到 dynamicTables */
|
|
15
|
+
export declare function isDynamicCreateTarget(tableType: SubTableType | string | undefined): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* 设计态单元格是否按「动态子表」解析
|
|
18
|
+
*(dynamicTables 落点,或未索引的固定表)
|
|
19
|
+
*/
|
|
20
|
+
export declare function isDynamicCellSubTable(table: {
|
|
21
|
+
type?: string;
|
|
22
|
+
indexedTd?: boolean;
|
|
23
|
+
}): boolean;
|
|
24
|
+
/** 独占业务 SubTableType + 对应 refModelType(关联过滤等) */
|
|
25
|
+
export declare function getExclusiveBusinessTypeTokens(): Set<string>;
|
|
26
|
+
export declare function getSubTableTypeByRefModelType(refModelType: string | undefined | null): SubTableType | undefined;
|
|
27
|
+
export declare function getThemeColorByTableType(tableType: SubTableType | string | undefined): string | undefined;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { SubTableType } from '../../nocode-base/src/constant';
|
|
2
|
+
/** 数据表 Profile 类型标识 */
|
|
3
|
+
export type DataTableProfileType = 'dynamic-table' | 'fixed-table' | 'two-d-table';
|
|
4
|
+
/** 业务表 Profile 类型标识 */
|
|
5
|
+
export type BusinessSubTableProfileType = 'warehouse-in' | 'warehouse-out' | 'warehouse-in-out' | 'warehouse-inventory' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'pretreatment-list' | 'entrust-steril-batch-list' | 'check-table';
|
|
6
|
+
export type TableProfileType = DataTableProfileType | BusinessSubTableProfileType;
|
|
7
|
+
export type TableCategory = 'data' | 'business';
|
|
8
|
+
/**
|
|
9
|
+
* Excel 子表创建落点
|
|
10
|
+
* @property dynamicTables - 动态表列表
|
|
11
|
+
* @property fixedTables - 固定表列表(FIXED / CHECK)
|
|
12
|
+
*/
|
|
13
|
+
export type ExcelSubTableCreateTarget = 'dynamicTables' | 'fixedTables';
|
|
14
|
+
/** 工具栏图标 key */
|
|
15
|
+
export type TableIconKey = 'dynamic-table' | 'fixed-table' | 'two-d-table' | 'table-header' | 'warehouse-in' | 'warehouse-out' | 'warehouse-in-out' | 'warehouse-inventory' | 'warehouse-allocate' | 'material-consume' | 'material-balance' | 'entrust-steril-batch-list' | 'pretreatment-list' | 'check-table';
|
|
16
|
+
/** 数据表子模型匹配:排除全部业务子模型 */
|
|
17
|
+
export interface DataTableMatchRule {
|
|
18
|
+
fieldType: 'master_slave';
|
|
19
|
+
excludeRefModelTypes: 'ALL_BUSINESS';
|
|
20
|
+
tableType: SubTableType;
|
|
21
|
+
}
|
|
22
|
+
/** 业务表子模型匹配规则 */
|
|
23
|
+
export interface BusinessTableMatchRule {
|
|
24
|
+
fieldType: 'master_slave';
|
|
25
|
+
refModelType: string;
|
|
26
|
+
tableType: SubTableType;
|
|
27
|
+
}
|
|
28
|
+
/** Ribbon / 工具栏业务表分组 */
|
|
29
|
+
export interface BusinessTableRibbonGroup {
|
|
30
|
+
title: string;
|
|
31
|
+
titleKey?: string;
|
|
32
|
+
showDivider?: boolean;
|
|
33
|
+
tableTypes: BusinessSubTableProfileType[];
|
|
34
|
+
}
|
|
35
|
+
/** Profile 设计态公共字段 */
|
|
36
|
+
interface TableProfileDesignBase {
|
|
37
|
+
label: string;
|
|
38
|
+
labelKey?: string;
|
|
39
|
+
ribbonAction: string;
|
|
40
|
+
icon?: TableIconKey;
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
defaultWidgetProps?: Record<string, unknown>;
|
|
43
|
+
/**
|
|
44
|
+
* 创建时写入 bizTableConfig.table_key_ = `${tableId}:${field}`
|
|
45
|
+
*(灭菌 / 预处理等实例键)
|
|
46
|
+
*/
|
|
47
|
+
seedTableKeyOnCreate?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 创建时初始化检验表数据源(checkTableDataSource)
|
|
50
|
+
*/
|
|
51
|
+
seedCheckDataSourceOnCreate?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* 创建弹窗是否需要「动态关联模型」字段(二维 / 检验)
|
|
54
|
+
*/
|
|
55
|
+
assocColField?: 'required' | 'optional';
|
|
56
|
+
theme?: {
|
|
57
|
+
color: string;
|
|
58
|
+
background: string;
|
|
59
|
+
labelBjColor: string;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/** 数据表 Profile */
|
|
63
|
+
export interface DataTableProfile extends TableProfileDesignBase {
|
|
64
|
+
type: DataTableProfileType;
|
|
65
|
+
category: 'data';
|
|
66
|
+
match: DataTableMatchRule;
|
|
67
|
+
}
|
|
68
|
+
/** 业务表 Profile */
|
|
69
|
+
export interface BusinessSubTableProfile extends TableProfileDesignBase {
|
|
70
|
+
type: BusinessSubTableProfileType;
|
|
71
|
+
category: 'business';
|
|
72
|
+
ribbonGroup: string;
|
|
73
|
+
match: BusinessTableMatchRule;
|
|
74
|
+
}
|
|
75
|
+
export type TableProfile = DataTableProfile | BusinessSubTableProfile;
|
|
76
|
+
export declare function isBusinessSubTableProfile(profile: TableProfile): profile is BusinessSubTableProfile;
|
|
77
|
+
export declare function isDataTableProfile(profile: TableProfile): profile is DataTableProfile;
|
|
78
|
+
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import { default as ApaasCollectSheetView } from './online-form/src/views/design
|
|
|
2
2
|
import { default as ApaasCollect } from './online-form/src/views/designer/apaas-collect.vue';
|
|
3
3
|
import { default as ApaasDpPrint } from './online-form/src/views/integration/apaas_dp/designer/apaas-dp-print.vue';
|
|
4
4
|
import { default as ApaasDpPrintSheetView } from './online-form/src/views/integration/apaas_dp/designer/apaas-dp-print-sheet-view.vue';
|
|
5
|
-
import { default as BomEditorModal } from './online-form/src/views/designer/modules/panel/material-consumption/bom-modal.vue';
|
|
6
|
-
import { default as SelectCheckDsModal } from './online-form/src/views/designer/modules/panel/panel-check-table/select-check-ds-modal.vue';
|
|
5
|
+
import { default as BomEditorModal } from './online-form/src/views/designer/modules/panel/sub-table/material-consumption/bom-modal.vue';
|
|
6
|
+
import { default as SelectCheckDsModal } from './online-form/src/views/designer/modules/panel/sub-table/panel-check-table/select-check-ds-modal.vue';
|
|
7
7
|
import { default as ObjectInitModal } from './online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/object-init-modal.vue';
|
|
8
8
|
import { default as OutParamModal } from './online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/out-param-modal.vue';
|
|
9
9
|
import { default as InputParamModal } from './online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-ipaas/input-param-modal.vue';
|
|
10
10
|
import { default as SignatureConfigModal } from './online-form/src/views/designer/modules/panel/comps/signature-config/config-modal.vue';
|
|
11
|
+
import { default as RenderFieldWrapper } from './online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/render-field-wrapper.vue';
|
|
11
12
|
export declare const EXCEL_PACKAGE_NAME = "@gct-paas/excel";
|
|
12
13
|
export * from './adapter';
|
|
13
14
|
export { default as PreviewContainer } from './online-form/src/views/render/preview-container.vue';
|
|
@@ -26,4 +27,4 @@ export type { CellWidget } from './online-form/src/views/designer/types/cell-wid
|
|
|
26
27
|
export type { PaperWidget } from './online-form/src/views/types/paper-widget';
|
|
27
28
|
export type * from './online-form/src/views/designer/types';
|
|
28
29
|
export { default as PanelTmplConfig } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/panel-tmpl-config.vue';
|
|
29
|
-
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, ObjectInitModal, OutParamModal, InputParamModal, SignatureConfigModal, };
|
|
30
|
+
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, ObjectInitModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
|
|
@@ -592,9 +592,13 @@ export declare enum CheckDsTypeEnum {
|
|
|
592
592
|
* 子表类型
|
|
593
593
|
*/
|
|
594
594
|
export declare enum SubTableType {
|
|
595
|
+
/** 动态表 */
|
|
595
596
|
DEFAULT = "DEFAULT",
|
|
597
|
+
/** 二维表 */
|
|
596
598
|
_2D = "2D",
|
|
599
|
+
/** 检验表 */
|
|
597
600
|
CHECK = "CHECK",
|
|
601
|
+
/** 固定表 */
|
|
598
602
|
FIXED = "FIXED",
|
|
599
603
|
/** 物料消耗表 */
|
|
600
604
|
MATERIAL_CONSUMPTION = "MATERIAL_CONSUMPTION",
|
|
@@ -608,7 +612,11 @@ export declare enum SubTableType {
|
|
|
608
612
|
STERILIZE_BATCH = "STERILIZE_BATCH",
|
|
609
613
|
/** 预处理表 */
|
|
610
614
|
PRETREATMENT_LIST = "PRETREATMENT_LIST",
|
|
611
|
-
/**
|
|
615
|
+
/** 入库明细表 */
|
|
616
|
+
WAREHOUSE_IN = "WAREHOUSE_IN",
|
|
617
|
+
/** 出库明细表 */
|
|
618
|
+
WAREHOUSE_OUT = "WAREHOUSE_OUT",
|
|
619
|
+
/** 出入库明细表(兼容老文档) */
|
|
612
620
|
WAREHOUSE_IN_OUT = "WAREHOUSE_IN_OUT"
|
|
613
621
|
}
|
|
614
622
|
/** 纸张大小Map */
|
|
@@ -7,12 +7,18 @@ import { DeviceInterconnectionResponse } from '@gct-paas/api/platform';
|
|
|
7
7
|
* @class DeviceLinkTmplController
|
|
8
8
|
*/
|
|
9
9
|
export declare class DeviceLinkTmplUtil {
|
|
10
|
+
static readonly DEFAULT_RECOMMENDED_PROMPT = "\u4EFB\u52A1\uFF1A\u56FE\u7247OCR\u6587\u5B57\u63D0\u53D6\n\u89C4\u5219\uFF1A\u4E0D\u865A\u6784\u5185\u5BB9\uFF0C\u627E\u4E0D\u5230\u6570\u636E\u8FD4\u56DE\u7A7A\uFF0C\u4EC5\u8F93\u51FA\u63D0\u53D6\u7ED3\u679C\n\u7ED3\u679C\u586B\u5145\u81F3${\u76EE\u6807\u5B57\u6BB5}\n\u586B\u5199\u63D0\u53D6\u89C4\u5219\uFF1A";
|
|
10
11
|
/**
|
|
11
12
|
* 创建模板数据
|
|
12
13
|
* @param type
|
|
13
14
|
* @return {*}
|
|
14
15
|
*/
|
|
15
16
|
static createTmpl(type: DeviceLink.TmplTypeEnum): DeviceLink.BasicTmpl;
|
|
17
|
+
/**
|
|
18
|
+
* 补齐 OCR 模板新增字段,并保持历史配置的原有行为。
|
|
19
|
+
* 历史模板没有提示词模式时按原来的普通模式处理。
|
|
20
|
+
*/
|
|
21
|
+
static normalizeAIOcrTmpl(tmpl: DeviceLink.AIOcrTmpl): DeviceLink.AIOcrTmpl;
|
|
16
22
|
/**
|
|
17
23
|
* 计算完整的提示词
|
|
18
24
|
* @static
|
|
@@ -107,6 +107,8 @@ export declare namespace DeviceLink {
|
|
|
107
107
|
runtimeDeviceType?: string;
|
|
108
108
|
}
|
|
109
109
|
interface AIOcrTmplIdentifyParams {
|
|
110
|
+
/** 前端排序用唯一标识 */
|
|
111
|
+
id?: string;
|
|
110
112
|
/** 提示词 */
|
|
111
113
|
prompt: string;
|
|
112
114
|
/** 表单字段id(模型key.字段key)*/
|
|
@@ -122,6 +124,14 @@ export declare namespace DeviceLink {
|
|
|
122
124
|
name: string;
|
|
123
125
|
/** 设备名称 */
|
|
124
126
|
deviceName: string;
|
|
127
|
+
/** 模型精度 */
|
|
128
|
+
modelPrecision?: string;
|
|
129
|
+
/** 是否开启高级配置 */
|
|
130
|
+
enableAdvancedConfig?: boolean;
|
|
131
|
+
/** 提示词配置模式 */
|
|
132
|
+
promptMode?: 'RECOMMENDED' | 'NORMAL';
|
|
133
|
+
/** 推荐模式提示词 */
|
|
134
|
+
recommendedPrompt?: string;
|
|
125
135
|
/** 是否启用降噪 */
|
|
126
136
|
enableDenoise: boolean;
|
|
127
137
|
/** 降噪方法 */
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { DeviceLink, DeviceLinkTmplUtil } from '../device-link';
|
|
2
2
|
import { DeviceConnector } from './device-connector';
|
|
3
|
+
export declare const OCR_MODEL_PRECISION_ENUM_KEY = "enu_model_precision";
|
|
4
|
+
export interface OcrModelPrecisionOption {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
3
8
|
/**
|
|
4
9
|
* 表单模板配置控制器
|
|
5
10
|
* @export
|
|
@@ -43,6 +48,10 @@ export declare class FormTmplConfigController {
|
|
|
43
48
|
}[];
|
|
44
49
|
IOTPermission: boolean;
|
|
45
50
|
OCRPermission: boolean;
|
|
51
|
+
OCRModelPrecisionOptions: {
|
|
52
|
+
label: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[];
|
|
46
55
|
};
|
|
47
56
|
/** 表单模板id */
|
|
48
57
|
tmplId: string;
|
|
@@ -52,6 +61,13 @@ export declare class FormTmplConfigController {
|
|
|
52
61
|
* 初始化权限
|
|
53
62
|
*/
|
|
54
63
|
initPermissions(): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* 从枚举模型加载 OCR 模型精度,避免前端硬编码枚举值。
|
|
66
|
+
*/
|
|
67
|
+
refreshOcrModelPrecisionOptions(): Promise<{
|
|
68
|
+
label: string;
|
|
69
|
+
value: string;
|
|
70
|
+
}[]>;
|
|
55
71
|
/**
|
|
56
72
|
* 初始化
|
|
57
73
|
*
|