@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
package/README.md
CHANGED
|
@@ -158,7 +158,10 @@ Vue 运行时注册函数。建议在 `createApp` 后、`mount` 前调用。
|
|
|
158
158
|
- `options.factoryType`:`'template' | 'instance'`
|
|
159
159
|
- `options.modelKey`:主模型 key
|
|
160
160
|
- `options.suiteKey?`:套件 key(默认常用 `edhr`)
|
|
161
|
-
- `options.isPreview?` / `options.isDetailPage?` / `options.renderModeType?`:运行模式控制
|
|
161
|
+
- `options.isPreview?` / `options.isRefer?` / `options.isDetailPage?` / `options.renderModeType?`:运行模式控制
|
|
162
|
+
- `isPreview`:设计器预览,隐藏 ribbon / toolkit / panel
|
|
163
|
+
- `isRefer`:设计器引用只读(对齐 Excel `DesignMode.Refer`),仅保留右侧属性 panel(隐藏 ribbon / toolkit),禁止编辑
|
|
164
|
+
- `isPreview` 与 `isRefer` **互斥**;同时为 true 时忽略 `isPreview`,仅启用 `isRefer`
|
|
162
165
|
|
|
163
166
|
返回值:
|
|
164
167
|
|
|
@@ -12,11 +12,18 @@ export declare const TABLE_DATA_SVG: {
|
|
|
12
12
|
};
|
|
13
13
|
/** 业务表下拉项图标(按 tableType) */
|
|
14
14
|
export declare const TABLE_BUSINESS_SVG: {
|
|
15
|
+
readonly 'warehouse-in': string;
|
|
16
|
+
readonly 'warehouse-inbound': string;
|
|
17
|
+
readonly 'warehouse-out': string;
|
|
18
|
+
readonly 'warehouse-outbound': string;
|
|
15
19
|
readonly 'warehouse-in-out': string;
|
|
16
20
|
readonly 'warehouse-inventory': string;
|
|
21
|
+
readonly 'part-stocktake': string;
|
|
22
|
+
readonly 'device-part-consume': string;
|
|
17
23
|
readonly 'warehouse-allocate': string;
|
|
18
24
|
readonly 'material-consume': string;
|
|
19
25
|
readonly 'material-balance': string;
|
|
26
|
+
readonly 'material-requisition': string;
|
|
20
27
|
readonly 'check-table': string;
|
|
21
28
|
readonly 'pretreatment-list': string;
|
|
22
29
|
readonly 'entrust-steril-batch-list': string;
|
|
@@ -11,11 +11,11 @@ type __VLS_Props = {
|
|
|
11
11
|
showClearBtn?: boolean;
|
|
12
12
|
};
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
-
change: (value: Date | null) => any;
|
|
15
14
|
"update:modelValue": (value: Date | null) => any;
|
|
15
|
+
change: (value: Date | null) => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
-
onChange?: ((value: Date | null) => any) | undefined;
|
|
18
17
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
18
|
+
onChange?: ((value: Date | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
showClearBtn: boolean;
|
|
21
21
|
mode: "datetime" | "date";
|
|
@@ -10,10 +10,10 @@ type __VLS_Props = {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
change: (...args: any[]) => void;
|
|
14
13
|
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
15
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
19
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
size: string;
|
|
@@ -15,11 +15,11 @@ declare function __VLS_template(): {
|
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
change: (...args: any[]) => void;
|
|
19
18
|
"update:modelValue": (...args: any[]) => void;
|
|
19
|
+
change: (...args: any[]) => void;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
} & {
|
|
10
10
|
change: (val: string) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
onChange?: ((val: string) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
onChange?: ((val: string) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
tooltip: string;
|
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
@@ -63,12 +63,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
63
63
|
getRef: import('vue').Ref<any, any>;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
65
|
edit: (...args: any[]) => void;
|
|
66
|
-
change: (...args: any[]) => void;
|
|
67
66
|
"update:modelValue": (...args: any[]) => void;
|
|
67
|
+
change: (...args: any[]) => void;
|
|
68
68
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
71
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
options: DropdownOption[] | DropdownOptionGroup[];
|
|
74
74
|
showCheck: boolean;
|
|
@@ -34,13 +34,13 @@ declare function __VLS_template(): {
|
|
|
34
34
|
};
|
|
35
35
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
36
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
37
|
+
"update:modelValue": (val: string | number | null) => any;
|
|
37
38
|
change: (val: string | number | null) => any;
|
|
38
39
|
blur: () => any;
|
|
39
|
-
"update:modelValue": (val: string | number | null) => any;
|
|
40
40
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
41
42
|
onChange?: ((val: string | number | null) => any) | undefined;
|
|
42
43
|
onBlur?: (() => any) | undefined;
|
|
43
|
-
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
disabled: boolean;
|
|
46
46
|
modelValue: ValueType;
|
|
@@ -20,10 +20,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
20
20
|
input: (value: string | number, event: Event) => any;
|
|
21
21
|
search: (value: string | number) => any;
|
|
22
22
|
clear: () => any;
|
|
23
|
-
|
|
23
|
+
"update:modelValue": (value: string | number) => any;
|
|
24
24
|
change: (value: string | number, event: Event) => any;
|
|
25
25
|
blur: (event: FocusEvent) => any;
|
|
26
|
-
|
|
26
|
+
focus: (event: FocusEvent) => any;
|
|
27
27
|
keydown: (event: KeyboardEvent) => any;
|
|
28
28
|
keypress: (event: KeyboardEvent) => any;
|
|
29
29
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -32,10 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
32
32
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
33
33
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
34
34
|
onClear?: (() => any) | undefined;
|
|
35
|
-
|
|
35
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
36
36
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
37
37
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
38
|
-
|
|
38
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
39
39
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
40
40
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
41
41
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -48,9 +48,9 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
48
48
|
disabled: boolean;
|
|
49
49
|
size: import('./types').InputSize;
|
|
50
50
|
placeholder: string;
|
|
51
|
-
suffix: string;
|
|
52
51
|
modelValue: string | number;
|
|
53
52
|
prefix: string;
|
|
53
|
+
suffix: string;
|
|
54
54
|
addonBefore: string;
|
|
55
55
|
addonAfter: string;
|
|
56
56
|
allowClear: boolean;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
18
18
|
input: (value: string | number, event: Event) => any;
|
|
19
19
|
search: (value: string | number) => any;
|
|
20
20
|
clear: () => any;
|
|
21
|
-
|
|
21
|
+
"update:modelValue": (value: string | number) => any;
|
|
22
22
|
change: (value: string | number, event: Event) => any;
|
|
23
23
|
blur: (event: FocusEvent) => any;
|
|
24
|
-
|
|
24
|
+
focus: (event: FocusEvent) => any;
|
|
25
25
|
keydown: (event: KeyboardEvent) => any;
|
|
26
26
|
keypress: (event: KeyboardEvent) => any;
|
|
27
27
|
keyup: (event: KeyboardEvent) => any;
|
|
@@ -30,10 +30,10 @@ declare const __VLS_component: import('vue').DefineComponent<GctInputProps, {
|
|
|
30
30
|
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
31
31
|
onSearch?: ((value: string | number) => any) | undefined;
|
|
32
32
|
onClear?: (() => any) | undefined;
|
|
33
|
-
|
|
33
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
34
34
|
onChange?: ((value: string | number, event: Event) => any) | undefined;
|
|
35
35
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
36
|
-
|
|
36
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
37
37
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
38
38
|
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
39
39
|
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -2,6 +2,7 @@ import { IModalProps } from './modal.type';
|
|
|
2
2
|
declare const _default: import('vue').DefineComponent<IModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IModalProps> & Readonly<{}>, {
|
|
3
3
|
body: import('vue').Component | null;
|
|
4
4
|
title: string;
|
|
5
|
+
readonly: boolean;
|
|
5
6
|
width: number;
|
|
6
7
|
zIndex: number;
|
|
7
8
|
className: string;
|
|
@@ -30,6 +30,11 @@ export interface IModalOptions {
|
|
|
30
30
|
draggable?: boolean;
|
|
31
31
|
/** 是否显示遮罩,draggable 时默认 false */
|
|
32
32
|
showMask?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 只读查看:隐藏取消/继续确认,确认按钮变为「关闭」且不落盘;
|
|
35
|
+
* body 内容入口锁,仅可滚动查看。
|
|
36
|
+
*/
|
|
37
|
+
readonly?: boolean;
|
|
33
38
|
onConfirm?: (ins: IModalInstance) => Promise<void> | void;
|
|
34
39
|
onConfirmContinue?: (ins: IModalInstance) => Promise<void> | void;
|
|
35
40
|
onCancel?: (ins: IModalInstance) => Promise<void> | void;
|
|
@@ -14,11 +14,11 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
change: (...args: any[]) => void;
|
|
18
17
|
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
size: string;
|
|
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
15
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (...args: any[]) => void;
|
|
17
16
|
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
muted?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2
6
|
"load-more": () => any;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
4
8
|
"onLoad-more"?: (() => any) | undefined;
|
|
5
|
-
}>, {
|
|
9
|
+
}>, {
|
|
10
|
+
label: string;
|
|
11
|
+
muted: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
13
|
targetRef: HTMLDivElement;
|
|
7
14
|
}, HTMLDivElement>;
|
|
8
15
|
export default _default;
|
|
@@ -7,6 +7,9 @@ type __VLS_Props = {
|
|
|
7
7
|
disabledParent?: boolean;
|
|
8
8
|
parentToDefault?: boolean;
|
|
9
9
|
emptyText?: string;
|
|
10
|
+
loadMoreLabel?: string;
|
|
11
|
+
mutedLoadMore?: boolean;
|
|
12
|
+
maxHeight?: number;
|
|
10
13
|
};
|
|
11
14
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
15
|
select: (node: RdoTreeNode) => any;
|
|
@@ -16,5 +19,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
16
19
|
onSelect?: ((node: RdoTreeNode) => any) | undefined;
|
|
17
20
|
onToggle?: ((key: string | number) => any) | undefined;
|
|
18
21
|
"onLoad-more"?: (() => any) | undefined;
|
|
19
|
-
}>, {
|
|
22
|
+
}>, {
|
|
23
|
+
maxHeight: number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
25
|
export default _default;
|
|
@@ -14,18 +14,18 @@ type __VLS_Props = {
|
|
|
14
14
|
showSearch?: boolean;
|
|
15
15
|
};
|
|
16
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
-
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
18
17
|
"update:modelValue": (value?: string | null | undefined) => any;
|
|
18
|
+
change: (value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any;
|
|
19
19
|
"update:fullPathValue": (value?: string | null | undefined) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
22
|
+
onChange?: ((value?: string | null | undefined, node?: RdoTreeNode | undefined, display?: RdoDisplayInfo | undefined) => any) | undefined;
|
|
23
23
|
"onUpdate:fullPathValue"?: ((value?: string | null | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
modelCategory: string;
|
|
26
26
|
disabled: boolean;
|
|
27
|
-
placeholder: string;
|
|
28
27
|
pageSize: number;
|
|
28
|
+
placeholder: string;
|
|
29
29
|
popperWidth: number;
|
|
30
30
|
allowClear: boolean;
|
|
31
31
|
disabledParent: boolean;
|
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
wrapStyle: {
|
|
7
|
-
type: (ArrayConstructor |
|
|
7
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
wrapClass: {
|
|
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
48
|
wrapStyle: {
|
|
49
|
-
type: (ArrayConstructor |
|
|
49
|
+
type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
52
|
wrapClass: {
|
|
@@ -18,11 +18,11 @@ type __VLS_Props = {
|
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
};
|
|
20
20
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
|
-
change: (v: any) => any;
|
|
22
21
|
"update:modelValue": (v: any) => any;
|
|
22
|
+
change: (v: any) => any;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
-
onChange?: ((v: any) => any) | undefined;
|
|
25
24
|
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
25
|
+
onChange?: ((v: any) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
27
|
rootRef: HTMLDivElement;
|
|
28
28
|
}, HTMLDivElement>;
|
|
@@ -22,14 +22,22 @@ type __VLS_Props = {
|
|
|
22
22
|
disabled?: boolean;
|
|
23
23
|
/** 不显示右侧箭头 */
|
|
24
24
|
noArrow?: boolean;
|
|
25
|
+
/** 多选模式下也显示右侧箭头 */
|
|
26
|
+
multipleArrow?: boolean;
|
|
25
27
|
/** 是否允许清除 */
|
|
26
28
|
allowClear?: boolean;
|
|
29
|
+
/** 多选时不可从标签或清空操作移除的值 */
|
|
30
|
+
unremovableValues?: Array<string | number>;
|
|
31
|
+
/** 多选标签最大显示数量,responsive 时根据容器宽度自动折叠 */
|
|
32
|
+
maxTagCount?: number | 'responsive';
|
|
27
33
|
/** 弹窗选择模式:编辑态外观,点击不展开下拉 */
|
|
28
34
|
picker?: boolean;
|
|
29
35
|
/** 是否需要分组展示 */
|
|
30
36
|
grouped?: boolean;
|
|
31
37
|
/** 是否支持输入创建 tag */
|
|
32
38
|
allowCreate?: boolean;
|
|
39
|
+
/** 下拉选项是否可搜索 */
|
|
40
|
+
searchable?: boolean;
|
|
33
41
|
};
|
|
34
42
|
declare function __VLS_template(): {
|
|
35
43
|
attrs: Partial<{}>;
|
|
@@ -57,6 +65,8 @@ declare function __VLS_template(): {
|
|
|
57
65
|
Defaults: {};
|
|
58
66
|
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
59
67
|
triggerRef: HTMLDivElement;
|
|
68
|
+
measureTagRefs: HTMLSpanElement[];
|
|
69
|
+
measureRestRef: HTMLSpanElement;
|
|
60
70
|
inputRef: HTMLInputElement;
|
|
61
71
|
};
|
|
62
72
|
rootEl: HTMLDivElement;
|
|
@@ -67,18 +77,20 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
67
77
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
68
78
|
edit: (option: DropdownOption) => any;
|
|
69
79
|
click: (evt: any) => any;
|
|
70
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
71
80
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
81
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
72
82
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
73
83
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
74
84
|
onClick?: ((evt: any) => any) | undefined;
|
|
75
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
76
85
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
86
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
77
87
|
}>, {
|
|
78
88
|
disabled: boolean;
|
|
79
89
|
options: DropdownOption[];
|
|
80
90
|
placeholder: string;
|
|
81
91
|
allowClear: boolean;
|
|
92
|
+
unremovableValues: Array<string | number>;
|
|
93
|
+
searchable: boolean;
|
|
82
94
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
83
95
|
dropdownRef: import('vue').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
84
96
|
P: {};
|
|
@@ -89,6 +101,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
89
101
|
Defaults: {};
|
|
90
102
|
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
91
103
|
triggerRef: HTMLDivElement;
|
|
104
|
+
measureTagRefs: HTMLSpanElement[];
|
|
105
|
+
measureRestRef: HTMLSpanElement;
|
|
92
106
|
inputRef: HTMLInputElement;
|
|
93
107
|
}, HTMLDivElement>;
|
|
94
108
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -29,11 +29,11 @@ declare function __VLS_template(): {
|
|
|
29
29
|
};
|
|
30
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
31
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
-
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
33
32
|
"update:modelValue": (val?: string | number | undefined) => any;
|
|
33
|
+
change: (val?: string | number | undefined, item?: DropdownOption | undefined) => any;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
-
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
36
35
|
"onUpdate:modelValue"?: ((val?: string | number | undefined) => any) | undefined;
|
|
36
|
+
onChange?: ((val?: string | number | undefined, item?: DropdownOption | undefined) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
readonly: boolean;
|
|
39
39
|
disabled: boolean;
|
|
@@ -6,16 +6,16 @@ type __VLS_Props = {
|
|
|
6
6
|
tooltipConvert?: (v: number) => string | number;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
change: (...args: any[]) => void;
|
|
10
9
|
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
change: (...args: any[]) => void;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
max: number;
|
|
16
|
-
min: number;
|
|
17
15
|
modelValue: number;
|
|
18
16
|
step: number;
|
|
17
|
+
min: number;
|
|
18
|
+
max: number;
|
|
19
19
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
20
|
sliderRef: HTMLDivElement;
|
|
21
21
|
}, any>;
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
change: (...args: any[]) => void;
|
|
8
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
change: (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
size: string;
|
|
@@ -23,12 +23,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
23
23
|
getRef: import('vue').Ref<any, any>;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
25
|
edit: (option: DropdownOption) => any;
|
|
26
|
-
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
27
26
|
"update:modelValue": (val: string | number | (string | number)[]) => any;
|
|
27
|
+
change: (val: string | number | (string | number)[], item?: DropdownOption | undefined) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
29
|
onEdit?: ((option: DropdownOption) => any) | undefined;
|
|
30
|
-
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
31
30
|
"onUpdate:modelValue"?: ((val: string | number | (string | number)[]) => any) | undefined;
|
|
31
|
+
onChange?: ((val: string | number | (string | number)[], item?: DropdownOption | undefined) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
placeholder: string;
|
|
34
34
|
popperWidth: number;
|
|
@@ -34,6 +34,8 @@ export declare function computeContainLayout(natural: ImageSize, box: ImageSize)
|
|
|
34
34
|
* 在目标框内等比缩放(contain),不压缩、不拉伸
|
|
35
35
|
*/
|
|
36
36
|
export declare function computeContainDisplaySize(natural: ImageSize, box: ImageSize): ImageSize;
|
|
37
|
+
/** 同步取无图签名缓存(布局重建时可避免先闪占位再异步补图) */
|
|
38
|
+
export declare function getCachedSignatureImage(name: string, width?: number, height?: number, time?: number | string): HTMLImageElement | null;
|
|
37
39
|
/**
|
|
38
40
|
* 创建无图签名兜底图(用户名 + 电子签名 + 验证日期)
|
|
39
41
|
* 按字段宽高绘制,显示框设多大,字就按多大排
|
|
@@ -5,5 +5,9 @@ import { Wtbl } from '../../model/document';
|
|
|
5
5
|
export declare class InsertTable extends CommandBase<'insertTable'> {
|
|
6
6
|
constructor(doc: Doc, payload?: CommandPayloadMap['insertTable']);
|
|
7
7
|
protected createTable(width: number, rowCount?: number, colCount?: number): Wtbl;
|
|
8
|
+
private resolveBlockedTableLabel;
|
|
8
9
|
protected execute(): Promise<PostCommandContext>;
|
|
10
|
+
private insertAtCursor;
|
|
11
|
+
private insertIntoBody;
|
|
12
|
+
private insertIntoCell;
|
|
9
13
|
}
|
|
@@ -14,5 +14,9 @@ export declare class UnmergeCells extends CommandBase<'unmergeCells'> {
|
|
|
14
14
|
pos: number;
|
|
15
15
|
side: string;
|
|
16
16
|
wp?: undefined;
|
|
17
|
-
} | null
|
|
17
|
+
} | null>;
|
|
18
|
+
/** 光标落在合并格内时,解析其 merge root */
|
|
19
|
+
private resolveRootsFromCursor;
|
|
20
|
+
/** 框选单元格时,收集选区内的 merge roots */
|
|
21
|
+
private resolveRootsFromSelection;
|
|
18
22
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** 外表列/单元格最小宽度(像素),与手动拖列宽下限一致 */
|
|
2
|
+
export declare const MIN_TABLE_COL_WIDTH_PX = 30;
|
|
3
|
+
/** 外表列/单元格最小宽度(DXA) */
|
|
4
|
+
export declare const MIN_TABLE_COL_WIDTH_DXA: number;
|
|
5
|
+
/** 嵌套表内单列最小宽度(DXA,约 0.5") */
|
|
6
|
+
export declare const MIN_NESTED_TABLE_COL_WIDTH_DXA = 720;
|
|
7
|
+
/**
|
|
8
|
+
* 业务表 / 数据表 region 类型集合。
|
|
9
|
+
* 用于:嵌套表插入拦截、内外表业务数据标记互斥。
|
|
10
|
+
*/
|
|
11
|
+
export declare const BUSINESS_DATA_REGION_TYPES: ReadonlySet<string>;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { Doc } from '../../view/Doc';
|
|
2
2
|
import { ISelectionRange, Rect } from '../types/cursor';
|
|
3
3
|
/**
|
|
4
|
-
* 将 selection(逻辑选区)转换成一组视觉矩形(canvas
|
|
4
|
+
* 将 selection(逻辑选区)转换成一组视觉矩形(canvas 绝对坐标)和单元格 ID 集合。
|
|
5
|
+
*
|
|
6
|
+
* 高亮策略(按模式):
|
|
7
|
+
* - cell-range / cell-full / mixed(表格行部分)
|
|
8
|
+
* → cellRangeIds:由 table-cell.vue 在内容层渲染选中背景,
|
|
9
|
+
* 内表格单元格的白色背景会自然覆盖外格蓝色,无需额外处理。
|
|
10
|
+
* - cell-inner
|
|
11
|
+
* → rects:cursor 覆盖层渲染文字级别高亮;
|
|
12
|
+
* 只保留属于 selectionTableId 的原子节点(过滤掉内表格 atoms,解决 Q6 场景)。
|
|
13
|
+
* - mixed(段落部分) / 纯段落
|
|
14
|
+
* → rects:cursor 覆盖层渲染。
|
|
5
15
|
*/
|
|
6
|
-
export declare function getSelectionRects(doc: Doc, selection: ISelectionRange, upgrade: boolean):
|
|
16
|
+
export declare function getSelectionRects(doc: Doc, selection: ISelectionRange, upgrade: boolean): {
|
|
17
|
+
rects: Rect[];
|
|
18
|
+
cellRangeIds: string[];
|
|
19
|
+
};
|
|
@@ -5,7 +5,8 @@ export { computeRealignedCursorState, cursorMetaToInput, cursorPositionToInput,
|
|
|
5
5
|
export { getCursorCoords } from './getCursorCoords';
|
|
6
6
|
export { getCursorTextRawList } from './getCursorTextRawList';
|
|
7
7
|
export { getSelectionRects } from './getSelectionRects';
|
|
8
|
-
export { getSelectLinesInfo } from './selectionAnalyzer';
|
|
8
|
+
export { getSelectLinesInfo, resolveSelectionTableScope, resolveTableScopeFromCursor, resolveTableScopeFromModelNode, resolveWpFromCursor, } from './selectionAnalyzer';
|
|
9
|
+
export type { TableScope } from '../../model/document/Wtbl';
|
|
9
10
|
export { getImmediateNeighborNode, findFirstAtomBeyond, isAtBoundaryOfNode, findTargetLineId, locateByX, } from './layoutNavigation';
|
|
10
11
|
/**
|
|
11
12
|
* 将命中结果转换为光标位置
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import { BaseMetaNode, LineInfo
|
|
1
|
+
import { BaseMetaNode, LineInfo } from '../../layout/types';
|
|
2
2
|
import { Doc } from '../../view/Doc';
|
|
3
3
|
import { ISelectionRange } from '../types/cursor';
|
|
4
|
+
import { ModelNode } from '../../model/base';
|
|
5
|
+
import { TableScope } from '../../model/document/Wtbl';
|
|
6
|
+
import { Wp } from '../../model/document';
|
|
7
|
+
/** 从 model 节点向上解析当前表格作用域 */
|
|
8
|
+
export declare function resolveTableScopeFromModelNode(node: ModelNode): TableScope | undefined;
|
|
9
|
+
/** 从光标定位当前 Wtbl 作用域(含嵌套表内光标) */
|
|
10
|
+
export declare function resolveTableScopeFromCursor(doc: Doc): TableScope | undefined;
|
|
11
|
+
/** 从当前选区解析表格作用域(仅单表,跨内外表时返回 undefined) */
|
|
12
|
+
export declare function resolveSelectionTableScope(doc: Doc): TableScope | undefined;
|
|
13
|
+
/** 从光标向上解析所在段落的 Wp(兼容 placeholder 空行) */
|
|
14
|
+
export declare function resolveWpFromCursor(doc: Doc): Wp | undefined;
|
|
4
15
|
/**
|
|
16
|
+
* 计算选区的行级信息(scopedSelectedLines、tableMode、rangeWidgetIds 等)。
|
|
5
17
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
18
|
+
* 过滤规则:
|
|
19
|
+
* - anchor 在嵌套表格内 → 严格夹紧在该嵌套表,不纳入外部行/段落
|
|
20
|
+
* - 其他情况 → 纳入所有顶层表格行 + 所有段落
|
|
21
|
+
*
|
|
22
|
+
* tableMode 决定策略:
|
|
23
|
+
* - mixed → 多张顶层表 OR (表格行 + 段落) → 选整行;段落单独生成 rect
|
|
24
|
+
* - cell-range → 单张表、多行或跨列
|
|
25
|
+
* - cell-inner → 单张表、单行、同一列(单格内文字选区)
|
|
26
|
+
* - cell-full → cell-inner 升级:选中整格(isCellUpgrade)
|
|
27
|
+
* - none → 纯段落 / 空
|
|
28
|
+
*
|
|
29
|
+
* @param upgrade 鼠标在 cellHitPoint 角上,允许 cell-inner → cell-full 升级
|
|
10
30
|
*/
|
|
11
31
|
export declare function getSelectLinesInfo(doc: Doc, selection: ISelectionRange, upgrade: boolean): {
|
|
12
32
|
normalized: import('../types/cursor').INormalizedRange;
|
|
@@ -16,8 +36,13 @@ export declare function getSelectLinesInfo(doc: Doc, selection: ISelectionRange,
|
|
|
16
36
|
startPageIdx: number;
|
|
17
37
|
endPageIdx: number;
|
|
18
38
|
selectedLines: LineInfo[];
|
|
19
|
-
tableMode:
|
|
39
|
+
tableMode: "none" | "mixed" | "cell-range" | "cell-full" | "cell-inner";
|
|
20
40
|
overlapIds: string[];
|
|
21
41
|
widgetRunMap: Map<string, BaseMetaNode[]>;
|
|
22
42
|
rangeWidgetIds: string[];
|
|
43
|
+
selectionTableId: string | undefined;
|
|
44
|
+
anchorCellIndex: number | undefined;
|
|
45
|
+
focusCellIndex: number | undefined;
|
|
46
|
+
/** focus 越界夹紧方向:true=夹末列,false=夹首列,undefined=已有精确值 */
|
|
47
|
+
focusClampToLast: boolean | undefined;
|
|
23
48
|
} | undefined;
|