@gct-paas/excel 0.1.35 → 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-C-T3bipZ.js → BaseComponent-DQaCGLeT.js} +18 -1
- package/dist/{VueVideoPlayer-uu8pHm89.js → VueVideoPlayer-C6a9Wt23.js} +2 -2
- package/dist/{align-editor-Bk5NBwxp.js → align-editor-BIgxBb3c.js} +1 -1
- package/dist/{barcode-design-B11QXZvG.js → barcode-design-6urZiVEU.js} +2 -2
- package/dist/base/index.es.js +2137 -2795
- package/dist/{diagonal-design-B6qOpgJB.js → diagonal-design-Dmvh3iV7.js} +2 -2
- package/dist/{dynamic-table-action-ClvCYTXt.js → dynamic-table-action-CIQHe0dS.js} +7248 -3103
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhvnFfly.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CfpxTsKR.js} +51446 -52262
- package/dist/{edit.utils-CXmmCnxE-DBJfGya8.js → edit.utils-CXmmCnxE-BSdD_tOR.js} +1 -1
- package/dist/excel.css +3223 -1942
- package/dist/{exceljs.min-wkM2JRWA.js → exceljs.min-CLghjkvN.js} +2 -2
- package/dist/{font-editor-qk8ye00Z.js → font-editor-Bergh2R4.js} +3 -3
- package/dist/{image-design-DnAdcfkb.js → image-design-CE8RmqGR.js} +2 -2
- package/dist/{index-DK3WaVk5.js → index-BCxnsShs.js} +1 -1
- package/dist/{index-Yak4dcr8.js → index-BDeyH_2H.js} +2 -2
- package/dist/{index-Da3dLccm.js → index-BGpCYZm4.js} +2 -2
- package/dist/{index-K2KtldGf.js → index-BJdOVQGJ.js} +1 -1
- package/dist/{index-B0CE87b5.js → index-BVcJPSOs.js} +5 -3
- package/dist/{index-VX-I525j.js → index-BVxo9GHy.js} +1 -1
- package/dist/{index-C3OVB8dF.js → index-BXSzJMT7.js} +8 -74
- package/dist/{index-BbxeAoGv.js → index-BfHBvOdP.js} +2 -2
- package/dist/{index-DyYIAGuW.js → index-Byh0Vmlz.js} +2 -2
- package/dist/{index-DblJyfD1.js → index-C2olS5vJ.js} +3 -3
- package/dist/{index-BsAib_T0.js → index-C7TEXlbZ.js} +2 -2
- package/dist/{index-Dnv99kDV.js → index-CA6CWt8y.js} +1 -1
- package/dist/{index-C4WGrLrq.js → index-CNzY1FwH.js} +2 -2
- package/dist/{index-CMyaYX19.js → index-Chu6332Q.js} +12 -3
- package/dist/{index-COIKVzHE.js → index-CuZvl7YB.js} +2 -2
- package/dist/{index-98JlcyIh.js → index-D-HlMlRd.js} +3 -3
- package/dist/{index-BReNIvpZ.js → index-D-Jbq4My.js} +2 -2
- package/dist/{index-hlChb3S5.js → index-D1_SYDPv.js} +2 -2
- package/dist/{index-CkNER_VJ.js → index-D6Z8-FC9.js} +432 -237
- package/dist/{index-CZ19OTa-.js → index-D6udXzjh.js} +2 -2
- package/dist/{index-CSOaeJHs.js → index-DA5PXti2.js} +42829 -36873
- package/dist/{index-C6yP97M1.js → index-Dgu35iIj.js} +1 -1
- package/dist/{index-B4SeHIvj.js → index-DnZq1s_3.js} +3 -3
- package/dist/{index-CUVo4Y3e.js → index-DqOxVJR-.js} +2 -2
- package/dist/{index-CmKaq9BA.js → index-Dqr0oBlM.js} +2 -2
- package/dist/{index-DEPdSmRz.js → index-DuyXEchF.js} +13 -2
- package/dist/{index-BCm5uXm-.js → index-Dw7SQNDy.js} +1 -1
- package/dist/index-DwKg7b0U.js +26 -0
- package/dist/{index-ZPbeIApi.js → index-DyHrkuGj.js} +2 -2
- package/dist/{index-YHJMTfT6.js → index-KcZJqM3I.js} +1 -1
- package/dist/{index-DZZB4Wki.js → index-ROHlRUFD.js} +1 -1
- package/dist/{index-BNd6EBaX.js → index-a3Y8FZwA.js} +2 -2
- package/dist/{index-BHihG6wo.js → index-bX1S8t3o.js} +3 -3
- package/dist/{index-BHTh3IKd.js → index-geVnq_KD.js} +2 -2
- package/dist/{index-DIPExK1-.js → index-m0iGs0bS.js} +1 -1
- package/dist/index.es.js +49 -49
- package/dist/{mb-render-BWsK2uaj.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-D0gNSgDm.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-e6YmfypM.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-B8OeEjHi.js → qrcode-design-BrEZ2nXO.js} +1 -1
- package/dist/{revo-grid.entry-C8HVGuwE.js → revo-grid.entry-BBZIZgKP.js} +1 -1
- package/dist/{revogr-attribution_7.entry-C57R5N9H.js → revogr-attribution_7.entry-rfjINVxu.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C-t0bHXx.js → revogr-clipboard_3.entry-Bg3AuwfG.js} +2 -2
- package/dist/{revogr-data_4.entry-xIPTVLfC.js → revogr-data_4.entry-C8O2Iv2n.js} +2 -2
- package/dist/{revogr-filter-panel.entry-ByM_cVBE.js → revogr-filter-panel.entry-uQBhKoSX.js} +1 -1
- package/dist/seal-design-B42sQwSF.js +4 -0
- package/dist/{serialnumber-design-nwsYg88n.js → serialnumber-design-DCkPTZFe.js} +1 -1
- package/dist/shared/index.es.js +32 -26
- package/dist/{single-field-drop-DtXqBBy7.js → single-field-drop-BL43JC5V.js} +2 -2
- package/dist/{size-editor-Bl32fjTp.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-quick-fill/fixed-quick-fill-layout.d.ts +23 -0
- package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +2 -0
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +1 -2
- package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +2 -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-DpCprqkB.js → text-design-LpqAAdUy.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-CRmC7Dda.js → throttle-Cpk1LoGk-Ci963h-N.js} +1 -1
- package/dist/{timediff-design-CRhHuuBP.js → timediff-design-DAD_BKWH.js} +1 -1
- package/dist/{trace-like-wrapper-aVtmhEpO.js → trace-like-wrapper-Bq4-R_-a.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-C98Wj3QJ.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-fA706IEU.js → widget-barcode-7jbXypLa.js} +4 -4
- package/dist/{widget-diagonal-DJIIPhRm.js → widget-diagonal-CAhF4RdS.js} +3 -3
- package/dist/{widget-image-iA5POujb.js → widget-image-fajmaZZL.js} +5 -5
- package/dist/{widget-line-bjO0OmRM.js → widget-line-BnpVz3Cw.js} +2 -2
- package/dist/{widget-pagination-CCWAQS5T.js → widget-pagination-CBRrI8Gg.js} +5 -5
- package/dist/{widget-power-D3TkaSwc.js → widget-power-CeJ_lpsq.js} +3 -3
- package/dist/{widget-qrcode-B1ohZ9gB.js → widget-qrcode-DJDwbHFC.js} +3 -3
- package/dist/{widget-rangelimit-D8F6Ryvq.js → widget-rangelimit-BfMODXDL.js} +3 -3
- package/dist/{widget-serialnumber-CWpzTsBq.js → widget-serialnumber-C7B10sEv.js} +1 -1
- package/dist/{widget-text-Ouno0e1_.js → widget-text-1XmDP1ym.js} +5 -5
- package/dist/{widget-timediff-biUSdm8e.js → widget-timediff-CXke343Y.js} +2 -2
- package/package.json +4 -4
- package/dist/paper-widget-design-DNgkKQGY.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
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
|
|
2
|
+
import { baseDataUtils } from '../../interface';
|
|
3
|
+
import { RuntimeFormStateStore } from '../../runtime';
|
|
4
|
+
export interface IProps {
|
|
5
|
+
/** 模板实例id或者模板id */
|
|
6
|
+
selfId: string | string[] | undefined;
|
|
7
|
+
/** 批次号 */
|
|
8
|
+
materialNo?: string;
|
|
9
|
+
/** 查询条件 */
|
|
10
|
+
query?: Record<string, any>;
|
|
11
|
+
}
|
|
12
|
+
interface ITemplatePayload {
|
|
13
|
+
/** 渲染模式类型 */
|
|
14
|
+
renderModeType?: RenderModeEnum;
|
|
15
|
+
}
|
|
16
|
+
interface IInstancePayload {
|
|
17
|
+
/** 是否是详情页面 */
|
|
18
|
+
isDetailPage?: boolean | (() => boolean);
|
|
19
|
+
/** 获取按钮显示规则 */
|
|
20
|
+
getBtnDisplayRules?: boolean | (() => boolean);
|
|
21
|
+
/** 组件传进来的参数 */
|
|
22
|
+
paramExtraProps?: Record<string, any>;
|
|
23
|
+
}
|
|
24
|
+
interface IDeviceConfig {
|
|
25
|
+
/** 默认的用户id */
|
|
26
|
+
defaultUserId: string | undefined;
|
|
27
|
+
/** 默认的部门id */
|
|
28
|
+
defaultOrgId: string | undefined;
|
|
29
|
+
/** 默认的物料查询条件 */
|
|
30
|
+
defaultProductSearchFields: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
33
|
+
/** 工厂类型 */
|
|
34
|
+
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
35
|
+
/** 请求接口函数 */
|
|
36
|
+
requestCallback: (...args: any[]) => any;
|
|
37
|
+
/** 平台参数类型 */
|
|
38
|
+
platformType: PlatformEnum;
|
|
39
|
+
/** 是否是模拟填报 */
|
|
40
|
+
isMockReport: boolean;
|
|
41
|
+
/** 设备配置信息 */
|
|
42
|
+
deviceConfig?: IDeviceConfig;
|
|
43
|
+
/**所有数据更新加载完后 */
|
|
44
|
+
onFinisher?: (...args: any[]) => unknown;
|
|
45
|
+
/**表单打印方法 */
|
|
46
|
+
formPrint?: (...args: any[]) => unknown;
|
|
47
|
+
/** 实例注册/保存回填完成后交付当前 Store,宿主用于建立自身的自动保存基准。 */
|
|
48
|
+
onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
|
|
49
|
+
}
|
|
50
|
+
/** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
|
|
51
|
+
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'];
|
|
52
|
+
/** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
|
|
53
|
+
export interface RuntimeInstanceSource {
|
|
54
|
+
id?: string;
|
|
55
|
+
tid: string;
|
|
56
|
+
selfInfo: RuntimeSelfInfo;
|
|
57
|
+
paramsConfig?: Record<string, any>;
|
|
58
|
+
fillModeType: RenderModeEnum;
|
|
59
|
+
btnModelType?: RenderModeEnum;
|
|
60
|
+
bpmnType?: BpmnNodeTypeEnum;
|
|
61
|
+
bpmnFieldAuthMap?: Record<string, any>;
|
|
62
|
+
query?: Record<string, any>;
|
|
63
|
+
}
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** paramsConfig 中 containerId 优先;没有时使用 snId。 */
|
|
2
|
+
export declare function resolveUdiQuery(paramsConfig?: Record<string, unknown>): Record<string, string> | undefined;
|
|
3
|
+
/** listAll 返回第一条 UDI;兼容接口返回 data / data.data 的历史形态。 */
|
|
4
|
+
export declare function parseUdi(res: unknown): string | undefined;
|
|
5
|
+
/** 请求本身不缓存;默认值服务按实例合并请求并管理生命周期。 */
|
|
6
|
+
export declare function fetchUdi(paramsConfig?: Record<string, unknown>): Promise<string | undefined>;
|
|
@@ -2,6 +2,7 @@ import { BaseCoreComponent } from '../types';
|
|
|
2
2
|
export declare function useDependency(widget: BaseCoreComponent.BasicSchema, props: any): {
|
|
3
3
|
value: import('vue').WritableComputedRef<any, any>;
|
|
4
4
|
formRowData: Readonly<import('vue').Ref<any, any>>;
|
|
5
|
-
|
|
5
|
+
formRowPath: import('vue').ComputedRef<string>;
|
|
6
|
+
targetFieldId: string;
|
|
6
7
|
fieldWidget: import('vue').Ref<any, any>;
|
|
7
8
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export declare function useNocodeFormWidget(props: any, emit: any): {
|
|
2
|
-
getValue: () => any;
|
|
3
|
-
setValue: (v: any) => void;
|
|
4
2
|
onChange: (callback?: any, valueData?: any, optionDetail?: any) => Promise<void>;
|
|
5
3
|
onBlur: () => void;
|
|
6
4
|
onPressEnter: () => Promise<void>;
|
|
7
5
|
value: import('vue').WritableComputedRef<any, any>;
|
|
8
|
-
realFieldId: import('vue').ComputedRef<string
|
|
6
|
+
realFieldId: import('vue').ComputedRef<string>;
|
|
7
|
+
formStateChangePath: import('vue').ComputedRef<string>;
|
|
9
8
|
annotationInfo: import('vue').ComputedRef<false | {
|
|
10
9
|
annClassList: string[];
|
|
11
|
-
annFieldId: string
|
|
10
|
+
annFieldId: string;
|
|
12
11
|
showValidatorClass: boolean;
|
|
13
12
|
}>;
|
|
14
13
|
isDynValue: import('vue').ComputedRef<boolean>;
|
|
14
|
+
setRowField: (fieldKey: string, value: any, source: import('..').FormStateMutationSource) => void;
|
|
15
|
+
patchRow: (values: Record<string, any>, source: import('..').FormStateMutationSource) => void;
|
|
16
|
+
getRowFieldPath: (fieldKey: string) => string;
|
|
17
|
+
markRowFieldUserModified: (fieldKey: string) => void;
|
|
15
18
|
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export declare function mergeMarkedTd(): void;
|
|
2
|
-
|
|
1
|
+
export declare function mergeMarkedTd(root?: ParentNode): void;
|
|
2
|
+
/** 等待页面 DOM 静止后合并;就绪由 whenReady 交付,不再用网络心跳影响 Puppeteer。 */
|
|
3
|
+
export declare function waitDomStable(el: HTMLElement, idle?: number, timeout?: number): Promise<void>;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
export declare enum EmitterEnum {
|
|
2
|
-
/** 打开单个批注详情 */
|
|
3
|
-
__on__open_single_annotation_detail_ = "__on__open_single_annotation_detail_",
|
|
4
|
-
/** 更新页面 */
|
|
5
|
-
__on__update_page_dom_ = "__on__update_page_dom_",
|
|
6
2
|
/** 电子批记录选择单据实例id */
|
|
7
|
-
__on_select_ebr_doc_instance_id = "__on_select_ebr_doc_instance_id"
|
|
8
|
-
/** 循环自动保存 */
|
|
9
|
-
__on_looper_auto_save = "__on_looper_auto_save",
|
|
10
|
-
/** 电子批记录比对formstate */
|
|
11
|
-
__on_diff_ebr_form_state = "__on_diff_ebr_form_state"
|
|
3
|
+
__on_select_ebr_doc_instance_id = "__on_select_ebr_doc_instance_id"
|
|
12
4
|
}
|
|
13
5
|
export declare function useNocodeEmitter(): {
|
|
14
6
|
emitter: import('../../../shared/utils/mitt').Emitter<Record<import('../../../shared/utils/mitt').EventType, unknown>>;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { MobileFillTypeEnum } from '../constant';
|
|
2
|
-
import { BaseCoreComponent, IBasicInfoItem,
|
|
3
|
-
|
|
4
|
-
export declare function useCurrentPageFormState(): {
|
|
5
|
-
currentPageFormState: import('vue').ComputedRef<any>;
|
|
6
|
-
};
|
|
2
|
+
import { BaseCoreComponent, IBasicInfoItem, ITd, ICheckTable2DInfo } from '../types';
|
|
3
|
+
import { RuntimeInstanceEventBus } from '../runtime';
|
|
7
4
|
/** 获取组件静态属性 */
|
|
8
5
|
export declare function useWidgetStaticAttrs(widget: any): {
|
|
9
6
|
field: any;
|
|
@@ -14,7 +11,7 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
14
11
|
refModelKey: any;
|
|
15
12
|
isFieldModel: any;
|
|
16
13
|
fieldLink: any;
|
|
17
|
-
targetFieldId:
|
|
14
|
+
targetFieldId: string;
|
|
18
15
|
placeholder: any;
|
|
19
16
|
bindCompStyleType: any;
|
|
20
17
|
/** 字段名称 */
|
|
@@ -22,11 +19,11 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
22
19
|
/** 字段所属模型名称 */
|
|
23
20
|
showModelName: any;
|
|
24
21
|
/** 是否必填 */
|
|
25
|
-
showRequired: import('vue').
|
|
22
|
+
showRequired: import('vue').ComputedRef<boolean>;
|
|
26
23
|
/** 是否禁用 */
|
|
27
|
-
showDisabled: import('vue').ComputedRef<
|
|
24
|
+
showDisabled: import('vue').ComputedRef<boolean>;
|
|
28
25
|
/** 显示状态 */
|
|
29
|
-
showDisplayStatus: import('vue').ComputedRef<
|
|
26
|
+
showDisplayStatus: import('vue').ComputedRef<string>;
|
|
30
27
|
/** 下拉列表 */
|
|
31
28
|
options: any;
|
|
32
29
|
/** 附件、图片配置项 */
|
|
@@ -59,23 +56,10 @@ export declare function useWidgetStaticAttrs(widget: any): {
|
|
|
59
56
|
/** 序列号 */
|
|
60
57
|
newSnNo: any;
|
|
61
58
|
};
|
|
62
|
-
/** 公式计算 */
|
|
63
|
-
export declare function useCalculateFormula(): {
|
|
64
|
-
identify: (...args: any[]) => string[];
|
|
65
|
-
getParseFormulaVarInfos: (expr?: string) => {
|
|
66
|
-
rowArgs: string[];
|
|
67
|
-
parseInfos: IParseFormulaVar[];
|
|
68
|
-
};
|
|
69
|
-
calculateFormula: (expr: string, formData: any, currentPageFormState: any) => Promise<any>;
|
|
70
|
-
getMergeParseInfos: (options: {
|
|
71
|
-
minFormulaExpr: string;
|
|
72
|
-
maxFormulaExpr: string;
|
|
73
|
-
}) => IParseFormulaVar[];
|
|
74
|
-
};
|
|
75
59
|
/** 选择批注 id;传入 event 且点在三角上时,汇总同格/组合字段内全部变更坐标 */
|
|
76
|
-
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined, event?: MouseEvent): void;
|
|
60
|
+
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined, event?: MouseEvent, eventBus?: RuntimeInstanceEventBus): void;
|
|
77
61
|
/** 关闭所有校验 Popover,避免旧锚点残留导致位置漂移 */
|
|
78
|
-
export declare function closeValidatorPopovers(): void;
|
|
62
|
+
export declare function closeValidatorPopovers(uniqueId: string): void;
|
|
79
63
|
/** 选择校验错误信息id */
|
|
80
64
|
export declare function setSelectValidatorId(event: MouseEvent, basicInfoItem: IBasicInfoItem | undefined): void;
|
|
81
65
|
/** 选择移动端tdId */
|
|
@@ -1,77 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { FormChangeRowDetailMeta } from './annotation/form-change-row';
|
|
6
|
-
export interface IProps {
|
|
7
|
-
/** 模板实例id或者模板id */
|
|
8
|
-
selfId: string | string[] | undefined;
|
|
9
|
-
/** 批次号 */
|
|
10
|
-
materialNo?: string;
|
|
11
|
-
/** 查询条件 */
|
|
12
|
-
query?: Record<string, any>;
|
|
13
|
-
}
|
|
14
|
-
interface ITemplatePayload {
|
|
15
|
-
/** 渲染模式类型 */
|
|
16
|
-
renderModeType?: RenderModeEnum;
|
|
17
|
-
}
|
|
18
|
-
interface IInstancePayload {
|
|
19
|
-
/** 是否是详情页面 */
|
|
20
|
-
isDetailPage?: boolean | Function;
|
|
21
|
-
/** 获取按钮显示规则 */
|
|
22
|
-
getBtnDisplayRules?: boolean | Function;
|
|
23
|
-
/** 组件传进来的参数 */
|
|
24
|
-
paramExtraProps?: Record<string, any>;
|
|
25
|
-
}
|
|
26
|
-
interface IDeviceConfig {
|
|
27
|
-
/** 默认的用户id */
|
|
28
|
-
defaultUserId: string | undefined;
|
|
29
|
-
/** 默认的部门id */
|
|
30
|
-
defaultOrgId: string | undefined;
|
|
31
|
-
/** 默认的物料查询条件 */
|
|
32
|
-
defaultProductSearchFields: string;
|
|
33
|
-
}
|
|
34
|
-
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
35
|
-
/** 工厂类型 */
|
|
36
|
-
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
37
|
-
/** 请求接口函数 */
|
|
38
|
-
requestCallback: Function;
|
|
39
|
-
/** 平台参数类型 */
|
|
40
|
-
platformType: PlatformEnum;
|
|
41
|
-
/** 是否是模拟填报 */
|
|
42
|
-
isMockReport: boolean;
|
|
43
|
-
/** 设备配置信息 */
|
|
44
|
-
deviceConfig?: IDeviceConfig;
|
|
45
|
-
/**所有数据更新加载完后 */
|
|
46
|
-
onFinisher?: Function;
|
|
47
|
-
/**表单打印方法 */
|
|
48
|
-
formPrint?: Function;
|
|
49
|
-
/** 初始化加载数据之后 */
|
|
50
|
-
afterProcessData?: Function;
|
|
51
|
-
}
|
|
1
|
+
import { IBasicInfoItem } from '../types';
|
|
2
|
+
import { RuntimeInstanceRegistry } from '../runtime';
|
|
3
|
+
import { IProps, IPayload } from './render-page/types';
|
|
4
|
+
export type { IProps, IPayload } from './render-page/types';
|
|
52
5
|
export declare function useRenderPageFactory(props: IProps, payload: IPayload): {
|
|
53
6
|
counter: import('vue').Ref<number, number>;
|
|
54
7
|
finisher: import('vue').Ref<number, number>;
|
|
55
|
-
loading: import('vue').
|
|
56
|
-
|
|
57
|
-
pageDataMap: import('vue').Ref<Record<string, IPageData[]>, Record<string, IPageData[]>>;
|
|
58
|
-
formStateMap: import('vue').Ref<Record<string, Record<string, any>>, Record<string, Record<string, any>>>;
|
|
59
|
-
defaultDataMap: import('vue').Ref<Record<string, any>, Record<string, any>>;
|
|
8
|
+
loading: import('vue').ComputedRef<boolean>;
|
|
9
|
+
runtimeRegistry: RuntimeInstanceRegistry;
|
|
60
10
|
basicInfoList: import('vue').Ref<{
|
|
61
11
|
key: string;
|
|
62
12
|
tid: string;
|
|
63
13
|
uniqueId: string;
|
|
64
14
|
modelKey: string;
|
|
65
|
-
formType: FormTypeEnum;
|
|
66
|
-
platformType: PlatformEnum;
|
|
15
|
+
formType: import('..').FormTypeEnum;
|
|
16
|
+
platformType: import('..').PlatformEnum;
|
|
67
17
|
posType?: import('..').PosEnum | undefined;
|
|
68
|
-
renderModeType: RenderModeEnum;
|
|
69
|
-
btnRenderModeType: RenderModeEnum;
|
|
18
|
+
renderModeType: import('..').RenderModeEnum;
|
|
19
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
70
20
|
isMockReport: boolean;
|
|
71
21
|
gct_stashData: boolean;
|
|
72
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
22
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
73
23
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
74
|
-
eventInstance?: any;
|
|
75
24
|
formChangeStatus: boolean;
|
|
76
25
|
formChangeOriginData: Record<string, any>;
|
|
77
26
|
formChangeNewData: Record<string, any>;
|
|
@@ -79,6 +28,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
79
28
|
annCellLocationList: Array<string>;
|
|
80
29
|
annSelectId?: string | string[] | undefined;
|
|
81
30
|
annRowDetails?: {
|
|
31
|
+
sheetId?: string | undefined;
|
|
82
32
|
cellLocation: string;
|
|
83
33
|
cellType: string;
|
|
84
34
|
op: "ADD" | "DEL";
|
|
@@ -95,7 +45,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
95
45
|
mobileSelectTdId?: string | undefined;
|
|
96
46
|
contentHighlight: Record<string, any>;
|
|
97
47
|
productSearchFields: string;
|
|
98
|
-
|
|
48
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
99
49
|
showPrintFieldBg?: boolean | undefined;
|
|
100
50
|
paramsConfig?: Record<string, any> | undefined;
|
|
101
51
|
instanceStatus?: string | undefined;
|
|
@@ -104,16 +54,15 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
104
54
|
tid: string;
|
|
105
55
|
uniqueId: string;
|
|
106
56
|
modelKey: string;
|
|
107
|
-
formType: FormTypeEnum;
|
|
108
|
-
platformType: PlatformEnum;
|
|
57
|
+
formType: import('..').FormTypeEnum;
|
|
58
|
+
platformType: import('..').PlatformEnum;
|
|
109
59
|
posType?: import('..').PosEnum | undefined;
|
|
110
|
-
renderModeType: RenderModeEnum;
|
|
111
|
-
btnRenderModeType: RenderModeEnum;
|
|
60
|
+
renderModeType: import('..').RenderModeEnum;
|
|
61
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
112
62
|
isMockReport: boolean;
|
|
113
63
|
gct_stashData: boolean;
|
|
114
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
64
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
115
65
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
116
|
-
eventInstance?: any;
|
|
117
66
|
formChangeStatus: boolean;
|
|
118
67
|
formChangeOriginData: Record<string, any>;
|
|
119
68
|
formChangeNewData: Record<string, any>;
|
|
@@ -121,6 +70,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
121
70
|
annCellLocationList: Array<string>;
|
|
122
71
|
annSelectId?: string | string[] | undefined;
|
|
123
72
|
annRowDetails?: {
|
|
73
|
+
sheetId?: string | undefined;
|
|
124
74
|
cellLocation: string;
|
|
125
75
|
cellType: string;
|
|
126
76
|
op: "ADD" | "DEL";
|
|
@@ -137,31 +87,51 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
137
87
|
mobileSelectTdId?: string | undefined;
|
|
138
88
|
contentHighlight: Record<string, any>;
|
|
139
89
|
productSearchFields: string;
|
|
140
|
-
|
|
90
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
141
91
|
showPrintFieldBg?: boolean | undefined;
|
|
142
92
|
paramsConfig?: Record<string, any> | undefined;
|
|
143
93
|
instanceStatus?: string | undefined;
|
|
144
94
|
}[]>;
|
|
145
|
-
selfInfoList: import('vue').Ref<
|
|
146
|
-
|
|
147
|
-
|
|
95
|
+
selfInfoList: import('vue').Ref<{
|
|
96
|
+
[x: string]: any;
|
|
97
|
+
formType: import('..').FormTypeEnum;
|
|
98
|
+
viewType: import('..').ViewTypeEnum;
|
|
99
|
+
modelKey: string;
|
|
100
|
+
bindKey?: string | undefined;
|
|
101
|
+
}[], ({
|
|
102
|
+
formType: import('..').FormTypeEnum;
|
|
103
|
+
viewType: import('..').ViewTypeEnum;
|
|
104
|
+
modelKey: string;
|
|
105
|
+
bindKey?: string;
|
|
106
|
+
} & Record<string, any>)[] | {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
formType: import('..').FormTypeEnum;
|
|
109
|
+
viewType: import('..').ViewTypeEnum;
|
|
110
|
+
modelKey: string;
|
|
111
|
+
bindKey?: string | undefined;
|
|
112
|
+
}[]>;
|
|
148
113
|
hasData: import('vue').ComputedRef<boolean>;
|
|
149
|
-
findFormInsInfo: (id: string) =>
|
|
114
|
+
findFormInsInfo: (id: string) => {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
formType: import('..').FormTypeEnum;
|
|
117
|
+
viewType: import('..').ViewTypeEnum;
|
|
118
|
+
modelKey: string;
|
|
119
|
+
bindKey?: string | undefined;
|
|
120
|
+
} | undefined;
|
|
150
121
|
findBasicInsInfo: (id: string) => {
|
|
151
122
|
key: string;
|
|
152
123
|
tid: string;
|
|
153
124
|
uniqueId: string;
|
|
154
125
|
modelKey: string;
|
|
155
|
-
formType: FormTypeEnum;
|
|
156
|
-
platformType: PlatformEnum;
|
|
126
|
+
formType: import('..').FormTypeEnum;
|
|
127
|
+
platformType: import('..').PlatformEnum;
|
|
157
128
|
posType?: import('..').PosEnum | undefined;
|
|
158
|
-
renderModeType: RenderModeEnum;
|
|
159
|
-
btnRenderModeType: RenderModeEnum;
|
|
129
|
+
renderModeType: import('..').RenderModeEnum;
|
|
130
|
+
btnRenderModeType: import('..').RenderModeEnum;
|
|
160
131
|
isMockReport: boolean;
|
|
161
132
|
gct_stashData: boolean;
|
|
162
|
-
bpmnType?: BpmnNodeTypeEnum | undefined;
|
|
133
|
+
bpmnType?: import('..').BpmnNodeTypeEnum | undefined;
|
|
163
134
|
bpmnFieldAuthMap?: Record<string, import('../types/common/base').IBpmnFieldAuthItem> | undefined;
|
|
164
|
-
eventInstance?: any;
|
|
165
135
|
formChangeStatus: boolean;
|
|
166
136
|
formChangeOriginData: Record<string, any>;
|
|
167
137
|
formChangeNewData: Record<string, any>;
|
|
@@ -169,6 +139,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
169
139
|
annCellLocationList: Array<string>;
|
|
170
140
|
annSelectId?: string | string[] | undefined;
|
|
171
141
|
annRowDetails?: {
|
|
142
|
+
sheetId?: string | undefined;
|
|
172
143
|
cellLocation: string;
|
|
173
144
|
cellType: string;
|
|
174
145
|
op: "ADD" | "DEL";
|
|
@@ -185,29 +156,22 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
185
156
|
mobileSelectTdId?: string | undefined;
|
|
186
157
|
contentHighlight: Record<string, any>;
|
|
187
158
|
productSearchFields: string;
|
|
188
|
-
|
|
159
|
+
renderPurpose?: "print" | "pdf" | undefined;
|
|
189
160
|
showPrintFieldBg?: boolean | undefined;
|
|
190
161
|
paramsConfig?: Record<string, any> | undefined;
|
|
191
162
|
instanceStatus?: string | undefined;
|
|
192
163
|
} | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
/** 是否通过校验 */
|
|
197
|
-
isValid: boolean;
|
|
198
|
-
fields?: ValidateFieldErrorMap;
|
|
199
|
-
} | undefined>;
|
|
200
|
-
getFormState: (uniqueId: any) => Partial<{}>;
|
|
201
|
-
setFromEditStatus: (uniqueId: any) => Promise<boolean>;
|
|
202
|
-
setAnnotationViewStatus: (uniqueId: any, status: any, config?: string[] | {
|
|
164
|
+
updateRenderModeType: (uniqueId: string, mode: import('..').RenderModeEnum, updateButton?: boolean) => Promise<void>;
|
|
165
|
+
setFromEditStatus: (uniqueId: string) => Promise<boolean>;
|
|
166
|
+
setAnnotationViewStatus: (uniqueId: string, status: boolean, config?: string[] | {
|
|
203
167
|
locations?: string[];
|
|
204
|
-
rowDetails?: FormChangeRowDetailMeta[];
|
|
168
|
+
rowDetails?: import('./annotation').FormChangeRowDetailMeta[];
|
|
205
169
|
}) => boolean;
|
|
206
|
-
setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: FormChangeRowDetailMeta[] | null
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
170
|
+
setFormChangeRowViewDetails: (uniqueId: string, rowDetails?: import('./annotation').FormChangeRowDetailMeta[] | null) => Promise<boolean>;
|
|
171
|
+
navigateRuntimeLocation: (uniqueId: string, target: import('..').RuntimeNavigationTarget) => Promise<boolean>;
|
|
172
|
+
normalizeAnnotationLocation: (uniqueId: string, path: string, sheetId?: string) => string;
|
|
173
|
+
getAnnotationContentList: (uniqueId: string, options?: {}) => any[];
|
|
174
|
+
quickSearchRenderData: (uniqueId: string, currentSelfInfo: import('./render-page/types').RuntimeSelfInfo, saveToken?: import('..').RuntimeSaveToken) => Promise<boolean>;
|
|
175
|
+
getAppendixInfos: (uniqueId: string, types?: any[]) => string[];
|
|
176
|
+
getPdfInfos: (uniqueId: string) => any;
|
|
212
177
|
};
|
|
213
|
-
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RuntimeEditorFlusher } from '../runtime/runtime-instance-controller';
|
|
2
|
+
type RuntimeInstanceIdSource = () => string | undefined;
|
|
3
|
+
/**
|
|
4
|
+
* 组件获取实例配置、控制器和共享服务的统一入口,按需解构返回的 computed 引用。
|
|
5
|
+
* 默认从字段上下文取实例 ID;宿主或纸张组件可传入 ID getter,跟随 props 切换。
|
|
6
|
+
* 所有引用共享一次实例解析,服务仍由 Registry 创建和销毁,Hook 只负责读取。
|
|
7
|
+
*/
|
|
8
|
+
export declare function useRuntimeInstanceServices(uniqueIdSource?: RuntimeInstanceIdSource): {
|
|
9
|
+
instance: import('vue').ComputedRef<import('..').RuntimeInstanceRecord | undefined>;
|
|
10
|
+
/** 控制器负责 Sheet 切换、编辑器收口和提交;尚未挂载时为空。 */
|
|
11
|
+
controller: import('vue').ComputedRef<import('..').RuntimeInstanceController | undefined>;
|
|
12
|
+
/** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
|
|
13
|
+
formConfig: import('vue').ComputedRef<Record<string, any>>;
|
|
14
|
+
/** 实例切换时重新取对应 Store;读取数据使用 .value.state,写入使用 Store 方法。 */
|
|
15
|
+
formStateStore: import('vue').ComputedRef<import('..').RuntimeFormStateStore | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* 实例级异步任务协调器:上传、扫码和远程回填通过 .value.run() 登记任务。
|
|
18
|
+
* 同 key 的新任务使旧结果失效;提交前等待 required 任务,所有 Sheet 共用同一份。
|
|
19
|
+
*/
|
|
20
|
+
asyncTasks: import('vue').ComputedRef<import('..').RuntimeAsyncTaskCoordinator | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* 实例级联动调度器:监听 Store 变更,统一执行公式、赋值及条件必填/禁用规则。
|
|
23
|
+
* 组件通过 .value.getOutput() 读取条件结果,未挂载的 Sheet 也参与联动计算。
|
|
24
|
+
*/
|
|
25
|
+
dependencies: import('vue').ComputedRef<import('..').RuntimeDependencyService | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* 实例级字段注册表:按模型 + 字段身份查询控件及其 Sheet、节点和数据路径。
|
|
28
|
+
* 供校验、联动、分页失效及导航定位使用;只维护位置索引,不保存填报数据或错误。
|
|
29
|
+
*/
|
|
30
|
+
fields: import('vue').ComputedRef<import('..').RuntimeFieldRegistry | undefined>;
|
|
31
|
+
/** 分页与业务位置导航共用同一实例服务。 */
|
|
32
|
+
sheetService: import('vue').ComputedRef<import('..').RuntimeSheetService | undefined>;
|
|
33
|
+
/** 暂存与提交共享同一协调器,实例替换时整体切换。 */
|
|
34
|
+
persistence: import('vue').ComputedRef<import('..').RuntimePersistenceCoordinator | undefined>;
|
|
35
|
+
/** 校验规则及调度由当前实例持有,签名和失焦校验直接调用此服务。 */
|
|
36
|
+
validation: import('vue').ComputedRef<import('..').RuntimeValidationService | undefined>;
|
|
37
|
+
/** 实例共享的业务 BOM 控制器,打印副本持有独立展示控制器。 */
|
|
38
|
+
tmplBomController: import('vue').ComputedRef<import('./material-consume').FormTmplBomController | undefined>;
|
|
39
|
+
/** 当前实例的 UI 事件总线,批注等展示事件不会跨实例传播。 */
|
|
40
|
+
events: import('vue').ComputedRef<import('..').RuntimeInstanceEventBus | undefined>;
|
|
41
|
+
};
|
|
42
|
+
/** 注册需要在 Sheet 切换前提交内部状态的编辑器 */
|
|
43
|
+
export declare function useRuntimeEditorFlusher(flusher: RuntimeEditorFlusher): void;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormStateMutationSource } from '../runtime/runtime-form-state-store';
|
|
2
|
+
/** 字段组件和业务辅助函数共用的显式行写入口,调用时必须声明修改来源。 */
|
|
3
|
+
export interface RuntimeRowWriter {
|
|
4
|
+
setRowField(fieldKey: string, value: any, source: FormStateMutationSource): void;
|
|
5
|
+
patchRow(values: Record<string, any>, source: FormStateMutationSource): void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 组件只读取 formData,写入通过此 Hook
|
|
9
|
+
* 每次调用都重新读取当前行和实例,避免动态表换行或草稿恢复后继续修改旧对象
|
|
10
|
+
*/
|
|
11
|
+
export declare function useRuntimeRowState(rowSource: () => Record<string, any>): {
|
|
12
|
+
setRowField: (fieldKey: string, value: any, source: FormStateMutationSource) => void;
|
|
13
|
+
patchRow: (values: Record<string, any>, source: FormStateMutationSource) => void;
|
|
14
|
+
getRowFieldPath: (fieldKey: string) => string;
|
|
15
|
+
markRowFieldUserModified: (fieldKey: string) => void;
|
|
16
|
+
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
1
|
+
import { FormRuleAttach } from './types';
|
|
2
|
+
/** 公式校验器通过 rule 取得当前行,仅保留稳定行定位信息。 */
|
|
3
3
|
export type AttachRuleContext = {
|
|
4
|
-
_belongFieldId?: string;
|
|
5
|
-
_optionValue?: any;
|
|
6
|
-
_multiple?: boolean;
|
|
7
4
|
_subtableFieldId?: string;
|
|
8
|
-
|
|
9
|
-
_childSubTableDataIndex?: number;
|
|
5
|
+
_rowKey?: string;
|
|
10
6
|
};
|
|
11
7
|
/** 取规则对应的当前行 / 主表 formData */
|
|
12
8
|
export declare function getCurrentFormData(_rule: AttachRuleContext, options: {
|
|
13
9
|
formData?: any;
|
|
14
10
|
}): any;
|
|
15
|
-
/** 从 rule 或 meta.attach 解析上下文 */
|
|
16
|
-
export declare function resolveAttachContext(rule: AttachRuleContext | undefined, metaAttach?: FormRuleMeta['attach']): AttachRuleContext | undefined;
|
|
17
11
|
/** 引用字段是否处于激活选项下 */
|
|
18
|
-
export declare function isAttachFieldActive(
|
|
12
|
+
export declare function isAttachFieldActive(attach: FormRuleAttach | null | undefined, formData: Record<string, any> | undefined): boolean;
|
|
19
13
|
/** 当前行数据下引用字段是否应对用户呈现 */
|
|
20
14
|
export declare function isReferenceOptionActive(referenceInfo: {
|
|
21
15
|
belongFieldId?: string;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ValidationRunMode, ValidateResult } from './types';
|
|
1
|
+
import { ValidationRunMode, ValidateResult, FormRuleEntry } from './types';
|
|
3
2
|
type RunValidationOptions = {
|
|
3
|
+
entries: ReadonlyMap<string, FormRuleEntry>;
|
|
4
4
|
mode?: ValidationRunMode;
|
|
5
5
|
/** 表单级 keepExceptionHighlight */
|
|
6
6
|
keepExceptionHighlight?: boolean | null;
|
|
7
|
+
/** 可选的目标字段路径;未传时校验当前表单的全部已注册字段 */
|
|
8
|
+
paths?: Iterable<string>;
|
|
7
9
|
};
|
|
8
10
|
/**
|
|
9
11
|
* 按 mode 过滤规则并执行 async-validator
|
|
10
12
|
*/
|
|
11
|
-
export declare function runValidation(formData: Record<string, any>,
|
|
12
|
-
/** 供 merge 使用:取某 path 当前值与规则 */
|
|
13
|
-
export declare function resolvePayloadForPath(path: string, flatData: Record<string, any>): {
|
|
14
|
-
value: any;
|
|
15
|
-
rules: any[];
|
|
16
|
-
} | null;
|
|
13
|
+
export declare function runValidation(formData: Record<string, any>, options: RunValidationOptions): Promise<ValidateResult>;
|
|
17
14
|
export {};
|
|
@@ -12,20 +12,22 @@ export type ValidateTrigger = 'change' | 'blur' | 'manual';
|
|
|
12
12
|
* - display: 展示用(只读含必填;可编辑不含必填),不拦提交
|
|
13
13
|
*/
|
|
14
14
|
export type ValidationRunMode = ValidateTrigger | 'all' | 'display';
|
|
15
|
+
export interface FormRuleAttach {
|
|
16
|
+
belongFieldId: string;
|
|
17
|
+
optionValue: any;
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
subtableFieldId?: string;
|
|
20
|
+
rowKey?: string;
|
|
21
|
+
/** 嵌套引用条件从内层向外层串联,任一未激活就跳过当前字段。 */
|
|
22
|
+
parent?: FormRuleAttach;
|
|
23
|
+
}
|
|
15
24
|
export type FormRuleMeta = {
|
|
16
25
|
/** 禁用 / 只读,不可编辑 */
|
|
17
26
|
blocked: boolean;
|
|
18
27
|
/** 字段级:是否在 display 时保留异常标红;未配置时跟随表单 */
|
|
19
28
|
keepExceptionHighlight?: boolean;
|
|
20
29
|
/** 布尔/枚举引用字段附着上下文(门禁用,不依赖 rule 对象上的挂载字段) */
|
|
21
|
-
attach?:
|
|
22
|
-
belongFieldId: string;
|
|
23
|
-
optionValue: any;
|
|
24
|
-
multiple?: boolean;
|
|
25
|
-
subtableFieldId?: string;
|
|
26
|
-
realRowIndex?: number;
|
|
27
|
-
childSubTableDataIndex?: number;
|
|
28
|
-
} | null;
|
|
30
|
+
attach?: FormRuleAttach | null;
|
|
29
31
|
};
|
|
30
32
|
export type ValidateResult = {
|
|
31
33
|
isValid: boolean;
|
|
@@ -42,3 +44,8 @@ export type ValidateResult = {
|
|
|
42
44
|
flatData?: Record<string, any>;
|
|
43
45
|
};
|
|
44
46
|
export type ValidationCommentMap = Record<string, any[]> | null;
|
|
47
|
+
/** 实例编译器原子发布的一条字段规则及门禁元数据。 */
|
|
48
|
+
export interface FormRuleEntry {
|
|
49
|
+
rules: any[];
|
|
50
|
+
meta: FormRuleMeta;
|
|
51
|
+
}
|
|
@@ -9,6 +9,12 @@ export declare const rangeCompareMessage: (op: RangeCompareOp, val: any) => stri
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const toUnixTimestamp: (input: any) => number | null;
|
|
11
11
|
export declare const buildError: (validatorInfo: any, message: string) => string;
|
|
12
|
+
/**
|
|
13
|
+
* 比较错误内容时显式包含 message:async-validator 的公式规则可能返回原生 Error,
|
|
14
|
+
* 其 message 不可枚举,直接 JSON.stringify 会漏掉变化后的上下限文案。
|
|
15
|
+
* 普通字段和业务校验共用此比较,保留字段及其他错误信息原有的变化判断。
|
|
16
|
+
*/
|
|
17
|
+
export declare function areValidationCommentsEqual(left: any[] | undefined, right: any[] | undefined): boolean;
|
|
12
18
|
export declare const createRule: (validator: Function, message: string, trigger?: ValidateTrigger) => {
|
|
13
19
|
required: boolean;
|
|
14
20
|
validator: Function;
|
|
@@ -33,5 +33,5 @@ export declare const calcUtils: {
|
|
|
33
33
|
pageListRecursion: (realDealWithList: Array<IDealWithItem | IDealWithItem[]>, maxHeight: number) => IPageItem[];
|
|
34
34
|
/** 获取分页数据列表 */
|
|
35
35
|
getPageData: (pageList: any, baseMarketObj: any) => IPageData[];
|
|
36
|
-
initCalc: (runtimeJson: any, formState: any) =>
|
|
36
|
+
initCalc: (runtimeJson: any, formState: any) => any;
|
|
37
37
|
};
|