@gct-paas/excel 0.1.37-beta.2 → 0.1.38
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-DN5v-Q_h.js → BaseComponent-5QpH6Rui.js} +2 -20
- package/dist/{VueVideoPlayer-C49th9G_.js → VueVideoPlayer-DZh8_F3v.js} +2 -2
- package/dist/{align-editor-CpscpDxA.js → align-editor-BTvIuOVN.js} +1 -1
- package/dist/{barcode-design-B7AoHzux.js → barcode-design-Blhh1Fsh.js} +2 -3
- package/dist/base/index.es.js +2799 -2279
- package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-DZ6ePuEf.js} +2 -3
- package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-Ckc4yetB.js} +3015 -7111
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CGpmtwPb.js} +24570 -23749
- package/dist/{edit.utils-CXmmCnxE-evcsspEJ.js → edit.utils-CXmmCnxE-DDvf_1B1.js} +1 -1
- package/dist/excel.css +1204 -2454
- package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-Co96ZEAw.js} +2 -2
- package/dist/{font-editor-hpUeXFv_.js → font-editor-CVRIStrS.js} +3 -3
- package/dist/{image-design-BnDK5Jwf.js → image-design-kQ2vbtwc.js} +2 -2
- package/dist/{index-BcfmxYW-.js → index-B5HIN-qO.js} +2 -3
- package/dist/{index-DPiPri6e.js → index-B9sZfT3j.js} +2 -3
- package/dist/{index-CRj08TWu.js → index-BJyfzYBO.js} +2 -3
- package/dist/{index-D3t6B-9k.js → index-BNiGRPzJ.js} +1 -2
- package/dist/{index-BWvyGnI_.js → index-BPKmoc5N.js} +2 -3
- package/dist/{index-sQI9wXhV.js → index-BWEQIjQE.js} +1 -2
- package/dist/{index-Dfs0gE3N.js → index-BaCxUMCF.js} +2 -3
- package/dist/{index-3n5gOxbD.js → index-Bk8MpwGt.js} +2 -3
- package/dist/{index-B8tTsX2y.js → index-BqI7r_XC.js} +2 -3
- package/dist/{index-D1C_tY7a.js → index-C1DOk9t-.js} +1 -2
- package/dist/{index-BEyidTCC.js → index-C3HGy13G.js} +1 -2
- package/dist/{index-CLyowrpG.js → index-C4tkNDTa.js} +2 -3
- package/dist/{index-DP1WApp-.js → index-C5ESFU7b.js} +1 -2
- package/dist/{index-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
- package/dist/{index-CZv8lo_f.js → index-CPlxRgll.js} +2 -3
- package/dist/{index-DX1Nqubf.js → index-CjA2dLPh.js} +2 -3
- package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
- package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
- package/dist/{index-CUhlQ0aK.js → index-CxpwR4N2.js} +3 -4
- package/dist/{index-BaC0Py3z.js → index-D3Wgt5Z0.js} +6849 -12289
- package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
- package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
- package/dist/{index-CUhR3L97.js → index-DJEG4gZW.js} +3 -4
- package/dist/{index-B9q2iVJw.js → index-DPql9xNw.js} +3 -4
- package/dist/{index-BboAW45l.js → index-DbDB5bsa.js} +3 -4
- package/dist/{index-D6T0GkNc.js → index-Def-kZ_X.js} +3 -4
- package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
- package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
- package/dist/{index-D9pfqRAP.js → index-DvlAMJkQ.js} +3 -6
- package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
- package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
- package/dist/{index-DKAk8Fzf.js → index-SV0mQReN.js} +2 -14
- package/dist/{index-Bxgg0txy.js → index-YlVy61FH.js} +1 -2
- package/dist/{index-tRVTXeIS.js → index-avQcYIlZ.js} +2 -3
- package/dist/index.es.js +49 -51
- package/dist/{mb-render-jAsNtPqY.js → mb-render-BtXKf12F.js} +15 -21
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-C-9AZcTz.js} +8 -2
- package/dist/{pagination-design-lgUGQHWo.js → pagination-design-DyxVdL8V.js} +2 -3
- package/dist/paper-widget-design-Czt7pMDo.js +4 -0
- package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-eMDgLDg2.js} +1 -1
- package/dist/{revo-grid.entry-Bygattd8.js → revo-grid.entry-h26i-X1O.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BqzhD1hP.js → revogr-attribution_7.entry-DnWhGt3I.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-Wr7KhnJ_.js → revogr-clipboard_3.entry-DHP6m3aV.js} +2 -2
- package/dist/{revogr-data_4.entry-CrFW39f1.js → revogr-data_4.entry-CBEPKC2v.js} +2 -2
- package/dist/{revogr-filter-panel.entry-9khS41SL.js → revogr-filter-panel.entry-DpaMxMlv.js} +1 -1
- package/dist/{serialnumber-design-eXgfrjw9.js → serialnumber-design-KRWMAGLy.js} +1 -1
- package/dist/shared/index.es.js +26 -32
- package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-DarhKwZE.js} +2 -2
- package/dist/{size-editor-OEPrJU0W.js → size-editor-BqOSTI8R.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +1 -6
- package/dist/src/assets/svgs/table/index.d.ts +0 -1
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/design/create-subtable.d.ts +1 -1
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +1 -1
- package/dist/src/domain/table/design/index.d.ts +1 -1
- package/dist/src/domain/table/design/ribbon-options.d.ts +0 -1
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +0 -1
- package/dist/src/domain/table/index.d.ts +2 -3
- package/dist/src/domain/table/registry.d.ts +0 -1
- package/dist/src/domain/table/types.d.ts +3 -8
- package/dist/src/index.d.ts +0 -6
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +0 -8
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +0 -3
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -3
- package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +17 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +2 -8
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +3 -11
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +1 -23
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +5 -0
- package/dist/src/nocode-base/src/core/types/index.d.ts +0 -4
- package/dist/src/nocode-base/src/emit/enum.d.ts +12 -2
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +5 -7
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/form-tmpl-config/device-connector.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/index.d.ts +3 -5
- package/dist/src/nocode-base/src/hooks/material-balance/mb-render.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/material-balance/useMaterialBalance.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -10
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +25 -13
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +6 -5
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +4 -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 +0 -3
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +13 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +1 -2
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +4 -7
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +2 -3
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +9 -1
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +24 -8
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +99 -102
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +18 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +10 -4
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +2 -3
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +8 -5
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +8 -15
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +41 -0
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
- package/dist/src/nocode-base/src/index.d.ts +0 -2
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +3 -4
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +0 -4
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -5
- package/dist/src/nocode-base/src/interface/transform.d.ts +22 -26
- package/dist/src/nocode-base/src/types/business/index.d.ts +1 -8
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +0 -3
- package/dist/src/nocode-base/src/types/common/base.d.ts +6 -62
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +1 -1
- package/dist/src/nocode-base/src/types/fields/index.d.ts +0 -1
- package/dist/src/nocode-base/src/types/index.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/mb-render.d.ts +2 -4
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +2 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -3
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +35 -4
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +1 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +7 -4
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +6 -8
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +0 -2
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +0 -3
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +0 -4
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -7
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +1 -5
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +0 -4
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +678 -1208
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -5
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2480 -503
- 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-rule-config/panel-rule-config.vue.d.ts +1 -18
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +327 -209
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +26 -48
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +3 -8
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +108 -11
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +4 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSelectTable.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +1 -2
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +1 -2
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +19 -21
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Signature/index.d.ts +2 -1
- package/dist/src/shared/components/Signature/logic/index.d.ts +15 -2
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +29 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +2 -4
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +18 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +118 -0
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +1 -1
- package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
- package/dist/src/shared/enum/field-type.d.ts +0 -23
- package/dist/src/shared/enum/online-form.d.ts +2 -8
- package/dist/src/shared/index.d.ts +0 -1
- package/dist/src/shared/types/field-meta.d.ts +0 -1
- package/dist/src/shared/utils/field-size.d.ts +2 -4
- package/dist/src/shared/utils/lot2sn.d.ts +0 -5
- package/dist/{text-design-Dd5uT-hc.js → text-design-C-EZZVRY.js} +2 -3
- package/dist/{throttle-Cpk1LoGk-DxTostCa.js → throttle-Cpk1LoGk-DadArQT5.js} +1 -1
- package/dist/{timediff-design-DhxYymPd.js → timediff-design-q-J7ObPi.js} +1 -2
- package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-Bt6sH9nJ.js} +2 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-JFeO09Sn.js} +2 -3
- package/dist/web-render/index.es.js +5 -6
- package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-BJWcsF99.js} +4 -5
- package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-DV6kaLwd.js} +3 -4
- package/dist/{widget-image-bPGudw8R.js → widget-image-ewHjWqqr.js} +5 -5
- package/dist/{widget-line-Dw1mkN0H.js → widget-line-BDvA6h3g.js} +2 -3
- package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-DY16bTxN.js} +5 -6
- package/dist/{widget-power-Ceni1m5s.js → widget-power-CviN2kwQ.js} +3 -4
- package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-61PSq7lC.js} +3 -4
- package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-BTvirJ4W.js} +3 -3
- package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-K9k_R7rl.js} +1 -1
- package/dist/{widget-text-BIMT_dmX.js → widget-text-vMW5bWn3.js} +5 -5
- package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-t_w2rNsB.js} +2 -3
- package/package.json +4 -4
- package/dist/index-Bfrtgjub.js +0 -27
- package/dist/paper-widget-design-B6GKQFw2.js +0 -4
- package/dist/print-runtime-instance-MxA8-bHV.js +0 -36
- package/dist/print-snapshot-renderer-D6sRzdVe.js +0 -76
- package/dist/seal-design-CJO9Kmm0.js +0 -4
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +0 -2
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +0 -2
- package/dist/src/domain/field/seal/seal-manifest.d.ts +0 -2
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +0 -2
- package/dist/src/domain/field/text/udi-manifest.d.ts +0 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +0 -1
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +0 -9
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +0 -3
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +0 -1
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +0 -9
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +0 -3
- package/dist/src/domain/table/business/device/signature-lock.d.ts +0 -9
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +0 -2
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +0 -75
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +0 -2
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +0 -4
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +0 -1
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -6
- package/dist/src/nocode-base/src/components/inspection-decision-prompt-modal.vue.d.ts +0 -7
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +0 -11
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +0 -56
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +0 -24
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -67
- package/dist/src/nocode-base/src/hooks/udi.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -65
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +0 -16
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +0 -66
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +0 -2
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +0 -4
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +0 -15
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +0 -11
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +0 -21
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +0 -8
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +0 -21
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/index.d.ts +0 -18
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +0 -43
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +0 -36
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +0 -122
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +0 -82
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -26
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +0 -90
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +0 -7
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +0 -15
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +0 -132
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +0 -80
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +0 -17
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +0 -296
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +0 -93
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +0 -37
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +0 -99
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +0 -44
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +0 -23
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +0 -10
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +0 -78
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +0 -43
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +0 -194
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +0 -28
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +0 -6
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +0 -145
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +0 -11
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +0 -31
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +0 -40
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +0 -2
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +0 -6
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +0 -4
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +0 -2
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +0 -2
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +0 -7
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-condition.vue.d.ts +0 -19
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +0 -16
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +0 -54
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +0 -24
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +0 -30
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +0 -12
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +0 -33
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +0 -12
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +0 -23
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +0 -36
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +0 -21
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +0 -30
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +0 -17
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +0 -20
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +0 -8
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +0 -16
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +0 -17
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +0 -29
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -58
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +0 -14
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +0 -10
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +0 -15
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +0 -11
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +0 -11
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +0 -27
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +0 -24
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +0 -14
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +0 -6
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +0 -38
- package/dist/src/shared/seal/index.d.ts +0 -44
- package/dist/sub-table-factory-DLXJkTHY.js +0 -2118
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { RuntimeAsyncTaskCoordinator } from './async-task-coordinator';
|
|
2
|
-
import { RuntimeFormStateStore } from './runtime-form-state-store';
|
|
3
|
-
import { RuntimeSheetService } from './runtime-sheet-service';
|
|
4
|
-
/** 保存令牌可随宿主请求传递;实例重新注册后,旧令牌不能用于新实例。 */
|
|
5
|
-
export interface RuntimeSaveToken {
|
|
6
|
-
readonly coordinatorId: string;
|
|
7
|
-
readonly sequence: number;
|
|
8
|
-
readonly revision: number;
|
|
9
|
-
}
|
|
10
|
-
export interface RuntimeSubmissionValidationResult {
|
|
11
|
-
isValid: boolean;
|
|
12
|
-
fields?: Record<string, any[]>;
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}
|
|
15
|
-
/** 转换前后共用同一 revision 的数据快照;此结构本身不表示已通过校验。 */
|
|
16
|
-
export interface RuntimeSubmissionDataSnapshot<TPayload = Record<string, any>> {
|
|
17
|
-
revision: number;
|
|
18
|
-
/** 脱离 Vue 响应式对象的稳定数据快照。 */
|
|
19
|
-
formState: Readonly<Record<string, any>>;
|
|
20
|
-
payload: TPayload;
|
|
21
|
-
}
|
|
22
|
-
export interface RuntimeSubmissionSnapshot<TPayload = Record<string, any>> extends RuntimeSubmissionDataSnapshot<TPayload> {
|
|
23
|
-
isValid: true;
|
|
24
|
-
validation: RuntimeSubmissionValidationResult;
|
|
25
|
-
}
|
|
26
|
-
/** 校验失败也返回本轮结果,宿主不能从失败分支读取业务 payload。 */
|
|
27
|
-
export interface RuntimeSubmissionFailure {
|
|
28
|
-
isValid: false;
|
|
29
|
-
revision: number;
|
|
30
|
-
validation: RuntimeSubmissionValidationResult;
|
|
31
|
-
}
|
|
32
|
-
export type RuntimeSubmissionResult<TPayload = Record<string, any>> = RuntimeSubmissionSnapshot<TPayload> | RuntimeSubmissionFailure;
|
|
33
|
-
export interface PrepareRuntimeSubmissionOptions<TPayload> {
|
|
34
|
-
flushEditors: () => void | Promise<void>;
|
|
35
|
-
validate: () => RuntimeSubmissionValidationResult | undefined | Promise<RuntimeSubmissionValidationResult | undefined>;
|
|
36
|
-
transform: (formState: Record<string, any>) => TPayload;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 实例唯一的持久化协调器,统一拥有暂存版本保护和提交准备的生命周期。
|
|
40
|
-
*
|
|
41
|
-
* 暂存只记录请求序号/revision,不运行提交校验;提交等待编辑器、必要异步任务和分页,
|
|
42
|
-
* 再对同一数据版本校验、转换。服务不发送网络请求,实际保存和提交由宿主接入。
|
|
43
|
-
* Registry 每次注册创建新协调器,销毁后旧请求不能清除脏标记或生成提交快照。
|
|
44
|
-
*/
|
|
45
|
-
export declare class RuntimePersistenceCoordinator {
|
|
46
|
-
private readonly formState;
|
|
47
|
-
private readonly asyncTasks;
|
|
48
|
-
private readonly sheets;
|
|
49
|
-
/** 区分同 uniqueId 的不同注册生命周期;可序列化令牌不依赖对象引用。 */
|
|
50
|
-
private readonly coordinatorId;
|
|
51
|
-
/** 当前实例最后发起的保存序号;不再重复维护 started/completed 两套计数。 */
|
|
52
|
-
private saveSequence;
|
|
53
|
-
/** 同一实例的业务写请求串行发送,避免较早的暂存最后落库覆盖较新的提交。 */
|
|
54
|
-
private saveTail;
|
|
55
|
-
private preparingSubmission?;
|
|
56
|
-
private disposed;
|
|
57
|
-
constructor(formState: RuntimeFormStateStore, asyncTasks: RuntimeAsyncTaskCoordinator, sheets: RuntimeSheetService);
|
|
58
|
-
/** 导航等异步 UI 工作结束后,Controller 再确认返回快照仍属于当前数据版本。 */
|
|
59
|
-
isCurrentRevision(revision: number): boolean;
|
|
60
|
-
/** 【宿主接入·已接通】业务按钮用快照 revision 创建令牌,交给 runSave 串行发送。 */
|
|
61
|
-
beginSave(expectedRevision?: number): RuntimeSaveToken;
|
|
62
|
-
/** 只有同一注册生命周期中最后发起、且数据版本未变化的响应才有效。 */
|
|
63
|
-
isLatestSave(token: RuntimeSaveToken): boolean;
|
|
64
|
-
/** runSave 和保存后回填共同使用;false 表示过期,不能回填或更新保存基准。 */
|
|
65
|
-
completeSave(token: RuntimeSaveToken): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* 宿主提供实际请求;队列开始及响应回来均检查令牌。失败不确认保存,且不阻塞下一次重试。
|
|
68
|
-
* dhr-kit 的按钮、暂存及自动保存统一使用此入口,服务不拼装业务 API 参数。
|
|
69
|
-
*/
|
|
70
|
-
runSave(token: RuntimeSaveToken, send: () => Promise<unknown>): Promise<boolean>;
|
|
71
|
-
/**
|
|
72
|
-
* 提交事务:编辑器收口、异步任务、分页、校验和业务转换必须消费同一 revision。
|
|
73
|
-
* 校验期间数据继续变化时整轮重做,调用方不会再拿到“校验旧数据、提交新数据”的结果。
|
|
74
|
-
*/
|
|
75
|
-
prepareSubmission<TPayload>(options: PrepareRuntimeSubmissionOptions<TPayload>): Promise<RuntimeSubmissionResult<TPayload>>;
|
|
76
|
-
/**
|
|
77
|
-
* 仅预览转换后的数据,不校验、不导航、不写入正式提交缓存。
|
|
78
|
-
* 编辑器、异步任务及分页仍先收敛,转换逻辑与正式提交共用同一个快照生成方法。
|
|
79
|
-
*/
|
|
80
|
-
prepareDataSnapshot<TPayload>(options: Pick<PrepareRuntimeSubmissionOptions<TPayload>, 'flushEditors' | 'transform'>): Promise<RuntimeSubmissionDataSnapshot<TPayload>>;
|
|
81
|
-
/**
|
|
82
|
-
* 打印与调试共用的稳定读取事务:收口输入、等待任务及全部 Sheet 分页,
|
|
83
|
-
* 再同步捕获数据和版式。不会校验、保存或写入正式提交缓存。
|
|
84
|
-
*/
|
|
85
|
-
prepareReadSnapshot<T>(flushEditors: () => void | Promise<void>, capture: (formState: Record<string, any>, revision: number) => T): Promise<T>;
|
|
86
|
-
private prepareSubmissionUntilStable;
|
|
87
|
-
/** 预览和正式提交使用同一转换入口,转换期间数据变化则丢弃本轮结果。 */
|
|
88
|
-
private createDataSnapshot;
|
|
89
|
-
private prepareUntilStable;
|
|
90
|
-
/** 同时关闭暂存确认和提交准备;已发送的业务请求仍由宿主处理。 */
|
|
91
|
-
dispose(): void;
|
|
92
|
-
private assertAlive;
|
|
93
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IBasicInfoItem } from '../types';
|
|
2
|
-
import { RuntimeInstanceRecord } from './runtime-instance-registry';
|
|
3
|
-
export type RuntimeRuleBasicInfo = Pick<IBasicInfoItem, 'renderModeType' | 'modelKey' | 'formType' | 'bpmnType' | 'bpmnFieldAuthMap'> & Partial<Pick<IBasicInfoItem, 'annSwitchStatus'>> & Partial<Pick<IBasicInfoItem, 'formChangeStatus' | 'formChangeOriginData' | 'formChangeNewData'>>;
|
|
4
|
-
/**
|
|
5
|
-
* 一个表单实例共用一个规则编译器,覆盖所有 Sheet,包括尚未打开的页面。
|
|
6
|
-
* - 静态联动配置只注册一次,执行交给 RuntimeDependencyService。
|
|
7
|
-
* - 校验规则随行/列结构、条件结果和渲染模式刷新,验证执行仍由校验模块负责。
|
|
8
|
-
* - 从 RuntimeFieldRegistry 读取元数据,不扫描 dataCenter;切换 Sheet 无需重新编译。
|
|
9
|
-
* - 它是规则唯一生产者,组件只显示样式;整份规则完成后原子发布。
|
|
10
|
-
* 由 RuntimeInstanceRecord 持有,实例销毁时统一清理订阅、effect 和实例规则。
|
|
11
|
-
*/
|
|
12
|
-
export declare class RuntimeRuleCompiler {
|
|
13
|
-
private readonly record;
|
|
14
|
-
private basicInfo;
|
|
15
|
-
private readonly unregisters;
|
|
16
|
-
private validationScheduled;
|
|
17
|
-
private disposed;
|
|
18
|
-
private renderModeType;
|
|
19
|
-
constructor(record: RuntimeInstanceRecord, basicInfo: RuntimeRuleBasicInfo);
|
|
20
|
-
/** 查看/编辑模式或权限配置变化时即时刷新,不重复注册联动 effect。 */
|
|
21
|
-
refreshValidation(basicInfo?: RuntimeRuleBasicInfo): void;
|
|
22
|
-
/** 校验执行前的明确准备入口,等待联动完成后同步生成当前规则,替代挂载数量轮询。 */
|
|
23
|
-
prepareValidation(): Promise<void>;
|
|
24
|
-
/** 实例销毁时删除全部规则,组件生命周期不再参与规则清理。 */
|
|
25
|
-
dispose(): void;
|
|
26
|
-
/** 同一微任务内的结构和条件变化只生成一次规则;销毁后排队任务直接结束。 */
|
|
27
|
-
private scheduleValidation;
|
|
28
|
-
private getStructureSignature;
|
|
29
|
-
/** 只记录会改变规则的行身份与业务状态;普通输入值不会造成全量重编译。 */
|
|
30
|
-
private getValidationSignature;
|
|
31
|
-
/** 注册条件属性和赋值规则;异步计算结束后检查编译器是否已随实例销毁。 */
|
|
32
|
-
private compileWidgetDependencies;
|
|
33
|
-
private canWriteFormulas;
|
|
34
|
-
private getWritableRow;
|
|
35
|
-
/** 公式变更记录也属于实例生命周期,未打开的 Sheet 不再漏记。 */
|
|
36
|
-
private recordFormulaChange;
|
|
37
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { RuntimeFieldRegistry } from './runtime-field-registry';
|
|
2
|
-
import { RuntimeInstanceContext } from './runtime-context';
|
|
3
|
-
import { RuntimeInstanceController } from './runtime-instance-controller';
|
|
4
|
-
import { RuntimeFormStateStore } from './runtime-form-state-store';
|
|
5
|
-
import { IPageData } from '../types';
|
|
6
|
-
import { RuntimeNodeMap } from './multi-sheet-runtime';
|
|
7
|
-
export interface RuntimeNavigationTarget {
|
|
8
|
-
sheetId?: string;
|
|
9
|
-
nodeId?: string;
|
|
10
|
-
widgetId?: string;
|
|
11
|
-
rowKey?: string;
|
|
12
|
-
fieldId?: string;
|
|
13
|
-
subFieldKey?: string;
|
|
14
|
-
modelKey?: string;
|
|
15
|
-
subModelKey?: string;
|
|
16
|
-
validationPath?: string;
|
|
17
|
-
annotationLocation?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface ResolvedRuntimeNavigationTarget extends RuntimeNavigationTarget {
|
|
20
|
-
sheetId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface RuntimeNavigationHost {
|
|
23
|
-
reveal(target: ResolvedRuntimeNavigationTarget): void | Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
/** 宿主提供渲染位置,服务按业务字段、模型及稳定行键进行精确匹配。 */
|
|
26
|
-
export interface RuntimeRenderedFieldLocation {
|
|
27
|
-
sheetId?: string;
|
|
28
|
-
nodeId?: string;
|
|
29
|
-
widgetId?: string;
|
|
30
|
-
fieldId?: string;
|
|
31
|
-
subFieldKey?: string;
|
|
32
|
-
rowKey?: string;
|
|
33
|
-
modelKey?: string;
|
|
34
|
-
subModelKey?: string;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 每份实例唯一的 Sheet 展示服务:订阅数据变更、标记分页失效、重新分页和定位控件。
|
|
38
|
-
*
|
|
39
|
-
* 分页状态只保存在 context.sheets,不再额外维护一份 dirty Set。
|
|
40
|
-
* Controller 负责编辑器收口和切换竞态;本服务负责分页版本检查与业务坐标解析。
|
|
41
|
-
* DOM 滚动、聚焦由宿主通过 bindHost 接入,实例销毁时统一停止订阅并解除绑定。
|
|
42
|
-
*/
|
|
43
|
-
export declare class RuntimeSheetService {
|
|
44
|
-
private readonly context;
|
|
45
|
-
private readonly fields;
|
|
46
|
-
/** 分页及行定位读取实例唯一的 Store,避免上下文另挂一份数据入口。 */
|
|
47
|
-
private readonly formState;
|
|
48
|
-
/**
|
|
49
|
-
* 运行时内部的分页算法入口,初始化与后续重新分页均调用此方法。
|
|
50
|
-
* 只接收目标 Sheet 节点和实例共享数据,业务宿主无需注入或配置算法。
|
|
51
|
-
*/
|
|
52
|
-
static calculatePages(dataCenter: RuntimeNodeMap, formState: Record<string, any>): IPageData[];
|
|
53
|
-
private controller?;
|
|
54
|
-
private host?;
|
|
55
|
-
private disposed;
|
|
56
|
-
/** 同一轮用户输入、公式和行增删只排一次当前 Sheet 分页;未打开页面保持懒计算。 */
|
|
57
|
-
private paginationTimer?;
|
|
58
|
-
private calculatingDepth;
|
|
59
|
-
private automaticPaginationRunning;
|
|
60
|
-
/** 分页算法自身改写数据时允许有限次数重算,避免错误算法持续占用事件循环。 */
|
|
61
|
-
private automaticPaginationRounds;
|
|
62
|
-
private readonly unsubscribe;
|
|
63
|
-
constructor(context: RuntimeInstanceContext, fields: RuntimeFieldRegistry,
|
|
64
|
-
/** 分页及行定位读取实例唯一的 Store,避免上下文另挂一份数据入口。 */
|
|
65
|
-
formState: RuntimeFormStateStore);
|
|
66
|
-
/** 当前 Sheet 自动合并重算;其他 Sheet 保持失效标记,在切换或提交时消费。 */
|
|
67
|
-
markDirty(sheetId: string): void;
|
|
68
|
-
markAllDirty(): void;
|
|
69
|
-
isDirty(sheetId: string): boolean;
|
|
70
|
-
/** 按模板顺序返回失效 Sheet,保证批量分页顺序稳定。 */
|
|
71
|
-
listDirtySheetIds(): string[];
|
|
72
|
-
/** 分页异常或计算期间 Store 被修改时保留失效标记,下一轮使用最新数据重算。 */
|
|
73
|
-
recalculateSheet(sheetId?: string): IPageData[];
|
|
74
|
-
/**
|
|
75
|
-
* 分页只由实例服务调度,不依赖子表组件挂载或宿主 provide 回调。
|
|
76
|
-
* 使用下一轮任务合并本轮同步写入和公式微任务;执行时重新读取活动 Sheet,防止旧任务刷新错页。
|
|
77
|
-
*/
|
|
78
|
-
private scheduleActivePagination;
|
|
79
|
-
/** 提交事务消费本轮失效 Sheet;分页引发新修改时由事务再进入下一轮。 */
|
|
80
|
-
flush(): Promise<void>;
|
|
81
|
-
private handleChange;
|
|
82
|
-
bindController(controller: RuntimeInstanceController): void;
|
|
83
|
-
/**
|
|
84
|
-
* 【库内接入】PreviewContainer 已绑定 DOM 定位;自行实现渲染容器的宿主需绑定
|
|
85
|
-
* reveal,并在卸载时调用返回的解除函数。服务准备布局和位置,不直接操作宿主 DOM。
|
|
86
|
-
*/
|
|
87
|
-
bindHost(host: RuntimeNavigationHost): () => void;
|
|
88
|
-
/** 全量校验按 Sheet 创建顺序定位首个可解析错误;子表行和二维列继续按稳定身份解析。 */
|
|
89
|
-
navigateFirstError(paths: string[]): Promise<boolean>;
|
|
90
|
-
navigate(target: RuntimeNavigationTarget): Promise<boolean>;
|
|
91
|
-
resolve(target: RuntimeNavigationTarget): ResolvedRuntimeNavigationTarget | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* 【库内接入】自定义容器可复用此方法匹配真实控件,避免自行忽略子表行或二维列。
|
|
94
|
-
* 固定表展开后 widgetId 可能变化,模型 + 业务字段 + 行键才是数据位置。
|
|
95
|
-
*/
|
|
96
|
-
matchesRenderedTarget(target: ResolvedRuntimeNavigationTarget, location: RuntimeRenderedFieldLocation): boolean;
|
|
97
|
-
dispose(): void;
|
|
98
|
-
private assertAlive;
|
|
99
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { RuntimeFormStateStore } from './runtime-form-state-store';
|
|
2
|
-
import { PlatformEnum } from '../constant';
|
|
3
|
-
import { FormRuleEntry, ValidationRunMode, ValidationCommentMap, ValidateResult } from '../hooks/validation/types';
|
|
4
|
-
export interface RuntimeValidationBinding {
|
|
5
|
-
platformType?: PlatformEnum;
|
|
6
|
-
prepareRules(): void | Promise<void>;
|
|
7
|
-
getKeepExceptionHighlight?(): boolean | null | undefined;
|
|
8
|
-
applyComments(comments: ValidationCommentMap): void;
|
|
9
|
-
getComments(): ValidationCommentMap;
|
|
10
|
-
}
|
|
11
|
-
export declare class RuntimeValidationService {
|
|
12
|
-
private readonly store;
|
|
13
|
-
private entries;
|
|
14
|
-
private binding?;
|
|
15
|
-
private disposed;
|
|
16
|
-
private generation;
|
|
17
|
-
private liveTimer?;
|
|
18
|
-
private displayTimer?;
|
|
19
|
-
private pendingLive?;
|
|
20
|
-
private liveRunning;
|
|
21
|
-
constructor(store: RuntimeFormStateStore);
|
|
22
|
-
/** 工厂连接模式/权限和错误展示;此绑定只属于当前服务实例,不按业务 ID 全局注册。 */
|
|
23
|
-
bind(binding: RuntimeValidationBinding): void;
|
|
24
|
-
/** 编译成功才原子替换规则;子表行删除后同步清理失效的错误位置。 */
|
|
25
|
-
replaceRules(entries: Map<string, FormRuleEntry>): void;
|
|
26
|
-
listRuleKeys(): string[];
|
|
27
|
-
/** 调试及规则核对使用只读描述;规则函数仍由服务持有。 */
|
|
28
|
-
getDebugSnapshot(): {
|
|
29
|
-
ruleCount: number;
|
|
30
|
-
livePending: boolean;
|
|
31
|
-
displayPending: boolean;
|
|
32
|
-
bound: boolean;
|
|
33
|
-
};
|
|
34
|
-
validate(mode?: ValidationRunMode, paths?: Iterable<string>): Promise<ValidateResult | undefined>;
|
|
35
|
-
/** 只有失焦由组件触发;change 由 Store 订阅触发,同轮请求合并,运行中再输入也会补跑。 */
|
|
36
|
-
requestLive(trigger?: 'change' | 'blur', immediate?: boolean): void;
|
|
37
|
-
private flushLive;
|
|
38
|
-
requestDisplay(immediate?: boolean): void;
|
|
39
|
-
pruneComments(): void;
|
|
40
|
-
settleAfterModeSwitch(runChangeLive?: boolean): Promise<void>;
|
|
41
|
-
private cancelScheduled;
|
|
42
|
-
dispose(): void;
|
|
43
|
-
private assertAlive;
|
|
44
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/** 二维子行与关联列行的运行时关系;提交前剥离,后端仍保存原 rowRefFieldKey。 */
|
|
2
|
-
export declare const RUNTIME_COLUMN_ROW_KEY = "_column_row_key_";
|
|
3
|
-
export interface RuntimeTableRelation {
|
|
4
|
-
rowSubFieldKey: string;
|
|
5
|
-
colSubFieldKey?: string;
|
|
6
|
-
rowRefFieldKey?: string;
|
|
7
|
-
colRefFieldKey?: string;
|
|
8
|
-
crossFieldKeys?: string[];
|
|
9
|
-
}
|
|
10
|
-
/** 查找普通/固定业务行或二维子行,禁止按下标回退;删除行不参与当前填报。 */
|
|
11
|
-
export declare function findRuntimeTableRow(rows: any, rowKey: string | undefined): Record<string, any> | undefined;
|
|
12
|
-
/** 由子行键查所属外层行,检验项类型、行级签名及变更基准均复用此查询。 */
|
|
13
|
-
export declare function findRuntimeParentRow(rows: any, rowKey: string | undefined): Record<string, any> | undefined;
|
|
14
|
-
/** 根据关联列行的稳定键取二维单元格,列或子行重排都不会改变绑定关系。 */
|
|
15
|
-
export declare function findRuntimeTableCell(parent: any, columnRowKey: string | undefined): any;
|
|
16
|
-
/** 模板坐标只选择当前展示的列行,取业务单元格则按列行键匹配,不能按子数组下标配对。 */
|
|
17
|
-
export declare function getRenderedRuntimeTableCell(state: Record<string, any>, info: RuntimeTableRelation | undefined, parent: any, displayColumn: number): any;
|
|
18
|
-
/**
|
|
19
|
-
* 初始化边界建立二维关联:已有关系直接保留;已保存记录按业务引用值匹配列行。
|
|
20
|
-
* 新建的空单元格按模板创建顺序与列行建立一次关系,之后只按列行键查询。
|
|
21
|
-
* 这是把模板版式转成行身份的唯一边界,运行时重排和提交不再按数组位置配对。
|
|
22
|
-
*/
|
|
23
|
-
export declare function bindRuntimeTableColumns(state: Record<string, any>, relations: readonly RuntimeTableRelation[]): string[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseCoreComponent } from '../common/base';
|
|
2
|
-
import { SealPosition } from '../../../../shared/seal';
|
|
3
|
-
export interface ISealProps extends BaseCoreComponent.FieldBasicProps {
|
|
4
|
-
sealSourceId?: string;
|
|
5
|
-
diameterMm: number;
|
|
6
|
-
sealPosition: SealPosition;
|
|
7
|
-
}
|
|
8
|
-
export interface ISeal extends BaseCoreComponent.BasicSchema {
|
|
9
|
-
props: ISealProps;
|
|
10
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { TablePaginationConfig } from 'ant-design-vue';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
columns: any[];
|
|
4
|
-
tableData: any[];
|
|
5
|
-
modelValue?: string;
|
|
6
|
-
loading: boolean;
|
|
7
|
-
paginationAttr: TablePaginationConfig;
|
|
8
|
-
height?: string;
|
|
9
|
-
wrapperHeight?: number | string;
|
|
10
|
-
wrapperWidth?: number | string;
|
|
11
|
-
autoResize?: boolean;
|
|
12
|
-
treeConfig?: Record<string, any> | boolean;
|
|
13
|
-
/** 显示行操作按钮 */
|
|
14
|
-
showRowSelectionMode?: boolean;
|
|
15
|
-
rowSelectionMode?: 'single' | 'multiple';
|
|
16
|
-
};
|
|
17
|
-
declare function __VLS_template(): {
|
|
18
|
-
attrs: Partial<{}>;
|
|
19
|
-
slots: {
|
|
20
|
-
rdo_version_render?(_: {
|
|
21
|
-
record: any;
|
|
22
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
|
|
23
|
-
rowIndex: number;
|
|
24
|
-
}): any;
|
|
25
|
-
};
|
|
26
|
-
refs: {
|
|
27
|
-
xTable: {
|
|
28
|
-
$props: import('vxe-table').VxeTableProps<any> & {
|
|
29
|
-
layouts?: import("vxe-table").VxeGridPropTypes.Layouts;
|
|
30
|
-
columns?: import("vxe-table").VxeGridPropTypes.Columns<any> | undefined;
|
|
31
|
-
pagerConfig?: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
32
|
-
proxyConfig?: import("vxe-table").VxeGridPropTypes.ProxyConfig<any> | undefined;
|
|
33
|
-
toolbarConfig?: import("vxe-table").VxeGridPropTypes.ToolbarConfig;
|
|
34
|
-
formConfig?: import("vxe-table").VxeGridPropTypes.FormConfig;
|
|
35
|
-
zoomConfig?: import("vxe-table").VxeGridPropTypes.ZoomConfig;
|
|
36
|
-
} & import('vxe-table').VxeGridEventProps<any>;
|
|
37
|
-
$slots: import('vxe-table').VxeGridSlots<any>;
|
|
38
|
-
} | null;
|
|
39
|
-
};
|
|
40
|
-
rootEl: HTMLDivElement;
|
|
41
|
-
};
|
|
42
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
44
|
-
getRef: () => any;
|
|
45
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
-
request: (...args: any[]) => void;
|
|
47
|
-
"change-select": (...args: any[]) => void;
|
|
48
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
49
|
-
onRequest?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
"onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
}>, {
|
|
52
|
-
height: string;
|
|
53
|
-
autoResize: boolean;
|
|
54
|
-
wrapperHeight: number | string;
|
|
55
|
-
wrapperWidth: number | string;
|
|
56
|
-
showRowSelectionMode: boolean;
|
|
57
|
-
rowSelectionMode: "single" | "multiple";
|
|
58
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
59
|
-
xTable: {
|
|
60
|
-
$props: import('vxe-table').VxeTableProps<any> & {
|
|
61
|
-
layouts?: import("vxe-table").VxeGridPropTypes.Layouts;
|
|
62
|
-
columns?: import("vxe-table").VxeGridPropTypes.Columns<any> | undefined;
|
|
63
|
-
pagerConfig?: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
64
|
-
proxyConfig?: import("vxe-table").VxeGridPropTypes.ProxyConfig<any> | undefined;
|
|
65
|
-
toolbarConfig?: import("vxe-table").VxeGridPropTypes.ToolbarConfig;
|
|
66
|
-
formConfig?: import("vxe-table").VxeGridPropTypes.FormConfig;
|
|
67
|
-
zoomConfig?: import("vxe-table").VxeGridPropTypes.ZoomConfig;
|
|
68
|
-
} & import('vxe-table').VxeGridEventProps<any>;
|
|
69
|
-
$slots: import('vxe-table').VxeGridSlots<any>;
|
|
70
|
-
} | null;
|
|
71
|
-
}, HTMLDivElement>;
|
|
72
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
73
|
-
export default _default;
|
|
74
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
-
new (): {
|
|
76
|
-
$slots: S;
|
|
77
|
-
};
|
|
78
|
-
};
|
package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
interface LotDisplayRow {
|
|
2
|
-
relatedParentName?: string;
|
|
3
|
-
related_parent_name_?: string;
|
|
4
|
-
materialNo?: string;
|
|
5
|
-
material_no_?: string;
|
|
6
|
-
_info_?: {
|
|
7
|
-
relatedParentName?: string;
|
|
8
|
-
};
|
|
9
|
-
data?: {
|
|
10
|
-
relatedParentName?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare function getLotDisplayMaterialNo(row?: LotDisplayRow): string;
|
|
14
|
-
export declare const getColumns: (orderKeys: string[], isTree?: boolean) => any[];
|
|
15
|
-
export declare function renderWithFormatter(column?: any, row?: any): any;
|
|
16
|
-
/** tree 转换:用于 rdo 场景 */
|
|
17
|
-
export declare const transformTreeData: (options?: any[], currentValue?: string) => {
|
|
18
|
-
data: {
|
|
19
|
-
__DEFAULT__: any;
|
|
20
|
-
__RDO_LABEL__: any;
|
|
21
|
-
__SHOW_LABEL__: any;
|
|
22
|
-
__VALUE__: any;
|
|
23
|
-
__P_POS__: number;
|
|
24
|
-
__HAS_ONE_CHILD__: boolean;
|
|
25
|
-
children: any;
|
|
26
|
-
}[];
|
|
27
|
-
highlightIdx: {
|
|
28
|
-
parent: number;
|
|
29
|
-
child: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
/** table 转换:用于 lot 场景 */
|
|
33
|
-
export declare const transformLotData: (options?: any[], currentValue?: string | string[], attr?: string[]) => {
|
|
34
|
-
data: {
|
|
35
|
-
__SHOW_LABEL__: any;
|
|
36
|
-
__VALUE__: any;
|
|
37
|
-
__POS__: number;
|
|
38
|
-
}[];
|
|
39
|
-
highlightIdx: {
|
|
40
|
-
index: number[];
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
modelValue?: string;
|
|
3
|
-
modelCategory?: string;
|
|
4
|
-
/**
|
|
5
|
-
* 未传 fieldKey 时为被引用模型(如 em_product);
|
|
6
|
-
* 与 fieldKey 同时传入时为宿主模型 key。
|
|
7
|
-
*/
|
|
8
|
-
modelKey: string;
|
|
9
|
-
/** 宿主模型上的关联字段;非必填,不传则走 rdoListByPage */
|
|
10
|
-
fieldKey?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
/** 是否选中父级实际选中默认子版本 */
|
|
13
|
-
parentToDefault?: boolean;
|
|
14
|
-
/** 当产品只有一个的版本时,是否隐藏版本号 */
|
|
15
|
-
hideSingleVersion?: boolean;
|
|
16
|
-
/** 是否在输入框的选中值后显示“默认”标签 */
|
|
17
|
-
showDefaultTag?: boolean;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
columnKeys?: string[];
|
|
20
|
-
};
|
|
21
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (...args: any[]) => void;
|
|
23
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
placeholder: string;
|
|
27
|
-
modelCategory: string;
|
|
28
|
-
parentToDefault: boolean;
|
|
29
|
-
showDefaultTag: boolean;
|
|
30
|
-
hideSingleVersion: boolean;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
-
selectTableRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
33
|
-
modelValue?: string;
|
|
34
|
-
parentToDefault: boolean;
|
|
35
|
-
fetch: Function;
|
|
36
|
-
columnKeys?: string[];
|
|
37
|
-
}> & Readonly<{
|
|
38
|
-
"onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}>, {
|
|
40
|
-
getRef: () => any;
|
|
41
|
-
search: (keyword?: string) => Promise<import('./useSelectTable.ts').FetcherResult>;
|
|
42
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
-
"change-select": (...args: any[]) => void;
|
|
44
|
-
}, import('vue').PublicProps, {
|
|
45
|
-
parentToDefault: boolean;
|
|
46
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
47
|
-
xTable: ({
|
|
48
|
-
$: import('vue').ComponentInternalInstance;
|
|
49
|
-
$data: {};
|
|
50
|
-
$props: {
|
|
51
|
-
readonly columns: any[];
|
|
52
|
-
readonly tableData: any[];
|
|
53
|
-
readonly modelValue?: string | undefined;
|
|
54
|
-
readonly loading: boolean;
|
|
55
|
-
readonly paginationAttr: import('ant-design-vue').TablePaginationConfig;
|
|
56
|
-
readonly height?: string | undefined;
|
|
57
|
-
readonly wrapperHeight?: number | string | undefined;
|
|
58
|
-
readonly wrapperWidth?: number | string | undefined;
|
|
59
|
-
readonly autoResize?: boolean | undefined;
|
|
60
|
-
readonly treeConfig?: (Record<string, any> | boolean) | undefined;
|
|
61
|
-
readonly showRowSelectionMode?: boolean | undefined;
|
|
62
|
-
readonly rowSelectionMode?: "single" | "multiple" | undefined;
|
|
63
|
-
readonly onRequest?: ((...args: any[]) => any) | undefined;
|
|
64
|
-
readonly "onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
66
|
-
$attrs: import('vue').Attrs;
|
|
67
|
-
$refs: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
} & {
|
|
70
|
-
xTable: {
|
|
71
|
-
$props: import('vxe-table').VxeTableProps<any> & {
|
|
72
|
-
layouts?: import("vxe-table").VxeGridPropTypes.Layouts;
|
|
73
|
-
columns?: import("vxe-table").VxeGridPropTypes.Columns<any> | undefined;
|
|
74
|
-
pagerConfig?: import("vxe-table").VxeGridPropTypes.PagerConfig;
|
|
75
|
-
proxyConfig?: import("vxe-table").VxeGridPropTypes.ProxyConfig<any> | undefined;
|
|
76
|
-
toolbarConfig?: import("vxe-table").VxeGridPropTypes.ToolbarConfig;
|
|
77
|
-
formConfig?: import("vxe-table").VxeGridPropTypes.FormConfig;
|
|
78
|
-
zoomConfig?: import("vxe-table").VxeGridPropTypes.ZoomConfig;
|
|
79
|
-
} & import('vxe-table').VxeGridEventProps<any>;
|
|
80
|
-
$slots: import('vxe-table').VxeGridSlots<any>;
|
|
81
|
-
} | null;
|
|
82
|
-
};
|
|
83
|
-
$slots: Readonly<{
|
|
84
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
85
|
-
}>;
|
|
86
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
87
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
88
|
-
$host: Element | null;
|
|
89
|
-
$emit: ((event: "request", ...args: any[]) => void) & ((event: "change-select", ...args: any[]) => void);
|
|
90
|
-
$el: HTMLDivElement;
|
|
91
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
92
|
-
columns: any[];
|
|
93
|
-
tableData: any[];
|
|
94
|
-
modelValue?: string;
|
|
95
|
-
loading: boolean;
|
|
96
|
-
paginationAttr: import('ant-design-vue').TablePaginationConfig;
|
|
97
|
-
height?: string;
|
|
98
|
-
wrapperHeight?: number | string;
|
|
99
|
-
wrapperWidth?: number | string;
|
|
100
|
-
autoResize?: boolean;
|
|
101
|
-
treeConfig?: Record<string, any> | boolean;
|
|
102
|
-
showRowSelectionMode?: boolean;
|
|
103
|
-
rowSelectionMode?: "single" | "multiple";
|
|
104
|
-
}> & Readonly<{
|
|
105
|
-
onRequest?: ((...args: any[]) => any) | undefined;
|
|
106
|
-
"onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
}>, {
|
|
108
|
-
getRef: () => any;
|
|
109
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
110
|
-
request: (...args: any[]) => void;
|
|
111
|
-
"change-select": (...args: any[]) => void;
|
|
112
|
-
}, string, {
|
|
113
|
-
height: string;
|
|
114
|
-
autoResize: boolean;
|
|
115
|
-
wrapperHeight: number | string;
|
|
116
|
-
wrapperWidth: number | string;
|
|
117
|
-
showRowSelectionMode: boolean;
|
|
118
|
-
rowSelectionMode: "single" | "multiple";
|
|
119
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
120
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
121
|
-
created?: (() => void) | (() => void)[];
|
|
122
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
123
|
-
mounted?: (() => void) | (() => void)[];
|
|
124
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
125
|
-
updated?: (() => void) | (() => void)[];
|
|
126
|
-
activated?: (() => void) | (() => void)[];
|
|
127
|
-
deactivated?: (() => void) | (() => void)[];
|
|
128
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
129
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
130
|
-
destroyed?: (() => void) | (() => void)[];
|
|
131
|
-
unmounted?: (() => void) | (() => void)[];
|
|
132
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
133
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
134
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
135
|
-
};
|
|
136
|
-
$forceUpdate: () => void;
|
|
137
|
-
$nextTick: typeof import('vue').nextTick;
|
|
138
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
139
|
-
} & Readonly<{
|
|
140
|
-
height: string;
|
|
141
|
-
autoResize: boolean;
|
|
142
|
-
wrapperHeight: number | string;
|
|
143
|
-
wrapperWidth: number | string;
|
|
144
|
-
showRowSelectionMode: boolean;
|
|
145
|
-
rowSelectionMode: "single" | "multiple";
|
|
146
|
-
}> & Omit<Readonly<{
|
|
147
|
-
columns: any[];
|
|
148
|
-
tableData: any[];
|
|
149
|
-
modelValue?: string;
|
|
150
|
-
loading: boolean;
|
|
151
|
-
paginationAttr: import('ant-design-vue').TablePaginationConfig;
|
|
152
|
-
height?: string;
|
|
153
|
-
wrapperHeight?: number | string;
|
|
154
|
-
wrapperWidth?: number | string;
|
|
155
|
-
autoResize?: boolean;
|
|
156
|
-
treeConfig?: Record<string, any> | boolean;
|
|
157
|
-
showRowSelectionMode?: boolean;
|
|
158
|
-
rowSelectionMode?: "single" | "multiple";
|
|
159
|
-
}> & Readonly<{
|
|
160
|
-
onRequest?: ((...args: any[]) => any) | undefined;
|
|
161
|
-
"onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
162
|
-
}>, "getRef" | ("height" | "autoResize" | "wrapperHeight" | "wrapperWidth" | "showRowSelectionMode" | "rowSelectionMode")> & {
|
|
163
|
-
getRef: () => any;
|
|
164
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
165
|
-
$slots: {
|
|
166
|
-
rdo_version_render?(_: {
|
|
167
|
-
record: any;
|
|
168
|
-
column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
|
|
169
|
-
rowIndex: number;
|
|
170
|
-
}): any;
|
|
171
|
-
};
|
|
172
|
-
}) | null;
|
|
173
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
174
|
-
P: {};
|
|
175
|
-
B: {};
|
|
176
|
-
D: {};
|
|
177
|
-
C: {};
|
|
178
|
-
M: {};
|
|
179
|
-
Defaults: {};
|
|
180
|
-
}, Readonly<{
|
|
181
|
-
modelValue?: string;
|
|
182
|
-
parentToDefault: boolean;
|
|
183
|
-
fetch: Function;
|
|
184
|
-
columnKeys?: string[];
|
|
185
|
-
}> & Readonly<{
|
|
186
|
-
"onChange-select"?: ((...args: any[]) => any) | undefined;
|
|
187
|
-
}>, {
|
|
188
|
-
getRef: () => any;
|
|
189
|
-
search: (keyword?: string) => Promise<import('./useSelectTable.ts').FetcherResult>;
|
|
190
|
-
}, {}, {}, {}, {
|
|
191
|
-
parentToDefault: boolean;
|
|
192
|
-
}> | null;
|
|
193
|
-
}, any>;
|
|
194
|
-
export default _default;
|
package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function useAsyncOptions({ bindModelKey, fieldKey, modelCategory, hideSingleVersion, showDefaultTag, }: {
|
|
2
|
-
bindModelKey: string;
|
|
3
|
-
/** 宿主模型上的关联字段;与 bindModelKey 同时有值时列表走 queryRefData */
|
|
4
|
-
fieldKey?: string;
|
|
5
|
-
modelCategory: string;
|
|
6
|
-
hideSingleVersion?: boolean;
|
|
7
|
-
showDefaultTag?: boolean;
|
|
8
|
-
}): {
|
|
9
|
-
getChildrenByIds: (id_: string) => Promise<{
|
|
10
|
-
label: any;
|
|
11
|
-
value: string | undefined;
|
|
12
|
-
full_path: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>;
|
|
15
|
-
}[]>;
|
|
16
|
-
getRdoAsyncOptions: (arg?: IParams) => Promise<{
|
|
17
|
-
options: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
_DICT: object;
|
|
20
|
-
_OPCT: object;
|
|
21
|
-
}[];
|
|
22
|
-
finished: any;
|
|
23
|
-
totalCount: any;
|
|
24
|
-
}>;
|
|
25
|
-
makeFullPath: (label: any, addDefaultTag?: boolean) => () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}>;
|
|
28
|
-
};
|