@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,74 @@
|
|
|
1
|
+
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
import { IBomEntry } from '../../../../../domain/table/business/material/types';
|
|
3
|
+
/** 物料消耗对象字段信息 */
|
|
4
|
+
export interface IMaterialConsumeObjectInfo {
|
|
5
|
+
/** 对象字段key */
|
|
6
|
+
objectField: string;
|
|
7
|
+
/** 对象字段名称(仅用于展示) */
|
|
8
|
+
objectFieldName?: string;
|
|
9
|
+
/** 子表字段key */
|
|
10
|
+
subFields?: Record<string, {
|
|
11
|
+
used: boolean;
|
|
12
|
+
key: string;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
/** 物料消耗对象中参与提交数量校验的上料数量字段。 */
|
|
17
|
+
export declare function getObjectBomQtyFieldKeys(objectFieldList?: IMaterialConsumeObjectInfo[]): string[];
|
|
18
|
+
export declare function resolveObjectBomEntry(opts: {
|
|
19
|
+
formInstBom: FormInstBomResponse;
|
|
20
|
+
belongingObject: string;
|
|
21
|
+
productId?: string;
|
|
22
|
+
}): IBomEntry | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* 物料消耗对象扫码:按对象 BOM 配置校验扫码物料是否允许
|
|
25
|
+
* - 无 belongingObject / 无配置:跳过
|
|
26
|
+
* - personal_bom_enabled_:人为指定物料,直接通过
|
|
27
|
+
* - 否则用实例 bomEntries 校验(仅主料;开启替代料时才含替代料)
|
|
28
|
+
*/
|
|
29
|
+
export declare function validateObjectBomForScan(opts: {
|
|
30
|
+
formInstBom?: FormInstBomResponse | null;
|
|
31
|
+
belongingObject?: string;
|
|
32
|
+
productId?: string;
|
|
33
|
+
}): void;
|
|
34
|
+
type ObjectBomSelectOpts = {
|
|
35
|
+
formInstBom?: FormInstBomResponse | null;
|
|
36
|
+
belongingObject?: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 物料消耗对象物料批下拉:限制为 BOM 主料 + 已开替代料的替代料
|
|
40
|
+
* - 无需过滤时返回 null(无配置 / 记录模式 / 人为指定)
|
|
41
|
+
* - 无候选时用占位 id,避免空数组被后端当成不筛选
|
|
42
|
+
*/
|
|
43
|
+
export declare function getObjectBomMaterialLotQuery(opts: ObjectBomSelectOpts): {
|
|
44
|
+
'product_id_.versionIn': string[];
|
|
45
|
+
} | null;
|
|
46
|
+
/**
|
|
47
|
+
* 物料消耗对象物料下拉:限制为 BOM 主料 + 已开替代料的替代料
|
|
48
|
+
* - 无需过滤时返回 null(无配置 / 记录模式 / 人为指定)
|
|
49
|
+
* - 无候选时用占位 id,避免空数组被后端当成不筛选
|
|
50
|
+
*/
|
|
51
|
+
export declare function getObjectBomProductQuery(opts: ObjectBomSelectOpts): {
|
|
52
|
+
'id_.in': string[];
|
|
53
|
+
} | null;
|
|
54
|
+
/** 对象下拉按字段类型取 BOM 过滤;非物料/批次返回 null */
|
|
55
|
+
export declare function getObjectBomDropdownQuery(fieldType: string | undefined, opts: ObjectBomSelectOpts): {
|
|
56
|
+
'product_id_.versionIn': string[];
|
|
57
|
+
} | {
|
|
58
|
+
'id_.in': string[];
|
|
59
|
+
} | null;
|
|
60
|
+
/**
|
|
61
|
+
* 表单提交:校验所有物料消耗对象的数量 vs 需求数量
|
|
62
|
+
* - 开了数量校验且需求数量有值才校验
|
|
63
|
+
* - 人为指定:用 objectBom.entries_[0];否则用 bomEntries 中与对象物料匹配的明细
|
|
64
|
+
* - 失败返回与物料消耗表 submitValidate 同类的 field/message 结构
|
|
65
|
+
*/
|
|
66
|
+
export declare function validateObjectBomQtyOnSubmit(opts: {
|
|
67
|
+
formState: Record<string, any>;
|
|
68
|
+
objectFieldList?: IMaterialConsumeObjectInfo[];
|
|
69
|
+
formInstBom?: FormInstBomResponse | null;
|
|
70
|
+
}): Promise<{
|
|
71
|
+
field: string;
|
|
72
|
+
message: string;
|
|
73
|
+
} | null>;
|
|
74
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
interface ConsumeObjectDoc {
|
|
3
|
+
isInEditMode?: () => boolean;
|
|
4
|
+
mainModelKey: string;
|
|
5
|
+
fieldModelQuery: {
|
|
6
|
+
getFieldList: (modelKey: string) => Array<{
|
|
7
|
+
key: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
bizType?: string;
|
|
10
|
+
}> | undefined;
|
|
11
|
+
};
|
|
12
|
+
dataManager: {
|
|
13
|
+
get: (path: string) => unknown;
|
|
14
|
+
};
|
|
15
|
+
model?: {
|
|
16
|
+
getWidgetInstances?: () => any[];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface ConsumeObjectSelectUpdatesOpts {
|
|
20
|
+
doc: ConsumeObjectDoc;
|
|
21
|
+
belongingObject?: string;
|
|
22
|
+
fieldType?: string;
|
|
23
|
+
selectedOption?: Record<string, unknown> | null;
|
|
24
|
+
pending?: Record<string, unknown>;
|
|
25
|
+
/** 表单实例 BOM 信息,用于 BOM 模式下写入 bom_entry_id_ */
|
|
26
|
+
formInstBom?: FormInstBomResponse | null;
|
|
27
|
+
}
|
|
28
|
+
/** 提交前按当前产品值补齐所有物料消耗对象的 BOM 明细 ID。 */
|
|
29
|
+
export declare function buildConsumeObjectBomSubmitUpdates(doc: ConsumeObjectDoc, formInstBom?: FormInstBomResponse | null): Record<string, unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* 消耗对象批次下拉:同组物料有值时按该物料版本过滤,替换 BOM versionIn。
|
|
32
|
+
*/
|
|
33
|
+
export declare function getConsumeObjectLotProductQuery(opts: {
|
|
34
|
+
doc: ConsumeObjectDoc;
|
|
35
|
+
belongingObject?: string;
|
|
36
|
+
fieldType?: string;
|
|
37
|
+
}): {
|
|
38
|
+
'product_id_.versionEq': string;
|
|
39
|
+
} | null;
|
|
40
|
+
/**
|
|
41
|
+
* 物料消耗对象下拉联动:
|
|
42
|
+
* - 改/清物料:清空同组批次
|
|
43
|
+
* - 选批次且 option 有物料 id:写入同组物料(RDO `base:version`)
|
|
44
|
+
* - 清批次 / 手输批次:不动物料
|
|
45
|
+
* - 选批次但解析不出 RDO 引用:throw,调用方不得写入批次
|
|
46
|
+
*/
|
|
47
|
+
export declare function buildConsumeObjectSelectUpdates(opts: ConsumeObjectSelectUpdatesOpts): Promise<Record<string, unknown>>;
|
|
48
|
+
/** 扫码写入同组物料:路径与下拉一致;解析失败 throw。 */
|
|
49
|
+
export declare function buildConsumeObjectScanProductUpdate(opts: {
|
|
50
|
+
doc: ConsumeObjectDoc;
|
|
51
|
+
belongingObject?: string;
|
|
52
|
+
material?: Record<string, unknown> | null;
|
|
53
|
+
}): Promise<Record<string, unknown>>;
|
|
54
|
+
/**
|
|
55
|
+
* 消耗对象写入前的复检入参:用即将写入的物料+批次。
|
|
56
|
+
* 缺对象、缺物料或批次时返回 null(与消耗表缺参不查一致)。
|
|
57
|
+
* product_id_ 为版本 id,供 versionEq 使用。
|
|
58
|
+
*/
|
|
59
|
+
export declare function getConsumeObjectReinspectionParams(opts: {
|
|
60
|
+
doc: ConsumeObjectDoc;
|
|
61
|
+
belongingObject?: string;
|
|
62
|
+
fieldType?: string;
|
|
63
|
+
nextValues?: Record<string, unknown>;
|
|
64
|
+
}): {
|
|
65
|
+
product_id_: string;
|
|
66
|
+
material_no_?: string;
|
|
67
|
+
material_no_id_?: string;
|
|
68
|
+
} | null;
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRef } from 'vue';
|
|
2
|
+
import { FormTmplBomController } from '../../../../../runtime/canvas/table/render/material-consume';
|
|
3
|
+
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
4
|
+
/**
|
|
5
|
+
* 当前页 FormTmplBomController 的 provide / inject
|
|
6
|
+
* - document-paper 中 provide 当前页控制器
|
|
7
|
+
* - 主模型字段等通过 injectController / injectFormInstBom 读取
|
|
8
|
+
*/
|
|
9
|
+
export declare function useTmplBom(): {
|
|
10
|
+
provideController: (c: MaybeRef<FormTmplBomController | undefined>) => MaybeRef<FormTmplBomController | undefined>;
|
|
11
|
+
injectController: () => ComputedRef<FormTmplBomController | undefined>;
|
|
12
|
+
injectFormInstBom: () => ComputedRef<FormInstBomResponse | null | undefined>;
|
|
13
|
+
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
onChange: (list: any[]) => void;
|
|
2
|
+
objects: any[];
|
|
4
3
|
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:objects": (...args: any[]) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
"onUpdate:objects"?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
objects: any[];
|
|
8
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
11
|
export default _default;
|
|
@@ -5,6 +5,8 @@ export declare function registryPanelSchemas(): {
|
|
|
5
5
|
render: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6
6
|
};
|
|
7
7
|
'dynamic-table.basic': import('../../..').PanelSchema;
|
|
8
|
+
'warehouse-in-table.basic': import('../../..').PanelSchema;
|
|
9
|
+
'warehouse-out-table.basic': import('../../..').PanelSchema;
|
|
8
10
|
'warehouse-in-out-table.basic': import('../../..').PanelSchema;
|
|
9
11
|
'warehouse-inventory-table.basic': import('../../..').PanelSchema;
|
|
10
12
|
'warehouse-allocate-table.basic': import('../../..').PanelSchema;
|
|
@@ -13,6 +15,7 @@ export declare function registryPanelSchemas(): {
|
|
|
13
15
|
'2d-table.basic': import('../../..').PanelSchema;
|
|
14
16
|
'material-consume-table.basic': import('../../..').PanelSchema;
|
|
15
17
|
'material-balance-table.basic': import('../../..').PanelSchema;
|
|
18
|
+
'material-requisition-table.basic': import('../../..').PanelSchema;
|
|
16
19
|
'fixed-table.basic': import('../../..').PanelSchema;
|
|
17
20
|
'check-table.basic': import('../../..').PanelSchema;
|
|
18
21
|
'data-group.basic': {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IBomEntry } from '../../../../domain/table/business/material/types';
|
|
1
|
+
import { MaterialConsumptionPatternEnum, IBomEntry } from '../../../../domain/table/business/material/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
list?: IBomEntry[];
|
|
4
4
|
disabled?: boolean;
|
|
5
|
+
pattern?: MaterialConsumptionPatternEnum;
|
|
5
6
|
};
|
|
6
7
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
8
|
"update:list": (list?: IBomEntry[] | undefined) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
package/dist/suites/eqm/panel-schema/device-part-consume-table/device-part-consume-table.basic.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** EQM 业务表面板 schema */
|
|
2
|
+
export declare function registryEqmPanelSchemas(): {
|
|
3
|
+
'warehouse-inbound-table.basic': import('../../..').PanelSchema;
|
|
4
|
+
'warehouse-outbound-table.basic': import('../../..').PanelSchema;
|
|
5
|
+
'part-stocktake-table.basic': import('../../..').PanelSchema;
|
|
6
|
+
'device-part-consume-table.basic': import('../../..').PanelSchema;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
package/dist/suites/eqm/panel-schema/warehouse-inbound-table/warehouse-inbound-table.basic.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
package/dist/suites/eqm/panel-schema/warehouse-outbound-table/warehouse-outbound-table.basic.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const schema: import('../../../..').PanelSchema;
|
|
@@ -4,4 +4,5 @@ export declare function useFieldPanel(widget: Ref<ITextWidget | undefined>): {
|
|
|
4
4
|
fieldMeta: import('vue').ComputedRef<import('./useFieldPanelMeta').FieldPanelMeta>;
|
|
5
5
|
widgetProps: Ref<Record<string, any>, Record<string, any>>;
|
|
6
6
|
Renderer: import('vue').ComputedRef<any>;
|
|
7
|
+
panelInstanceKey: import('vue').ComputedRef<string | undefined>;
|
|
7
8
|
};
|
package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ import { IDisplayField } from './display-fields.util';
|
|
|
2
2
|
import { FieldMeta } from '../../../../../../capabilities/model-field-runtime';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
displayFields?: IDisplayField[];
|
|
5
|
+
/** 旧搜索字段只在 displayFields 未定义时迁移为展示字段。 */
|
|
6
|
+
legacySearchFields?: string[];
|
|
5
7
|
fieldMeta: FieldMeta;
|
|
6
8
|
disabled: boolean;
|
|
9
|
+
hideConfig?: boolean;
|
|
7
10
|
};
|
|
8
11
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
12
|
"update:displayFields": (...args: any[]) => void;
|
|
10
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
14
|
"onUpdate:displayFields"?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
displayFields: IDisplayField[];
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
16
|
export default _default;
|
package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts
CHANGED
|
@@ -3,9 +3,17 @@ export interface IDisplayField {
|
|
|
3
3
|
_dfValue: string;
|
|
4
4
|
/** 前端标记不可移除(如物料编码) */
|
|
5
5
|
_dfUnremovable?: boolean;
|
|
6
|
+
key: string;
|
|
7
|
+
name: string;
|
|
6
8
|
[key: string]: any;
|
|
7
9
|
}
|
|
8
10
|
/**
|
|
9
11
|
* 不同字段类型显示字段的默认字段列表
|
|
10
12
|
*/
|
|
11
13
|
export declare const DEFAULT_DISPLAY_FIELDS_MAP: Record<string, string[]>;
|
|
14
|
+
interface DefaultDisplayFieldConfig {
|
|
15
|
+
keys: string[];
|
|
16
|
+
unremovableKeys: string[];
|
|
17
|
+
}
|
|
18
|
+
export declare function getDefaultDisplayFieldConfig(type?: string): DefaultDisplayFieldConfig;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ScanParamType } from '../../../../../../domain/table/business/material/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
disableBarcodeParsing?: boolean;
|
|
5
|
+
scanParamType?: ScanParamType;
|
|
6
|
+
modelKey?: string;
|
|
7
|
+
refModelKey?: string;
|
|
8
|
+
subModelKey?: string;
|
|
9
|
+
tip?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:modelValue": (value?: string | undefined) => any;
|
|
13
|
+
"update:disableBarcodeParsing": (value: boolean) => any;
|
|
14
|
+
"update:scanParamType": (value: ScanParamType) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
17
|
+
"onUpdate:disableBarcodeParsing"?: ((value: boolean) => any) | undefined;
|
|
18
|
+
"onUpdate:scanParamType"?: ((value: ScanParamType) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
modelKey: string;
|
|
21
|
+
subModelKey: string;
|
|
22
|
+
refModelKey: string;
|
|
23
|
+
modelValue: string;
|
|
24
|
+
tip: string;
|
|
25
|
+
disableBarcodeParsing: boolean;
|
|
26
|
+
scanParamType: ScanParamType;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -3,12 +3,10 @@ import { FieldMeta } from '../../../../../../capabilities/model-field-runtime';
|
|
|
3
3
|
* 「快速搜索」字段默认带出的字段列表(预留)
|
|
4
4
|
*/
|
|
5
5
|
export declare const SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP: {
|
|
6
|
+
mfgOrder: string[];
|
|
7
|
+
subtableMfgOrder: string[];
|
|
6
8
|
material: string[];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
batch: string[];
|
|
9
|
+
reasonAndGroup: string[];
|
|
10
|
+
operation: string[];
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
-
export declare const getIsSearchableField: (fieldMeta: FieldMeta) => boolean;
|
|
13
|
-
/** 获取不同字段类型的「快速搜索」是否默认开启 */
|
|
14
|
-
export declare const getSearchableFieldIsDefaultOpen: (fieldMeta: FieldMeta) => boolean;
|
|
12
|
+
export declare const getDefaultQuickSearchFields: (fieldMeta: FieldMeta, tableType?: string) => string[];
|
package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ type __VLS_Props = {
|
|
|
8
8
|
groupOnlyExpand?: boolean;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
-
change: (value?: string | undefined, node?: FieldTreeNodeType | undefined) => any;
|
|
12
11
|
"update:modelValue": (value?: string | undefined) => any;
|
|
12
|
+
change: (value?: string | undefined, node?: FieldTreeNodeType | undefined) => any;
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
-
onChange?: ((value?: string | undefined, node?: FieldTreeNodeType | undefined) => any) | undefined;
|
|
15
14
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
15
|
+
onChange?: ((value?: string | undefined, node?: FieldTreeNodeType | undefined) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
treeData: FieldTreeNodeType[];
|
|
18
18
|
placeholder: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FIELD_TYPE } from '../../../../../../domain/field/field-type';
|
|
1
|
+
import { FIELD_TYPE, PLATFORM_FIELD_TYPE } from '../../../../../../domain/field/field-type';
|
|
2
|
+
type MappingFieldType = FIELD_TYPE | typeof PLATFORM_FIELD_TYPE.ENUM | typeof PLATFORM_FIELD_TYPE.ENUM_MULTI;
|
|
2
3
|
type MappingConfig = {
|
|
3
|
-
filterArr:
|
|
4
|
+
filterArr: MappingFieldType[];
|
|
4
5
|
};
|
|
5
6
|
/** 模型关联类型:仅映射同模型关联字段,不兜底文本 */
|
|
6
7
|
export declare const MODEL_ASSOCIATION_TYPES: Set<FIELD_TYPE>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BusinessSubTableType } from '../../domain/table/types';
|
|
2
|
+
/**
|
|
3
|
+
* 套件级 UI / 能力可见性
|
|
4
|
+
* UI 默认全开,各套件按需覆盖;依赖特定后端接口的能力默认关闭,由套件打开。
|
|
5
|
+
*/
|
|
6
|
+
export interface SuiteFeatures {
|
|
7
|
+
/** Ribbon「业务表」中隐藏的表类型 */
|
|
8
|
+
hiddenBusinessTableTypes: BusinessSubTableType[];
|
|
9
|
+
/** 设计态左侧 toolkit「规则」入口 */
|
|
10
|
+
showRulePanel: boolean;
|
|
11
|
+
/** 数据面板「对象初始化」区块 */
|
|
12
|
+
showObjectInit: boolean;
|
|
13
|
+
/** 数据面板「数据加载」区块 */
|
|
14
|
+
showDataLoad: boolean;
|
|
15
|
+
/** 工序接收数量:打开时用 em_routing_operation_number/getOne 现查(仅 EDHR 有此接口) */
|
|
16
|
+
hydrateOperationReceiveQty: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** 按套件 key 取可见性配置,未知套件回落默认 */
|
|
19
|
+
export declare function getSuiteFeatures(suiteKey?: string): SuiteFeatures;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
type GetAppInfoMethod = () => Promise<any>;
|
|
2
|
-
type
|
|
2
|
+
type ParseFileResult = {
|
|
3
|
+
data?: string;
|
|
4
|
+
} | string;
|
|
5
|
+
type ParseFileMethod = (file: File) => Promise<ParseFileResult>;
|
|
3
6
|
type UploadPayload = {
|
|
4
7
|
onProgress?: (p: number) => void;
|
|
5
8
|
signal?: AbortSignal;
|
|
@@ -40,7 +43,7 @@ declare class ServiceUtil {
|
|
|
40
43
|
* 解析文件
|
|
41
44
|
* @param file - 文件对象
|
|
42
45
|
*/
|
|
43
|
-
parseFile(file: File): Promise<
|
|
46
|
+
parseFile(file: File): Promise<ParseFileResult | undefined>;
|
|
44
47
|
/**
|
|
45
48
|
* 上传文件
|
|
46
49
|
* @param file - 文件对象
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TriggerName = 'OPEN_COMMON_CONFIRM_MODAL' | 'OPEN_DOC_SIGNATURE_RULE_CONFIG_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | '
|
|
1
|
+
export type TriggerName = 'OPEN_COMMON_CONFIRM_MODAL' | 'OPEN_DOC_SIGNATURE_RULE_CONFIG_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL' | 'OPEN_FIELD_HYPERLINK_MODAL' | 'OPEN_FIELD_ONLINE_FORM_TMPL_MODAL' | 'OPEN_DISPLAY_FIELDS_TRANSFER_MODAL' | 'OPEN_QUICK_FILL_MODAL' | 'OPEN_CHECK_TABLE_DS_MODAL' | 'OPEN_E_SOP_VIEW_MODAL' | 'OPEN_FORMULA_EDITOR_MODAL';
|
|
2
2
|
export type TriggerHandler = (name: TriggerName, options?: any) => Promise<any>;
|
|
3
3
|
interface TriggerUtilHandlers {
|
|
4
4
|
handle?: TriggerHandler;
|
|
@@ -19,10 +19,33 @@ export declare const SCREEN_ESSENTIAL_FONTS: Array<{
|
|
|
19
19
|
weight: CjkFontWeight;
|
|
20
20
|
}>;
|
|
21
21
|
export declare function findCjkFontSpec(family: CjkFontFamily, weight: CjkFontWeight): CjkFontSpec;
|
|
22
|
+
/** 与 Ribbon 选项一致的文档 CSS 栈(黑体 / 宋体 / 楷体) */
|
|
23
|
+
export declare const CJK_DOCUMENT_FONT_FAMILY: Record<CjkFontFamily, string>;
|
|
24
|
+
export type DocRFonts = {
|
|
25
|
+
ascii?: string;
|
|
26
|
+
hAnsi?: string;
|
|
27
|
+
eastAsia?: string;
|
|
28
|
+
cs?: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* 从 OOXML rFonts 取展示用字体名。
|
|
32
|
+
* 中文 Word 常把字体写在 eastAsia,优先于 ascii。
|
|
33
|
+
*/
|
|
34
|
+
export declare function pickDocumentFontName(rFonts?: DocRFonts | null): string | undefined;
|
|
22
35
|
/**
|
|
23
|
-
*
|
|
36
|
+
* 识别是否为产品支持的黑 / 宋 / 楷(含常见别名)。
|
|
37
|
+
* 无法识别时返回 null(应回落默认黑体)。
|
|
24
38
|
* 注意:不能用裸 includes('serif'),否则会误伤 "sans-serif"。
|
|
25
39
|
*/
|
|
40
|
+
export declare function detectCjkFontFamily(fontFamily?: string): CjkFontFamily | null;
|
|
41
|
+
/**
|
|
42
|
+
* 将任意字体名归一到产品三套:黑体 / 宋体 / 楷体。
|
|
43
|
+
* 无法识别(如 Arial、微软雅黑)时回落默认黑体。
|
|
44
|
+
*/
|
|
45
|
+
export declare function normalizeSupportedFontFamily(fontFamily?: string): string;
|
|
46
|
+
/**
|
|
47
|
+
* 将文档 fontFamily / bold 映射到内置三套字体(PDF / 嵌入用)。
|
|
48
|
+
*/
|
|
26
49
|
export declare function resolveCjkFontRef(input: {
|
|
27
50
|
fontFamily?: string;
|
|
28
51
|
bold?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getUploadFileIcon(name?: string): "attachment" | "
|
|
1
|
+
export declare function getUploadFileIcon(name?: string): "attachment" | "pdf" | "xlsx" | "doc" | "mp4" | "ppt" | "img";
|
|
2
2
|
export declare const formatSize: (size?: number) => string;
|