@gct-paas/excel 0.1.37-beta.2 → 0.1.37
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-D3g_D7hp.js} +2 -3
- package/dist/base/index.es.js +2799 -2279
- package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-BinP4Wlt.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-jNu29iVm.js} +2 -2
- package/dist/{font-editor-hpUeXFv_.js → font-editor-B6cYSWqo.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-D9pfqRAP.js → index-BtZbUJqv.js} +3 -6
- 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-CZv8lo_f.js → index-C8ArafDL.js} +2 -3
- package/dist/{index-BY7_uLSS.js → index-C91SfhAb.js} +1 -2
- package/dist/{index-B9q2iVJw.js → index-CkgB26Uk.js} +3 -4
- package/dist/{index-YuHHwSzv.js → index-ClnlX2jZ.js} +1 -2
- package/dist/{index-BezxcVwZ.js → index-CnTC_LFJ.js} +2 -3
- package/dist/{index-CUhR3L97.js → index-D3Oj5SoQ.js} +3 -4
- package/dist/{index-CXBwY7ba.js → index-DCMnBDPA.js} +237 -432
- package/dist/{index-HNE-yLqK.js → index-DF5irDE9.js} +2 -3
- package/dist/{index-DX1Nqubf.js → index-DSISN2ys.js} +2 -3
- package/dist/{index-557u9lSs.js → index-Dg6nmj-a.js} +74 -9
- package/dist/{index-CUhlQ0aK.js → index-DgUHgge3.js} +3 -4
- package/dist/{index-DKAk8Fzf.js → index-DnLs4s1z.js} +2 -14
- package/dist/{index-Crs2UUiJ.js → index-DqDGmouR.js} +2 -3
- package/dist/{index-BboAW45l.js → index-DqkJPwx3.js} +3 -4
- package/dist/{index-DULgJ5M_.js → index-Dxh55nQw.js} +1 -2
- package/dist/{index-CA25B2UR.js → index-Dzydpwhf.js} +2 -3
- package/dist/{index-D6T0GkNc.js → index-KBj0_MsM.js} +2 -3
- package/dist/{index-BaC0Py3z.js → index-O4srBJlA.js} +6845 -12285
- 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-D2EHYcDi.js} +2 -3
- package/dist/paper-widget-design-Cn1RcpGb.js +4 -0
- package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-_uIcWgfD.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-yih8_AXA.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/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 +14 -1
- 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-BK_VsTtK.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-CtthDv9M.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-B40m6f0M.js} +2 -3
- package/dist/web-render/index.es.js +5 -6
- package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-DePyj-oR.js} +4 -5
- package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-BoPK84Km.js} +3 -4
- package/dist/{widget-image-bPGudw8R.js → widget-image-Bd-hAzWZ.js} +5 -5
- package/dist/{widget-line-Dw1mkN0H.js → widget-line-DcQ4GjjX.js} +2 -3
- package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-D6IFtegJ.js} +5 -6
- package/dist/{widget-power-Ceni1m5s.js → widget-power-dAEtqR3T.js} +3 -4
- package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-GkDxu48J.js} +3 -4
- package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-TRqqVGXL.js} +3 -3
- package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-BdZLWmtI.js} +1 -1
- package/dist/{widget-text-BIMT_dmX.js → widget-text-DS8vSuAy.js} +5 -5
- package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-C1n_nRUs.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,10 +1,9 @@
|
|
|
1
|
-
import { DataSourceConfig, FieldFillConfig } from '@gct-paas/form-base';
|
|
2
1
|
import { SubTableType } from '../enums';
|
|
3
|
-
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule,
|
|
2
|
+
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule, ICellBorder, CheckDsTypeEnum, IFormTmplBom, IBomEntry, IBizTableConfig, PageSizeEnum, IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
4
3
|
import { PaperWidget } from '../../types/paper-widget';
|
|
5
4
|
import { CellWidget } from './cell-widget';
|
|
6
5
|
import { IModelMetaMap } from '../hooks/useModelFields';
|
|
7
|
-
export type { IUnitConversionRule,
|
|
6
|
+
export type { IUnitConversionRule, IBomEntry };
|
|
8
7
|
export type ICellStyle = Record<string, string | number | undefined>;
|
|
9
8
|
export interface IParamToField {
|
|
10
9
|
id: string;
|
|
@@ -156,7 +155,6 @@ export interface ICell {
|
|
|
156
155
|
type?: CellType;
|
|
157
156
|
fieldMeta?: IBindField;
|
|
158
157
|
fieldWidget?: CellWidget.BasicSchema;
|
|
159
|
-
paperWidget?: PaperWidget.Spacer;
|
|
160
158
|
}>;
|
|
161
159
|
autoMerge?: boolean;
|
|
162
160
|
xAutoMerge?: boolean;
|
|
@@ -222,48 +220,8 @@ export interface ITable {
|
|
|
222
220
|
* 固定表
|
|
223
221
|
*/
|
|
224
222
|
export type IFixedTable = ITable;
|
|
225
|
-
|
|
226
|
-
* 整份表单共享的数据和行为配置。
|
|
227
|
-
* v2 设计稿把它保存到顶层 formConfig;IPaper 只描述单个 Sheet 的版式。
|
|
228
|
-
*/
|
|
229
|
-
export interface IFormConfig {
|
|
230
|
-
/** 参数配置 */
|
|
231
|
-
paramToField?: Array<IParamToField>;
|
|
232
|
-
/** 自定义脚本源码 */
|
|
233
|
-
javascript?: string;
|
|
234
|
-
/** 全局配置-枚举分组 */
|
|
235
|
-
globalOptions?: Array<IGlobalOption>;
|
|
236
|
-
/** 数据初始化-参数映射 */
|
|
237
|
-
parameterMapping?: Array<IParameterMapping>;
|
|
238
|
-
/** 规则配置-单位转化规则 */
|
|
239
|
-
unitConversionRules?: Array<IUnitConversionRule>;
|
|
240
|
-
/** 规则配置-检验判定规则 */
|
|
241
|
-
inspectionDecisionRule?: IInspectionDecisionRule;
|
|
242
|
-
/** 数据初始化-数据源 */
|
|
243
|
-
customDataSource?: Array<ICustomDataSource>;
|
|
244
|
-
/** 数据初始化-数据获取 */
|
|
245
|
-
dataSources?: DataSourceConfig[];
|
|
246
|
-
/** 数据初始化-字段填充 */
|
|
247
|
-
fieldFills?: FieldFillConfig[];
|
|
248
|
-
/** 对象初始化 */
|
|
249
|
-
objectInitialValues?: Array<IObjectInitialValue>;
|
|
250
|
-
/** 检验表的数据源注册表 */
|
|
251
|
-
checkTableDataSource?: Array<ICheckTableDataSource>;
|
|
252
|
-
/** 签名互斥 */
|
|
253
|
-
signatureMutex?: boolean;
|
|
254
|
-
checkSignatureConfig?: string;
|
|
255
|
-
/** 是否保留异常提示,未配置时默认 true */
|
|
256
|
-
keepExceptionHighlight?: boolean;
|
|
257
|
-
}
|
|
258
|
-
export interface FloatingSealField {
|
|
259
|
-
id: string;
|
|
260
|
-
fieldMeta: import('../../../../../nocode-base/src').IBindField;
|
|
261
|
-
fieldWidget: import('./cell-widget').CellWidget.Seal;
|
|
262
|
-
layout: import('../../../../../shared/seal').SealPosition;
|
|
263
|
-
}
|
|
223
|
+
export declare const CommonAttr: Array<keyof IPaper>;
|
|
264
224
|
export interface IPaper {
|
|
265
|
-
/** 当前 sheet 的浮动印章,不属于跨 sheet 同步属性。 */
|
|
266
|
-
floatingFields?: FloatingSealField[];
|
|
267
225
|
/** 当前sheet页的唯一标识 */
|
|
268
226
|
sheetId: string;
|
|
269
227
|
orientation: Orientation;
|
|
@@ -291,15 +249,35 @@ export interface IPaper {
|
|
|
291
249
|
fixedTables?: IFixedTable[];
|
|
292
250
|
medias?: Array<IMedia>;
|
|
293
251
|
images?: Array<IImage>;
|
|
252
|
+
paramToField?: Array<IParamToField>;
|
|
294
253
|
paperHeader?: boolean;
|
|
295
254
|
paperHeaderWidgets?: PaperWidget.BasicSchema[];
|
|
296
255
|
paperFooter?: boolean;
|
|
297
256
|
paperFooterWidgets?: PaperWidget.BasicSchema[];
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
|
|
257
|
+
javascript?: string;
|
|
258
|
+
/** 全局配置-枚举分组 */
|
|
259
|
+
globalOptions?: Array<IGlobalOption>;
|
|
260
|
+
/** 数据初始化-参数映射 */
|
|
261
|
+
parameterMapping?: Array<IParameterMapping>;
|
|
262
|
+
/** 规则配置-单位转化规则 */
|
|
263
|
+
unitConversionRules?: Array<IUnitConversionRule>;
|
|
264
|
+
/** 数据初始化-数据源 */
|
|
265
|
+
customDataSource?: Array<ICustomDataSource>;
|
|
266
|
+
/** 对象字段列表 */
|
|
267
|
+
objectFieldList?: Array<any>;
|
|
268
|
+
/** 对象初始化 */
|
|
269
|
+
objectInitialValues?: Array<IObjectInitialValue>;
|
|
270
|
+
/** 检验表的数据源 */
|
|
271
|
+
checkTableDataSource?: Array<ICheckTableDataSource>;
|
|
272
|
+
/** 主模型key */
|
|
301
273
|
mainModelKey?: string;
|
|
274
|
+
/** 缓存的临时数据模型结构 */
|
|
302
275
|
modelMetaMap?: IModelMetaMap;
|
|
276
|
+
/** 签名互斥 */
|
|
277
|
+
signatureMutex?: boolean;
|
|
278
|
+
checkSignatureConfig?: string;
|
|
279
|
+
/** 是否保留异常提示,未配置时默认 true */
|
|
280
|
+
keepExceptionHighlight?: boolean;
|
|
303
281
|
}
|
|
304
282
|
export interface ICallback {
|
|
305
283
|
save: Function;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISubTable } from '../../../../../nocode-base/src';
|
|
2
|
-
import {
|
|
2
|
+
import { IPaper, ITable, IRange } from '../types';
|
|
3
3
|
import { SpreadSheetTag } from '../../types/spread-sheet.d';
|
|
4
4
|
type DynamicTable = ITable & {
|
|
5
5
|
_range_: IRange;
|
|
@@ -42,13 +42,8 @@ export declare class DomParser {
|
|
|
42
42
|
globalSubTables: any;
|
|
43
43
|
}): SpreadSheetTag.Paper;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
* 虚拟表格只适配现有 dom2json 编译器需要的最小 DOM 接口,动态表、固定表和检验表
|
|
47
|
-
* 仍复用同一条成熟编译链路,避免维护两套运行时生成规则。
|
|
45
|
+
* 直接根据导入的模版生成runtime
|
|
48
46
|
*/
|
|
49
|
-
static toRuntimeJson(paper: IPaper,
|
|
50
|
-
runtime: Record<string, any>;
|
|
51
|
-
formConfig: Record<string, any>;
|
|
52
|
-
};
|
|
47
|
+
static toRuntimeJson(paper: IPaper, options: Partial<SpreadSheetTag.Paper>): {};
|
|
53
48
|
}
|
|
54
49
|
export {};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { IPaper, IRange, IImage } from '../types';
|
|
2
|
-
|
|
2
|
+
import { Orientation } from '../../../../../nocode-base/src';
|
|
3
|
+
type CellField = {
|
|
3
4
|
x: number;
|
|
4
5
|
y: number;
|
|
5
6
|
fieldKey?: string;
|
|
6
7
|
fieldName?: string;
|
|
7
8
|
fieldType: string;
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
+
type ImportedFieldMeta = {
|
|
10
11
|
key?: string;
|
|
11
12
|
tmpOldKey?: string;
|
|
12
13
|
name: string;
|
|
@@ -17,19 +18,101 @@ export type ImportedFieldMeta = {
|
|
|
17
18
|
};
|
|
18
19
|
type PaperViewportRange = [string, string];
|
|
19
20
|
export declare class XlsxParser {
|
|
20
|
-
static
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
static xlsx2json(file: any): Promise<{
|
|
22
|
+
sheetId: string;
|
|
23
|
+
orientation: Orientation;
|
|
24
|
+
paperSize: import('../../../../../nocode-base/src').PageSizeEnum;
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
padding: IRange;
|
|
28
|
+
cols: Array<{
|
|
29
|
+
width: number;
|
|
30
|
+
manual?: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
rows: Array<{
|
|
33
|
+
height: number;
|
|
34
|
+
manual?: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
cells: import('../types').ICell[][];
|
|
37
|
+
mergedCells: Array<IRange>;
|
|
38
|
+
thead?: {
|
|
39
|
+
thName?: string;
|
|
40
|
+
thRange?: IRange;
|
|
41
|
+
};
|
|
42
|
+
dynamicTables?: import('../types').ITable[];
|
|
43
|
+
fixedTables?: import('../types').IFixedTable[];
|
|
44
|
+
medias?: Array<import('../types').IMedia>;
|
|
45
|
+
images?: Array<IImage>;
|
|
46
|
+
paramToField?: Array<import('../types').IParamToField>;
|
|
47
|
+
paperHeader?: boolean;
|
|
48
|
+
paperHeaderWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
49
|
+
paperFooter?: boolean;
|
|
50
|
+
paperFooterWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
51
|
+
javascript?: string;
|
|
52
|
+
globalOptions?: Array<import('../types').IGlobalOption>;
|
|
53
|
+
parameterMapping?: Array<import('../types').IParameterMapping>;
|
|
54
|
+
unitConversionRules?: Array<import('../../../../../nocode-base/src').IUnitConversionRule>;
|
|
55
|
+
customDataSource?: Array<import('../types').ICustomDataSource>;
|
|
56
|
+
objectFieldList?: Array<any>;
|
|
57
|
+
objectInitialValues?: Array<import('../types').IObjectInitialValue>;
|
|
58
|
+
checkTableDataSource?: Array<import('../types').ICheckTableDataSource>;
|
|
59
|
+
mainModelKey?: string;
|
|
60
|
+
modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
|
|
61
|
+
signatureMutex?: boolean;
|
|
62
|
+
checkSignatureConfig?: string;
|
|
63
|
+
keepExceptionHighlight?: boolean;
|
|
64
|
+
} | undefined>;
|
|
65
|
+
static xlsx2jsonWithFields(file: any, keyList: string[]): Promise<{
|
|
66
|
+
paper: {
|
|
67
|
+
sheetId: string;
|
|
68
|
+
orientation: Orientation;
|
|
69
|
+
paperSize: import('../../../../../nocode-base/src').PageSizeEnum;
|
|
70
|
+
width: number;
|
|
71
|
+
height: number;
|
|
72
|
+
padding: IRange;
|
|
73
|
+
cols: Array<{
|
|
74
|
+
width: number;
|
|
75
|
+
manual?: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
rows: Array<{
|
|
78
|
+
height: number;
|
|
79
|
+
manual?: boolean;
|
|
80
|
+
}>;
|
|
81
|
+
cells: import('../types').ICell[][];
|
|
82
|
+
mergedCells: Array<IRange>;
|
|
83
|
+
thead?: {
|
|
84
|
+
thName?: string;
|
|
85
|
+
thRange?: IRange;
|
|
86
|
+
};
|
|
87
|
+
dynamicTables?: import('../types').ITable[];
|
|
88
|
+
fixedTables?: import('../types').IFixedTable[];
|
|
89
|
+
medias?: Array<import('../types').IMedia>;
|
|
90
|
+
images?: Array<IImage>;
|
|
91
|
+
paramToField?: Array<import('../types').IParamToField>;
|
|
92
|
+
paperHeader?: boolean;
|
|
93
|
+
paperHeaderWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
94
|
+
paperFooter?: boolean;
|
|
95
|
+
paperFooterWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
96
|
+
javascript?: string;
|
|
97
|
+
globalOptions?: Array<import('../types').IGlobalOption>;
|
|
98
|
+
parameterMapping?: Array<import('../types').IParameterMapping>;
|
|
99
|
+
unitConversionRules?: Array<import('../../../../../nocode-base/src').IUnitConversionRule>;
|
|
100
|
+
customDataSource?: Array<import('../types').ICustomDataSource>;
|
|
101
|
+
objectFieldList?: Array<any>;
|
|
102
|
+
objectInitialValues?: Array<import('../types').IObjectInitialValue>;
|
|
103
|
+
checkTableDataSource?: Array<import('../types').ICheckTableDataSource>;
|
|
104
|
+
mainModelKey?: string;
|
|
105
|
+
modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
|
|
106
|
+
signatureMutex?: boolean;
|
|
107
|
+
checkSignatureConfig?: string;
|
|
108
|
+
keepExceptionHighlight?: boolean;
|
|
109
|
+
} | null;
|
|
27
110
|
fields: ImportedFieldMeta[] | null;
|
|
111
|
+
paperFields: CellField[];
|
|
28
112
|
}>;
|
|
29
113
|
static sheetToPaper(paperSheet: any, xlsxData: any): {
|
|
30
|
-
floatingFields?: import('../types').FloatingSealField[];
|
|
31
114
|
sheetId: string;
|
|
32
|
-
orientation:
|
|
115
|
+
orientation: Orientation;
|
|
33
116
|
paperSize: import('../../../../../nocode-base/src').PageSizeEnum;
|
|
34
117
|
width: number;
|
|
35
118
|
height: number;
|
|
@@ -52,10 +135,24 @@ export declare class XlsxParser {
|
|
|
52
135
|
fixedTables?: import('../types').IFixedTable[];
|
|
53
136
|
medias?: Array<import('../types').IMedia>;
|
|
54
137
|
images?: Array<IImage>;
|
|
138
|
+
paramToField?: Array<import('../types').IParamToField>;
|
|
55
139
|
paperHeader?: boolean;
|
|
56
140
|
paperHeaderWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
57
141
|
paperFooter?: boolean;
|
|
58
142
|
paperFooterWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
143
|
+
javascript?: string;
|
|
144
|
+
globalOptions?: Array<import('../types').IGlobalOption>;
|
|
145
|
+
parameterMapping?: Array<import('../types').IParameterMapping>;
|
|
146
|
+
unitConversionRules?: Array<import('../../../../../nocode-base/src').IUnitConversionRule>;
|
|
147
|
+
customDataSource?: Array<import('../types').ICustomDataSource>;
|
|
148
|
+
objectFieldList?: Array<any>;
|
|
149
|
+
objectInitialValues?: Array<import('../types').IObjectInitialValue>;
|
|
150
|
+
checkTableDataSource?: Array<import('../types').ICheckTableDataSource>;
|
|
151
|
+
mainModelKey?: string;
|
|
152
|
+
modelMetaMap?: import('../hooks/useModelFields').IModelMetaMap;
|
|
153
|
+
signatureMutex?: boolean;
|
|
154
|
+
checkSignatureConfig?: string;
|
|
155
|
+
keepExceptionHighlight?: boolean;
|
|
59
156
|
};
|
|
60
157
|
/**
|
|
61
158
|
* 根据 sheet 内容解析字段信息
|
|
@@ -7,8 +7,10 @@ export interface AutofillRule {
|
|
|
7
7
|
interface ApplyOptions {
|
|
8
8
|
/** 仅 trace-rdo 传 true:启用 uom_id_ 翻译(其余组件维持原始直传,零回归) */
|
|
9
9
|
uomTranslate?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** 仅 trace-rdo 传 record:复现 __DEFAULT__?.[x] || record?.[x] 回退链 */
|
|
11
|
+
fallbackRow?: any;
|
|
12
|
+
/** 显式 false 时跳过;undefined 时兼容老数据仍执行 */
|
|
13
|
+
enabled?: boolean;
|
|
12
14
|
}
|
|
13
15
|
export declare function useAutofill(): {
|
|
14
16
|
applyAutofillRules: (rules: AutofillRule[] | undefined, sourceRow: any, formData: any, opts?: ApplyOptions) => void;
|
package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
25
25
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
-
empty: boolean;
|
|
29
28
|
icon: "image" | "attachment" | "signature";
|
|
29
|
+
empty: boolean;
|
|
30
30
|
showAdd: boolean;
|
|
31
31
|
showOverlay: boolean;
|
|
32
32
|
variant: "thumb" | "file";
|
|
@@ -22,9 +22,9 @@ export declare function useSelectTable(fetcher: FetcherFn, initialParams?: IInit
|
|
|
22
22
|
loading: import('vue').Ref<boolean, boolean>;
|
|
23
23
|
tableData: import('vue').Ref<any[], any[]>;
|
|
24
24
|
pagination: TablePaginationConfig;
|
|
25
|
-
search: (keyword?: string) => Promise<FetcherResult
|
|
25
|
+
search: (keyword?: string) => Promise<FetcherResult>;
|
|
26
26
|
onSizeChange: (current: number, pageSize: number) => Promise<void>;
|
|
27
|
-
fetchTableData: (keyword?: string) => Promise<FetcherResult
|
|
27
|
+
fetchTableData: (keyword?: string) => Promise<FetcherResult>;
|
|
28
28
|
setCurrentRowHighlight: (highlightIdx: any | null) => void;
|
|
29
29
|
onClear: () => void;
|
|
30
30
|
};
|
package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts
CHANGED
|
@@ -5,10 +5,9 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
5
5
|
formData: object;
|
|
6
6
|
};
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
|
-
selectByCode: (code: string
|
|
8
|
+
selectByCode: (code: string) => Promise<boolean>;
|
|
9
9
|
}): {
|
|
10
10
|
mode: import('vue').Ref<"scan" | "dropdown", "scan" | "dropdown">;
|
|
11
11
|
allowSwitch: import('vue').ComputedRef<boolean>;
|
|
12
12
|
handleEnter: (val: any) => void;
|
|
13
|
-
handleSearchScan: (value: string, isCurrent?: () => boolean) => Promise<boolean>;
|
|
14
13
|
};
|
|
@@ -2,9 +2,8 @@ import { ComponentTypeEnum, IPaper } from '../../../../../../nocode-base/src';
|
|
|
2
2
|
import { IComponent } from '../../../types/base-core-component.d';
|
|
3
3
|
declare class Paper implements IComponent {
|
|
4
4
|
component: ComponentTypeEnum;
|
|
5
|
-
wrapperCmpConfig({ data
|
|
5
|
+
wrapperCmpConfig({ data }: {
|
|
6
6
|
data: any;
|
|
7
|
-
formConfig: any;
|
|
8
7
|
}): IPaper;
|
|
9
8
|
updateCmpConfig({ data, result }: {
|
|
10
9
|
data: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function generateRuntimeJson(designerJson: any
|
|
1
|
+
export declare function generateRuntimeJson(designerJson: any): {};
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
import { IBasicInfoItem } from '../../../../nocode-base/src';
|
|
2
|
-
import { RuntimePrintOptions } from './printing/print-runtime-instance';
|
|
1
|
+
import { IBasicInfoItem, IPageData } from '../../../../nocode-base/src';
|
|
3
2
|
type __VLS_Props = {
|
|
3
|
+
/** 页面加载状态 */
|
|
4
4
|
loading: boolean;
|
|
5
|
+
/** 是否有数据 */
|
|
5
6
|
hasData: boolean;
|
|
7
|
+
/** 基础信息列表 */
|
|
6
8
|
basicInfoList: IBasicInfoItem[];
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
+
/** 单据模板数据map */
|
|
10
|
+
dataCenterMap: Record<string, any>;
|
|
11
|
+
/** 数据信息map */
|
|
12
|
+
formStateMap: Record<string, Record<string, any>>;
|
|
13
|
+
/** 分页信息map */
|
|
14
|
+
pageDataMap: Record<string, IPageData[]>;
|
|
15
|
+
/** bom信息控制器 */
|
|
16
|
+
tmplBomCMap: Record<string, any>;
|
|
17
|
+
/** 单据模板字段默认值map */
|
|
18
|
+
defaultDataMap: Record<string, any>;
|
|
19
|
+
/** 更新分页信息 */
|
|
20
|
+
updatePageData: Function;
|
|
21
|
+
/** 实例信息 */
|
|
22
|
+
selfInfoList?: any[];
|
|
9
23
|
};
|
|
10
|
-
|
|
11
|
-
declare function preparePrintView(uniqueId?: string, timeoutMs?: number): Promise<{
|
|
12
|
-
revision: number;
|
|
13
|
-
isFile: boolean;
|
|
14
|
-
sheets: import('./printing/runtime-print-snapshot').RuntimePrintSheetLayout[];
|
|
15
|
-
totalPages: number;
|
|
16
|
-
}>;
|
|
17
|
-
/** 【宿主接入·已接通】模拟填报/查看按钮调用此入口,打印当前数据的全部 Sheet;默认不校验。 */
|
|
18
|
-
declare function onPrintView(uniqueId?: string, options?: RuntimePrintOptions): Promise<void>;
|
|
19
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
20
|
-
onPrintView: typeof onPrintView;
|
|
21
|
-
printing: import('vue').Ref<boolean, boolean>;
|
|
22
|
-
preparePrintView: typeof preparePrintView;
|
|
23
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
-
printStage: HTMLDivElement;
|
|
25
|
-
printView: unknown;
|
|
26
|
-
}, HTMLDivElement>;
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
25
|
export default _default;
|
|
@@ -4,19 +4,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
wrapStyle: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
wrapClass: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
viewClass: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
viewStyle: {
|
|
19
|
-
type: (
|
|
19
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
noresize: BooleanConstructor;
|
|
@@ -40,19 +40,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
wrapStyle: {
|
|
43
|
-
type: (
|
|
43
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
wrapClass: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
viewClass: {
|
|
51
|
-
type: (
|
|
51
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
54
|
viewStyle: {
|
|
55
|
-
type: (
|
|
55
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
noresize: BooleanConstructor;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as SignSwitcher } from './ui/sign-switcher.vue';
|
|
2
|
+
import { default as SignEditor } from './ui/sign-editor.vue';
|
|
2
3
|
import { default as SignPopoverContent } from './ui/sign-popover-content.vue';
|
|
3
4
|
export * from './types';
|
|
4
5
|
export * from './constant';
|
|
5
6
|
export * from './logic';
|
|
6
|
-
export { SignSwitcher, SignPopoverContent };
|
|
7
|
+
export { SignSwitcher, SignEditor, SignPopoverContent };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { PartialSignInfo, SignInfo } from '../types';
|
|
1
|
+
import { GetSignImgByAccount, PartialSignInfo, SignInfo, UploadSignFile } from '../types';
|
|
2
|
+
import { SignMode } from '../constant';
|
|
2
3
|
import { FallbackSignTypeEnum, SignatureImageDirectionEnum } from '../../../../nocode-base/src';
|
|
3
4
|
/**
|
|
4
5
|
* 通过账户密码获取签名图片
|
|
@@ -36,6 +37,18 @@ export declare function addSignHistory(opts: {
|
|
|
36
37
|
* @return {*}
|
|
37
38
|
*/
|
|
38
39
|
export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
|
|
40
|
+
/** 打开原有签名弹窗,保留共享组件的公开接口。 */
|
|
41
|
+
export declare function openSignModal(opts: {
|
|
42
|
+
defaultSignMode?: SignMode;
|
|
43
|
+
hiddenSignMode?: boolean;
|
|
44
|
+
fixSignMode?: boolean;
|
|
45
|
+
getSignImgByAccount?: GetSignImgByAccount;
|
|
46
|
+
uploadSignFile?: UploadSignFile;
|
|
47
|
+
disableUserName?: boolean;
|
|
48
|
+
fillUserName?: boolean;
|
|
49
|
+
defaultUserName?: string;
|
|
50
|
+
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
51
|
+
}, props?: {}): Promise<SignInfo | undefined>;
|
|
39
52
|
/**
|
|
40
53
|
* 获取预览url地址
|
|
41
54
|
*
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SignatureTypeEnum } from '../../../enum';
|
|
2
|
+
import { SignInfo } from '../types';
|
|
3
|
+
import { SignMode } from '../constant';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
value?: SignInfo;
|
|
6
|
+
items?: SignInfo[];
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
signatureType?: SignatureTypeEnum;
|
|
11
|
+
defaultSignMode?: SignMode;
|
|
12
|
+
hiddenSignMode?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
add: (val: SignInfo) => any;
|
|
16
|
+
"update:value": (value: SignInfo | undefined) => any;
|
|
17
|
+
remove: (val: SignInfo) => any;
|
|
18
|
+
"update:items": (items: SignInfo[] | undefined) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onAdd?: ((val: SignInfo) => any) | undefined;
|
|
21
|
+
"onUpdate:value"?: ((value: SignInfo | undefined) => any) | undefined;
|
|
22
|
+
onRemove?: ((val: SignInfo) => any) | undefined;
|
|
23
|
+
"onUpdate:items"?: ((items: SignInfo[] | undefined) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
multiple: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|
|
@@ -12,8 +12,6 @@ type __VLS_Props = {
|
|
|
12
12
|
defaultUserName?: string;
|
|
13
13
|
validateSignature?: (info: SignInfo) => Promise<void> | void;
|
|
14
14
|
signatureImageDirection?: SignatureImageDirectionEnum;
|
|
15
|
-
confirmText?: string;
|
|
16
|
-
showCardCancel?: boolean;
|
|
17
15
|
};
|
|
18
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
17
|
cancel: () => any;
|
|
@@ -43,9 +41,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
43
41
|
"update:signMode": (value: SignMode) => any;
|
|
44
42
|
}, import('vue').PublicProps, {
|
|
45
43
|
required: boolean;
|
|
46
|
-
disableUserName: boolean;
|
|
47
44
|
fixSignMode: boolean;
|
|
48
45
|
hiddenSignMode: boolean;
|
|
46
|
+
disableUserName: boolean;
|
|
49
47
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
50
48
|
signerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
51
49
|
uploadSignFile?: UploadSignFile;
|
|
@@ -120,9 +118,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
120
118
|
reset?: () => Promise<void> | void;
|
|
121
119
|
}, {}, {}, {}, {
|
|
122
120
|
required: boolean;
|
|
123
|
-
disableUserName: boolean;
|
|
124
121
|
fixSignMode: boolean;
|
|
125
122
|
hiddenSignMode: boolean;
|
|
123
|
+
disableUserName: boolean;
|
|
126
124
|
}> | null;
|
|
127
125
|
}, HTMLDivElement>;
|
|
128
126
|
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SignInfo } from '../types';
|
|
2
|
+
import { SignatureTypeEnum } from '../constant';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
items?: SignInfo[];
|
|
5
|
+
signatureType?: SignatureTypeEnum;
|
|
6
|
+
getPreviewUrl?: (url: string) => string;
|
|
7
|
+
forbiddenRemove: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
remove: (value: SignInfo) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onRemove?: ((value: SignInfo) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
signatureType: SignatureTypeEnum;
|
|
15
|
+
getPreviewUrl: (url: string) => string;
|
|
16
|
+
forbiddenRemove: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|