@gct-paas/excel 0.1.36 → 0.1.37-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-Dkr9EHwb.js → BaseComponent-DQaCGLeT.js} +18 -1
- package/dist/{VueVideoPlayer-QmiFwFQB.js → VueVideoPlayer-C6a9Wt23.js} +2 -2
- package/dist/{align-editor-OaXgeuWX.js → align-editor-BIgxBb3c.js} +1 -1
- package/dist/{barcode-design-CAzpyssF.js → barcode-design-6urZiVEU.js} +2 -2
- package/dist/base/index.es.js +2137 -2795
- package/dist/{diagonal-design-C3JGFswf.js → diagonal-design-Dmvh3iV7.js} +2 -2
- package/dist/{dynamic-table-action-MloBs3jp.js → dynamic-table-action-CIQHe0dS.js} +6844 -2765
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-r5NoUEI7.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js} +51446 -52262
- package/dist/{edit.utils-CXmmCnxE-Cl7i5AyG.js → edit.utils-CXmmCnxE-BSdD_tOR.js} +1 -1
- package/dist/excel.css +3212 -1931
- package/dist/{exceljs.min-BmhMOCmv.js → exceljs.min-CLghjkvN.js} +2 -2
- package/dist/{font-editor-D-IcSFTK.js → font-editor-Bergh2R4.js} +3 -3
- package/dist/{image-design-CoMKHl0Q.js → image-design-CE8RmqGR.js} +2 -2
- package/dist/{index-CK9Jb4BC.js → index-BCxnsShs.js} +1 -1
- package/dist/{index-BbtMZHP5.js → index-BDeyH_2H.js} +2 -2
- package/dist/{index-DXJN9iYx.js → index-BGpCYZm4.js} +2 -2
- package/dist/{index-C_aY8-1F.js → index-BJdOVQGJ.js} +1 -1
- package/dist/{index-C92h_8jV.js → index-BVcJPSOs.js} +5 -3
- package/dist/{index-BdOb_E0-.js → index-BVxo9GHy.js} +1 -1
- package/dist/{index-BTDuk15b.js → index-BXSzJMT7.js} +8 -74
- package/dist/{index-ClFvHh9r.js → index-BfHBvOdP.js} +2 -2
- package/dist/{index-CsLTcOIa.js → index-Byh0Vmlz.js} +2 -2
- package/dist/{index-5xAXV_RW.js → index-C2olS5vJ.js} +3 -3
- package/dist/{index-SnR5k06w.js → index-C7TEXlbZ.js} +2 -2
- package/dist/{index-l7OgY52A.js → index-CA6CWt8y.js} +1 -1
- package/dist/{index-geKEnJZt.js → index-CNzY1FwH.js} +2 -2
- package/dist/{index-BOf5cqL9.js → index-Chu6332Q.js} +12 -3
- package/dist/{index-B-koHYBR.js → index-CuZvl7YB.js} +2 -2
- package/dist/{index-DRKZ0yh5.js → index-D-HlMlRd.js} +3 -3
- package/dist/{index-Bu0NS0WR.js → index-D-Jbq4My.js} +2 -2
- package/dist/{index-9xGsFq4z.js → index-D1_SYDPv.js} +2 -2
- package/dist/{index-BYjXv9tc.js → index-D6Z8-FC9.js} +432 -237
- package/dist/{index-Bgjmyqf3.js → index-D6udXzjh.js} +2 -2
- package/dist/{index-BaKLE58A.js → index-DA5PXti2.js} +42837 -36955
- package/dist/{index-X34P5CQc.js → index-Dgu35iIj.js} +1 -1
- package/dist/{index-DizZCNAs.js → index-DnZq1s_3.js} +3 -3
- package/dist/{index-Ed8dzqIj.js → index-DqOxVJR-.js} +2 -2
- package/dist/{index-BPGs5Cz3.js → index-Dqr0oBlM.js} +2 -2
- package/dist/{index-BUJMWJUt.js → index-DuyXEchF.js} +13 -2
- package/dist/{index-DZ-95Xyi.js → index-Dw7SQNDy.js} +1 -1
- package/dist/index-DwKg7b0U.js +26 -0
- package/dist/{index-Cga0IK5A.js → index-DyHrkuGj.js} +2 -2
- package/dist/{index-CgHFRM28.js → index-KcZJqM3I.js} +1 -1
- package/dist/{index-BnnboU4e.js → index-ROHlRUFD.js} +1 -1
- package/dist/{index-BuJute2u.js → index-a3Y8FZwA.js} +2 -2
- package/dist/{index-DcD5_iSz.js → index-bX1S8t3o.js} +3 -3
- package/dist/{index-eP5FgfsT.js → index-geVnq_KD.js} +2 -2
- package/dist/{index-BPOAaTJZ.js → index-m0iGs0bS.js} +1 -1
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-CzX2E2Ns.js → mb-render-DhKkFfcm.js} +21 -15
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CxAuNR6B.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhTO6jGt.js} +1 -8
- package/dist/{pagination-design-RiNto9F1.js → pagination-design-D9hm70UW.js} +2 -2
- package/dist/paper-widget-design-zve0OviL.js +4 -0
- package/dist/print-runtime-instance-CXj_GS84.js +36 -0
- package/dist/print-snapshot-renderer-BK2XvbLK.js +76 -0
- package/dist/{qrcode-design-DXyYtKbf.js → qrcode-design-BrEZ2nXO.js} +1 -1
- package/dist/{revo-grid.entry-wAZS5Q_f.js → revo-grid.entry-BBZIZgKP.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BYLiJyq5.js → revogr-attribution_7.entry-rfjINVxu.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BYdLJ3yv.js → revogr-clipboard_3.entry-Bg3AuwfG.js} +2 -2
- package/dist/{revogr-data_4.entry-CHqaaCKS.js → revogr-data_4.entry-C8O2Iv2n.js} +2 -2
- package/dist/{revogr-filter-panel.entry-Cqc52XdV.js → revogr-filter-panel.entry-uQBhKoSX.js} +1 -1
- package/dist/seal-design-B42sQwSF.js +4 -0
- package/dist/{serialnumber-design-BeUOVmG1.js → serialnumber-design-DCkPTZFe.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-BSZxlNxp.js → single-field-drop-BL43JC5V.js} +2 -2
- package/dist/{size-editor-DzsmPSj3.js → size-editor-BKqS03Gi.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +6 -1
- package/dist/src/assets/svgs/table/index.d.ts +1 -0
- package/dist/src/domain/field/date/sterilization-date-manifest.d.ts +2 -0
- package/dist/src/domain/field/number/inspection-module-qty-manifest.d.ts +2 -0
- package/dist/src/domain/field/seal/seal-manifest.d.ts +2 -0
- package/dist/src/domain/field/select/inspection-container-manifest.d.ts +2 -0
- package/dist/src/domain/field/text/udi-manifest.d.ts +2 -0
- package/dist/src/domain/field/types.d.ts +2 -2
- package/dist/src/domain/table/business/device/maintenance/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/maintenance/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/maintenance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/maintenance/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/point-inspection/index.d.ts +1 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/field-keys.d.ts +9 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/device/point-inspection/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/device/signature-lock.d.ts +9 -0
- package/dist/src/domain/table/business/material/material-requisition/profile/field-keys.d.ts +1 -1
- package/dist/src/domain/table/business/material/material-substitution/index.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +75 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/index.d.ts +4 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +6 -0
- 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 +1 -0
- package/dist/src/domain/table/design/sub-model-matcher.d.ts +1 -0
- package/dist/src/domain/table/index.d.ts +3 -2
- package/dist/src/domain/table/registry.d.ts +1 -0
- package/dist/src/domain/table/types.d.ts +8 -3
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +8 -0
- package/dist/src/nocode-base/src/components/document-layout.vue.d.ts +3 -0
- 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/inspection-decision-prompt-modal.vue.d.ts +7 -0
- package/dist/src/nocode-base/src/constant/index.d.ts +22 -2
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +11 -3
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +23 -1
- package/dist/src/nocode-base/src/core/sub-table/sterilize-batch-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +0 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +0 -5
- package/dist/src/nocode-base/src/core/types/index.d.ts +4 -0
- package/dist/src/nocode-base/src/emit/enum.d.ts +2 -12
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +7 -5
- package/dist/src/nocode-base/src/hooks/annotation/runtime-annotation-binding.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/device-link/controller.d.ts +0 -6
- 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 +5 -3
- package/dist/src/nocode-base/src/hooks/inspection-decision-rule/evaluator.d.ts +11 -0
- 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 +10 -2
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +13 -25
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +5 -6
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -4
- package/dist/src/nocode-base/src/hooks/material-consume-object/index.d.ts +0 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/product-lot-link.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +56 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-request.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-validation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +64 -0
- package/dist/src/nocode-base/src/hooks/udi.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useDependency.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/useFieldPresentation.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/useFormHook.d.ts +7 -4
- package/dist/src/nocode-base/src/hooks/useMergeSameCells.d.ts +3 -2
- package/dist/src/nocode-base/src/hooks/useNocodeEmitter.d.ts +1 -9
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +8 -24
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +63 -99
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeRowState.d.ts +16 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +4 -10
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +5 -8
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +15 -8
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +6 -0
- package/dist/src/nocode-base/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/calc.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/check-ds-data.d.ts +4 -3
- package/dist/src/nocode-base/src/interface/code-runner.d.ts +4 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +5 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +26 -22
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +66 -0
- package/dist/src/nocode-base/src/runtime/conversions/business-row.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/conversions/field-config.d.ts +4 -0
- package/dist/src/nocode-base/src/runtime/conversions/historical-annotation.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/conversions/index.d.ts +11 -0
- package/dist/src/nocode-base/src/runtime/conversions/ocr-template.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/date-compliance.d.ts +8 -0
- package/dist/src/nocode-base/src/runtime/field-identity.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/index.d.ts +18 -0
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +43 -0
- package/dist/src/nocode-base/src/runtime/runtime-console-debug.d.ts +36 -0
- package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +122 -0
- package/dist/src/nocode-base/src/runtime/runtime-dependency-service.d.ts +82 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +26 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-registry.d.ts +90 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-rows.d.ts +7 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +15 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +132 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-controller.d.ts +80 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-event-bus.d.ts +17 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +296 -0
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +93 -0
- package/dist/src/nocode-base/src/runtime/runtime-rule-compiler.d.ts +37 -0
- package/dist/src/nocode-base/src/runtime/runtime-sheet-service.d.ts +99 -0
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +44 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +23 -0
- package/dist/src/nocode-base/src/types/business/index.d.ts +8 -1
- package/dist/src/nocode-base/src/types/calc/i-calc.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +60 -6
- package/dist/src/nocode-base/src/types/fields/i-seal.d.ts +10 -0
- package/dist/src/nocode-base/src/types/fields/i-sign.d.ts +15 -1
- package/dist/src/nocode-base/src/types/fields/index.d.ts +2 -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 +4 -2
- 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 +3 -5
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +4 -35
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +0 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts +4 -7
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +8 -6
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +2 -0
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +8 -1
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +78 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/columns.d.ts +43 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +194 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/hooks.d.ts +28 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/index.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +145 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-version-name-tag.vue.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/useSelectTable.d.ts +31 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-options.d.ts +40 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-select-editor/use-default-value-visibility.d.ts +2 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-design.vue.d.ts +6 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal-type-labels.d.ts +4 -0
- package/dist/src/online-form/src/views/__cell_widgets__/seal/seal.config.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer-width.d.ts +2 -0
- package/dist/src/online-form/src/views/__widgets__/spacer/spacer.config.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +7 -1
- package/dist/src/online-form/src/views/designer/conversions/v1-designer.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/scan-field.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/utils.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +1089 -683
- package/dist/src/online-form/src/views/designer/hooks/useDhrEdition.d.ts +7 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +503 -2542
- 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/decision-rule-condition.vue.d.ts +19 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule-group.vue.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/decision-rule.d.ts +54 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-node.vue.d.ts +24 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/field-tree-utils.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/inspection-decision-modal.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/panel-rule-config.vue.d.ts +18 -1
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-button.vue.d.ts +33 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-icon.vue.d.ts +12 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-input.vue.d.ts +23 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-modal.vue.d.ts +36 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-scrollbar.vue.d.ts +21 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-select.vue.d.ts +30 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-switch.vue.d.ts +17 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/gct-text-area.vue.d.ts +20 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/word-ui/index.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-seal.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +203 -327
- package/dist/src/online-form/src/views/designer/modules/sheet/seal-layer.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/sheets/sheets-swapper.vue.d.ts +0 -2
- package/dist/src/online-form/src/views/designer/types/index.d.ts +43 -26
- package/dist/src/online-form/src/views/designer/types/sheets.d.ts +16 -0
- package/dist/src/online-form/src/views/designer/utils/dom-parser.d.ts +8 -3
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +11 -108
- package/dist/src/online-form/src/views/render/__components__/_common_/useAutofill.d.ts +2 -4
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts +17 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +29 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +57 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/sign/component/sign-validation.d.ts +14 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useSearchEnter.d.ts +10 -0
- 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 +2 -1
- package/dist/src/online-form/src/views/render/__components__/_widget_/combine-fields/index.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/paper/index.d.ts +2 -1
- package/dist/src/online-form/src/views/render/__logic__/dataCenter.logic.d.ts +1 -1
- package/dist/src/online-form/src/views/render/active-sheet-renderer.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/render/all-sheets-renderer.vue.d.ts +9 -0
- package/dist/src/online-form/src/views/render/preview-container.vue.d.ts +21 -19
- package/dist/src/online-form/src/views/render/printing/iframe-print.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-runtime-instance.d.ts +11 -0
- package/dist/src/online-form/src/views/render/printing/print-snapshot-renderer.vue.d.ts +27 -0
- package/dist/src/online-form/src/views/render/printing/runtime-print-snapshot.d.ts +24 -0
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +14 -0
- package/dist/src/shared/components/Scrollbar/src/Scrollbar.vue.d.ts +8 -8
- package/dist/src/shared/components/Seal/seal-placeholder.vue.d.ts +6 -0
- package/dist/src/shared/components/Seal/seal-positioned.vue.d.ts +36 -0
- package/dist/src/shared/components/Signature/index.d.ts +1 -2
- package/dist/src/shared/components/Signature/logic/index.d.ts +8 -23
- package/dist/src/shared/components/Signature/types/index.d.ts +6 -1
- package/dist/src/shared/components/Signature/ui/password-signer.vue.d.ts +2 -0
- package/dist/src/shared/components/Signature/ui/sign-popover-content.vue.d.ts +8 -2
- package/dist/src/shared/components/Signature/ui/sign-switcher.vue.d.ts +3 -1
- package/dist/src/shared/components/category-select/category-select.vue.d.ts +1 -1
- package/dist/src/shared/enum/field-type.d.ts +23 -0
- package/dist/src/shared/enum/online-form.d.ts +8 -2
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/seal/index.d.ts +44 -0
- package/dist/src/shared/types/field-meta.d.ts +1 -0
- package/dist/src/shared/utils/field-size.d.ts +4 -2
- package/dist/src/shared/utils/lot2sn.d.ts +5 -0
- package/dist/sub-table-factory-BxnZRD5d.js +2118 -0
- package/dist/{text-design-DeXMb67O.js → text-design-LpqAAdUy.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-wugUYaTg.js → throttle-Cpk1LoGk-Ci963h-N.js} +1 -1
- package/dist/{timediff-design-B5m_vT5S.js → timediff-design-DAD_BKWH.js} +1 -1
- package/dist/{trace-like-wrapper-4yBUGGtN.js → trace-like-wrapper-Bq4-R_-a.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BcQNMosl.js → value-editor.vue_vue_type_style_index_0_lang-DWP8nFsa.js} +2 -2
- package/dist/web-render/index.es.js +5 -5
- package/dist/{widget-barcode-B7xQpLj3.js → widget-barcode-7jbXypLa.js} +4 -4
- package/dist/{widget-diagonal-DZ3m3Brh.js → widget-diagonal-CAhF4RdS.js} +3 -3
- package/dist/{widget-image-BldCdjwV.js → widget-image-fajmaZZL.js} +5 -5
- package/dist/{widget-line-CozoSdQ2.js → widget-line-BnpVz3Cw.js} +2 -2
- package/dist/{widget-pagination-DTHzdWhE.js → widget-pagination-CBRrI8Gg.js} +5 -5
- package/dist/{widget-power-Chb6sR_L.js → widget-power-CeJ_lpsq.js} +3 -3
- package/dist/{widget-qrcode-0Zk8nMay.js → widget-qrcode-DJDwbHFC.js} +3 -3
- package/dist/{widget-rangelimit-BreLyXSk.js → widget-rangelimit-BfMODXDL.js} +3 -3
- package/dist/{widget-serialnumber-DXa_bjwt.js → widget-serialnumber-C7B10sEv.js} +1 -1
- package/dist/{widget-text--ID_v_oi.js → widget-text-1XmDP1ym.js} +5 -5
- package/dist/{widget-timediff-DMHq5Q2O.js → widget-timediff-CXke343Y.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-Bx_DMVQ4.js +0 -4
- package/dist/src/nocode-base/src/components/material-consume/material-consume-action.vue.d.ts +0 -17
- package/dist/src/nocode-base/src/hooks/material-consume-object/use-tmpl-bom.d.ts +0 -13
- package/dist/src/nocode-base/src/hooks/useFormulaExpWatcher.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +0 -18
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +0 -12
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +0 -41
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +0 -17
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +0 -29
- package/dist/src/shared/components/Signature/ui/sign-preview.vue.d.ts +0 -18
- package/dist/src/shared/components/Signature/ui/sign-switcher-modal.vue.d.ts +0 -116
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SubTableType } from '../enums';
|
|
2
|
-
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule, ICellBorder, CheckDsTypeEnum, IFormTmplBom, IBomEntry, IBizTableConfig, PageSizeEnum, IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
2
|
+
import { CellType, Orientation, ParamModelTypeEnum, IBindField, IToFieldItem, IUnitConversionRule, IInspectionDecisionRule, ICellBorder, CheckDsTypeEnum, IFormTmplBom, IBomEntry, IBizTableConfig, PageSizeEnum, IInlineCellContentItem } from '../../../../../nocode-base/src';
|
|
3
3
|
import { PaperWidget } from '../../types/paper-widget';
|
|
4
4
|
import { CellWidget } from './cell-widget';
|
|
5
5
|
import { IModelMetaMap } from '../hooks/useModelFields';
|
|
6
|
-
export type { IUnitConversionRule, IBomEntry };
|
|
6
|
+
export type { IUnitConversionRule, IInspectionDecisionRule, IBomEntry };
|
|
7
7
|
export type ICellStyle = Record<string, string | number | undefined>;
|
|
8
8
|
export interface IParamToField {
|
|
9
9
|
id: string;
|
|
@@ -155,6 +155,7 @@ export interface ICell {
|
|
|
155
155
|
type?: CellType;
|
|
156
156
|
fieldMeta?: IBindField;
|
|
157
157
|
fieldWidget?: CellWidget.BasicSchema;
|
|
158
|
+
paperWidget?: PaperWidget.Spacer;
|
|
158
159
|
}>;
|
|
159
160
|
autoMerge?: boolean;
|
|
160
161
|
xAutoMerge?: boolean;
|
|
@@ -220,8 +221,44 @@ export interface ITable {
|
|
|
220
221
|
* 固定表
|
|
221
222
|
*/
|
|
222
223
|
export type IFixedTable = ITable;
|
|
223
|
-
|
|
224
|
+
/**
|
|
225
|
+
* 整份表单共享的数据和行为配置。
|
|
226
|
+
* v2 设计稿把它保存到顶层 formConfig;IPaper 只描述单个 Sheet 的版式。
|
|
227
|
+
*/
|
|
228
|
+
export interface IFormConfig {
|
|
229
|
+
/** 参数配置 */
|
|
230
|
+
paramToField?: Array<IParamToField>;
|
|
231
|
+
/** 自定义脚本源码 */
|
|
232
|
+
javascript?: string;
|
|
233
|
+
/** 全局配置-枚举分组 */
|
|
234
|
+
globalOptions?: Array<IGlobalOption>;
|
|
235
|
+
/** 数据初始化-参数映射 */
|
|
236
|
+
parameterMapping?: Array<IParameterMapping>;
|
|
237
|
+
/** 规则配置-单位转化规则 */
|
|
238
|
+
unitConversionRules?: Array<IUnitConversionRule>;
|
|
239
|
+
/** 规则配置-检验判定规则 */
|
|
240
|
+
inspectionDecisionRule?: IInspectionDecisionRule;
|
|
241
|
+
/** 数据初始化-数据源 */
|
|
242
|
+
customDataSource?: Array<ICustomDataSource>;
|
|
243
|
+
/** 对象初始化 */
|
|
244
|
+
objectInitialValues?: Array<IObjectInitialValue>;
|
|
245
|
+
/** 检验表的数据源注册表 */
|
|
246
|
+
checkTableDataSource?: Array<ICheckTableDataSource>;
|
|
247
|
+
/** 签名互斥 */
|
|
248
|
+
signatureMutex?: boolean;
|
|
249
|
+
checkSignatureConfig?: string;
|
|
250
|
+
/** 是否保留异常提示,未配置时默认 true */
|
|
251
|
+
keepExceptionHighlight?: boolean;
|
|
252
|
+
}
|
|
253
|
+
export interface FloatingSealField {
|
|
254
|
+
id: string;
|
|
255
|
+
fieldMeta: import('../../../../../nocode-base/src').IBindField;
|
|
256
|
+
fieldWidget: import('./cell-widget').CellWidget.Seal;
|
|
257
|
+
layout: import('../../../../../shared/seal').SealPosition;
|
|
258
|
+
}
|
|
224
259
|
export interface IPaper {
|
|
260
|
+
/** 当前 sheet 的浮动印章,不属于跨 sheet 同步属性。 */
|
|
261
|
+
floatingFields?: FloatingSealField[];
|
|
225
262
|
/** 当前sheet页的唯一标识 */
|
|
226
263
|
sheetId: string;
|
|
227
264
|
orientation: Orientation;
|
|
@@ -249,35 +286,15 @@ export interface IPaper {
|
|
|
249
286
|
fixedTables?: IFixedTable[];
|
|
250
287
|
medias?: Array<IMedia>;
|
|
251
288
|
images?: Array<IImage>;
|
|
252
|
-
paramToField?: Array<IParamToField>;
|
|
253
289
|
paperHeader?: boolean;
|
|
254
290
|
paperHeaderWidgets?: PaperWidget.BasicSchema[];
|
|
255
291
|
paperFooter?: boolean;
|
|
256
292
|
paperFooterWidgets?: PaperWidget.BasicSchema[];
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
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 */
|
|
293
|
+
}
|
|
294
|
+
/** 仅用于加载 v1 designerJson,迁移完成后不应继续传递。 */
|
|
295
|
+
export interface ILegacyPaper extends IPaper, IFormConfig {
|
|
273
296
|
mainModelKey?: string;
|
|
274
|
-
/** 缓存的临时数据模型结构 */
|
|
275
297
|
modelMetaMap?: IModelMetaMap;
|
|
276
|
-
/** 签名互斥 */
|
|
277
|
-
signatureMutex?: boolean;
|
|
278
|
-
checkSignatureConfig?: string;
|
|
279
|
-
/** 是否保留异常提示,未配置时默认 true */
|
|
280
|
-
keepExceptionHighlight?: boolean;
|
|
281
298
|
}
|
|
282
299
|
export interface ICallback {
|
|
283
300
|
save: Function;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IFormConfig, IPaper } from './index';
|
|
2
|
+
import { IModelMetaMap } from '../hooks/useModelFields';
|
|
3
|
+
export interface ISheet {
|
|
4
|
+
sheetId: string;
|
|
5
|
+
title: string;
|
|
6
|
+
paper: IPaper;
|
|
7
|
+
}
|
|
8
|
+
export interface DesignerSheets {
|
|
9
|
+
schemaVersion?: number;
|
|
10
|
+
/** 表单级的数据、规则、脚本及签名配置。 */
|
|
11
|
+
formConfig?: IFormConfig;
|
|
12
|
+
/** 主业务模型及其字段元数据属于整份设计稿,不跟随 Sheet。 */
|
|
13
|
+
mainModelKey?: string;
|
|
14
|
+
modelMetaMap?: IModelMetaMap;
|
|
15
|
+
sheets?: ISheet[];
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISubTable } from '../../../../../nocode-base/src';
|
|
2
|
-
import { IPaper, ITable, IRange } from '../types';
|
|
2
|
+
import { IFormConfig, IPaper, ITable, IRange } from '../types';
|
|
3
3
|
import { SpreadSheetTag } from '../../types/spread-sheet.d';
|
|
4
4
|
type DynamicTable = ITable & {
|
|
5
5
|
_range_: IRange;
|
|
@@ -42,8 +42,13 @@ export declare class DomParser {
|
|
|
42
42
|
globalSubTables: any;
|
|
43
43
|
}): SpreadSheetTag.Paper;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* 不依赖当前激活 DOM,直接把任意 Sheet 的 paper 模型编译为运行时。
|
|
46
|
+
* 虚拟表格只适配现有 dom2json 编译器需要的最小 DOM 接口,动态表、固定表和检验表
|
|
47
|
+
* 仍复用同一条成熟编译链路,避免维护两套运行时生成规则。
|
|
46
48
|
*/
|
|
47
|
-
static toRuntimeJson(paper: IPaper, options: Partial<SpreadSheetTag.Paper>): {
|
|
49
|
+
static toRuntimeJson(paper: IPaper, formConfig: IFormConfig, options: Partial<SpreadSheetTag.Paper>): {
|
|
50
|
+
runtime: Record<string, any>;
|
|
51
|
+
formConfig: Record<string, any>;
|
|
52
|
+
};
|
|
48
53
|
}
|
|
49
54
|
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { IPaper, IRange, IImage } from '../types';
|
|
2
|
-
|
|
3
|
-
type CellField = {
|
|
2
|
+
export type CellField = {
|
|
4
3
|
x: number;
|
|
5
4
|
y: number;
|
|
6
5
|
fieldKey?: string;
|
|
7
6
|
fieldName?: string;
|
|
8
7
|
fieldType: string;
|
|
9
8
|
};
|
|
10
|
-
type ImportedFieldMeta = {
|
|
9
|
+
export type ImportedFieldMeta = {
|
|
11
10
|
key?: string;
|
|
12
11
|
tmpOldKey?: string;
|
|
13
12
|
name: string;
|
|
@@ -18,101 +17,19 @@ type ImportedFieldMeta = {
|
|
|
18
17
|
};
|
|
19
18
|
type PaperViewportRange = [string, string];
|
|
20
19
|
export declare class XlsxParser {
|
|
21
|
-
static
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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;
|
|
20
|
+
static extractPaperFields(paper: IPaper | null, fields: ImportedFieldMeta[] | null): CellField[];
|
|
21
|
+
static xlsx2Sheets(file: any, keyList?: string[]): Promise<{
|
|
22
|
+
sheets: {
|
|
23
|
+
title: string;
|
|
24
|
+
paper: IPaper;
|
|
25
|
+
paperFields: CellField[];
|
|
26
|
+
}[];
|
|
110
27
|
fields: ImportedFieldMeta[] | null;
|
|
111
|
-
paperFields: CellField[];
|
|
112
28
|
}>;
|
|
113
29
|
static sheetToPaper(paperSheet: any, xlsxData: any): {
|
|
30
|
+
floatingFields?: import('../types').FloatingSealField[];
|
|
114
31
|
sheetId: string;
|
|
115
|
-
orientation: Orientation;
|
|
32
|
+
orientation: import('../../../../../nocode-base/src').Orientation;
|
|
116
33
|
paperSize: import('../../../../../nocode-base/src').PageSizeEnum;
|
|
117
34
|
width: number;
|
|
118
35
|
height: number;
|
|
@@ -135,24 +52,10 @@ export declare class XlsxParser {
|
|
|
135
52
|
fixedTables?: import('../types').IFixedTable[];
|
|
136
53
|
medias?: Array<import('../types').IMedia>;
|
|
137
54
|
images?: Array<IImage>;
|
|
138
|
-
paramToField?: Array<import('../types').IParamToField>;
|
|
139
55
|
paperHeader?: boolean;
|
|
140
56
|
paperHeaderWidgets?: import("../../types/paper-widget").PaperWidget.BasicSchema[];
|
|
141
57
|
paperFooter?: boolean;
|
|
142
58
|
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;
|
|
156
59
|
};
|
|
157
60
|
/**
|
|
158
61
|
* 根据 sheet 内容解析字段信息
|
|
@@ -7,10 +7,8 @@ export interface AutofillRule {
|
|
|
7
7
|
interface ApplyOptions {
|
|
8
8
|
/** 仅 trace-rdo 传 true:启用 uom_id_ 翻译(其余组件维持原始直传,零回归) */
|
|
9
9
|
uomTranslate?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
/** 显式 false 时跳过;undefined 时兼容老数据仍执行 */
|
|
13
|
-
enabled?: boolean;
|
|
10
|
+
/** 模板读取阶段已补齐开关,运行期只处理明确的配置。 */
|
|
11
|
+
enabled: boolean;
|
|
14
12
|
}
|
|
15
13
|
export declare function useAutofill(): {
|
|
16
14
|
applyAutofillRules: (rules: AutofillRule[] | undefined, sourceRow: any, formData: any, opts?: ApplyOptions) => void;
|
package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-api.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface SealDetail {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
code?: string;
|
|
5
|
+
sealImage?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SealPasswordRequest {
|
|
8
|
+
id: string;
|
|
9
|
+
password: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class SealPasswordApiUnavailable extends Error {
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
14
|
+
export declare function getSealDetail(id: string): Promise<SealDetail>;
|
|
15
|
+
/** 待后端契约确定后,在此通过 api 调用验证接口并归一化为 boolean;不由宿主注入。 */
|
|
16
|
+
export declare function verifySealPassword(_request: SealPasswordRequest): Promise<boolean>;
|
|
17
|
+
export declare function getSealUserTime(): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ISeal } from '../../../../../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
widget: ISeal;
|
|
4
|
+
formData: Record<string, any>;
|
|
5
|
+
surfaceGroup: string;
|
|
6
|
+
printMode: boolean;
|
|
7
|
+
};
|
|
8
|
+
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, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseCoreComponent, IBasicInfoItem } from '../../../../../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basicInfo: IBasicInfoItem;
|
|
4
|
+
dataCenter: Record<string, BaseCoreComponent.BasicSchema>;
|
|
5
|
+
formData: Record<string, any>;
|
|
6
|
+
printMode: boolean;
|
|
7
|
+
};
|
|
8
|
+
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, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SignInfo } from '../../../../../../../../shared/components/Signature';
|
|
2
|
+
import { SealStamp } from '../../../../../../../../shared/seal';
|
|
3
|
+
import { SealDetail, SealPasswordRequest } from './seal-api';
|
|
4
|
+
interface Dependencies {
|
|
5
|
+
sealId: string;
|
|
6
|
+
fetchDetail: (id: string) => Promise<SealDetail>;
|
|
7
|
+
verifyPassword: (request: SealPasswordRequest) => Promise<boolean>;
|
|
8
|
+
now: () => string;
|
|
9
|
+
isActive: () => boolean;
|
|
10
|
+
translate: (key: string) => string;
|
|
11
|
+
}
|
|
12
|
+
/** 弹窗内只暂存数据。返回最终结果后,调用方再一次性更新印章字段。 */
|
|
13
|
+
export declare function createSealStampFlow(deps: Dependencies): {
|
|
14
|
+
step: import('vue').Ref<"seal" | "signature", "seal" | "signature">;
|
|
15
|
+
detailStatus: import('vue').Ref<"idle" | "ready" | "error" | "loading", "idle" | "ready" | "error" | "loading">;
|
|
16
|
+
passwordStatus: import('vue').Ref<"idle" | "error" | "invalid" | "validating" | "valid", "idle" | "error" | "invalid" | "validating" | "valid">;
|
|
17
|
+
sealDetail: import('vue').Ref<SealDetail | undefined, SealDetail | undefined>;
|
|
18
|
+
password: import('vue').Ref<string, string>;
|
|
19
|
+
passwordError: import('vue').Ref<string, string>;
|
|
20
|
+
error: import('vue').Ref<string, string>;
|
|
21
|
+
submitting: import('vue').Ref<boolean, boolean>;
|
|
22
|
+
authenticated: (info: SignInfo) => Promise<void>;
|
|
23
|
+
loadDetail: () => Promise<void>;
|
|
24
|
+
validatePassword: () => Promise<boolean>;
|
|
25
|
+
confirm: () => Promise<SealStamp | undefined>;
|
|
26
|
+
back: () => void;
|
|
27
|
+
dispose: () => void;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ComponentTypeEnum } from '../../../../../../../nocode-base/src';
|
|
2
|
+
import { default as BaseComponent } from '../_base_/BaseComponent';
|
|
3
|
+
declare class Seal extends BaseComponent {
|
|
4
|
+
component: ComponentTypeEnum;
|
|
5
|
+
wrapperCmpConfig({ data }: {
|
|
6
|
+
data: any;
|
|
7
|
+
}): {
|
|
8
|
+
props: {
|
|
9
|
+
sealSourceId: any;
|
|
10
|
+
diameterMm: number;
|
|
11
|
+
sealPosition: any;
|
|
12
|
+
field?: string;
|
|
13
|
+
fieldId?: string;
|
|
14
|
+
fieldType?: import('../../../../../../../shared').FIELD_TYPE;
|
|
15
|
+
bizType?: string;
|
|
16
|
+
fieldLink?: string;
|
|
17
|
+
modelKey?: string;
|
|
18
|
+
isFieldModel?: boolean;
|
|
19
|
+
subModelKey?: string;
|
|
20
|
+
subFieldKey?: string;
|
|
21
|
+
createType?: import('../../../../../../../shared').CreateType;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
readonly?: boolean;
|
|
24
|
+
field_readonly?: boolean;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
keepExceptionHighlight?: boolean;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
defaultValue?: any;
|
|
29
|
+
viewState?: import('../../../../../../../nocode-base/src').CellWidgetViewState;
|
|
30
|
+
nullValSymbol?: import('../../../../../../../nocode-base/src').EmptySymbol;
|
|
31
|
+
prefix?: string;
|
|
32
|
+
suffix?: string;
|
|
33
|
+
size?: number;
|
|
34
|
+
cmpWidth?: string;
|
|
35
|
+
cmpHeight?: string;
|
|
36
|
+
newSpecificConfig?: {
|
|
37
|
+
newQueryData?: any;
|
|
38
|
+
customLoader?: import('../../../../../../../nocode-base/src').RefCustomLoader;
|
|
39
|
+
newOptions?: Array<any>;
|
|
40
|
+
newPrecision?: number;
|
|
41
|
+
newRequired?: boolean;
|
|
42
|
+
newUploadConfig?: any;
|
|
43
|
+
newRulesForRounding?: 1 | 4 | 6;
|
|
44
|
+
newComponentProps?: Record<string, any>;
|
|
45
|
+
mappingType?: string;
|
|
46
|
+
};
|
|
47
|
+
componentDependency?: import('../../../../designer/types/cell-widget').DisplayProps;
|
|
48
|
+
isMaterialConsumeField?: boolean;
|
|
49
|
+
customRenderTag?: string;
|
|
50
|
+
};
|
|
51
|
+
style: {};
|
|
52
|
+
event: import("@gct-paas/excel/base").BaseCoreComponent.FieldEventProps;
|
|
53
|
+
formItem: boolean;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
declare const _default: Seal;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BusinessFieldIdentity } from '../../../../../../../../nocode-base/src/runtime/field-identity';
|
|
2
|
+
export interface FixedTableSignatureConfig {
|
|
3
|
+
mainFieldBindings?: string[];
|
|
4
|
+
dataLockControlField?: 'inspector_' | 'reviewer_';
|
|
5
|
+
}
|
|
6
|
+
export interface SignatureValidationPathOptions extends BusinessFieldIdentity {
|
|
7
|
+
config?: FixedTableSignatureConfig;
|
|
8
|
+
field?: string;
|
|
9
|
+
subtableFieldId?: string;
|
|
10
|
+
rowKey?: string;
|
|
11
|
+
ruleKeys: Iterable<string>;
|
|
12
|
+
}
|
|
13
|
+
/** 组装签名前需要执行的主表及固定表当前行字段路径。 */
|
|
14
|
+
export declare function resolveSignatureValidationPaths(options: SignatureValidationPathOptions): string[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FetcherResult } from './useSelectTable';
|
|
2
|
+
/** 回车只选择当前输入的最新查询结果,不能读取防抖前的列表。 */
|
|
3
|
+
export declare function useSearchEnter({ keyword, cancel, search, select, scan, active, }: {
|
|
4
|
+
keyword: () => string | undefined;
|
|
5
|
+
cancel: () => void;
|
|
6
|
+
search: (keyword: string) => Promise<FetcherResult | undefined>;
|
|
7
|
+
select: (row: any) => unknown;
|
|
8
|
+
scan?: (keyword: string, isCurrent: () => boolean) => Promise<boolean>;
|
|
9
|
+
active?: () => boolean;
|
|
10
|
+
}): (event: KeyboardEvent) => Promise<void>;
|
|
@@ -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 | undefined>;
|
|
26
26
|
onSizeChange: (current: number, pageSize: number) => Promise<void>;
|
|
27
|
-
fetchTableData: (keyword?: string) => Promise<FetcherResult>;
|
|
27
|
+
fetchTableData: (keyword?: string) => Promise<FetcherResult | undefined>;
|
|
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,9 +5,10 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
5
5
|
formData: object;
|
|
6
6
|
};
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
|
-
selectByCode: (code: string) => Promise<boolean>;
|
|
8
|
+
selectByCode: (code: string, signal: AbortSignal) => 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>;
|
|
13
14
|
};
|
|
@@ -2,8 +2,9 @@ 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, formConfig }: {
|
|
6
6
|
data: any;
|
|
7
|
+
formConfig: any;
|
|
7
8
|
}): IPaper;
|
|
8
9
|
updateCmpConfig({ data, result }: {
|
|
9
10
|
data: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function generateRuntimeJson(designerJson: any): {};
|
|
1
|
+
export declare function generateRuntimeJson(designerJson: any, formConfig?: any): {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IBasicInfoItem, RuntimeInstanceContext, RuntimeInstanceEventBus } from '../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
basicInfo: IBasicInfoItem;
|
|
4
|
+
runtimeContext: RuntimeInstanceContext;
|
|
5
|
+
/** 当前实例的批注事件总线,由 RuntimeInstanceRecord 显式传入。 */
|
|
6
|
+
eventBus: RuntimeInstanceEventBus;
|
|
7
|
+
/** 打印态可明确指定 Sheet;交互态省略时使用活动 Sheet。 */
|
|
8
|
+
sheetId?: string;
|
|
9
|
+
pageNumberOffset?: number;
|
|
10
|
+
totalPages?: number;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
13
|
+
whenReady: () => Promise<void>;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBasicInfoItem, RuntimeInstanceRecord } from '../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
record: RuntimeInstanceRecord;
|
|
4
|
+
basicInfo: IBasicInfoItem;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
+
whenReady: () => Promise<void>;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { IBasicInfoItem
|
|
1
|
+
import { IBasicInfoItem } from '../../../../nocode-base/src';
|
|
2
|
+
import { RuntimePrintOptions } from './printing/print-runtime-instance';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
/** 页面加载状态 */
|
|
4
4
|
loading: boolean;
|
|
5
|
-
/** 是否有数据 */
|
|
6
5
|
hasData: boolean;
|
|
7
|
-
/** 基础信息列表 */
|
|
8
6
|
basicInfoList: IBasicInfoItem[];
|
|
9
|
-
/**
|
|
10
|
-
|
|
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[];
|
|
7
|
+
/** 独立打印查看页可展示全部 Sheet;填报页默认仅挂载活动 Sheet。 */
|
|
8
|
+
renderScope?: 'active-sheet' | 'all-sheets';
|
|
23
9
|
};
|
|
24
|
-
|
|
10
|
+
/** 【宿主接入·SSR 已接通】等待全部 Sheet 的数据、分页、资源和页面合并,并交付真实打印清单。 */
|
|
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>;
|
|
25
27
|
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** 原生打印驱动:只接收已渲染的页面,隔离样式、逐页纸张规则和临时 DOM 生命周期。 */
|
|
2
|
+
export interface IframePrintPage {
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
sheetIndex: number;
|
|
5
|
+
sheetId: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
}
|
|
9
|
+
export declare function waitPrintImages(root: ParentNode, signal: AbortSignal): Promise<void>;
|
|
10
|
+
export declare function waitPrintFonts(doc: Document, signal: AbortSignal): Promise<void>;
|
|
11
|
+
export declare function printPagesInIframe(pages: IframePrintPage[], title: string, signal: AbortSignal): Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../../../../../nocode-base/src/types';
|
|
2
|
+
import { RuntimeInstanceRecord } from '../../../../../nocode-base/src/runtime/runtime-instance-registry';
|
|
3
|
+
import { RuntimePrintSnapshot } from './runtime-print-snapshot';
|
|
4
|
+
export interface RuntimePrintOptions {
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RuntimePrintView {
|
|
8
|
+
element: HTMLElement;
|
|
9
|
+
whenReady(): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export declare function printRuntimeInstance(record: RuntimeInstanceRecord, basicInfo: IBasicInfoItem, renderSnapshot: (snapshot: RuntimePrintSnapshot) => Promise<RuntimePrintView>, signal: AbortSignal, options?: RuntimePrintOptions): Promise<void>;
|