@gct-paas/word 0.1.74 → 0.2.1
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/README.md +4 -1
- package/dist/assets/svgs/table/index.d.ts +7 -0
- package/dist/base/calendar/src/calendar.vue.d.ts +2 -2
- package/dist/base/calendar/src/time.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/dist/base/checkbox/src/checkbox.vue.d.ts +2 -2
- package/dist/base/color-picker/src/ColorPicker.vue.d.ts +1 -1
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +2 -2
- package/dist/base/input/src/input-number.vue.d.ts +2 -2
- package/dist/base/input/src/input.vue.d.ts +5 -5
- package/dist/base/input/src/text-area.vue.d.ts +4 -4
- package/dist/base/modal/src/ModalRoot.vue.d.ts +1 -0
- package/dist/base/modal/src/modal.type.d.ts +5 -0
- package/dist/base/radio/src/radio-group.vue.d.ts +2 -2
- package/dist/base/radio/src/radio.vue.d.ts +2 -2
- package/dist/base/rdo-tree-select/src/rdo-tree-select-more.vue.d.ts +10 -3
- package/dist/base/rdo-tree-select/src/rdo-tree-select-panel.vue.d.ts +6 -1
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +3 -3
- package/dist/base/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/dist/base/segment-slider/src/segment-slider.vue.d.ts +2 -2
- package/dist/base/select/src/basic-select.vue.d.ts +16 -2
- package/dist/base/select/src/searchable-select.vue.d.ts +2 -2
- package/dist/base/slider/src/slider.vue.d.ts +4 -4
- package/dist/base/switch/src/switch.vue.d.ts +2 -2
- package/dist/base/tree-select/src/tree-select.vue.d.ts +2 -2
- package/dist/base/utils/image-size-util.d.ts +2 -0
- package/dist/core/command/commands/InsertTable.d.ts +4 -0
- package/dist/core/command/commands/UnmergeCells.d.ts +5 -1
- package/dist/core/command/types.d.ts +1 -0
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/table.d.ts +11 -0
- package/dist/core/cursor/logic/getSelectionRects.d.ts +15 -2
- package/dist/core/cursor/logic/index.d.ts +2 -1
- package/dist/core/cursor/logic/selectionAnalyzer.d.ts +31 -6
- package/dist/core/data/enrichers/build-field-enrichers.d.ts +1 -1
- package/dist/core/data/enrichers/lot-parent-label-enricher.d.ts +12 -0
- package/dist/core/data/enrichers/operation-receive-qty-enricher.d.ts +19 -0
- package/dist/core/data/paths/field-paths.d.ts +2 -0
- package/dist/core/data/submit/form-state.d.ts +1 -1
- package/dist/core/data/updates/field-updates.d.ts +7 -2
- package/dist/core/event/types.d.ts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/interaction/InteractionController.d.ts +11 -0
- package/dist/core/interaction/types.d.ts +8 -0
- package/dist/core/interaction/useInteraction.d.ts +6 -0
- package/dist/core/layout/LayoutManager.d.ts +5 -1
- package/dist/core/layout/handlers/fields/FieldBaseHandler.d.ts +2 -0
- package/dist/core/layout/providers/TableInfoProvider.d.ts +2 -2
- package/dist/core/layout/table/split-table.d.ts +10 -0
- package/dist/core/layout/types/index.d.ts +2 -0
- package/dist/core/model/document/Wbody.d.ts +4 -0
- package/dist/core/model/document/WrText.d.ts +2 -0
- package/dist/core/model/document/Wtbl/Calculation.d.ts +8 -2
- package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +24 -3
- package/dist/core/model/document/Wtbl/Serialization.d.ts +26 -1
- package/dist/core/model/document/Wtbl.d.ts +31 -3
- package/dist/core/model/document/Wtc.d.ts +13 -2
- package/dist/core/model/document/Wtr.d.ts +2 -1
- package/dist/core/model/document/index.d.ts +1 -0
- package/dist/core/model/document/utils/ensure-paragraphs-around-tables.d.ts +18 -0
- package/dist/core/model/document/wtcRegionRef.d.ts +1 -1
- package/dist/core/model/logic/subtable/bounded/BoundedRegion.d.ts +2 -0
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +28 -1
- package/dist/core/model/templates/tableCell.template.d.ts +2 -0
- package/dist/core/model/types/style.d.ts +2 -0
- package/dist/core/view/Doc.d.ts +13 -1
- package/dist/core/view/Table.d.ts +13 -0
- package/dist/core/view/TableCell.d.ts +2 -1
- package/dist/core/view/context/DocPubApiContext.d.ts +1 -0
- package/dist/core/view/runs/TextRun.d.ts +4 -0
- package/dist/domain/active/active-types.d.ts +15 -1
- package/dist/domain/constants/enum/device.d.ts +26 -0
- package/dist/domain/constants/enum/index.d.ts +2 -0
- package/dist/domain/constants/enum/lot.d.ts +16 -0
- package/dist/domain/constants/enum/view.d.ts +1 -1
- package/dist/domain/device/device-query.d.ts +10 -0
- package/dist/domain/field/field-props-schema-type.d.ts +10 -1
- package/dist/domain/field/field-type.d.ts +515 -144
- package/dist/domain/field/form-value.d.ts +5 -0
- package/dist/domain/field/lot-display-label.d.ts +2 -0
- package/dist/domain/object/date-object/index.d.ts +4 -0
- package/dist/domain/object/date-object/profile/field-keys.d.ts +19 -0
- package/dist/domain/object/date-object/profile/fields.d.ts +2 -0
- package/dist/domain/object/date-object/profile/index.d.ts +3 -0
- package/dist/domain/object/date-object/runtime/date-object-context.d.ts +41 -0
- package/dist/domain/object/date-object/runtime/date-object-runtime.d.ts +41 -0
- package/dist/domain/object/date-object/runtime/fetch-records.d.ts +16 -0
- package/dist/domain/object/date-object/runtime/object-handlers.d.ts +6 -0
- package/dist/domain/object/date-object/runtime/re-inspection-date.d.ts +49 -0
- package/dist/domain/object/date-object/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/object/date-object/runtime/row-change-handlers.d.ts +6 -0
- package/dist/domain/object/date-object/types.d.ts +48 -0
- package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +1 -0
- package/dist/domain/table/business/material/material-requisition/index.d.ts +2 -0
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +34 -0
- package/dist/domain/table/business/material/material-requisition/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/material/material-requisition/profile/index.d.ts +4 -0
- package/dist/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +5 -0
- package/dist/domain/table/business/material/types.d.ts +41 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +6 -6
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +6 -6
- package/dist/domain/table/business/shared/production-container-hyperlink-enricher.d.ts +1 -1
- package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +17 -0
- package/dist/domain/table/business/shared/scan-action.d.ts +38 -20
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +2 -4
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.d.ts +1 -1
- package/dist/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +35 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +3 -0
- package/dist/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +38 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +6 -0
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +19 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/scan.d.ts +7 -7
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +31 -10
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +2 -5
- package/dist/domain/table/business/warehouse/warehouse-in/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in/actions/scan.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +45 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +12 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +32 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/scan.d.ts +9 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +30 -43
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +1 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +2 -18
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +8 -59
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +10 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +24 -22
- package/dist/domain/table/business/warehouse/warehouse-out/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-out/actions/scan.d.ts +7 -0
- package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +44 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +5 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +34 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +2 -0
- package/dist/domain/table/design/ribbon-options.d.ts +8 -1
- package/dist/domain/table/design/validate-nested-table-region.d.ts +31 -0
- package/dist/domain/table/design/validate-table-selection.d.ts +8 -0
- package/dist/domain/table/index.d.ts +1 -0
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +3 -1
- package/dist/domain/table/runtime/engines/linkage-engine.d.ts +9 -2
- package/dist/domain/table/runtime/engines/main-field-bind-engine.d.ts +2 -0
- package/dist/domain/table/runtime/table-runtime-utils.d.ts +6 -1
- package/dist/domain/table/runtime/table-runtime.d.ts +2 -0
- package/dist/domain/table/types.d.ts +71 -7
- package/dist/index.es.js +30579 -17522
- package/dist/runtime/canvas/__common__/widget-container/overlay-render.vue.d.ts +1 -0
- package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +2 -2
- package/dist/runtime/canvas/table/render/label-parse-rule/type.d.ts +7 -1
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +151 -18
- package/dist/runtime/canvas/table/render/material-consume/context-key.d.ts +4 -0
- package/dist/runtime/canvas/table/render/material-consume/derived-qty.d.ts +5 -0
- package/dist/runtime/canvas/table/render/material-consume/index.d.ts +1 -0
- package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +46 -0
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +126 -29
- package/dist/runtime/canvas/table/render/material-consume/material-consume.util.d.ts +2 -3
- package/dist/runtime/canvas/table/render/material-consume/product-id-query.d.ts +31 -0
- package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +10 -0
- package/dist/runtime/canvas/table/render/material-consume/scan-validator.d.ts +192 -0
- package/dist/runtime/canvas/table/render/material-consume/service.d.ts +20 -0
- package/dist/runtime/canvas/table/render/material-consume/tmpl-bom-controller.d.ts +4 -1
- package/dist/runtime/canvas/table/render/material-consume/transform.d.ts +12 -0
- package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +13 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +12 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +1 -1
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +5 -1
- package/dist/runtime/canvas/table/shared/resolve-cell-row-change-style.d.ts +8 -4
- package/dist/runtime/canvas/table/table-design.vue.d.ts +1 -0
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +6 -0
- package/dist/runtime/designer/panel/panel.vue.d.ts +1 -1
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +1 -1
- package/dist/runtime/designer/ribbon/constant/font.d.ts +13 -5
- package/dist/runtime/interface/computed.d.ts +1 -1
- package/dist/runtime/interface/fetchers.d.ts +4 -0
- package/dist/runtime/interface/form-change-row.d.ts +0 -1
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +13 -12
- package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +1 -0
- package/dist/runtime/renderer/dialogs/field-hyperlink/open-field-hyperlink.d.ts +0 -22
- package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +14 -0
- package/dist/runtime/renderer/dialogs/signature/security-config.d.ts +6 -0
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +4 -0
- package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-inventory-ndo.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-ndo.d.ts +11 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/product-ndo.d.ts +12 -0
- package/dist/runtime/renderer/dropdowns/components/tables/columns/columns.d.ts +6 -3
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +2 -2
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSelectTable.d.ts +1 -0
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +4 -0
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +13 -13
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +16 -1
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +13 -13
- package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +338 -0
- package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +8 -3
- package/dist/runtime/renderer/dropdowns/components/tables/utils/quick-search.d.ts +6 -4
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +12 -12
- package/dist/runtime/renderer/dropdowns/composables/useDropdownViewportSize.d.ts +7 -0
- package/dist/runtime/validation/useFormValidator.d.ts +5 -2
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +5 -1
- package/dist/sdk/types/field-model-query.d.ts +2 -0
- package/dist/sdk/types/index.d.ts +8 -1
- package/dist/suites/edhr/component/resolve-field-render-colors.d.ts +15 -0
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +8 -2
- package/dist/suites/edhr/manifest/field/business/operation-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/operation-output-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/operation-receive-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/business/production-qty-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/logic/model-relation-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/material/target-warehouse-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/object-type/date-object-manifest.d.ts +3 -0
- package/dist/suites/edhr/manifest/field/object-type/re-inspection-date-manifest.d.ts +2 -0
- package/dist/suites/edhr/manifest/field/object-type/validity-manifest.d.ts +2 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +74 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/index.d.ts +3 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +69 -0
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/use-tmpl-bom.d.ts +13 -0
- package/dist/suites/edhr/panel-schema/data-init/object-init/object-init.vue.d.ts +7 -5
- package/dist/suites/edhr/panel-schema/index.d.ts +3 -0
- package/dist/suites/edhr/panel-schema/material-consume-table/bom-entry-editor.vue.d.ts +2 -1
- package/dist/suites/edhr/panel-schema/material-requisition-table/material-requisition-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/warehouse-in-table/warehouse-in-table.basic.d.ts +1 -0
- package/dist/suites/edhr/panel-schema/warehouse-out-table/warehouse-out-table.basic.d.ts +1 -0
- package/dist/suites/eqm/index.d.ts +1 -1
- package/dist/suites/eqm/panel-router/index.d.ts +2 -0
- package/dist/suites/eqm/panel-schema/device-part-consume-table/device-part-consume-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/index.d.ts +7 -0
- package/dist/suites/eqm/panel-schema/part-stocktake-table/part-stocktake-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/warehouse-inbound-table/warehouse-inbound-table.basic.d.ts +1 -0
- package/dist/suites/eqm/panel-schema/warehouse-outbound-table/warehouse-outbound-table.basic.d.ts +1 -0
- package/dist/suites/shared/hooks/useFieldPanel.d.ts +1 -0
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts +4 -3
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +8 -0
- package/dist/suites/shared/panel/config/editor/field-config-visibility.d.ts +2 -0
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/barcode-parsing-rules-group-editor.vue.d.ts +28 -0
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +5 -7
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +2 -2
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/utils.d.ts +3 -2
- package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-modal.vue.d.ts +2 -0
- package/dist/suites/shared/panel/utils/open-design-modal.d.ts +7 -0
- package/dist/suites/shared/suite-features.d.ts +19 -0
- package/dist/utils/adapters/ServiceUtil.d.ts +5 -2
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/utils/fonts/cjk-font-catalog.d.ts +24 -1
- package/dist/utils/func/file.d.ts +1 -1
- package/dist/word.css +1466 -1054
- package/package.json +3 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/shared/change-parse-rule.d.ts +0 -10
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-allocate/types.d.ts +0 -38
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/remote-sync-apply.d.ts +0 -9
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/scan-config.d.ts +0 -38
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/warehouse-context.d.ts +0 -3
- /package/dist/suites/edhr/manifest/field/{trace/production-identifier-manifest.d.ts → business/inspection-qty-manifest.d.ts} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
|
|
2
|
+
import { BomEntriesValidator } from './bom-validator';
|
|
3
|
+
/** RDO 将空 id_.in / versionIn 视为不筛选,无候选时用占位 version id 使下拉返回空列表 */
|
|
4
|
+
export declare const EMPTY_PRODUCT_VERSION_ID = "__mc_no_selectable_product__";
|
|
5
|
+
/** 指定批次开启但列表为空时,使批次下拉返回空列表 */
|
|
6
|
+
export declare const EMPTY_LOT_NAME = "__mc_no_selectable_lot__";
|
|
7
|
+
export type ProductIdQuery = {
|
|
8
|
+
'id_.in': (string | undefined)[];
|
|
9
|
+
};
|
|
10
|
+
export declare function isEmptyProductQuery(query?: ProductIdQuery): boolean;
|
|
11
|
+
export type MaterialNoQuery = {
|
|
12
|
+
'product_id_.versionIn': (string | undefined)[] | null;
|
|
13
|
+
'name_.in'?: string[];
|
|
14
|
+
};
|
|
15
|
+
export interface BuildProductIdQueryOptions {
|
|
16
|
+
validator: BomEntriesValidator;
|
|
17
|
+
tableData: IMaterialConsumeData[];
|
|
18
|
+
row: IMaterialConsumeData;
|
|
19
|
+
rowIndex?: number;
|
|
20
|
+
enableSequenceLoading: boolean;
|
|
21
|
+
/** 记录模式且未启 personal BOM 时为 true */
|
|
22
|
+
skipFilter: boolean;
|
|
23
|
+
}
|
|
24
|
+
/** 构建 product_id_ 行级下拉查询条件 */
|
|
25
|
+
export declare function buildProductIdQuery(options: BuildProductIdQueryOptions): ProductIdQuery | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* 构建 material_no_ 行级批次过滤
|
|
28
|
+
* - 有 product_id_:仅该物料版本
|
|
29
|
+
* - 无 product_id_:与 product_id_ 下拉可选范围一致
|
|
30
|
+
*/
|
|
31
|
+
export declare function buildMaterialNoQuery(options: BuildProductIdQueryOptions): MaterialNoQuery;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BomEntryValidator, ScanFillPlan } from './bom-validator';
|
|
2
|
+
import { IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
|
|
3
|
+
export type ValidateCurrentGroupForSwitch = (table: IMaterialConsumeData[], current: BomEntryValidator) => void | Promise<void>;
|
|
4
|
+
/**
|
|
5
|
+
* 按 ScanFillPlan 切组 / 建组 / 填充,返回新表(不改入参 arr)。
|
|
6
|
+
* needSwitch 时通过 options.validateCurrentGroupForSwitch 先校验当前组。
|
|
7
|
+
*/
|
|
8
|
+
export declare function applyScanFillPlan(arr: IMaterialConsumeData[], scanRow: IMaterialConsumeData, plan?: ScanFillPlan, options?: {
|
|
9
|
+
validateCurrentGroupForSwitch?: ValidateCurrentGroupForSwitch;
|
|
10
|
+
}): Promise<IMaterialConsumeData[]>;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { IBomEntry, IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
|
|
2
|
+
/**
|
|
3
|
+
* 扫码校验与填充
|
|
4
|
+
* 对应 scan-validation-logic.md
|
|
5
|
+
* 独立于 bom-validator.ts,只依赖 types 中的 IBomEntry / IMaterialConsumeData
|
|
6
|
+
*/
|
|
7
|
+
/** 横线下方三种扫码场景 */
|
|
8
|
+
export declare enum ScanBizScenario {
|
|
9
|
+
/** 有 BOM,按顺序上料,同时只有一组可编辑 */
|
|
10
|
+
HAS_BOM_SEQUENTIAL = "has_bom_sequential",
|
|
11
|
+
/** 有 BOM,不按顺序上料,所有行可编辑 */
|
|
12
|
+
HAS_BOM_FREE = "has_bom_free",
|
|
13
|
+
/** 没有 BOM,所有行可编辑 */
|
|
14
|
+
NO_BOM = "no_bom"
|
|
15
|
+
}
|
|
16
|
+
/** 填充动作:新增行 / 回填空物料 / 回填空批次 */
|
|
17
|
+
export type ScanFillAction = 'append' | 'fillEmptyProduct' | 'fillEmptyLot';
|
|
18
|
+
export interface ScanValidatorOptions {
|
|
19
|
+
/** 是否按顺序上料 */
|
|
20
|
+
enableSequenceLoading: boolean;
|
|
21
|
+
/** BOM 明细列表,场景三可传空数组 */
|
|
22
|
+
bomEntries?: IBomEntry[];
|
|
23
|
+
/** 场景三:无 BOM 时是否按批次上料。有 BOM 时以明细 type_ 为准 */
|
|
24
|
+
byLotEnabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** 填充成功后的表数据与动作 */
|
|
27
|
+
export interface ScanFillResult {
|
|
28
|
+
table: IMaterialConsumeData[];
|
|
29
|
+
groupSwitched: boolean;
|
|
30
|
+
fillAction: ScanFillAction;
|
|
31
|
+
}
|
|
32
|
+
/** 对齐 materialCheck 返回项 */
|
|
33
|
+
export interface ScanCheckItem {
|
|
34
|
+
materialId: string;
|
|
35
|
+
materialNo?: string;
|
|
36
|
+
productionIdentificationName: string;
|
|
37
|
+
}
|
|
38
|
+
export type ResolveScanCandidatesResult = {
|
|
39
|
+
status: 'single';
|
|
40
|
+
row: IMaterialConsumeData;
|
|
41
|
+
} | {
|
|
42
|
+
status: 'needSelect';
|
|
43
|
+
candidates: IMaterialConsumeData[];
|
|
44
|
+
};
|
|
45
|
+
/** handleScan 返回:多条待选,或已填充 */
|
|
46
|
+
export type HandleScanResult = {
|
|
47
|
+
status: 'needSelect';
|
|
48
|
+
candidates: IMaterialConsumeData[];
|
|
49
|
+
} | ({
|
|
50
|
+
status: 'filled';
|
|
51
|
+
} & ScanFillResult);
|
|
52
|
+
/**
|
|
53
|
+
* 把扫码接口一条结果转成表行。
|
|
54
|
+
* extra 可带数量、有效期等;物料/批次默认取接口字段,extra 可覆盖。
|
|
55
|
+
*/
|
|
56
|
+
export declare function toScanRow(item: ScanCheckItem, extra?: Partial<IMaterialConsumeData>): IMaterialConsumeData;
|
|
57
|
+
/**
|
|
58
|
+
* 取一组允许出现的物料 id:主料,以及开启替代料时的替代料。
|
|
59
|
+
* 用于判断某物料是否属于该 BOM 明细组。
|
|
60
|
+
*/
|
|
61
|
+
export declare function getGroupProductIds(entry: IBomEntry): string[];
|
|
62
|
+
/**
|
|
63
|
+
* 按物料 id 找到所属 BOM 明细(主料或替代料命中即返回)。
|
|
64
|
+
* 找不到说明物料不在当前 BOM 中。
|
|
65
|
+
*/
|
|
66
|
+
export declare function findEntryByProductId(entries: IBomEntry[], productId: string): IBomEntry | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* 三个场景共用的第一步:把接口返回列表收成单条 scanRow。
|
|
69
|
+
* - 0 条:抛错
|
|
70
|
+
* - 1 条:直接作为 scanRow
|
|
71
|
+
* - 多条:返回 needSelect,由调用方弹窗;本函数不改表、不跑后续校验
|
|
72
|
+
*/
|
|
73
|
+
export declare function resolveScanCandidates(rows: IMaterialConsumeData[]): ResolveScanCandidatesResult;
|
|
74
|
+
/**
|
|
75
|
+
* 按「有无 BOM 明细 + 是否按顺序上料」判定场景。
|
|
76
|
+
* 不使用人为指定 / BOM 模式 / 记录模式。
|
|
77
|
+
*/
|
|
78
|
+
export declare function resolveScanScenario(options: {
|
|
79
|
+
enableSequenceLoading: boolean;
|
|
80
|
+
bomEntries?: IBomEntry[];
|
|
81
|
+
}): ScanBizScenario;
|
|
82
|
+
/**
|
|
83
|
+
* 通用校验 1:扫码物料是否出现在 BOM 明细(主料或替代料)中。
|
|
84
|
+
* 场景三无 BOM,不调用本函数。找不到则抛错。
|
|
85
|
+
*/
|
|
86
|
+
export declare function validateInBom(row: IMaterialConsumeData, entries: IBomEntry[]): void;
|
|
87
|
+
/** 判断物料 id 是否属于该 BOM 组(主料或已启用的替代料) */
|
|
88
|
+
export declare function isMemberOfGroup(productId: string | undefined, entry: IBomEntry): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 通用校验 2:物料是否允许写入目标组。
|
|
91
|
+
* 查看 / 未开替代料:必须是主料。
|
|
92
|
+
* 整批替代:组内已有物料时必须与之一致。
|
|
93
|
+
* 混用替代:必须是主料或替代料。
|
|
94
|
+
*/
|
|
95
|
+
export declare function assertMaterialInGroup(productId: string | undefined, entry: IBomEntry, groupRows?: IMaterialConsumeData[]): void;
|
|
96
|
+
/**
|
|
97
|
+
* 通用校验 3:按批次上料且开启混批时,同一组同一物料的不同批次数不能超过 lot_mixing_times_。
|
|
98
|
+
* includeIncomingLot 为 true 时,把即将写入的批次也算进去,避免先插入再超限。
|
|
99
|
+
*/
|
|
100
|
+
export declare function validateLotMixingForProduct(row: IMaterialConsumeData, groupRows: IMaterialConsumeData[], entry: IBomEntry, includeIncomingLot?: boolean): void;
|
|
101
|
+
/**
|
|
102
|
+
* 通用校验 4:有效期为空则跳过;有效期当天结束仍早于现在则视为过期并抛错。
|
|
103
|
+
*/
|
|
104
|
+
export declare function checkExpiration(row: IMaterialConsumeData): void;
|
|
105
|
+
/**
|
|
106
|
+
* 通用校验 5:开启数量校验时,同一组所有物料的上料之和 vs 组需求量。
|
|
107
|
+
* diff = 上料之和 - 需求量。eq:diff === 0;gte:diff >= 0;lte:diff <= 0;
|
|
108
|
+
* bounds:min <= diff <= max。
|
|
109
|
+
* 不按顺序上料且规则为 eq 时,允许 diff < 0(少上料),diff > 0 仍抛错。
|
|
110
|
+
*/
|
|
111
|
+
export declare function validateQtyForGroup(groupRows: IMaterialConsumeData[], entry: IBomEntry, sequential?: boolean): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* 整组校验:切组前先对每一行走必填 + 通用 2、3、4,再整组跑一次通用 5。
|
|
114
|
+
* 任一项失败则中断,不切组、不填充。
|
|
115
|
+
*/
|
|
116
|
+
export declare function validateGroupRows(groupRows: IMaterialConsumeData[], entry: IBomEntry, sequential?: boolean): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* 物料消耗表扫码校验与填充。
|
|
119
|
+
* 对应 scan-validation-logic.md;不依赖 bom-validator.ts。
|
|
120
|
+
*/
|
|
121
|
+
export declare class BomEntriesValidator {
|
|
122
|
+
private options;
|
|
123
|
+
constructor(options: ScanValidatorOptions);
|
|
124
|
+
/** 当前配置对应的扫码场景 */
|
|
125
|
+
get scenario(): ScanBizScenario;
|
|
126
|
+
/** BOM 明细,无 BOM 时为空数组 */
|
|
127
|
+
get entries(): IBomEntry[];
|
|
128
|
+
/** 按 sort_num_ 排序后的 BOM 明细,用于顺序上料定位当前组 / 下一组 */
|
|
129
|
+
get sortedEntries(): IBomEntry[];
|
|
130
|
+
/**
|
|
131
|
+
* 扫码总入口。
|
|
132
|
+
* 入参可为单条或接口返回的多条;不修改入参 table。
|
|
133
|
+
* 多条时返回 needSelect(调用方弹窗后再以选中的一条调用);
|
|
134
|
+
* 单条则按场景走校验和填充,返回 filled。
|
|
135
|
+
* TODO: 待处理 — 尚未接入 Controller / 选择弹窗
|
|
136
|
+
*/
|
|
137
|
+
handleScan(scanInput: IMaterialConsumeData | IMaterialConsumeData[], table: IMaterialConsumeData[]): Promise<HandleScanResult>;
|
|
138
|
+
/**
|
|
139
|
+
* 场景一:有 BOM 且按顺序上料。仅当前编辑组可写。
|
|
140
|
+
* 属于当前组:通用 2(含整批)→ 通用 3 → 填充。
|
|
141
|
+
* 不属于:前面组报错,否则切下一组。
|
|
142
|
+
*/
|
|
143
|
+
private runScenario1;
|
|
144
|
+
/** 扫码物料属于前面组:已在表中 → 请勿重复上料;非必须且不在表中 → 请按顺序上料 */
|
|
145
|
+
private assertNotPreviousGroup;
|
|
146
|
+
/**
|
|
147
|
+
* 顺序上料切组:非必须且表中没有时,物料属于该组则收下,否则继续往后。
|
|
148
|
+
* 目标组不在表中:在当前组下方插入空行再填充。
|
|
149
|
+
*/
|
|
150
|
+
private switchToNextGroup;
|
|
151
|
+
/** 在当前组最后一行下方插入目标组空占位行 */
|
|
152
|
+
private insertEmptyGroupBelow;
|
|
153
|
+
/**
|
|
154
|
+
* 场景二:有 BOM 但不按顺序。所有行可编辑,不切组。
|
|
155
|
+
* 表中没有该组:通用 2、3 后表末追加。有则通用 2、3 后走填充。
|
|
156
|
+
*/
|
|
157
|
+
private runScenario2;
|
|
158
|
+
/**
|
|
159
|
+
* 场景三:没有 BOM。只校验有效期,不跑通用 1/2/3。
|
|
160
|
+
* 优先填空物料行,其次按批次填「有物料无批次」行,否则表末新增。
|
|
161
|
+
*/
|
|
162
|
+
private runScenario3;
|
|
163
|
+
/**
|
|
164
|
+
* 顺序上料时定位「当前编辑组」在排序后 BOM 中的下标。
|
|
165
|
+
* 1. 编辑行有物料或 bom_entry_id_:按现逻辑匹配
|
|
166
|
+
* 2. 未初始化:取表中最后一组已出现(已确认)明细的序号,当前组 = BOM 下一条
|
|
167
|
+
* 3. 表里还没有任何组:第一组
|
|
168
|
+
*/
|
|
169
|
+
private resolveCurrentGroupIndex;
|
|
170
|
+
/**
|
|
171
|
+
* 从表尾往前找最后一组已出现的 BOM 明细(已确认且有物料或 bom_entry_id_)。
|
|
172
|
+
* 找不到返回 -1。
|
|
173
|
+
*/
|
|
174
|
+
private findLastAppearedGroupIndex;
|
|
175
|
+
/** 表中是否已有该 BOM 组(有物料行或带 bom_entry_id_ 的空行) */
|
|
176
|
+
private groupExistsInTable;
|
|
177
|
+
/**
|
|
178
|
+
* 收集空物料行下标。extra 可再限制范围(如仅当前编辑组、或匹配 bom_entry_id_)。
|
|
179
|
+
*/
|
|
180
|
+
private collectEmptyProductIndexes;
|
|
181
|
+
/**
|
|
182
|
+
* 收集某 BOM 组在表中的范围:组成员行、空物料行、空批次行,以及默认插入位置。
|
|
183
|
+
* editingGroup 为 true 时,未确认的空物料行也算进该组。
|
|
184
|
+
*/
|
|
185
|
+
private collectGroupScope;
|
|
186
|
+
/**
|
|
187
|
+
* 切组时改编辑态:当前组行确认(禁用),目标组行取消确认(可编辑)。
|
|
188
|
+
*/
|
|
189
|
+
private applyGroupEditState;
|
|
190
|
+
}
|
|
191
|
+
/** 创建扫码校验器实例 */
|
|
192
|
+
export declare function createBomValidator(options: ScanValidatorOptions): BomEntriesValidator;
|
|
@@ -18,6 +18,10 @@ export declare function materialCheck(params: {
|
|
|
18
18
|
bom_entries_: any;
|
|
19
19
|
/** 工序id */
|
|
20
20
|
operation_id_: string;
|
|
21
|
+
/** 唯一码 */
|
|
22
|
+
unique_code_: any;
|
|
23
|
+
/** 是否启用条码解析 */
|
|
24
|
+
bar_code_enabled_: boolean;
|
|
21
25
|
}): Promise<{
|
|
22
26
|
/** 物料id */
|
|
23
27
|
materialId: string;
|
|
@@ -62,3 +66,19 @@ export declare function judgeUnique(opts: {
|
|
|
62
66
|
}): Promise<boolean>;
|
|
63
67
|
/** 是否有BOM授权 */
|
|
64
68
|
export declare function queryIsBomGranted(): Promise<any>;
|
|
69
|
+
/** 按物料+批次查询复检日期(仅日期,不含时分秒) */
|
|
70
|
+
export declare function getReinspectionDate(params: {
|
|
71
|
+
product_id_: string;
|
|
72
|
+
material_no_?: string;
|
|
73
|
+
material_no_id_?: string;
|
|
74
|
+
}): Promise<string | undefined>;
|
|
75
|
+
/** 物料+批次查复检日期;缺任一参数不查;无日期放过;小于当天则 throw */
|
|
76
|
+
export declare function assertReinspectionDate(opts: {
|
|
77
|
+
product_id_?: string;
|
|
78
|
+
material_no_?: string;
|
|
79
|
+
material_no_id_?: string;
|
|
80
|
+
}): Promise<void>;
|
|
81
|
+
/** 主表物料 RDO 引用:`baseId:versionId`。无法拼出则返回 undefined,禁止写裸版本 id。 */
|
|
82
|
+
export declare function resolveProductRdoRef(raw?: unknown, option?: Record<string, unknown> | null): Promise<string | undefined>;
|
|
83
|
+
/** 查批次锁定记录(最新一条) */
|
|
84
|
+
export declare function getLotLockedReason(production_identification_id_: string): Promise<string>;
|
|
@@ -75,6 +75,9 @@ export declare class FormTmplBomController {
|
|
|
75
75
|
* @param defaultMap
|
|
76
76
|
*/
|
|
77
77
|
handleDefaultMap(defaultMap: Record<string, any>): void;
|
|
78
|
-
submitValidate(): Promise<
|
|
78
|
+
submitValidate(): Promise<{
|
|
79
|
+
isValid: boolean;
|
|
80
|
+
fields: Record<string, any[]> | undefined;
|
|
81
|
+
}>;
|
|
79
82
|
}
|
|
80
83
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** 将源数据转换为子表数据 */
|
|
2
|
+
declare function transformSourceData2SubTable(data: any, dict?: {},
|
|
3
|
+
/** 默认值 */
|
|
4
|
+
defaultData?: any): {
|
|
5
|
+
_DICT: object;
|
|
6
|
+
_OPCT: object;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const transformUtils: {
|
|
10
|
+
transformSourceData2SubTable: typeof transformSourceData2SubTable;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { IMaterialConsumeData } from '../../../../../domain/table/business/material/types';
|
|
2
|
+
export declare const SOURCE_UNIT_KEY = "sourceUnit";
|
|
3
|
+
export declare const TARGET_UNIT_KEY = "targetUnit";
|
|
4
|
+
export declare const FORMULA_RULE_INPUT_KEY = "formulaRuleInput";
|
|
2
5
|
interface UomConvertFieldMap {
|
|
3
6
|
key: string;
|
|
4
7
|
value?: string;
|
|
@@ -33,4 +36,14 @@ export declare function getUnitConversionRulesFromDoc(doc: {
|
|
|
33
36
|
};
|
|
34
37
|
};
|
|
35
38
|
}): UomConvertRuleItem[];
|
|
39
|
+
/**
|
|
40
|
+
* 从规则列表中收集所有行级输入字段 key(用于快照去重)。
|
|
41
|
+
* 不包含 formulaRuleParam* 主表字段(formSubModel != 1)。
|
|
42
|
+
*/
|
|
43
|
+
export declare function getUomRowInputFieldKeys(rules: UomConvertRuleItem[]): string[];
|
|
44
|
+
/**
|
|
45
|
+
* 从规则列表中收集主表参数字段 key(formSubModel !== 1 的 formulaRuleParam*)。
|
|
46
|
+
* 这些字段变化时也需要重新触发单位转换计算。
|
|
47
|
+
*/
|
|
48
|
+
export declare function getUomMainInputFieldKeys(rules: UomConvertRuleItem[]): string[];
|
|
36
49
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BusinessScanContext, BusinessScanHandler } from '../../../../../../domain/table/business/shared/scan-action';
|
|
2
|
+
type BusinessScanMenuConfig = {
|
|
3
|
+
layoutType: string;
|
|
4
|
+
onScan: BusinessScanHandler;
|
|
5
|
+
};
|
|
6
|
+
export declare function resolveBusinessScanMenu(layoutType?: string | null): BusinessScanMenuConfig | undefined;
|
|
7
|
+
/** 打开统一扫码弹框,并按当前表 onScan 处理 */
|
|
8
|
+
export declare function openRegisteredBusinessTableScan(ctx: BusinessScanContext, layoutType?: string | null, formFieldOptions?: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}[]): Promise<void>;
|
|
12
|
+
export {};
|
|
@@ -17,10 +17,14 @@ export declare const handleOpenDynamicQuickFillModal: ({ doc, cell }: {
|
|
|
17
17
|
* 判断[固定表]单个分组 是否所有字段都为空
|
|
18
18
|
*/
|
|
19
19
|
export declare const getIsGroupEmpty: (group: any, colKeys: string[]) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* [固定表]是否仍有空分组
|
|
22
|
+
*/
|
|
23
|
+
export declare const hasFixedTableEmptyGroup: (doc: Doc, subFieldKey: string) => boolean;
|
|
20
24
|
/**
|
|
21
25
|
* [固定表]快速填报
|
|
22
26
|
*/
|
|
23
|
-
export declare const handleOpenFixedQuickFillModal: ({ doc, table, cell }: {
|
|
27
|
+
export declare const handleOpenFixedQuickFillModal: ({ doc, table, cell, }: {
|
|
24
28
|
doc: Doc;
|
|
25
29
|
table: any;
|
|
26
30
|
cell: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormChangeRowDetailMeta } from '../../../interface/form-change-row';
|
|
2
|
+
import { SubRenderer } from '../../../../core/view/TableCell';
|
|
2
3
|
import { Cell } from '../types/table';
|
|
3
4
|
interface RowChangeStyle {
|
|
4
5
|
fill?: string;
|
|
5
6
|
wmText?: string;
|
|
6
7
|
wmColor?: string;
|
|
7
|
-
textColor?: string;
|
|
8
8
|
cellLocation?: string;
|
|
9
9
|
}
|
|
10
10
|
interface RowWatermark {
|
|
@@ -16,15 +16,19 @@ interface RowWatermark {
|
|
|
16
16
|
fill: string;
|
|
17
17
|
}
|
|
18
18
|
export declare function tableKeyFromValuePath(valuePath?: string): string | undefined;
|
|
19
|
-
/**
|
|
19
|
+
/** 是否为动态表/业务子表区域内的数据格(不含区域外列、表头) */
|
|
20
|
+
export declare function isFormChangeSubTableRegionCell(cell: {
|
|
21
|
+
subRenderer?: SubRenderer;
|
|
22
|
+
}): boolean;
|
|
23
|
+
/** 按行解析增删预览样式:锚点取动态表区域内的数据格 */
|
|
20
24
|
export declare function resolveRowChangeStyle(cells: readonly Cell[], annRowDetails: FormChangeRowDetailMeta[] | null | undefined, rawData: Record<string, any> | null | undefined, focusAnnotationId?: string | null): RowChangeStyle | null;
|
|
25
|
+
/** 水印/底色包围盒:只包动态表区域内单元格(跨页后同样只覆盖区域内列) */
|
|
21
26
|
export declare function resolveRowWatermark(cells: Array<{
|
|
22
27
|
mergeFromId?: string;
|
|
28
|
+
subRenderer?: SubRenderer;
|
|
23
29
|
roundX: number;
|
|
24
30
|
roundY: number;
|
|
25
31
|
roundWidth: number;
|
|
26
32
|
roundHeight: number;
|
|
27
33
|
}>, style: RowChangeStyle | null | undefined): RowWatermark | null;
|
|
28
|
-
/** 字段所在数据行的变更文字色 */
|
|
29
|
-
export declare function resolveRowTextColor(valuePath: string | undefined, annRowDetails: FormChangeRowDetailMeta[] | null | undefined, rawData: Record<string, any> | null | undefined): string | undefined;
|
|
30
34
|
export {};
|
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
colWidths: number[];
|
|
7
7
|
colLefts: number[];
|
|
8
8
|
mergeRects: MergeRect[];
|
|
9
|
+
isNested?: boolean;
|
|
9
10
|
};
|
|
10
11
|
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>;
|
|
11
12
|
export default _default;
|
|
@@ -7,6 +7,12 @@ export declare function useTableSelection(): {
|
|
|
7
7
|
readonly realRowIndex?: number | undefined;
|
|
8
8
|
} | null | undefined;
|
|
9
9
|
readonly activeTableId?: string | undefined;
|
|
10
|
+
readonly activeTableScope?: {
|
|
11
|
+
readonly depth: number;
|
|
12
|
+
readonly wtblId: string;
|
|
13
|
+
readonly rootWtblId: string;
|
|
14
|
+
readonly hostCellId?: string | undefined;
|
|
15
|
+
} | null | undefined;
|
|
10
16
|
readonly dragHoverId?: string | undefined;
|
|
11
17
|
readonly hoverModelId?: string | undefined;
|
|
12
18
|
readonly focusModelId?: string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
8
8
|
change: (...args: any[]) => void;
|
|
9
9
|
"update:modelValue": (value: string) => void;
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
14
|
insRef: ({
|
|
15
15
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -13,13 +13,21 @@ export declare const FontFamilyOptions: {
|
|
|
13
13
|
label: string;
|
|
14
14
|
value: FontFamilyEnum;
|
|
15
15
|
}[];
|
|
16
|
-
export
|
|
16
|
+
export type FontSizeOption = {
|
|
17
17
|
label: string;
|
|
18
|
+
/** 唯一标识,写入文档后用于区分同磅值的号数/数字项 */
|
|
18
19
|
value: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
pt: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const DEFAULT_FONT_SIZE_OPTION = "cn-12";
|
|
23
|
+
export declare const FontSizeOptions: FontSizeOption[];
|
|
24
|
+
export declare function getFontSizeOptionPt(value: string): number | undefined;
|
|
25
|
+
export declare function layoutPxToPt(px: number): number;
|
|
26
|
+
/** 无存储项时,按磅值回退到号数项 */
|
|
27
|
+
export declare function resolveFontSizeOptionFromLayout(raw: {
|
|
28
|
+
fontSize?: number;
|
|
29
|
+
fontSizeOption?: string;
|
|
30
|
+
}): string;
|
|
23
31
|
export declare const ParagraphTitleOptions: {
|
|
24
32
|
label: string;
|
|
25
33
|
value: string;
|
|
@@ -30,7 +30,7 @@ export declare function enrichContextDefaultValues(defaults: Record<string, any>
|
|
|
30
30
|
skipRuntimeDefaultEnrichment?: boolean;
|
|
31
31
|
}): Record<string, any> | undefined;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* SOP 版本字段:配置了 SOP 后的默认值补全
|
|
34
34
|
* 优先级:设计态 defaultValue > paramsConfig.sopList > 接口 default_ 版本
|
|
35
35
|
*/
|
|
36
36
|
export declare function enrichESopVersionDefaultValues(defaults: Record<string, any> | undefined, valuePath: string, props: Record<string, any>, context: Record<string, unknown>): Promise<Record<string, any> | undefined>;
|
|
@@ -8,6 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
runtimeValuePath: string;
|
|
9
9
|
parseRules?: ParseRules;
|
|
10
10
|
fieldInfo?: DeviceScanFieldInfo | null;
|
|
11
|
+
deviceGroupId?: string;
|
|
11
12
|
onAutoSubmit?: (payload: Record<string, any>, record?: any) => void | Promise<void>;
|
|
12
13
|
};
|
|
13
14
|
declare function save(): Promise<import('./submit-device-scan').DeviceScanSubmitResult>;
|
|
@@ -49,10 +50,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
49
50
|
readonly onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
50
51
|
readonly onSearch?: ((value: string | number) => any) | undefined;
|
|
51
52
|
readonly onClear?: (() => any) | undefined;
|
|
52
|
-
readonly
|
|
53
|
+
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
53
54
|
readonly onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
54
55
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
55
|
-
readonly
|
|
56
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
56
57
|
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
57
58
|
readonly onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
58
59
|
readonly onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -72,16 +73,16 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
72
73
|
$root: import('vue').ComponentPublicInstance | null;
|
|
73
74
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
74
75
|
$host: Element | null;
|
|
75
|
-
$emit: ((event: "input", value: string | number, event: Event) => void) & ((event: "search", value: string | number) => void) & ((event: "clear") => void) & ((event: "
|
|
76
|
+
$emit: ((event: "input", value: string | number, event: Event) => void) & ((event: "search", value: string | number) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "change", value: string | number, event: Event) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "keypress", event: KeyboardEvent) => void) & ((event: "keyup", event: KeyboardEvent) => void) & ((event: "pressEnter", event: KeyboardEvent) => void);
|
|
76
77
|
$el: HTMLDivElement;
|
|
77
78
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../../../../base/input/src/types').GctInputProps> & Readonly<{
|
|
78
79
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
79
80
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
80
81
|
onClear?: (() => any) | undefined;
|
|
81
|
-
|
|
82
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
82
83
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
83
84
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
84
|
-
|
|
85
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
85
86
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
86
87
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
87
88
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -95,10 +96,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
95
96
|
input: (value: string | number, event: Event) => any;
|
|
96
97
|
search: (value: string | number) => any;
|
|
97
98
|
clear: () => any;
|
|
98
|
-
|
|
99
|
+
"update:modelValue": (value: string | number) => any;
|
|
99
100
|
change: (value: string | number, event: Event) => any;
|
|
100
101
|
blur: (event: FocusEvent) => any;
|
|
101
|
-
|
|
102
|
+
focus: (event: FocusEvent) => any;
|
|
102
103
|
keydown: (event: KeyboardEvent) => any;
|
|
103
104
|
keypress: (event: KeyboardEvent) => any;
|
|
104
105
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -111,9 +112,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
111
112
|
disabled: boolean;
|
|
112
113
|
size: import('../../../../base/input/src/types').InputSize;
|
|
113
114
|
placeholder: string;
|
|
114
|
-
suffix: string;
|
|
115
115
|
modelValue: string | number;
|
|
116
116
|
prefix: string;
|
|
117
|
+
suffix: string;
|
|
117
118
|
addonBefore: string;
|
|
118
119
|
addonAfter: string;
|
|
119
120
|
allowClear: boolean;
|
|
@@ -155,9 +156,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
155
156
|
disabled: boolean;
|
|
156
157
|
size: import('../../../../base/input/src/types').InputSize;
|
|
157
158
|
placeholder: string;
|
|
158
|
-
suffix: string;
|
|
159
159
|
modelValue: string | number;
|
|
160
160
|
prefix: string;
|
|
161
|
+
suffix: string;
|
|
161
162
|
addonBefore: string;
|
|
162
163
|
addonAfter: string;
|
|
163
164
|
allowClear: boolean;
|
|
@@ -175,15 +176,15 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
175
176
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
176
177
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
177
178
|
onClear?: (() => any) | undefined;
|
|
178
|
-
|
|
179
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
179
180
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
180
181
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
181
|
-
|
|
182
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
182
183
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
183
184
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
184
185
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
185
186
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
186
|
-
}>, "select" | "
|
|
187
|
+
}>, "select" | "blur" | "focus" | "inputRef" | ("type" | "id" | "name" | "readonly" | "disabled" | "size" | "placeholder" | "modelValue" | "prefix" | "suffix" | "addonBefore" | "addonAfter" | "allowClear" | "showCount" | "showPasswordToggle" | "maxLength" | "autofocus" | "autocomplete" | "rows" | "bordered" | "showSearchButton" | "spellcheck" | "customStyle")> & import('vue').ShallowUnwrapRef<{
|
|
187
188
|
focus: () => void;
|
|
188
189
|
blur: () => void;
|
|
189
190
|
select: () => void;
|
|
@@ -1,24 +1,2 @@
|
|
|
1
1
|
import { Doc, WidgetMeta } from '../../../../core';
|
|
2
|
-
import { BusinessSubTableType } from '../../../../domain/table/types';
|
|
3
|
-
/** 填报只读超链接字段点击 → 宿主打开追溯弹框 */
|
|
4
|
-
interface OpenFieldHyperlinkModalOptions {
|
|
5
|
-
/** 展示值(批次号等) */
|
|
6
|
-
materialNo?: string;
|
|
7
|
-
/** 字段 manifest 类型(如 material_no);同类型可能对应不同业务弹框,需配合 fieldKey/tableType */
|
|
8
|
-
fieldType?: string;
|
|
9
|
-
/** enrich 写入的 _href_(可能为空,如 newHrefSuffix 静态链) */
|
|
10
|
-
href?: string | null;
|
|
11
|
-
/** 业务字段 key,如 production_container_id_ / material_container_no_ */
|
|
12
|
-
fieldKey?: string;
|
|
13
|
-
/** 业务表类型,如 pretreatment-list;主表字段为空 */
|
|
14
|
-
tableType?: BusinessSubTableType;
|
|
15
|
-
/** 子表字段 key(子模型挂载点) */
|
|
16
|
-
subFieldKey?: string;
|
|
17
|
-
/** 子表行号 */
|
|
18
|
-
rowIndex?: number;
|
|
19
|
-
/** 运行时 valuePath */
|
|
20
|
-
valuePath?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function resolveOpenFieldHyperlinkModalOptions(doc: Doc, widgetMeta: WidgetMeta, runtimeValuePath: string): OpenFieldHyperlinkModalOptions;
|
|
23
2
|
export declare function openFieldHyperlinkModal(doc: Doc, widgetMeta: WidgetMeta, runtimeValuePath: string): Promise<void>;
|
|
24
|
-
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
account?: string;
|
|
3
|
+
submitCard?: (cardNo: string) => Promise<void>;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
success: () => any;
|
|
7
|
+
status: (status: "error" | "success" | "warning" | "waiting") => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onSuccess?: (() => any) | undefined;
|
|
10
|
+
onStatus?: ((status: "error" | "success" | "warning" | "waiting") => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
inputRef: HTMLInputElement;
|
|
13
|
+
}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface SignatureSecurityConfig {
|
|
2
|
+
enableSignPassword?: number;
|
|
3
|
+
signMethod?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function getSignatureMethods(config: SignatureSecurityConfig): ('PASSWORD' | 'CARD')[];
|
|
6
|
+
export declare function loadSignatureSecurityConfig(): Promise<SignatureSecurityConfig>;
|