@gct-paas/word 0.2.44 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +454 -285
- package/dist/browser.js +1 -0
- package/dist/chunks/ModelEditor-GzaLnnX8.js +4621 -0
- package/dist/chunks/ModelEditor-GzaLnnX8.js.map +1 -0
- package/dist/chunks/NodeFactory-D9gVGSok.js +3348 -0
- package/dist/chunks/NodeFactory-D9gVGSok.js.map +1 -0
- package/dist/chunks/abortable-D4G3Ib7H.js +66 -0
- package/dist/chunks/abortable-D4G3Ib7H.js.map +1 -0
- package/dist/chunks/browser-CP0ycXqN.js +14038 -0
- package/dist/chunks/browser-CP0ycXqN.js.map +1 -0
- package/dist/chunks/change-set-DNOw1FXo.js +133 -0
- package/dist/chunks/change-set-DNOw1FXo.js.map +1 -0
- package/dist/chunks/fields-CAcm6X98.js +672 -0
- package/dist/chunks/fields-CAcm6X98.js.map +1 -0
- package/dist/chunks/sdk-DH5c-Bbt.js +33885 -0
- package/dist/chunks/sdk-DH5c-Bbt.js.map +1 -0
- package/dist/chunks/table-borders-Dwuj7lFp.js +50 -0
- package/dist/chunks/table-borders-Dwuj7lFp.js.map +1 -0
- package/dist/chunks/templates-Djcl21k4.js +57 -0
- package/dist/chunks/templates-Djcl21k4.js.map +1 -0
- package/dist/chunks/types-XXuIIZ9e.js +3046 -0
- package/dist/chunks/types-XXuIIZ9e.js.map +1 -0
- package/dist/chunks/word-fonts-BA_Tyfnj.js +14 -0
- package/dist/chunks/word-fonts-BA_Tyfnj.js.map +1 -0
- package/dist/docx.js +1310 -0
- package/dist/docx.js.map +1 -0
- package/dist/index.js +7 -0
- package/dist/pdf.js +181 -0
- package/dist/pdf.js.map +1 -0
- package/dist/platform.js +63 -0
- package/dist/platform.js.map +1 -0
- package/dist/style.css +10938 -0
- package/dist/types/adapters/browser/abortable.d.ts +2 -0
- package/dist/types/adapters/browser/canvas/CanvasPages.d.ts +43 -0
- package/dist/types/adapters/browser/canvas/field-background.d.ts +10 -0
- package/dist/types/adapters/browser/canvas/paint-border.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-code.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-context.d.ts +24 -0
- package/dist/types/adapters/browser/canvas/paint-decorations.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-field.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-guides.d.ts +8 -0
- package/dist/types/adapters/browser/canvas/paint-image.d.ts +6 -0
- package/dist/types/adapters/browser/canvas/paint-page-widget.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-page.d.ts +20 -0
- package/dist/types/adapters/browser/canvas/paint-pixels.d.ts +11 -0
- package/dist/types/adapters/browser/canvas/paint-seal.d.ts +5 -0
- package/dist/types/adapters/browser/canvas/paint-table.d.ts +7 -0
- package/dist/types/adapters/browser/canvas/paint-widget-placeholder.d.ts +6 -0
- package/dist/types/adapters/browser/canvas/types.d.ts +52 -0
- package/dist/types/adapters/browser/fonts/NativeFontResources.d.ts +43 -0
- package/dist/types/adapters/browser/fonts/types.d.ts +35 -0
- package/dist/types/adapters/browser/images/CanvasImageResources.d.ts +52 -0
- package/dist/types/adapters/browser/images/layout-images.d.ts +6 -0
- package/dist/types/adapters/browser/images/load-browser-image.d.ts +4 -0
- package/dist/types/adapters/browser/images/types.d.ts +32 -0
- package/dist/types/adapters/browser/index.d.ts +74 -0
- package/dist/types/adapters/browser/input/CanvasOptionInput.d.ts +39 -0
- package/dist/types/adapters/browser/input/CanvasTextInput.d.ts +123 -0
- package/dist/types/adapters/browser/input/ChoiceFieldInput.d.ts +35 -0
- package/dist/types/adapters/browser/input/FieldInputValidation.d.ts +8 -0
- package/dist/types/adapters/browser/input/InlineFieldInput.d.ts +101 -0
- package/dist/types/adapters/browser/input/SignatureFieldInput.d.ts +57 -0
- package/dist/types/adapters/browser/input/attach-canvas-text-input.d.ts +13 -0
- package/dist/types/adapters/browser/input/business/BusinessFieldInput.d.ts +36 -0
- package/dist/types/adapters/browser/input/business/FieldDialog.d.ts +32 -0
- package/dist/types/adapters/browser/input/business/FieldPopover.d.ts +31 -0
- package/dist/types/adapters/browser/input/business/ReferenceFieldInput.d.ts +55 -0
- package/dist/types/adapters/browser/input/business/ResourceCamera.d.ts +19 -0
- package/dist/types/adapters/browser/input/business/ResourceFieldInput.d.ts +80 -0
- package/dist/types/adapters/browser/input/business/ResourceFieldPreview.d.ts +21 -0
- package/dist/types/adapters/browser/input/business/ResourceFileSizes.d.ts +7 -0
- package/dist/types/adapters/browser/input/business/SealFieldInput.d.ts +59 -0
- package/dist/types/adapters/browser/input/business/TemporalFieldInput.d.ts +30 -0
- package/dist/types/adapters/browser/input/business/dialog-renderer.d.ts +19 -0
- package/dist/types/adapters/browser/input/business/materials/CanvasMaterialTableActions.d.ts +40 -0
- package/dist/types/adapters/browser/input/business/materials/CanvasMaterialsPanel.d.ts +55 -0
- package/dist/types/adapters/browser/input/business/materials/attach-canvas-materials.d.ts +13 -0
- package/dist/types/adapters/browser/input/business/resource-file-icon.d.ts +1 -0
- package/dist/types/adapters/browser/input/business/tables/CanvasBusinessTableActions.d.ts +34 -0
- package/dist/types/adapters/browser/input/business/tables/CanvasBusinessTablePanel.d.ts +59 -0
- package/dist/types/adapters/browser/input/business/tables/CanvasQuickFillDialog.d.ts +69 -0
- package/dist/types/adapters/browser/input/business/tables/CanvasTableScanDialog.d.ts +89 -0
- package/dist/types/adapters/browser/input/business/tables/attach-canvas-business-table.d.ts +13 -0
- package/dist/types/adapters/browser/input/business/tables/fixed-quick-fill-grid.d.ts +19 -0
- package/dist/types/adapters/browser/input/business/tables/table-action-anchors.d.ts +20 -0
- package/dist/types/adapters/browser/input/business/tables/table-actions-renderer.d.ts +45 -0
- package/dist/types/adapters/browser/input/choice-geometry.d.ts +19 -0
- package/dist/types/adapters/browser/input/clipboard/html-style.d.ts +9 -0
- package/dist/types/adapters/browser/input/clipboard/html.d.ts +4 -0
- package/dist/types/adapters/browser/input/clipboard/images.d.ts +3 -0
- package/dist/types/adapters/browser/input/design/CanvasFieldDrag.d.ts +70 -0
- package/dist/types/adapters/browser/input/design/PalettePointerDrag.d.ts +57 -0
- package/dist/types/adapters/browser/input/design/attach-canvas-field-drag.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/catalog/CanvasFieldCatalogPanel.d.ts +95 -0
- package/dist/types/adapters/browser/input/design/catalog/attach-canvas-field-catalog.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/catalog/catalog-field-icon.d.ts +5 -0
- package/dist/types/adapters/browser/input/design/fields/CanvasFieldDesignPanel.d.ts +71 -0
- package/dist/types/adapters/browser/input/design/fields/ChoiceOptionsPanel.d.ts +35 -0
- package/dist/types/adapters/browser/input/design/fields/FieldAttachmentsPanel.d.ts +31 -0
- package/dist/types/adapters/browser/input/design/fields/attach-canvas-field-design.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/fields/controls.d.ts +21 -0
- package/dist/types/adapters/browser/input/design/fields/rules/FieldRulesPanel.d.ts +24 -0
- package/dist/types/adapters/browser/input/design/fields/rules/settings.d.ts +3 -0
- package/dist/types/adapters/browser/input/design/format/CanvasFormatPanel.d.ts +73 -0
- package/dist/types/adapters/browser/input/design/format/attach-canvas-format.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/format/controls.d.ts +22 -0
- package/dist/types/adapters/browser/input/design/objects/CanvasObjectHandles.d.ts +42 -0
- package/dist/types/adapters/browser/input/design/objects/attach-canvas-object-handles.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/objects/gesture-types.d.ts +52 -0
- package/dist/types/adapters/browser/input/design/objects/paint-object-handles.d.ts +6 -0
- package/dist/types/adapters/browser/input/design/objects/project-object-gesture.d.ts +4 -0
- package/dist/types/adapters/browser/input/design/objects/resize-geometry.d.ts +7 -0
- package/dist/types/adapters/browser/input/design/objects/types.d.ts +18 -0
- package/dist/types/adapters/browser/input/design/settings/StructuredSettingsPanel.d.ts +56 -0
- package/dist/types/adapters/browser/input/design/settings/builders.d.ts +16 -0
- package/dist/types/adapters/browser/input/design/settings/types.d.ts +57 -0
- package/dist/types/adapters/browser/input/design/tables/CanvasTableDesignPanel.d.ts +63 -0
- package/dist/types/adapters/browser/input/design/tables/CanvasTableEdges.d.ts +56 -0
- package/dist/types/adapters/browser/input/design/tables/attach-canvas-table-design.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/tables/regions/CanvasRegionDesignPanel.d.ts +84 -0
- package/dist/types/adapters/browser/input/design/tables/regions/CanvasTableRegionMarks.d.ts +29 -0
- package/dist/types/adapters/browser/input/design/tables/regions/attach-canvas-region-design.d.ts +13 -0
- package/dist/types/adapters/browser/input/design/tables/regions/metadata-form.d.ts +26 -0
- package/dist/types/adapters/browser/input/design/tables/regions/settings.d.ts +4 -0
- package/dist/types/adapters/browser/input/design/tables/table-context-menu.d.ts +3 -0
- package/dist/types/adapters/browser/input/design/types.d.ts +33 -0
- package/dist/types/adapters/browser/input/field-geometry.d.ts +50 -0
- package/dist/types/adapters/browser/input/geometry.d.ts +39 -0
- package/dist/types/adapters/browser/input/history/CanvasHistoryMarks.d.ts +41 -0
- package/dist/types/adapters/browser/input/history/types.d.ts +10 -0
- package/dist/types/adapters/browser/input/overlay-layer.d.ts +3 -0
- package/dist/types/adapters/browser/input/scrolling.d.ts +24 -0
- package/dist/types/adapters/browser/input/signature-panel.d.ts +23 -0
- package/dist/types/adapters/browser/input/text-overlay.d.ts +7 -0
- package/dist/types/adapters/browser/input/types.d.ts +89 -0
- package/dist/types/adapters/browser/input/validation/CanvasValidationMarks.d.ts +15 -0
- package/dist/types/adapters/browser/input/validation/CanvasValidationPanel.d.ts +116 -0
- package/dist/types/adapters/browser/input/validation/attach-canvas-validation-panel.d.ts +13 -0
- package/dist/types/adapters/browser/input/word-error-text.d.ts +6 -0
- package/dist/types/adapters/browser/print/print-pages.d.ts +12 -0
- package/dist/types/adapters/browser/print/record-page.d.ts +5 -0
- package/dist/types/adapters/browser/text/CanvasTextMeasurer.d.ts +27 -0
- package/dist/types/adapters/browser/text/apply-text-style.d.ts +5 -0
- package/dist/types/adapters/browser/text/types.d.ts +3 -0
- package/dist/types/adapters/browser/viewport.d.ts +7 -0
- package/dist/types/adapters/document/DocumentFontPreparation.d.ts +31 -0
- package/dist/types/adapters/document/WordCanvasHost.d.ts +131 -0
- package/dist/types/adapters/document/communication-values.d.ts +8 -0
- package/dist/types/adapters/document/field-options.d.ts +114 -0
- package/dist/types/adapters/document/types.d.ts +143 -0
- package/dist/types/adapters/platform/association-products.d.ts +12 -0
- package/dist/types/adapters/platform/barcode-rules.d.ts +24 -0
- package/dist/types/adapters/platform/business-formulas.d.ts +11 -0
- package/dist/types/adapters/platform/business-response.d.ts +2 -0
- package/dist/types/adapters/platform/device-reference-filter.d.ts +7 -0
- package/dist/types/adapters/platform/directory-references.d.ts +3 -0
- package/dist/types/adapters/platform/docx.d.ts +3 -0
- package/dist/types/adapters/platform/field-catalog/catalog.d.ts +12 -0
- package/dist/types/adapters/platform/field-catalog/field-business-rules.d.ts +28 -0
- package/dist/types/adapters/platform/field-catalog/field-definition.d.ts +14 -0
- package/dist/types/adapters/platform/field-catalog/field-options.d.ts +3 -0
- package/dist/types/adapters/platform/field-catalog/table-model-types.d.ts +5 -0
- package/dist/types/adapters/platform/field-defaults.d.ts +3 -0
- package/dist/types/adapters/platform/field-dialogs.d.ts +79 -0
- package/dist/types/adapters/platform/fill-ports.d.ts +23 -0
- package/dist/types/adapters/platform/fonts.d.ts +3 -0
- package/dist/types/adapters/platform/form-history-schema.d.ts +18 -0
- package/dist/types/adapters/platform/form-instance-actions.d.ts +51 -0
- package/dist/types/adapters/platform/form-instance-communication.d.ts +10 -0
- package/dist/types/adapters/platform/form-instance-data.d.ts +6 -0
- package/dist/types/adapters/platform/form-instance-history-view.d.ts +22 -0
- package/dist/types/adapters/platform/form-instance-history.d.ts +12 -0
- package/dist/types/adapters/platform/form-instance.d.ts +37 -0
- package/dist/types/adapters/platform/formula-functions.d.ts +90 -0
- package/dist/types/adapters/platform/formula-variables.d.ts +15 -0
- package/dist/types/adapters/platform/index.d.ts +2 -0
- package/dist/types/adapters/platform/lot-display-label.d.ts +4 -0
- package/dist/types/adapters/platform/material-instance.d.ts +24 -0
- package/dist/types/adapters/platform/material-services.d.ts +6 -0
- package/dist/types/adapters/platform/page-image.d.ts +8 -0
- package/dist/types/adapters/platform/product-release-lots.d.ts +3 -0
- package/dist/types/adapters/platform/readonly-records.d.ts +40 -0
- package/dist/types/adapters/platform/reference-columns.d.ts +21 -0
- package/dist/types/adapters/platform/reference-policies.d.ts +9 -0
- package/dist/types/adapters/platform/reference-read-scope.d.ts +26 -0
- package/dist/types/adapters/platform/reference-restrictions.d.ts +13 -0
- package/dist/types/adapters/platform/reference-source-policy.d.ts +12 -0
- package/dist/types/adapters/platform/reference-version-label.d.ts +4 -0
- package/dist/types/adapters/platform/rule-settings.d.ts +65 -0
- package/dist/types/adapters/platform/source-catalog.d.ts +39 -0
- package/dist/types/adapters/platform/source-executor.d.ts +3 -0
- package/dist/types/adapters/platform/source-ipaas.d.ts +14 -0
- package/dist/types/adapters/platform/special-field-values.d.ts +3 -0
- package/dist/types/adapters/platform/substitution-records.d.ts +11 -0
- package/dist/types/adapters/platform/table-references.d.ts +17 -0
- package/dist/types/adapters/platform/table-scan.d.ts +3 -0
- package/dist/types/adapters/platform/template-business-fields.d.ts +24 -0
- package/dist/types/adapters/platform/template-fields.d.ts +15 -0
- package/dist/types/adapters/platform/templates.d.ts +23 -0
- package/dist/types/adapters/platform/validation-model-names.d.ts +3 -0
- package/dist/types/adapters/platform/withdrawn-form-change.d.ts +15 -0
- package/dist/types/adapters/vue/BusinessTableActions.vue.d.ts +10 -0
- package/dist/types/adapters/vue/ChoiceFieldPanel.vue.d.ts +11 -0
- package/dist/types/adapters/vue/FieldSelectActions.vue.d.ts +31 -0
- package/dist/types/adapters/vue/GctWordPrintRenderer.vue.d.ts +33 -0
- package/dist/types/adapters/vue/GctWordTemplateComparison.vue.d.ts +6 -0
- package/dist/types/adapters/vue/GctWordTemplateDesigner.vue.d.ts +46 -0
- package/dist/types/adapters/vue/GctWordTemplatePreview.vue.d.ts +42 -0
- package/dist/types/adapters/vue/ReferenceFieldPanel.vue.d.ts +9 -0
- package/dist/types/adapters/vue/SignatureCardReader.vue.d.ts +8 -0
- package/dist/types/adapters/vue/SignatureFieldPanel.vue.d.ts +12 -0
- package/dist/types/adapters/vue/WordAttachmentList.vue.d.ts +10 -0
- package/dist/types/adapters/vue/WordDesigner.d.ts +99 -0
- package/dist/types/adapters/vue/WordDocumentLoading.vue.d.ts +8 -0
- package/dist/types/adapters/vue/WordRenderer.d.ts +81 -0
- package/dist/types/adapters/vue/WordShortcutHelp.vue.d.ts +3 -0
- package/dist/types/adapters/vue/WordShortcutReference.vue.d.ts +3 -0
- package/dist/types/adapters/vue/WordTemplateImportStatus.vue.d.ts +6 -0
- package/dist/types/adapters/vue/business-table-actions.d.ts +2 -0
- package/dist/types/adapters/vue/choice-field-panel.d.ts +2 -0
- package/dist/types/adapters/vue/data-properties/WordCommunicationActions.vue.d.ts +32 -0
- package/dist/types/adapters/vue/data-properties/WordDataProperties.vue.d.ts +35 -0
- package/dist/types/adapters/vue/data-properties/WordObjectInitDialog.vue.d.ts +21 -0
- package/dist/types/adapters/vue/data-properties/WordObjectUserSelect.vue.d.ts +14 -0
- package/dist/types/adapters/vue/data-properties/WordOcrCamera.vue.d.ts +11 -0
- package/dist/types/adapters/vue/data-properties/WordOcrHistory.vue.d.ts +9 -0
- package/dist/types/adapters/vue/data-properties/WordRuntimeDataSources.vue.d.ts +8 -0
- package/dist/types/adapters/vue/data-properties/data-options.d.ts +8 -0
- package/dist/types/adapters/vue/data-properties/useWordFormCommunication.d.ts +32 -0
- package/dist/types/adapters/vue/data-properties/word-device-connections.d.ts +37 -0
- package/dist/types/adapters/vue/data-properties/word-object-ports.d.ts +5 -0
- package/dist/types/adapters/vue/data-properties/word-ocr-camera.d.ts +3 -0
- package/dist/types/adapters/vue/data-properties/word-source-ports.d.ts +4 -0
- package/dist/types/adapters/vue/field-dialog.d.ts +2 -0
- package/dist/types/adapters/vue/field-properties/FieldAttachmentList.vue.d.ts +17 -0
- package/dist/types/adapters/vue/field-properties/FieldAttributeValue.vue.d.ts +21 -0
- package/dist/types/adapters/vue/field-properties/FieldAutofill.vue.d.ts +14 -0
- package/dist/types/adapters/vue/field-properties/FieldAutofillDialog.vue.d.ts +21 -0
- package/dist/types/adapters/vue/field-properties/FieldBarcodeRules.vue.d.ts +13 -0
- package/dist/types/adapters/vue/field-properties/FieldBarcodeRulesDialog.vue.d.ts +17 -0
- package/dist/types/adapters/vue/field-properties/FieldChoiceOptionDialog.vue.d.ts +17 -0
- package/dist/types/adapters/vue/field-properties/FieldCommonRegex.vue.d.ts +16 -0
- package/dist/types/adapters/vue/field-properties/FieldDateSettings.vue.d.ts +9 -0
- package/dist/types/adapters/vue/field-properties/FieldDependencies.vue.d.ts +15 -0
- package/dist/types/adapters/vue/field-properties/FieldDependencyDialog.vue.d.ts +24 -0
- package/dist/types/adapters/vue/field-properties/FieldLabelHelp.vue.d.ts +25 -0
- package/dist/types/adapters/vue/field-properties/FieldOptionIcon.vue.d.ts +9 -0
- package/dist/types/adapters/vue/field-properties/FieldOptions.vue.d.ts +11 -0
- package/dist/types/adapters/vue/field-properties/FieldPropertyControl.vue.d.ts +14 -0
- package/dist/types/adapters/vue/field-properties/FieldRangeBound.vue.d.ts +18 -0
- package/dist/types/adapters/vue/field-properties/FieldRangeFormula.vue.d.ts +20 -0
- package/dist/types/adapters/vue/field-properties/FieldRangeSettings.vue.d.ts +12 -0
- package/dist/types/adapters/vue/field-properties/FieldRecordSelect.vue.d.ts +23 -0
- package/dist/types/adapters/vue/field-properties/FieldRegexEditor.vue.d.ts +16 -0
- package/dist/types/adapters/vue/field-properties/FieldRelationSettings.vue.d.ts +15 -0
- package/dist/types/adapters/vue/field-properties/FieldResourceSettings.vue.d.ts +12 -0
- package/dist/types/adapters/vue/field-properties/FieldSignatureDisplay.vue.d.ts +12 -0
- package/dist/types/adapters/vue/field-properties/FieldSignatureSettings.vue.d.ts +15 -0
- package/dist/types/adapters/vue/field-properties/FieldSpecialSettings.vue.d.ts +11 -0
- package/dist/types/adapters/vue/field-properties/FieldTemplateSelect.vue.d.ts +14 -0
- package/dist/types/adapters/vue/field-properties/FieldTextValidation.vue.d.ts +11 -0
- package/dist/types/adapters/vue/field-properties/WordFieldProperties.vue.d.ts +14 -0
- package/dist/types/adapters/vue/field-properties/field-autofill-presets.d.ts +14 -0
- package/dist/types/adapters/vue/field-properties/field-number-settings.d.ts +12 -0
- package/dist/types/adapters/vue/field-properties/field-panel-metadata.d.ts +15 -0
- package/dist/types/adapters/vue/field-properties/field-property-policy.d.ts +16 -0
- package/dist/types/adapters/vue/field-properties/field-rule-trees.d.ts +12 -0
- package/dist/types/adapters/vue/field-properties/field-targets.d.ts +20 -0
- package/dist/types/adapters/vue/field-type-label.d.ts +2 -0
- package/dist/types/adapters/vue/icons/paper.d.ts +23 -0
- package/dist/types/adapters/vue/icons/toolkit.d.ts +19 -0
- package/dist/types/adapters/vue/index.d.ts +26 -0
- package/dist/types/adapters/vue/open-template-comparison.d.ts +4 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetFieldDrop.vue.d.ts +20 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetImageUpload.vue.d.ts +16 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetLabelStyle.vue.d.ts +13 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetNumber.vue.d.ts +22 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetSize.vue.d.ts +21 -0
- package/dist/types/adapters/vue/page-widget-properties/WidgetTextArea.vue.d.ts +17 -0
- package/dist/types/adapters/vue/page-widget-properties/WordPageWidgetProperties.vue.d.ts +20 -0
- package/dist/types/adapters/vue/page-widget-properties/widget-options.d.ts +212 -0
- package/dist/types/adapters/vue/reference-field-options.d.ts +5 -0
- package/dist/types/adapters/vue/reference-field-panel.d.ts +2 -0
- package/dist/types/adapters/vue/region-properties/MaterialBomEntryDialog.vue.d.ts +16 -0
- package/dist/types/adapters/vue/region-properties/WordBusinessRegion.vue.d.ts +24 -0
- package/dist/types/adapters/vue/region-properties/WordMaterialTableSettings.vue.d.ts +17 -0
- package/dist/types/adapters/vue/region-properties/WordRegionConfirmDelete.vue.d.ts +9 -0
- package/dist/types/adapters/vue/region-properties/WordRegionGridInfo.vue.d.ts +13 -0
- package/dist/types/adapters/vue/region-properties/WordRepeatingTableSettings.vue.d.ts +24 -0
- package/dist/types/adapters/vue/renderWordWorkspace.d.ts +38 -0
- package/dist/types/adapters/vue/rule-properties/DecisionRuleGroup.vue.d.ts +21 -0
- package/dist/types/adapters/vue/rule-properties/InspectionRuleDialog.vue.d.ts +15 -0
- package/dist/types/adapters/vue/rule-properties/NotificationFieldPicker.vue.d.ts +13 -0
- package/dist/types/adapters/vue/rule-properties/NotificationRuleDialog.vue.d.ts +17 -0
- package/dist/types/adapters/vue/rule-properties/RuleFieldSelect.vue.d.ts +16 -0
- package/dist/types/adapters/vue/rule-properties/UnitConversionDialog.vue.d.ts +15 -0
- package/dist/types/adapters/vue/rule-properties/WordRuleProperties.vue.d.ts +18 -0
- package/dist/types/adapters/vue/rule-properties/inspection-prompt.d.ts +3 -0
- package/dist/types/adapters/vue/rule-properties/rule-draft.d.ts +9 -0
- package/dist/types/adapters/vue/signature-field-panel.d.ts +2 -0
- package/dist/types/adapters/vue/template-properties/SignatureRulesDialog.vue.d.ts +16 -0
- package/dist/types/adapters/vue/template-properties/WordFormSettings.vue.d.ts +12 -0
- package/dist/types/adapters/vue/temporal-field-panel.d.ts +2 -0
- package/dist/types/adapters/vue/types.d.ts +152 -0
- package/dist/types/adapters/vue/useGctTableAccess.d.ts +10 -0
- package/dist/types/adapters/vue/useGctWordInstance.d.ts +69 -0
- package/dist/types/adapters/vue/useWordWorkspace.d.ts +190 -0
- package/dist/types/adapters/vue/word-data-console.d.ts +27 -0
- package/dist/types/adapters/vue/word-designer-chrome.d.ts +16 -0
- package/dist/types/adapters/vue/word-designer-page.d.ts +10 -0
- package/dist/types/adapters/vue/word-designer-table-dialogs.d.ts +14 -0
- package/dist/types/adapters/vue/word-designer-table-menu.d.ts +23 -0
- package/dist/types/adapters/vue/word-instance-credentials.d.ts +3 -0
- package/dist/types/adapters/vue/word-readonly-browse.d.ts +16 -0
- package/dist/types/data/DataManager.d.ts +143 -0
- package/dist/types/data/index.d.ts +7 -0
- package/dist/types/data/paths/derived.d.ts +22 -0
- package/dist/types/data/paths/relations.d.ts +5 -0
- package/dist/types/data/post-change-pipeline.d.ts +30 -0
- package/dist/types/data/rows/active.d.ts +6 -0
- package/dist/types/data/services/DataChangeCoordinator.d.ts +60 -0
- package/dist/types/data/services/DataDefaults.d.ts +41 -0
- package/dist/types/data/services/DataDependencies.d.ts +40 -0
- package/dist/types/data/services/DataInitialization.d.ts +24 -0
- package/dist/types/data/services/DataMatrix.d.ts +45 -0
- package/dist/types/data/services/DataRows.d.ts +25 -0
- package/dist/types/data/services/DataRuntimeConfiguration.d.ts +21 -0
- package/dist/types/data/services/DataValues.d.ts +47 -0
- package/dist/types/data/services/DataWriteBatch.d.ts +14 -0
- package/dist/types/data/services/JsonDataPaths.d.ts +25 -0
- package/dist/types/data/services/context.d.ts +34 -0
- package/dist/types/data/services/create-data-services.d.ts +5 -0
- package/dist/types/data/services/lifetime.d.ts +26 -0
- package/dist/types/data/types/configuration.d.ts +21 -0
- package/dist/types/data/types/manager.d.ts +51 -0
- package/dist/types/data/types/rules.d.ts +42 -0
- package/dist/types/data/types/values.d.ts +46 -0
- package/dist/types/data/value-semantics/classify.d.ts +17 -0
- package/dist/types/data/value-semantics/collection.d.ts +17 -0
- package/dist/types/data/value-semantics/index.d.ts +7 -0
- package/dist/types/data/value-semantics/policy.d.ts +13 -0
- package/dist/types/data/value-semantics/scalars.d.ts +20 -0
- package/dist/types/data/value-semantics/types.d.ts +76 -0
- package/dist/types/data/value-semantics/validation.d.ts +16 -0
- package/dist/types/import/docx/content.d.ts +38 -0
- package/dist/types/import/docx/index.d.ts +4 -0
- package/dist/types/import/docx/math-image.d.ts +9 -0
- package/dist/types/import/docx/mathml.d.ts +3 -0
- package/dist/types/import/docx/numbering.d.ts +26 -0
- package/dist/types/import/docx/source.d.ts +40 -0
- package/dist/types/import/docx/styles.d.ts +33 -0
- package/dist/types/import/docx/tables.d.ts +7 -0
- package/dist/types/import/docx/types.d.ts +30 -0
- package/dist/types/layout/cache/BoundedMeasurementCache.d.ts +37 -0
- package/dist/types/layout/cache/ControlMeasurementCache.d.ts +33 -0
- package/dist/types/layout/cache/DocumentLayoutWorkspace.d.ts +47 -0
- package/dist/types/layout/cache/ParagraphMeasurementCache.d.ts +41 -0
- package/dist/types/layout/cache/TableMeasurementCache.d.ts +40 -0
- package/dist/types/layout/cache/TextMeasurementCache.d.ts +26 -0
- package/dist/types/layout/cache/data.d.ts +5 -0
- package/dist/types/layout/cache/environment.d.ts +25 -0
- package/dist/types/layout/cache/style-key.d.ts +8 -0
- package/dist/types/layout/cache/table-key.d.ts +9 -0
- package/dist/types/layout/coordinates.d.ts +10 -0
- package/dist/types/layout/engine/DocumentLayoutBuilder.d.ts +15 -0
- package/dist/types/layout/engine/atoms/code-widgets.d.ts +16 -0
- package/dist/types/layout/engine/atoms/control-decoration.d.ts +6 -0
- package/dist/types/layout/engine/atoms/control-flow.d.ts +8 -0
- package/dist/types/layout/engine/atoms/diagonal.d.ts +28 -0
- package/dist/types/layout/engine/atoms/field-control-window.d.ts +6 -0
- package/dist/types/layout/engine/atoms/field-control.d.ts +53 -0
- package/dist/types/layout/engine/atoms/fit-atomic.d.ts +23 -0
- package/dist/types/layout/engine/atoms/images.d.ts +10 -0
- package/dist/types/layout/engine/atoms/leading-image.d.ts +5 -0
- package/dist/types/layout/engine/atoms/page-widgets.d.ts +69 -0
- package/dist/types/layout/engine/atoms/seals.d.ts +7 -0
- package/dist/types/layout/engine/atoms/signatures.d.ts +7 -0
- package/dist/types/layout/engine/blocks/measure-blocks.d.ts +54 -0
- package/dist/types/layout/engine/blocks/place-blocks.d.ts +26 -0
- package/dist/types/layout/engine/context.d.ts +67 -0
- package/dist/types/layout/engine/measurement.d.ts +5 -0
- package/dist/types/layout/engine/pages/finalize-codes.d.ts +5 -0
- package/dist/types/layout/engine/pages/overlay-pages.d.ts +8 -0
- package/dist/types/layout/engine/pages/overlays.d.ts +5 -0
- package/dist/types/layout/engine/pages/page-regions.d.ts +29 -0
- package/dist/types/layout/engine/pagination/content-flow.d.ts +92 -0
- package/dist/types/layout/engine/pagination/content-page-break.d.ts +4 -0
- package/dist/types/layout/engine/pagination/line-flow.d.ts +85 -0
- package/dist/types/layout/engine/pagination/page.d.ts +14 -0
- package/dist/types/layout/engine/pagination/paragraph-pagination.d.ts +6 -0
- package/dist/types/layout/engine/pagination/place-line.d.ts +8 -0
- package/dist/types/layout/engine/pagination/placement-occurrence.d.ts +7 -0
- package/dist/types/layout/engine/pagination/placement-window.d.ts +17 -0
- package/dist/types/layout/engine/paragraph/justify-line.d.ts +6 -0
- package/dist/types/layout/engine/paragraph/paragraph-lines.d.ts +5 -0
- package/dist/types/layout/engine/paragraph/paragraph-sources.d.ts +72 -0
- package/dist/types/layout/engine/paragraph/prepare-paragraph.d.ts +29 -0
- package/dist/types/layout/engine/paragraph/text-vertical.d.ts +11 -0
- package/dist/types/layout/engine/paragraph/types.d.ts +223 -0
- package/dist/types/layout/engine/tables/cell-images.d.ts +4 -0
- package/dist/types/layout/engine/tables/fit-cell-content.d.ts +12 -0
- package/dist/types/layout/engine/tables/measure-table.d.ts +10 -0
- package/dist/types/layout/engine/tables/place-table-page.d.ts +6 -0
- package/dist/types/layout/engine/tables/place-table-window.d.ts +18 -0
- package/dist/types/layout/engine/tables/row-flow.d.ts +108 -0
- package/dist/types/layout/engine/tables/table-border-plan.d.ts +42 -0
- package/dist/types/layout/engine/tables/table-borders.d.ts +17 -0
- package/dist/types/layout/engine/tables/table-column-sizing.d.ts +12 -0
- package/dist/types/layout/engine/tables/table-flow-index.d.ts +49 -0
- package/dist/types/layout/engine/tables/table-flow.d.ts +91 -0
- package/dist/types/layout/engine/tables/table-headers.d.ts +6 -0
- package/dist/types/layout/engine/tables/table-pagination.d.ts +7 -0
- package/dist/types/layout/engine/tables/table-presentation-groups.d.ts +11 -0
- package/dist/types/layout/engine/tables/table-row-sizing.d.ts +31 -0
- package/dist/types/layout/engine/tables/table-types.d.ts +101 -0
- package/dist/types/layout/errors.d.ts +10 -0
- package/dist/types/layout/geometry/rectangles.d.ts +8 -0
- package/dist/types/layout/geometry/text.d.ts +16 -0
- package/dist/types/layout/guards.d.ts +57 -0
- package/dist/types/layout/image-source.d.ts +4 -0
- package/dist/types/layout/incremental/IncrementalPaginationWorkspace.d.ts +86 -0
- package/dist/types/layout/incremental/eligibility.d.ts +35 -0
- package/dist/types/layout/incremental/invalidation.d.ts +6 -0
- package/dist/types/layout/incremental/recorder.d.ts +34 -0
- package/dist/types/layout/incremental/replay.d.ts +6 -0
- package/dist/types/layout/incremental/table-pagination.d.ts +13 -0
- package/dist/types/layout/incremental/types.d.ts +127 -0
- package/dist/types/layout/index.d.ts +32 -0
- package/dist/types/layout/instances/table-grid.d.ts +9 -0
- package/dist/types/layout/ports/input.d.ts +87 -0
- package/dist/types/layout/ports/measurement.d.ts +37 -0
- package/dist/types/layout/ports/presentation.d.ts +131 -0
- package/dist/types/layout/query/LayoutQuery.d.ts +59 -0
- package/dist/types/layout/query/cache/QueryIndexWorkspace.d.ts +50 -0
- package/dist/types/layout/query/cache/immutable.d.ts +3 -0
- package/dist/types/layout/query/cache/types.d.ts +69 -0
- package/dist/types/layout/query/fragment-styles.d.ts +7 -0
- package/dist/types/layout/query/index-instances.d.ts +4 -0
- package/dist/types/layout/query/index-result.d.ts +36 -0
- package/dist/types/layout/query/validation.d.ts +26 -0
- package/dist/types/layout/session/LayoutSession.d.ts +80 -0
- package/dist/types/layout/session/errors.d.ts +22 -0
- package/dist/types/layout/session/registrations.d.ts +23 -0
- package/dist/types/layout/source.d.ts +13 -0
- package/dist/types/layout/styles/resolve-text-style.d.ts +8 -0
- package/dist/types/layout/synchronous.d.ts +3 -0
- package/dist/types/layout/types/cache.d.ts +24 -0
- package/dist/types/layout/types/endpoint.d.ts +16 -0
- package/dist/types/layout/types/fragments.d.ts +179 -0
- package/dist/types/layout/types/geometry.d.ts +37 -0
- package/dist/types/layout/types/identity.d.ts +66 -0
- package/dist/types/layout/types/presentation/codes.d.ts +64 -0
- package/dist/types/layout/types/presentation/controls.d.ts +202 -0
- package/dist/types/layout/types/presentation/images.d.ts +30 -0
- package/dist/types/layout/types/presentation/overlays.d.ts +74 -0
- package/dist/types/layout/types/presentation/seals.d.ts +24 -0
- package/dist/types/layout/types/presentation/signatures.d.ts +20 -0
- package/dist/types/layout/types/presentation/widgets.d.ts +74 -0
- package/dist/types/layout/types/query.d.ts +139 -0
- package/dist/types/layout/types/result.d.ts +80 -0
- package/dist/types/layout/types/session.d.ts +61 -0
- package/dist/types/layout/types/source.d.ts +88 -0
- package/dist/types/layout/types/text.d.ts +35 -0
- package/dist/types/layout/units.d.ts +15 -0
- package/dist/types/layout/versions.d.ts +9 -0
- package/dist/types/model/business/business-schema.d.ts +9 -0
- package/dist/types/model/business/business-types.d.ts +326 -0
- package/dist/types/model/business/communication-schema.d.ts +3 -0
- package/dist/types/model/business/data-source-schema.d.ts +11 -0
- package/dist/types/model/business/data-source-types.d.ts +134 -0
- package/dist/types/model/business/document-business-schema.d.ts +7 -0
- package/dist/types/model/business/document-business-types.d.ts +170 -0
- package/dist/types/model/business/document-signature-schema.d.ts +7 -0
- package/dist/types/model/business/exception-highlight.d.ts +4 -0
- package/dist/types/model/business/field-schema-common.d.ts +35 -0
- package/dist/types/model/business/initialization-schema.d.ts +7 -0
- package/dist/types/model/business/initialization-types.d.ts +167 -0
- package/dist/types/model/business/material-schema.d.ts +12 -0
- package/dist/types/model/business/material-types.d.ts +154 -0
- package/dist/types/model/business/number-minimum.d.ts +2 -0
- package/dist/types/model/business/page-widget-schema.d.ts +7 -0
- package/dist/types/model/business/page-widget-types.d.ts +144 -0
- package/dist/types/model/business/product-autofill.d.ts +16 -0
- package/dist/types/model/business/relation-schema.d.ts +7 -0
- package/dist/types/model/business/relation-types.d.ts +110 -0
- package/dist/types/model/business/table-field-defaults.d.ts +14 -0
- package/dist/types/model/business/table-variants.d.ts +21 -0
- package/dist/types/model/config/config-references.d.ts +30 -0
- package/dist/types/model/config/config-registry.d.ts +34 -0
- package/dist/types/model/config/config-types.d.ts +29 -0
- package/dist/types/model/config/config-uses.d.ts +22 -0
- package/dist/types/model/editor/ModelEditor.d.ts +209 -0
- package/dist/types/model/editor/NodeEditor.d.ts +80 -0
- package/dist/types/model/editor/NodeFactory.d.ts +65 -0
- package/dist/types/model/editor/RangeEditor.d.ts +97 -0
- package/dist/types/model/editor/TableEditor.d.ts +76 -0
- package/dist/types/model/editor/cell-paste.d.ts +5 -0
- package/dist/types/model/editor/change-set-types.d.ts +169 -0
- package/dist/types/model/editor/change-set-validation.d.ts +7 -0
- package/dist/types/model/editor/change-set.d.ts +11 -0
- package/dist/types/model/editor/content-fragment.d.ts +6 -0
- package/dist/types/model/editor/create-document.d.ts +20 -0
- package/dist/types/model/editor/cross-container-edit.d.ts +16 -0
- package/dist/types/model/editor/editing-context.d.ts +54 -0
- package/dist/types/model/editor/editor-data.d.ts +25 -0
- package/dist/types/model/editor/factory-types.d.ts +172 -0
- package/dist/types/model/editor/factory-validation.d.ts +18 -0
- package/dist/types/model/editor/format-update.d.ts +9 -0
- package/dist/types/model/editor/fragment-appearance.d.ts +4 -0
- package/dist/types/model/editor/fragment-data.d.ts +18 -0
- package/dist/types/model/editor/history-types.d.ts +8 -0
- package/dist/types/model/editor/model-editor-types.d.ts +59 -0
- package/dist/types/model/editor/node-edit-types.d.ts +146 -0
- package/dist/types/model/editor/operation-engine.d.ts +29 -0
- package/dist/types/model/editor/range-edit-types.d.ts +93 -0
- package/dist/types/model/editor/section-copy.d.ts +5 -0
- package/dist/types/model/editor/table-edit-types.d.ts +75 -0
- package/dist/types/model/editor/table-fragment.d.ts +6 -0
- package/dist/types/model/index.d.ts +42 -0
- package/dist/types/model/query/ModelQuery.d.ts +114 -0
- package/dist/types/model/query/compare-field-configurations.d.ts +47 -0
- package/dist/types/model/query/content-tree.d.ts +36 -0
- package/dist/types/model/query/derive-style.d.ts +6 -0
- package/dist/types/model/query/document-comparison/compare-document-content.d.ts +8 -0
- package/dist/types/model/query/document-comparison/matching.d.ts +7 -0
- package/dist/types/model/query/document-comparison/normalize.d.ts +4 -0
- package/dist/types/model/query/document-comparison/projection.d.ts +10 -0
- package/dist/types/model/query/document-comparison/types.d.ts +79 -0
- package/dist/types/model/query/entity-index.d.ts +55 -0
- package/dist/types/model/query/normalize-binding.d.ts +5 -0
- package/dist/types/model/query/query-types.d.ts +211 -0
- package/dist/types/model/query/reference-query.d.ts +17 -0
- package/dist/types/model/query/section-copy-roots.d.ts +4 -0
- package/dist/types/model/query/section-removal.d.ts +4 -0
- package/dist/types/model/query/table-geometry.d.ts +24 -0
- package/dist/types/model/query/table-query.d.ts +24 -0
- package/dist/types/model/query/template-save-validation.d.ts +13 -0
- package/dist/types/model/serialization/codec.d.ts +21 -0
- package/dist/types/model/serialization/fragment-types.d.ts +37 -0
- package/dist/types/model/serialization/fragment.d.ts +10 -0
- package/dist/types/model/types/content.d.ts +59 -0
- package/dist/types/model/types/document.d.ts +54 -0
- package/dist/types/model/types/fields.d.ts +145 -0
- package/dist/types/model/types/primitives.d.ts +61 -0
- package/dist/types/model/types/resources.d.ts +54 -0
- package/dist/types/model/types/sections.d.ts +91 -0
- package/dist/types/model/types/styles.d.ts +185 -0
- package/dist/types/model/types/tables.d.ts +110 -0
- package/dist/types/model/types/widgets.d.ts +49 -0
- package/dist/types/model/types.d.ts +19 -0
- package/dist/types/model/validation/json-data.d.ts +23 -0
- package/dist/types/model/validation/schema.d.ts +126 -0
- package/dist/types/model/validation/validation.d.ts +45 -0
- package/dist/types/output/pdf/encode-pdf.d.ts +9 -0
- package/dist/types/output/pdf/index.d.ts +4 -0
- package/dist/types/runtime/form/NativeBusinessFields.d.ts +149 -0
- package/dist/types/runtime/form/NativeDataServices.d.ts +76 -0
- package/dist/types/runtime/form/attach-session-data.d.ts +6 -0
- package/dist/types/runtime/form/business/attachments/NativeResources.d.ts +37 -0
- package/dist/types/runtime/form/business/attachments/index.d.ts +3 -0
- package/dist/types/runtime/form/business/attachments/types.d.ts +57 -0
- package/dist/types/runtime/form/business/attachments/values.d.ts +19 -0
- package/dist/types/runtime/form/business/authentication-value.d.ts +4 -0
- package/dist/types/runtime/form/business/browse/action-values.d.ts +9 -0
- package/dist/types/runtime/form/business/document-rules/inspection.d.ts +4 -0
- package/dist/types/runtime/form/business/inspection/NativeCheckFields.d.ts +34 -0
- package/dist/types/runtime/form/business/inspection/NativeInspectionInitialization.d.ts +66 -0
- package/dist/types/runtime/form/business/inspection/identity.d.ts +11 -0
- package/dist/types/runtime/form/business/inspection/index.d.ts +3 -0
- package/dist/types/runtime/form/business/inspection/types.d.ts +40 -0
- package/dist/types/runtime/form/business/materials/NativeMaterialInitialization.d.ts +42 -0
- package/dist/types/runtime/form/business/materials/NativeMaterialObjects.d.ts +36 -0
- package/dist/types/runtime/form/business/materials/NativeMaterialSelection.d.ts +48 -0
- package/dist/types/runtime/form/business/materials/NativeMaterials.d.ts +94 -0
- package/dist/types/runtime/form/business/materials/conversion/NativeMaterialConversions.d.ts +73 -0
- package/dist/types/runtime/form/business/materials/conversion/plan.d.ts +45 -0
- package/dist/types/runtime/form/business/materials/conversion/types.d.ts +39 -0
- package/dist/types/runtime/form/business/materials/entries.d.ts +7 -0
- package/dist/types/runtime/form/business/materials/groups.d.ts +5 -0
- package/dist/types/runtime/form/business/materials/index.d.ts +13 -0
- package/dist/types/runtime/form/business/materials/object-fields.d.ts +15 -0
- package/dist/types/runtime/form/business/materials/rows/NativeMaterialEditing.d.ts +54 -0
- package/dist/types/runtime/form/business/materials/rows/NativeMaterialRows.d.ts +54 -0
- package/dist/types/runtime/form/business/materials/rows/append-row.d.ts +6 -0
- package/dist/types/runtime/form/business/materials/rows/types.d.ts +36 -0
- package/dist/types/runtime/form/business/materials/scan/NativeMaterialScan.d.ts +29 -0
- package/dist/types/runtime/form/business/materials/scan/barcode.d.ts +19 -0
- package/dist/types/runtime/form/business/materials/scan/plan.d.ts +21 -0
- package/dist/types/runtime/form/business/materials/scan/types.d.ts +86 -0
- package/dist/types/runtime/form/business/materials/scan/write.d.ts +6 -0
- package/dist/types/runtime/form/business/materials/selection-policy.d.ts +12 -0
- package/dist/types/runtime/form/business/materials/table-access.d.ts +13 -0
- package/dist/types/runtime/form/business/materials/task-context.d.ts +26 -0
- package/dist/types/runtime/form/business/materials/types.d.ts +145 -0
- package/dist/types/runtime/form/business/materials/validation/NativeMaterialActions.d.ts +52 -0
- package/dist/types/runtime/form/business/materials/validation/NativeMaterialTableValidator.d.ts +42 -0
- package/dist/types/runtime/form/business/materials/validation/NativeMaterialValidator.d.ts +43 -0
- package/dist/types/runtime/form/business/materials/validation/group.d.ts +46 -0
- package/dist/types/runtime/form/business/materials/validation/lot.d.ts +10 -0
- package/dist/types/runtime/form/business/materials/validation/object-types.d.ts +66 -0
- package/dist/types/runtime/form/business/materials/validation/object.d.ts +24 -0
- package/dist/types/runtime/form/business/materials/validation/quantity.d.ts +18 -0
- package/dist/types/runtime/form/business/materials/validation/sequence.d.ts +9 -0
- package/dist/types/runtime/form/business/materials/validation/table-plan.d.ts +19 -0
- package/dist/types/runtime/form/business/materials/validation/table-types.d.ts +28 -0
- package/dist/types/runtime/form/business/materials/validation/types.d.ts +121 -0
- package/dist/types/runtime/form/business/objects/index.d.ts +2 -0
- package/dist/types/runtime/form/business/objects/submission.d.ts +5 -0
- package/dist/types/runtime/form/business/objects/targets.d.ts +6 -0
- package/dist/types/runtime/form/business/references/NativeReferenceScanner.d.ts +46 -0
- package/dist/types/runtime/form/business/references/NativeReferences.d.ts +124 -0
- package/dist/types/runtime/form/business/references/groups.d.ts +18 -0
- package/dist/types/runtime/form/business/references/id-changes.d.ts +3 -0
- package/dist/types/runtime/form/business/references/index.d.ts +5 -0
- package/dist/types/runtime/form/business/references/lot-values.d.ts +16 -0
- package/dist/types/runtime/form/business/references/read-scopes.d.ts +25 -0
- package/dist/types/runtime/form/business/references/records.d.ts +13 -0
- package/dist/types/runtime/form/business/references/scan-mapping.d.ts +9 -0
- package/dist/types/runtime/form/business/references/scan-types.d.ts +36 -0
- package/dist/types/runtime/form/business/references/types.d.ts +186 -0
- package/dist/types/runtime/form/business/references/validation.d.ts +19 -0
- package/dist/types/runtime/form/business/references/values.d.ts +19 -0
- package/dist/types/runtime/form/business/seals/NativeSeals.d.ts +47 -0
- package/dist/types/runtime/form/business/seals/index.d.ts +4 -0
- package/dist/types/runtime/form/business/seals/position-validators.d.ts +9 -0
- package/dist/types/runtime/form/business/seals/source.d.ts +5 -0
- package/dist/types/runtime/form/business/seals/types.d.ts +68 -0
- package/dist/types/runtime/form/business/seals/value-contract.d.ts +15 -0
- package/dist/types/runtime/form/business/seals/values.d.ts +10 -0
- package/dist/types/runtime/form/business/signatures/NativeSignatures.d.ts +51 -0
- package/dist/types/runtime/form/business/signatures/autofill.d.ts +9 -0
- package/dist/types/runtime/form/business/signatures/device-signature-lock.d.ts +10 -0
- package/dist/types/runtime/form/business/signatures/index.d.ts +4 -0
- package/dist/types/runtime/form/business/signatures/mutex.d.ts +16 -0
- package/dist/types/runtime/form/business/signatures/types.d.ts +59 -0
- package/dist/types/runtime/form/business/signatures/validation.d.ts +43 -0
- package/dist/types/runtime/form/business/signatures/values.d.ts +19 -0
- package/dist/types/runtime/form/business/tables/NativeBusinessTables.d.ts +34 -0
- package/dist/types/runtime/form/business/tables/NativeTableQuickFill.d.ts +28 -0
- package/dist/types/runtime/form/business/tables/enrichers.d.ts +4 -0
- package/dist/types/runtime/form/business/tables/fields/access.d.ts +6 -0
- package/dist/types/runtime/form/business/tables/fields/clear-policies.d.ts +16 -0
- package/dist/types/runtime/form/business/tables/fields/clear-updates.d.ts +5 -0
- package/dist/types/runtime/form/business/tables/fields/context.d.ts +35 -0
- package/dist/types/runtime/form/business/tables/fields/location-link.d.ts +15 -0
- package/dist/types/runtime/form/business/tables/fields/selection-types.d.ts +88 -0
- package/dist/types/runtime/form/business/tables/fields/selection.d.ts +22 -0
- package/dist/types/runtime/form/business/tables/index.d.ts +12 -0
- package/dist/types/runtime/form/business/tables/initialization/NativeTableInitialization.d.ts +39 -0
- package/dist/types/runtime/form/business/tables/initialization/context-assignments.d.ts +7 -0
- package/dist/types/runtime/form/business/tables/initialization/rows.d.ts +5 -0
- package/dist/types/runtime/form/business/tables/initialization/types.d.ts +64 -0
- package/dist/types/runtime/form/business/tables/inventory-records.d.ts +48 -0
- package/dist/types/runtime/form/business/tables/inventory-values.d.ts +3 -0
- package/dist/types/runtime/form/business/tables/quantities.d.ts +4 -0
- package/dist/types/runtime/form/business/tables/quick-fill-layout.d.ts +5 -0
- package/dist/types/runtime/form/business/tables/quick-fill-matrix.d.ts +27 -0
- package/dist/types/runtime/form/business/tables/quick-fill-types.d.ts +79 -0
- package/dist/types/runtime/form/business/tables/quick-fill-values.d.ts +4 -0
- package/dist/types/runtime/form/business/tables/row-fields.d.ts +17 -0
- package/dist/types/runtime/form/business/tables/scan/NativeTableScan.d.ts +24 -0
- package/dist/types/runtime/form/business/tables/scan/plan.d.ts +39 -0
- package/dist/types/runtime/form/business/tables/scan/types.d.ts +132 -0
- package/dist/types/runtime/form/business/tables/scan/values.d.ts +3 -0
- package/dist/types/runtime/form/business/tables/scan/variants.d.ts +5 -0
- package/dist/types/runtime/form/business/tables/submission-notices.d.ts +3 -0
- package/dist/types/runtime/form/business/tables/types.d.ts +103 -0
- package/dist/types/runtime/form/contracts/services.d.ts +51 -0
- package/dist/types/runtime/form/enrichers.d.ts +5 -0
- package/dist/types/runtime/form/fields/actions.d.ts +4 -0
- package/dist/types/runtime/form/fields/adapters/value-helpers.d.ts +8 -0
- package/dist/types/runtime/form/fields/adapters/values.d.ts +14 -0
- package/dist/types/runtime/form/fields/contracts/actions.d.ts +29 -0
- package/dist/types/runtime/form/fields/contracts/behavior.d.ts +97 -0
- package/dist/types/runtime/form/fields/contracts/declarations.d.ts +47 -0
- package/dist/types/runtime/form/fields/contracts/state.d.ts +49 -0
- package/dist/types/runtime/form/fields/core/NativeDataQuery.d.ts +135 -0
- package/dist/types/runtime/form/fields/core/NativeDataRuntime.d.ts +52 -0
- package/dist/types/runtime/form/fields/core/declaration-changes.d.ts +4 -0
- package/dist/types/runtime/form/fields/core/index.d.ts +7 -0
- package/dist/types/runtime/form/fields/core/participation/conditions.d.ts +9 -0
- package/dist/types/runtime/form/fields/core/participation/snapshot.d.ts +3 -0
- package/dist/types/runtime/form/fields/core/participation/targets.d.ts +4 -0
- package/dist/types/runtime/form/fields/core/participation/types.d.ts +61 -0
- package/dist/types/runtime/form/fields/core/paths.d.ts +33 -0
- package/dist/types/runtime/form/fields/core/query/model-policies.d.ts +19 -0
- package/dist/types/runtime/form/fields/core/rules/CommonFieldRules.d.ts +56 -0
- package/dist/types/runtime/form/fields/core/rules/companion-updates.d.ts +4 -0
- package/dist/types/runtime/form/fields/core/rules/enrichers.d.ts +5 -0
- package/dist/types/runtime/form/fields/core/rules/state.d.ts +9 -0
- package/dist/types/runtime/form/fields/core/rules/types.d.ts +34 -0
- package/dist/types/runtime/form/fields/core/rules/values.d.ts +11 -0
- package/dist/types/runtime/form/fields/core/runtime-paths.d.ts +5 -0
- package/dist/types/runtime/form/fields/core/table-slots.d.ts +26 -0
- package/dist/types/runtime/form/fields/core/tables/bounded-projection.d.ts +24 -0
- package/dist/types/runtime/form/fields/core/tables/matrix-projection.d.ts +46 -0
- package/dist/types/runtime/form/fields/core/tables/matrix-references.d.ts +4 -0
- package/dist/types/runtime/form/fields/core/types.d.ts +27 -0
- package/dist/types/runtime/form/fields/core/value-encoding.d.ts +7 -0
- package/dist/types/runtime/form/fields/declarations.d.ts +15 -0
- package/dist/types/runtime/form/fields/index.d.ts +4 -0
- package/dist/types/runtime/form/fields/semantics/numbers.d.ts +30 -0
- package/dist/types/runtime/form/fields/semantics/values.d.ts +14 -0
- package/dist/types/runtime/form/fills/NativeFieldFills.d.ts +68 -0
- package/dist/types/runtime/form/fills/index.d.ts +3 -0
- package/dist/types/runtime/form/fills/paths.d.ts +14 -0
- package/dist/types/runtime/form/fills/protection.d.ts +5 -0
- package/dist/types/runtime/form/fills/targets.d.ts +69 -0
- package/dist/types/runtime/form/fills/types.d.ts +44 -0
- package/dist/types/runtime/form/index.d.ts +20 -0
- package/dist/types/runtime/form/initialization/declarations.d.ts +11 -0
- package/dist/types/runtime/form/initialization/index.d.ts +4 -0
- package/dist/types/runtime/form/initialization/parameter-values.d.ts +4 -0
- package/dist/types/runtime/form/initialization/parameters/NativeParameterInitializer.d.ts +24 -0
- package/dist/types/runtime/form/initialization/parameters/index.d.ts +3 -0
- package/dist/types/runtime/form/initialization/parameters/targets.d.ts +7 -0
- package/dist/types/runtime/form/initialization/parameters/types.d.ts +93 -0
- package/dist/types/runtime/form/initialization/parameters/values.d.ts +2 -0
- package/dist/types/runtime/form/initialization/policy.d.ts +31 -0
- package/dist/types/runtime/form/initialization/queries/NativeDataInitializer.d.ts +37 -0
- package/dist/types/runtime/form/initialization/queries/index.d.ts +3 -0
- package/dist/types/runtime/form/initialization/queries/plan.d.ts +30 -0
- package/dist/types/runtime/form/initialization/queries/request.d.ts +22 -0
- package/dist/types/runtime/form/initialization/queries/run.d.ts +29 -0
- package/dist/types/runtime/form/initialization/queries/types.d.ts +162 -0
- package/dist/types/runtime/form/initialization/special-field-values.d.ts +18 -0
- package/dist/types/runtime/form/shared/barcodes.d.ts +4 -0
- package/dist/types/runtime/form/shared/capabilities.d.ts +18 -0
- package/dist/types/runtime/form/shared/identity.d.ts +2 -0
- package/dist/types/runtime/form/shared/requests.d.ts +4 -0
- package/dist/types/runtime/form/shared/row.d.ts +8 -0
- package/dist/types/runtime/form/shared/runtime-request.d.ts +6 -0
- package/dist/types/runtime/form/sources/NativeDataSources.d.ts +87 -0
- package/dist/types/runtime/form/sources/definitions.d.ts +9 -0
- package/dist/types/runtime/form/sources/errors.d.ts +6 -0
- package/dist/types/runtime/form/sources/index.d.ts +6 -0
- package/dist/types/runtime/form/sources/job.d.ts +116 -0
- package/dist/types/runtime/form/sources/parameters.d.ts +8 -0
- package/dist/types/runtime/form/sources/preview.d.ts +13 -0
- package/dist/types/runtime/form/sources/script.d.ts +32 -0
- package/dist/types/runtime/form/sources/types.d.ts +92 -0
- package/dist/types/runtime/form/sources/values.d.ts +13 -0
- package/dist/types/runtime/form/submission/NativeSubmissionCoordinator.d.ts +30 -0
- package/dist/types/runtime/form/submission/capture.d.ts +4 -0
- package/dist/types/runtime/form/submission/clean-data.d.ts +3 -0
- package/dist/types/runtime/form/submission/coordinator-types.d.ts +99 -0
- package/dist/types/runtime/form/submission/create-submission-data.d.ts +4 -0
- package/dist/types/runtime/form/submission/index.d.ts +5 -0
- package/dist/types/runtime/form/submission/matrix-records.d.ts +10 -0
- package/dist/types/runtime/form/submission/types.d.ts +60 -0
- package/dist/types/runtime/form/types.d.ts +46 -0
- package/dist/types/runtime/form/validation/NativeFieldValidation.d.ts +45 -0
- package/dist/types/runtime/form/validation/NativeValidator.d.ts +24 -0
- package/dist/types/runtime/form/validation/admission.d.ts +27 -0
- package/dist/types/runtime/form/validation/description.d.ts +5 -0
- package/dist/types/runtime/form/validation/empty.d.ts +2 -0
- package/dist/types/runtime/form/validation/index.d.ts +3 -0
- package/dist/types/runtime/form/validation/rules.d.ts +8 -0
- package/dist/types/runtime/form/validation/targets.d.ts +4 -0
- package/dist/types/runtime/form/validation/types.d.ts +104 -0
- package/dist/types/runtime/interaction/EditorController.d.ts +242 -0
- package/dist/types/runtime/interaction/attach-native-interaction.d.ts +13 -0
- package/dist/types/runtime/interaction/browse/EditorReadonlyActions.d.ts +34 -0
- package/dist/types/runtime/interaction/browse/media-preview.d.ts +4 -0
- package/dist/types/runtime/interaction/browse/types.d.ts +114 -0
- package/dist/types/runtime/interaction/business/EditorBusinessFields.d.ts +49 -0
- package/dist/types/runtime/interaction/business/materials/EditorMaterials.d.ts +36 -0
- package/dist/types/runtime/interaction/business/materials/types.d.ts +61 -0
- package/dist/types/runtime/interaction/business/state.d.ts +7 -0
- package/dist/types/runtime/interaction/business/tables/EditorBusinessTables.d.ts +55 -0
- package/dist/types/runtime/interaction/business/tables/types.d.ts +33 -0
- package/dist/types/runtime/interaction/business/types.d.ts +104 -0
- package/dist/types/runtime/interaction/clipboard/bindings.d.ts +8 -0
- package/dist/types/runtime/interaction/clipboard/external.d.ts +37 -0
- package/dist/types/runtime/interaction/clipboard/fragment.d.ts +19 -0
- package/dist/types/runtime/interaction/clipboard/table.d.ts +14 -0
- package/dist/types/runtime/interaction/clipboard/types.d.ts +27 -0
- package/dist/types/runtime/interaction/design/EditorDesign.d.ts +35 -0
- package/dist/types/runtime/interaction/design/catalog/EditorFieldCatalog.d.ts +57 -0
- package/dist/types/runtime/interaction/design/catalog/catalog-page.d.ts +5 -0
- package/dist/types/runtime/interaction/design/catalog/types.d.ts +91 -0
- package/dist/types/runtime/interaction/design/field-drop.d.ts +16 -0
- package/dist/types/runtime/interaction/design/fields/EditorFieldDesign.d.ts +54 -0
- package/dist/types/runtime/interaction/design/fields/adaptive-image-cell.d.ts +4 -0
- package/dist/types/runtime/interaction/design/fields/field-content.d.ts +6 -0
- package/dist/types/runtime/interaction/design/fields/field-defaults.d.ts +3 -0
- package/dist/types/runtime/interaction/design/fields/field-placement.d.ts +10 -0
- package/dist/types/runtime/interaction/design/fields/types.d.ts +92 -0
- package/dist/types/runtime/interaction/design/format/EditorFormat.d.ts +40 -0
- package/dist/types/runtime/interaction/design/format/input-format.d.ts +15 -0
- package/dist/types/runtime/interaction/design/format/property-format.d.ts +6 -0
- package/dist/types/runtime/interaction/design/format/summary.d.ts +6 -0
- package/dist/types/runtime/interaction/design/format/types.d.ts +73 -0
- package/dist/types/runtime/interaction/design/objects/EditorObjects.d.ts +944 -0
- package/dist/types/runtime/interaction/design/objects/geometry.d.ts +3 -0
- package/dist/types/runtime/interaction/design/objects/inline-relocation.d.ts +190 -0
- package/dist/types/runtime/interaction/design/objects/selection.d.ts +18 -0
- package/dist/types/runtime/interaction/design/objects/types.d.ts +80 -0
- package/dist/types/runtime/interaction/design/tables/EditorTableDesign.d.ts +78 -0
- package/dist/types/runtime/interaction/design/tables/pointer-selection.d.ts +14 -0
- package/dist/types/runtime/interaction/design/tables/regions/EditorTableRegions.d.ts +52 -0
- package/dist/types/runtime/interaction/design/tables/regions/definition.d.ts +8 -0
- package/dist/types/runtime/interaction/design/tables/regions/definitions.d.ts +27 -0
- package/dist/types/runtime/interaction/design/tables/regions/placement.d.ts +12 -0
- package/dist/types/runtime/interaction/design/tables/regions/types.d.ts +68 -0
- package/dist/types/runtime/interaction/design/tables/selection.d.ts +82 -0
- package/dist/types/runtime/interaction/design/tables/table-format.d.ts +24 -0
- package/dist/types/runtime/interaction/design/tables/types.d.ts +87 -0
- package/dist/types/runtime/interaction/design/types.d.ts +28 -0
- package/dist/types/runtime/interaction/design/widgets/EditorPageWidgets.d.ts +734 -0
- package/dist/types/runtime/interaction/design/widgets/types.d.ts +36 -0
- package/dist/types/runtime/interaction/editing-policy.d.ts +8 -0
- package/dist/types/runtime/interaction/editor-diagnostic.d.ts +10 -0
- package/dist/types/runtime/interaction/field-choice.d.ts +57 -0
- package/dist/types/runtime/interaction/field-commands.d.ts +11 -0
- package/dist/types/runtime/interaction/field-navigation.d.ts +5 -0
- package/dist/types/runtime/interaction/field-option-hit.d.ts +4 -0
- package/dist/types/runtime/interaction/field-signature.d.ts +41 -0
- package/dist/types/runtime/interaction/field-text.d.ts +34 -0
- package/dist/types/runtime/interaction/field-value-guard.d.ts +16 -0
- package/dist/types/runtime/interaction/index.d.ts +55 -0
- package/dist/types/runtime/interaction/selection-history.d.ts +16 -0
- package/dist/types/runtime/interaction/text/TextFlow.d.ts +133 -0
- package/dist/types/runtime/interaction/text/apply-text-edit.d.ts +7 -0
- package/dist/types/runtime/interaction/text/navigation.d.ts +17 -0
- package/dist/types/runtime/interaction/text/selection-state.d.ts +18 -0
- package/dist/types/runtime/interaction/text/types.d.ts +39 -0
- package/dist/types/runtime/interaction/types.d.ts +146 -0
- package/dist/types/runtime/interaction/validation/placements.d.ts +6 -0
- package/dist/types/runtime/interaction/validation/types.d.ts +28 -0
- package/dist/types/runtime/layout/attach-session-layout.d.ts +6 -0
- package/dist/types/runtime/layout/index.d.ts +3 -0
- package/dist/types/runtime/layout/types.d.ts +28 -0
- package/dist/types/runtime/presentation/NativeLayoutPresentation.d.ts +40 -0
- package/dist/types/runtime/presentation/async.d.ts +3 -0
- package/dist/types/runtime/presentation/attach-native-layout.d.ts +16 -0
- package/dist/types/runtime/presentation/fields/NativeFieldPresenter.d.ts +67 -0
- package/dist/types/runtime/presentation/fields/appearance.d.ts +20 -0
- package/dist/types/runtime/presentation/fields/attachment-icon.d.ts +2 -0
- package/dist/types/runtime/presentation/fields/signatures.d.ts +5 -0
- package/dist/types/runtime/presentation/fields/theme.d.ts +56 -0
- package/dist/types/runtime/presentation/index.d.ts +6 -0
- package/dist/types/runtime/presentation/seals/NativeSealPresenter.d.ts +32 -0
- package/dist/types/runtime/presentation/seals/geometry.d.ts +5 -0
- package/dist/types/runtime/presentation/seals/presentation.d.ts +5 -0
- package/dist/types/runtime/presentation/settle-data-layout.d.ts +11 -0
- package/dist/types/runtime/presentation/tables/AxisOccurrenceIndex.d.ts +29 -0
- package/dist/types/runtime/presentation/tables/NativeTableInstances.d.ts +43 -0
- package/dist/types/runtime/presentation/tables/TableGridProjector.d.ts +29 -0
- package/dist/types/runtime/presentation/tables/TableValueResolver.d.ts +40 -0
- package/dist/types/runtime/presentation/tables/material-cells.d.ts +4 -0
- package/dist/types/runtime/presentation/tables/row-occurrences.d.ts +25 -0
- package/dist/types/runtime/presentation/tables/table-axis.d.ts +5 -0
- package/dist/types/runtime/presentation/tables/types.d.ts +49 -0
- package/dist/types/runtime/presentation/types.d.ts +47 -0
- package/dist/types/runtime/presentation/widgets/NativeCodeEncoder.d.ts +21 -0
- package/dist/types/runtime/presentation/widgets/NativeCodeWidgets.d.ts +54 -0
- package/dist/types/runtime/presentation/widgets/NativePageWidgetPresenter.d.ts +86 -0
- package/dist/types/runtime/presentation/widgets/formula-input.d.ts +11 -0
- package/dist/types/runtime/presentation/widgets/time-difference.d.ts +8 -0
- package/dist/types/runtime/presentation/widgets/value.d.ts +15 -0
- package/dist/types/runtime/session/DocumentSession.d.ts +89 -0
- package/dist/types/runtime/session/ResourceScope.d.ts +12 -0
- package/dist/types/runtime/session/changes.d.ts +38 -0
- package/dist/types/runtime/session/handle.d.ts +12 -0
- package/dist/types/runtime/session/index.d.ts +8 -0
- package/dist/types/runtime/session/signals.d.ts +10 -0
- package/dist/types/runtime/session/tasks.d.ts +41 -0
- package/dist/types/runtime/session/types.d.ts +125 -0
- package/dist/types/runtime/session/versions.d.ts +10 -0
- package/dist/types/sdk/index.d.ts +9 -0
- package/dist/types/shared/async/abortable.d.ts +3 -0
- package/dist/types/shared/drawing.d.ts +76 -0
- package/dist/types/shared/form-config/communication/CommunicationIcon.vue.d.ts +24 -0
- package/dist/types/shared/form-config/communication/CommunicationPanel.vue.d.ts +16 -0
- package/dist/types/shared/form-config/communication/DeviceCommunicationDraft.vue.d.ts +16 -0
- package/dist/types/shared/form-config/communication/DeviceFieldMapping.vue.d.ts +17 -0
- package/dist/types/shared/form-config/communication/DeviceParameterCard.vue.d.ts +24 -0
- package/dist/types/shared/form-config/communication/DevicePickerDialog.vue.d.ts +11 -0
- package/dist/types/shared/form-config/communication/DeviceTemplateEditor.vue.d.ts +13 -0
- package/dist/types/shared/form-config/communication/OcrTemplateEditor.vue.d.ts +34 -0
- package/dist/types/shared/form-config/communication/templates.d.ts +10 -0
- package/dist/types/shared/form-config/communication/types.d.ts +81 -0
- package/dist/types/shared/form-config/data/context/BuiltinContextCard.vue.d.ts +7 -0
- package/dist/types/shared/form-config/data/context/options.d.ts +24 -0
- package/dist/types/shared/form-config/data/fills/FieldFillDialog.vue.d.ts +17 -0
- package/dist/types/shared/form-config/data/fills/FieldFills.vue.d.ts +32 -0
- package/dist/types/shared/form-config/data/fills/options.d.ts +39 -0
- package/dist/types/shared/form-config/data/objects/ObjectInitializationEditor.vue.d.ts +73 -0
- package/dist/types/shared/form-config/data/objects/ObjectInitializationList.vue.d.ts +30 -0
- package/dist/types/shared/form-config/data/objects/ObjectStockSettings.vue.d.ts +19 -0
- package/dist/types/shared/form-config/data/objects/types.d.ts +98 -0
- package/dist/types/shared/form-config/data/sources/analysis/index.d.ts +13 -0
- package/dist/types/shared/form-config/data/sources/components/DataSourceDrawer.vue.d.ts +19 -0
- package/dist/types/shared/form-config/data/sources/components/DataSourceList.vue.d.ts +32 -0
- package/dist/types/shared/form-config/data/sources/components/SourceConfigStep.vue.d.ts +13 -0
- package/dist/types/shared/form-config/data/sources/components/SourceFieldPicker.vue.d.ts +17 -0
- package/dist/types/shared/form-config/data/sources/components/SourceFieldTable.vue.d.ts +27 -0
- package/dist/types/shared/form-config/data/sources/components/SourceTypeTag.vue.d.ts +7 -0
- package/dist/types/shared/form-config/data/sources/options.d.ts +53 -0
- package/dist/types/shared/form-config/data/sources/ports.d.ts +35 -0
- package/dist/types/shared/form-config/data/sources/types.d.ts +125 -0
- package/dist/types/shared/form-config/data/sources/useDataSourceDraft.d.ts +97 -0
- package/dist/types/shared/form-config/data/sources/validation.d.ts +5 -0
- package/dist/types/shared/form-config/index.d.ts +20 -0
- package/dist/types/shared/platform-gct/communication.d.ts +67 -0
- package/dist/types/shared/platform-gct/data-sources.d.ts +24 -0
- package/dist/types/shared/platform-gct/fields/field-icons.d.ts +3 -0
- package/dist/types/shared/platform-gct/fields/field-types.d.ts +485 -0
- package/dist/types/shared/platform-gct/fields/form-models.d.ts +81 -0
- package/dist/types/shared/platform-gct/fields/index.d.ts +6 -0
- package/dist/types/shared/platform-gct/fields/options.d.ts +39 -0
- package/dist/types/shared/platform-gct/form-credentials.d.ts +35 -0
- package/dist/types/shared/platform-gct/form-instances.d.ts +68 -0
- package/dist/types/shared/platform-gct/notification.d.ts +15 -0
- package/dist/types/shared/platform-gct/record-values.d.ts +5 -0
- package/dist/types/shared/platform-gct/records.d.ts +49 -0
- package/dist/types/shared/platform-gct/templates.d.ts +70 -0
- package/dist/types/shared/platform-gct/vue/useGctDhrLicense.d.ts +26 -0
- package/dist/types/shared/table-borders.d.ts +8 -0
- package/dist/types/shared/text/tsv.d.ts +21 -0
- package/dist/types/shared/text/word-fonts.d.ts +4 -0
- package/dist/types/shared/ui/breadcrumb/src/breadcrumb-item.vue.d.ts +24 -0
- package/dist/types/shared/ui/breadcrumb/src/breadcrumb.vue.d.ts +8 -0
- package/dist/types/shared/ui/button/src/button.type.d.ts +9 -0
- package/dist/types/shared/ui/button/src/button.vue.d.ts +25 -0
- package/dist/types/shared/ui/calendar/src/calendar.vue.d.ts +32 -0
- package/dist/types/shared/ui/calendar/src/time.vue.d.ts +22 -0
- package/dist/types/shared/ui/calendar/src/utils/index.d.ts +32 -0
- package/dist/types/shared/ui/checkbox/src/checkbox-group.vue.d.ts +30 -0
- package/dist/types/shared/ui/checkbox/src/checkbox.vue.d.ts +28 -0
- package/dist/types/shared/ui/collapse/src/collapse.vue.d.ts +25 -0
- package/dist/types/shared/ui/color-picker/src/ColorPicker.vue.d.ts +37 -0
- package/dist/types/shared/ui/date-time-picker/src/DateTimePicker.vue.d.ts +36 -0
- package/dist/types/shared/ui/divider/src/divider.d.ts +7 -0
- package/dist/types/shared/ui/divider/src/divider.vue.d.ts +13 -0
- package/dist/types/shared/ui/dropdown/src/dropdown-basic-select.vue.d.ts +93 -0
- package/dist/types/shared/ui/dropdown/src/dropdown-group-select.vue.d.ts +29 -0
- package/dist/types/shared/ui/dropdown/src/dropdown.vue.d.ts +4 -0
- package/dist/types/shared/ui/dropdown/src/types/index.d.ts +38 -0
- package/dist/types/shared/ui/empty/src/empty.vue.d.ts +10 -0
- package/dist/types/shared/ui/form-item/src/form-item.vue.d.ts +36 -0
- package/dist/types/shared/ui/icon/src/icon.vue.d.ts +25 -0
- package/dist/types/shared/ui/icons/color.d.ts +4 -0
- package/dist/types/shared/ui/image-viewer/index.d.ts +17 -0
- package/dist/types/shared/ui/index.d.ts +31 -0
- package/dist/types/shared/ui/input/src/input-number.vue.d.ts +72 -0
- package/dist/types/shared/ui/input/src/input.vue.d.ts +71 -0
- package/dist/types/shared/ui/input/src/text-area.vue.d.ts +59 -0
- package/dist/types/shared/ui/input/src/types/index.d.ts +55 -0
- package/dist/types/shared/ui/layout/src/layout.vue.d.ts +21 -0
- package/dist/types/shared/ui/loading/src/loading.vue.d.ts +3 -0
- package/dist/types/shared/ui/message/src/Message.vue.d.ts +23 -0
- package/dist/types/shared/ui/message/src/message.d.ts +19 -0
- package/dist/types/shared/ui/modal/index.d.ts +4 -0
- package/dist/types/shared/ui/modal/src/ConfirmTip.vue.d.ts +6 -0
- package/dist/types/shared/ui/modal/src/DialogActionButton.vue.d.ts +30 -0
- package/dist/types/shared/ui/modal/src/DialogActionIcon.vue.d.ts +12 -0
- package/dist/types/shared/ui/modal/src/ModalRoot.vue.d.ts +25 -0
- package/dist/types/shared/ui/modal/src/index.d.ts +8 -0
- package/dist/types/shared/ui/modal/src/modal.type.d.ts +57 -0
- package/dist/types/shared/ui/radio/src/radio-group.vue.d.ts +31 -0
- package/dist/types/shared/ui/radio/src/radio.vue.d.ts +28 -0
- package/dist/types/shared/ui/scrollbar/src/bar.d.ts +28 -0
- package/dist/types/shared/ui/scrollbar/src/scrollbar.vue.d.ts +104 -0
- package/dist/types/shared/ui/scrollbar/src/types.d.ts +3 -0
- package/dist/types/shared/ui/scrollbar/src/util.d.ts +23 -0
- package/dist/types/shared/ui/segment-slider/src/segment-slider.vue.d.ts +44 -0
- package/dist/types/shared/ui/select/index.d.ts +3 -0
- package/dist/types/shared/ui/select/src/measure-select-columns.d.ts +2 -0
- package/dist/types/shared/ui/select/src/select-control.vue.d.ts +71 -0
- package/dist/types/shared/ui/select/src/select-option-label.vue.d.ts +20 -0
- package/dist/types/shared/ui/select/src/select-page-footer.vue.d.ts +17 -0
- package/dist/types/shared/ui/select/src/select-surface.vue.d.ts +26 -0
- package/dist/types/shared/ui/select/src/select.types.d.ts +96 -0
- package/dist/types/shared/ui/select/src/unified-select.vue.d.ts +68 -0
- package/dist/types/shared/ui/select/src/use-select-columns.d.ts +22 -0
- package/dist/types/shared/ui/select/src/use-select-pages.d.ts +30 -0
- package/dist/types/shared/ui/slider/src/slider.vue.d.ts +22 -0
- package/dist/types/shared/ui/switch/src/switch.vue.d.ts +18 -0
- package/dist/types/shared/ui/table/index.d.ts +2 -0
- package/dist/types/shared/ui/table/src/table.type.d.ts +24 -0
- package/dist/types/shared/ui/table/src/table.vue.d.ts +51 -0
- package/dist/types/shared/ui/table-select/index.d.ts +3 -0
- package/dist/types/shared/ui/table-select/src/table-select-pagination.vue.d.ts +19 -0
- package/dist/types/shared/ui/table-select/src/types.d.ts +30 -0
- package/dist/types/shared/ui/table-select/src/unified-table-select.vue.d.ts +64 -0
- package/dist/types/shared/ui/tooltip/src/tooltip.vue.d.ts +4 -0
- package/dist/types/shared/ui/tree/index.d.ts +2 -0
- package/dist/types/shared/ui/tree/src/tree-node.vue.d.ts +15 -0
- package/dist/types/shared/ui/tree/src/tree.vue.d.ts +19 -0
- package/dist/types/shared/ui/tree-select/index.d.ts +2 -0
- package/dist/types/shared/ui/tree-select/src/filter-tree-select-nodes.d.ts +5 -0
- package/dist/types/shared/ui/tree-select/src/types.d.ts +32 -0
- package/dist/types/shared/ui/tree-select/src/unified-tree-select.vue.d.ts +149 -0
- package/dist/types/shared/ui/utils/event-util.d.ts +4 -0
- package/dist/types/shared/ui/utils/search-match-text.vue.d.ts +7 -0
- package/dist/vue.js +44576 -0
- package/dist/vue.js.map +1 -0
- package/package.json +82 -95
- package/LICENSE +0 -9
- package/dist/assets/svgs/table/index.d.ts +0 -37
- package/dist/assets/svgs/toolkit/index.d.ts +0 -10
- package/dist/assets/theme/field-state.d.ts +0 -74
- package/dist/assets/theme/index.d.ts +0 -1
- package/dist/base/avatar/index.d.ts +0 -1
- package/dist/base/avatar/src/Avatar.vue.d.ts +0 -9
- package/dist/base/avatar/src/utils/useFile.d.ts +0 -3
- package/dist/base/breadcrumb/src/breadcrumb-item.vue.d.ts +0 -26
- package/dist/base/breadcrumb/src/breadcrumb.vue.d.ts +0 -7
- package/dist/base/button/src/button.type.d.ts +0 -9
- package/dist/base/button/src/button.vue.d.ts +0 -26
- package/dist/base/calendar/src/calendar.vue.d.ts +0 -24
- package/dist/base/calendar/src/time.vue.d.ts +0 -19
- package/dist/base/calendar/src/utils/index.d.ts +0 -25
- package/dist/base/checkbox/src/checkbox-group.vue.d.ts +0 -32
- package/dist/base/checkbox/src/checkbox.vue.d.ts +0 -30
- package/dist/base/collapse/src/collapse.vue.d.ts +0 -30
- package/dist/base/color-picker/src/ColorPicker.vue.d.ts +0 -88
- package/dist/base/date-time-picker/src/DateTimePicker.vue.d.ts +0 -27
- package/dist/base/divider/src/divider.d.ts +0 -7
- package/dist/base/divider/src/divider.vue.d.ts +0 -19
- package/dist/base/dropdown/src/dropdown-basic-select.vue.d.ts +0 -100
- package/dist/base/dropdown/src/dropdown-group-select.vue.d.ts +0 -45
- package/dist/base/dropdown/src/dropdown.vue.d.ts +0 -2
- package/dist/base/empty/src/empty.vue.d.ts +0 -9
- package/dist/base/form-item/src/form-item.vue.d.ts +0 -35
- package/dist/base/icon/src/icon.vue.d.ts +0 -12
- package/dist/base/image-upload/index.d.ts +0 -1
- package/dist/base/image-upload/src/image-upload.type.d.ts +0 -8
- package/dist/base/image-upload/src/image-upload.vue.d.ts +0 -16
- package/dist/base/index.d.ts +0 -31
- package/dist/base/input/src/input-number.vue.d.ts +0 -62
- package/dist/base/input/src/input.vue.d.ts +0 -76
- package/dist/base/input/src/text-area.vue.d.ts +0 -65
- package/dist/base/layout/src/layout.vue.d.ts +0 -23
- package/dist/base/loading/src/loading.vue.d.ts +0 -2
- package/dist/base/message/src/Message.vue.d.ts +0 -18
- package/dist/base/message/src/message.d.ts +0 -15
- package/dist/base/modal/index.d.ts +0 -2
- package/dist/base/modal/src/ConfirmTip.vue.d.ts +0 -5
- package/dist/base/modal/src/ModalRoot.vue.d.ts +0 -25
- package/dist/base/modal/src/index.d.ts +0 -6
- package/dist/base/modal/src/modal.type.d.ts +0 -45
- package/dist/base/radio/src/radio-group.vue.d.ts +0 -33
- package/dist/base/radio/src/radio.vue.d.ts +0 -28
- package/dist/base/rdo-tree-select/index.d.ts +0 -3
- package/dist/base/rdo-tree-select/src/display.d.ts +0 -12
- package/dist/base/rdo-tree-select/src/rdo-tree-select-more.vue.d.ts +0 -15
- package/dist/base/rdo-tree-select/src/rdo-tree-select-node.vue.d.ts +0 -17
- package/dist/base/rdo-tree-select/src/rdo-tree-select-panel.vue.d.ts +0 -25
- package/dist/base/rdo-tree-select/src/rdo-tree-select.vue.d.ts +0 -47
- package/dist/base/rdo-tree-select/src/types.d.ts +0 -23
- package/dist/base/rdo-tree-select/src/use-rdo-tree-options.d.ts +0 -59
- package/dist/base/scrollbar/src/bar.d.ts +0 -14
- package/dist/base/scrollbar/src/scrollbar.vue.d.ts +0 -92
- package/dist/base/scrollbar/src/util.d.ts +0 -8
- package/dist/base/segment-slider/src/segment-slider.vue.d.ts +0 -29
- package/dist/base/select/index.d.ts +0 -2
- package/dist/base/select/src/basic-select.vue.d.ts +0 -122
- package/dist/base/select/src/searchable-select.vue.d.ts +0 -55
- package/dist/base/slider/src/slider.vue.d.ts +0 -22
- package/dist/base/switch/src/switch.vue.d.ts +0 -17
- package/dist/base/table/index.d.ts +0 -1
- package/dist/base/table/src/table.type.d.ts +0 -19
- package/dist/base/table/src/table.vue.d.ts +0 -48
- package/dist/base/time-picker/index.d.ts +0 -1
- package/dist/base/time-picker/src/TimePicker.vue.d.ts +0 -29
- package/dist/base/tooltip/src/tooltip.vue.d.ts +0 -2
- package/dist/base/tree/index.d.ts +0 -1
- package/dist/base/tree/src/tree-node.vue.d.ts +0 -14
- package/dist/base/tree/src/tree.vue.d.ts +0 -18
- package/dist/base/tree-select/index.d.ts +0 -1
- package/dist/base/tree-select/src/tree-select.vue.d.ts +0 -45
- package/dist/base/utils/asset-helper-util.d.ts +0 -68
- package/dist/base/utils/dom-util.d.ts +0 -35
- package/dist/base/utils/event-util.d.ts +0 -3
- package/dist/base/utils/image-size-util.d.ts +0 -49
- package/dist/capabilities/base/BaseRegistry.d.ts +0 -36
- package/dist/capabilities/base/BaseService.d.ts +0 -19
- package/dist/capabilities/component-registry/index.d.ts +0 -3
- package/dist/capabilities/component-registry/registry.d.ts +0 -8
- package/dist/capabilities/component-registry/service.d.ts +0 -8
- package/dist/capabilities/component-registry/types.d.ts +0 -4
- package/dist/capabilities/field-manifest/index.d.ts +0 -3
- package/dist/capabilities/field-manifest/registry.d.ts +0 -7
- package/dist/capabilities/field-manifest/service.d.ts +0 -10
- package/dist/capabilities/field-manifest/types.d.ts +0 -31
- package/dist/capabilities/model-field-runtime/engine/FieldEngine.d.ts +0 -14
- package/dist/capabilities/model-field-runtime/index.d.ts +0 -7
- package/dist/capabilities/model-field-runtime/provider/FieldProviderBase.d.ts +0 -15
- package/dist/capabilities/model-field-runtime/provider/FieldProviderRuntime.d.ts +0 -24
- package/dist/capabilities/model-field-runtime/provider/ModelProviderBase.d.ts +0 -21
- package/dist/capabilities/model-field-runtime/registry/FieldRegistry.d.ts +0 -9
- package/dist/capabilities/model-field-runtime/registry/ModelRegistry.d.ts +0 -9
- package/dist/capabilities/model-field-runtime/runtime/FieldScope.d.ts +0 -21
- package/dist/capabilities/model-field-runtime/service/FieldService.d.ts +0 -21
- package/dist/capabilities/model-field-runtime/service/ModelService.d.ts +0 -12
- package/dist/capabilities/model-field-runtime/types/field.d.ts +0 -52
- package/dist/capabilities/model-field-runtime/types/instance.d.ts +0 -31
- package/dist/capabilities/model-field-runtime/types/model.d.ts +0 -17
- package/dist/capabilities/model-field-runtime/types/paper-widget.d.ts +0 -10
- package/dist/capabilities/panel/config/registry.d.ts +0 -7
- package/dist/capabilities/panel/config/service.d.ts +0 -6
- package/dist/capabilities/panel/config/types.d.ts +0 -10
- package/dist/capabilities/panel/router/registry.d.ts +0 -8
- package/dist/capabilities/panel/router/service.d.ts +0 -8
- package/dist/capabilities/panel/router/types.d.ts +0 -8
- package/dist/capabilities/panel/schema/registry.d.ts +0 -7
- package/dist/capabilities/panel/schema/service.d.ts +0 -6
- package/dist/capabilities/panel/schema/types.d.ts +0 -24
- package/dist/capabilities/paper-widget-manifest/index.d.ts +0 -3
- package/dist/capabilities/paper-widget-manifest/registry.d.ts +0 -7
- package/dist/capabilities/paper-widget-manifest/service.d.ts +0 -9
- package/dist/capabilities/paper-widget-manifest/types.d.ts +0 -31
- package/dist/capabilities/utils/index.d.ts +0 -1
- package/dist/core/command/CommandManager.d.ts +0 -21
- package/dist/core/command/InputComposition.d.ts +0 -22
- package/dist/core/command/base/CommandBase.d.ts +0 -217
- package/dist/core/command/base/SetStyleBase.d.ts +0 -45
- package/dist/core/command/commandMapBuilder.d.ts +0 -7
- package/dist/core/command/commands/Backspace.d.ts +0 -60
- package/dist/core/command/commands/CommitValidateNumber.d.ts +0 -10
- package/dist/core/command/commands/Delete.d.ts +0 -57
- package/dist/core/command/commands/DeleteBoundedItem.d.ts +0 -12
- package/dist/core/command/commands/DeleteCol.d.ts +0 -12
- package/dist/core/command/commands/DeleteDataGroup2D.d.ts +0 -12
- package/dist/core/command/commands/DeleteRow.d.ts +0 -12
- package/dist/core/command/commands/DeleteSubTable.d.ts +0 -10
- package/dist/core/command/commands/DeleteTable.d.ts +0 -11
- package/dist/core/command/commands/DeleteTableHeader.d.ts +0 -12
- package/dist/core/command/commands/Enter.d.ts +0 -9
- package/dist/core/command/commands/InsertCol.d.ts +0 -17
- package/dist/core/command/commands/InsertField.d.ts +0 -69
- package/dist/core/command/commands/InsertFloatingOverlay.d.ts +0 -9
- package/dist/core/command/commands/InsertImage.d.ts +0 -24
- package/dist/core/command/commands/InsertPaperWidget.d.ts +0 -19
- package/dist/core/command/commands/InsertRow.d.ts +0 -17
- package/dist/core/command/commands/InsertTable.d.ts +0 -13
- package/dist/core/command/commands/InsertText.d.ts +0 -15
- package/dist/core/command/commands/MergeCells.d.ts +0 -18
- package/dist/core/command/commands/ResizeCol.d.ts +0 -7
- package/dist/core/command/commands/ResizeImage.d.ts +0 -7
- package/dist/core/command/commands/ResizeOverlayLayout.d.ts +0 -7
- package/dist/core/command/commands/ResizeRow.d.ts +0 -7
- package/dist/core/command/commands/Set2DTable.d.ts +0 -7
- package/dist/core/command/commands/SetAlign.d.ts +0 -18
- package/dist/core/command/commands/SetBold.d.ts +0 -12
- package/dist/core/command/commands/SetBounded.d.ts +0 -7
- package/dist/core/command/commands/SetBoundedItem.d.ts +0 -23
- package/dist/core/command/commands/SetCheckTable.d.ts +0 -7
- package/dist/core/command/commands/SetColor.d.ts +0 -11
- package/dist/core/command/commands/SetDataGroup2D.d.ts +0 -17
- package/dist/core/command/commands/SetFont.d.ts +0 -12
- package/dist/core/command/commands/SetFontSize.d.ts +0 -11
- package/dist/core/command/commands/SetHeaderFooterConfig.d.ts +0 -11
- package/dist/core/command/commands/SetHighlight.d.ts +0 -11
- package/dist/core/command/commands/SetItalic.d.ts +0 -11
- package/dist/core/command/commands/SetMaterialConsumeTable.d.ts +0 -7
- package/dist/core/command/commands/SetOrient.d.ts +0 -10
- package/dist/core/command/commands/SetPadding.d.ts +0 -10
- package/dist/core/command/commands/SetRepeating.d.ts +0 -7
- package/dist/core/command/commands/SetStrike.d.ts +0 -11
- package/dist/core/command/commands/SetSubTableHeader.d.ts +0 -8
- package/dist/core/command/commands/SetTableBorder.d.ts +0 -14
- package/dist/core/command/commands/SetTableHeader.d.ts +0 -7
- package/dist/core/command/commands/SetUnderline.d.ts +0 -11
- package/dist/core/command/commands/SetWsecSize.d.ts +0 -10
- package/dist/core/command/commands/Snapshot.d.ts +0 -12
- package/dist/core/command/commands/UnmergeCells.d.ts +0 -22
- package/dist/core/command/types.d.ts +0 -275
- package/dist/core/constants/common.d.ts +0 -1
- package/dist/core/constants/component.d.ts +0 -27
- package/dist/core/constants/doc-mode.d.ts +0 -10
- package/dist/core/constants/index.d.ts +0 -5
- package/dist/core/constants/paper.d.ts +0 -37
- package/dist/core/constants/table.d.ts +0 -11
- package/dist/core/cursor/CursorController.d.ts +0 -71
- package/dist/core/cursor/CursorManager.d.ts +0 -46
- package/dist/core/cursor/composables/useCursorSelection.d.ts +0 -88
- package/dist/core/cursor/hit/HitHandlerRegistry.d.ts +0 -19
- package/dist/core/cursor/hit/InlineImageHitHandler.d.ts +0 -6
- package/dist/core/cursor/hit/OverlayLayoutHitHandler.d.ts +0 -9
- package/dist/core/cursor/hit/PageHitHandler.d.ts +0 -9
- package/dist/core/cursor/hit/ParagraphHitHandler.d.ts +0 -9
- package/dist/core/cursor/hit/TableCellHitHandler.d.ts +0 -9
- package/dist/core/cursor/hit/TextHitHandler.d.ts +0 -7
- package/dist/core/cursor/hit/index.d.ts +0 -2
- package/dist/core/cursor/hit/types.d.ts +0 -55
- package/dist/core/cursor/layout/baseMeta.d.ts +0 -15
- package/dist/core/cursor/layout/intervals.d.ts +0 -25
- package/dist/core/cursor/layout/textOffsets.d.ts +0 -13
- package/dist/core/cursor/logic/getCursorCoords.d.ts +0 -10
- package/dist/core/cursor/logic/getCursorTextRawList.d.ts +0 -2
- package/dist/core/cursor/logic/getSelectionRects.d.ts +0 -19
- package/dist/core/cursor/logic/index.d.ts +0 -22
- package/dist/core/cursor/logic/layoutNavigation.d.ts +0 -28
- package/dist/core/cursor/logic/resolveCursorState.d.ts +0 -24
- package/dist/core/cursor/logic/selectionAnalyzer.d.ts +0 -48
- package/dist/core/cursor/movement/MovementRegistry.d.ts +0 -20
- package/dist/core/cursor/movement/index.d.ts +0 -4
- package/dist/core/cursor/movement/types.d.ts +0 -11
- package/dist/core/cursor/render/cursor-overlay.vue.d.ts +0 -2
- package/dist/core/cursor/render/cursor-renderer.vue.d.ts +0 -18
- package/dist/core/cursor/render/hidden-input.vue.d.ts +0 -21
- package/dist/core/cursor/render/selection-renderer.vue.d.ts +0 -14
- package/dist/core/cursor/session/CursorDragSession.d.ts +0 -28
- package/dist/core/cursor/types/cursor.d.ts +0 -52
- package/dist/core/data/DataManager.d.ts +0 -402
- package/dist/core/data/enrichers/build-field-enrichers.d.ts +0 -16
- package/dist/core/data/enrichers/companion-enricher.d.ts +0 -26
- package/dist/core/data/enrichers/enrich-design-defaults.d.ts +0 -19
- package/dist/core/data/enrichers/enrich-utils.d.ts +0 -6
- package/dist/core/data/enrichers/hydrate-utils.d.ts +0 -6
- package/dist/core/data/enrichers/hyperlink-enricher.d.ts +0 -14
- package/dist/core/data/enrichers/id-enricher.d.ts +0 -9
- package/dist/core/data/enrichers/label-enricher.d.ts +0 -25
- package/dist/core/data/enrichers/label-resolve.d.ts +0 -40
- package/dist/core/data/enrichers/lot-parent-label-enricher.d.ts +0 -12
- package/dist/core/data/enrichers/of-inst-num-enricher.d.ts +0 -23
- package/dist/core/data/enrichers/operation-receive-qty-enricher.d.ts +0 -19
- package/dist/core/data/enrichers/received-qty-enricher.d.ts +0 -4
- package/dist/core/data/enrichers/static-label-enrichers.d.ts +0 -9
- package/dist/core/data/formula/calculate-formula.d.ts +0 -5
- package/dist/core/data/index.d.ts +0 -11
- package/dist/core/data/initialization.d.ts +0 -26
- package/dist/core/data/paths/field-paths.d.ts +0 -20
- package/dist/core/data/paths/path-templates.d.ts +0 -2
- package/dist/core/data/paths/subtable-path.d.ts +0 -44
- package/dist/core/data/post-change-pipeline.d.ts +0 -37
- package/dist/core/data/submit/form-state.d.ts +0 -29
- package/dist/core/data/subtable/row.d.ts +0 -27
- package/dist/core/data/types/change.d.ts +0 -17
- package/dist/core/data/types/enricher.d.ts +0 -13
- package/dist/core/data/types/index.d.ts +0 -4
- package/dist/core/data/types/pipeline.d.ts +0 -23
- package/dist/core/data/types/runtime-config.d.ts +0 -10
- package/dist/core/data/updates/field-updates.d.ts +0 -32
- package/dist/core/event/DocumentEventBridge.d.ts +0 -58
- package/dist/core/event/EventBus.d.ts +0 -8
- package/dist/core/event/EventManager.d.ts +0 -37
- package/dist/core/event/Transaction.d.ts +0 -11
- package/dist/core/event/handlers/IMEHandler.d.ts +0 -22
- package/dist/core/event/handlers/InteractionHandler.d.ts +0 -18
- package/dist/core/event/handlers/KonvaHandler.d.ts +0 -21
- package/dist/core/event/handlers/TouchHandler.example.d.ts +0 -24
- package/dist/core/event/handlers/index.d.ts +0 -3
- package/dist/core/event/types.d.ts +0 -68
- package/dist/core/index.d.ts +0 -35
- package/dist/core/interaction/InteractionController.d.ts +0 -78
- package/dist/core/interaction/InteractionManager.d.ts +0 -23
- package/dist/core/interaction/InteractionPolicy.d.ts +0 -23
- package/dist/core/interaction/types.d.ts +0 -57
- package/dist/core/interaction/useInteraction.d.ts +0 -67
- package/dist/core/layout/LayoutContext.d.ts +0 -62
- package/dist/core/layout/LayoutManager.d.ts +0 -44
- package/dist/core/layout/LayoutMapper.d.ts +0 -96
- package/dist/core/layout/attach-field/AttachFieldContext.d.ts +0 -59
- package/dist/core/layout/attach-field/index.d.ts +0 -2
- package/dist/core/layout/attach-field/types.d.ts +0 -20
- package/dist/core/layout/handlers/FieldHandler.d.ts +0 -7
- package/dist/core/layout/handlers/InlineImageLayoutHandler.d.ts +0 -10
- package/dist/core/layout/handlers/PageWidgetHandler.d.ts +0 -5
- package/dist/core/layout/handlers/RunHandlerBase.d.ts +0 -13
- package/dist/core/layout/handlers/TextHandler.d.ts +0 -17
- package/dist/core/layout/handlers/fields/AttachFieldHandler.d.ts +0 -10
- package/dist/core/layout/handlers/fields/AttachmentHandler.d.ts +0 -12
- package/dist/core/layout/handlers/fields/FieldBaseHandler.d.ts +0 -103
- package/dist/core/layout/handlers/fields/FieldImageHandler.d.ts +0 -27
- package/dist/core/layout/handlers/fields/InputHandler.d.ts +0 -6
- package/dist/core/layout/handlers/fields/OptionHandler.d.ts +0 -18
- package/dist/core/layout/handlers/fields/SignatureHandler.d.ts +0 -25
- package/dist/core/layout/handlers/fields/index.d.ts +0 -7
- package/dist/core/layout/handlers/fields/signature-decoration-layout.d.ts +0 -14
- package/dist/core/layout/handlers/index.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/BarcodeHandler.d.ts +0 -11
- package/dist/core/layout/handlers/pageWidgets/DefaultHandler.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/DiagonalHandler.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/LineHandler.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/PageWidgetImageHandler.d.ts +0 -5
- package/dist/core/layout/handlers/pageWidgets/PaginationHandler.d.ts +0 -7
- package/dist/core/layout/handlers/pageWidgets/QrCodeHandler.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/SerialNumberHandler.d.ts +0 -4
- package/dist/core/layout/handlers/pageWidgets/TimeDiffHandler.d.ts +0 -17
- package/dist/core/layout/handlers/pageWidgets/WidgetBaseHandler.d.ts +0 -19
- package/dist/core/layout/handlers/pageWidgets/index.d.ts +0 -9
- package/dist/core/layout/image/adaptive-image-cell.d.ts +0 -47
- package/dist/core/layout/logic/LayoutBuilder.d.ts +0 -36
- package/dist/core/layout/logic/LayoutGeometry.d.ts +0 -16
- package/dist/core/layout/logic/ModelBuilder.d.ts +0 -2
- package/dist/core/layout/providers/TableInfoProvider.d.ts +0 -30
- package/dist/core/layout/providers/index.d.ts +0 -4
- package/dist/core/layout/shared/helpers.d.ts +0 -27
- package/dist/core/layout/shared/unit-converter.d.ts +0 -206
- package/dist/core/layout/table/link-sub-table-layout.d.ts +0 -27
- package/dist/core/layout/table/split-table.d.ts +0 -144
- package/dist/core/layout/table/table-expand.d.ts +0 -143
- package/dist/core/layout/types/index.d.ts +0 -147
- package/dist/core/model/DocModel.d.ts +0 -88
- package/dist/core/model/base/ModelGroup.d.ts +0 -116
- package/dist/core/model/base/ModelNode.d.ts +0 -70
- package/dist/core/model/base/RefManager.d.ts +0 -50
- package/dist/core/model/base/index.d.ts +0 -3
- package/dist/core/model/capability/index.d.ts +0 -11
- package/dist/core/model/document/Wbackground.d.ts +0 -22
- package/dist/core/model/document/Wbody.d.ts +0 -39
- package/dist/core/model/document/Wdocument.d.ts +0 -40
- package/dist/core/model/document/Wp.d.ts +0 -72
- package/dist/core/model/document/WpPr.d.ts +0 -113
- package/dist/core/model/document/WrField.d.ts +0 -8
- package/dist/core/model/document/WrImage.d.ts +0 -73
- package/dist/core/model/document/WrPageWidget.d.ts +0 -8
- package/dist/core/model/document/WrPr.d.ts +0 -117
- package/dist/core/model/document/WrText.d.ts +0 -139
- package/dist/core/model/document/WsecPr.d.ts +0 -193
- package/dist/core/model/document/Wtbl/Calculation.d.ts +0 -45
- package/dist/core/model/document/Wtbl/CellIterator.d.ts +0 -18
- package/dist/core/model/document/Wtbl/RegionManager.d.ts +0 -77
- package/dist/core/model/document/Wtbl/RowColumnOps.d.ts +0 -94
- package/dist/core/model/document/Wtbl/Serialization.d.ts +0 -57
- package/dist/core/model/document/Wtbl.d.ts +0 -134
- package/dist/core/model/document/WtblPr.d.ts +0 -73
- package/dist/core/model/document/Wtc.d.ts +0 -184
- package/dist/core/model/document/Wtr.d.ts +0 -47
- package/dist/core/model/document/WtrPr.d.ts +0 -67
- package/dist/core/model/document/index.d.ts +0 -16
- package/dist/core/model/document/resolvers/ParagraphStyleResolver.d.ts +0 -48
- package/dist/core/model/document/resolvers/TextStyleResolver.d.ts +0 -50
- package/dist/core/model/document/resolvers/index.d.ts +0 -2
- package/dist/core/model/document/utils/ensure-paragraphs-around-tables.d.ts +0 -18
- package/dist/core/model/document/wtcRegionRef.d.ts +0 -63
- package/dist/core/model/font-usage.d.ts +0 -22
- package/dist/core/model/footers/Wfooter.d.ts +0 -46
- package/dist/core/model/footers/Wfooters.d.ts +0 -42
- package/dist/core/model/headers/Wheader.d.ts +0 -46
- package/dist/core/model/headers/Wheaders.d.ts +0 -45
- package/dist/core/model/helpers.d.ts +0 -36
- package/dist/core/model/images/Wimages.d.ts +0 -79
- package/dist/core/model/images/index.d.ts +0 -2
- package/dist/core/model/index.d.ts +0 -20
- package/dist/core/model/logic/base/Region.d.ts +0 -31
- package/dist/core/model/logic/header/SubTableHeaderRegion.d.ts +0 -19
- package/dist/core/model/logic/header/TableHeaderRegion.d.ts +0 -16
- package/dist/core/model/logic/index.d.ts +0 -20
- package/dist/core/model/logic/subtable/bounded/BoundedItemRegion.d.ts +0 -15
- package/dist/core/model/logic/subtable/bounded/BoundedRegion.d.ts +0 -48
- package/dist/core/model/logic/subtable/link/CheckTableRegion.d.ts +0 -11
- package/dist/core/model/logic/subtable/link/DataGroup2DRegion.d.ts +0 -15
- package/dist/core/model/logic/subtable/link/LinkSubTableRegion.d.ts +0 -48
- package/dist/core/model/logic/subtable/link/_2DTableRegion.d.ts +0 -11
- package/dist/core/model/logic/subtable/repeating/MaterialConsumeTableRegion.d.ts +0 -44
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +0 -98
- package/dist/core/model/logic/subtable/shared/dataGroupSlotCount.d.ts +0 -18
- package/dist/core/model/logic/subtable/shared/itemRegionOps.d.ts +0 -11
- package/dist/core/model/logic/subtable/shared/merged-table-range.d.ts +0 -4
- package/dist/core/model/logic/subtable/shared/regionValuePath.d.ts +0 -8
- package/dist/core/model/logic/types.d.ts +0 -11
- package/dist/core/model/overlays/Wlayout.d.ts +0 -70
- package/dist/core/model/overlays/Woverlay.d.ts +0 -41
- package/dist/core/model/overlays/Woverlays.d.ts +0 -45
- package/dist/core/model/settings/Wsettings.d.ts +0 -47
- package/dist/core/model/styles/WdocDefaults.d.ts +0 -23
- package/dist/core/model/styles/WparagraphProperties.d.ts +0 -42
- package/dist/core/model/styles/WrunProperties.d.ts +0 -43
- package/dist/core/model/styles/WstyleDefinition.d.ts +0 -38
- package/dist/core/model/styles/Wstyles.d.ts +0 -52
- package/dist/core/model/styles/index.d.ts +0 -5
- package/dist/core/model/templates/footer.template.d.ts +0 -75
- package/dist/core/model/templates/header.template.d.ts +0 -75
- package/dist/core/model/templates/image.template.d.ts +0 -259
- package/dist/core/model/templates/layout.template.d.ts +0 -66
- package/dist/core/model/templates/overlay.template.d.ts +0 -22
- package/dist/core/model/templates/paragraph.template.d.ts +0 -46
- package/dist/core/model/templates/table.template.d.ts +0 -66
- package/dist/core/model/templates/tableCell.template.d.ts +0 -44
- package/dist/core/model/templates/tableRow.template.d.ts +0 -13
- package/dist/core/model/templates/trPr.template.d.ts +0 -19
- package/dist/core/model/types/element.d.ts +0 -11
- package/dist/core/model/types/index.d.ts +0 -4
- package/dist/core/model/types/raw.d.ts +0 -20
- package/dist/core/model/types/region.d.ts +0 -12
- package/dist/core/model/types/style.d.ts +0 -57
- package/dist/core/model/types/table-border.d.ts +0 -18
- package/dist/core/table/border-selection.d.ts +0 -9
- package/dist/core/table/borders.d.ts +0 -42
- package/dist/core/view/Doc.d.ts +0 -155
- package/dist/core/view/Page.d.ts +0 -73
- package/dist/core/view/Paragraph.d.ts +0 -55
- package/dist/core/view/Section.d.ts +0 -74
- package/dist/core/view/Table.d.ts +0 -46
- package/dist/core/view/TableCell.d.ts +0 -60
- package/dist/core/view/TableRow.d.ts +0 -26
- package/dist/core/view/base/BandContainer.d.ts +0 -49
- package/dist/core/view/base/LayoutGroup.d.ts +0 -122
- package/dist/core/view/base/LayoutNode.d.ts +0 -77
- package/dist/core/view/base/OverlayContainer.d.ts +0 -31
- package/dist/core/view/base/OverlayLayout.d.ts +0 -19
- package/dist/core/view/base/index.d.ts +0 -4
- package/dist/core/view/context/DocPubApiContext.d.ts +0 -20
- package/dist/core/view/runs/ImageRun.d.ts +0 -60
- package/dist/core/view/runs/ImageWidget.d.ts +0 -40
- package/dist/core/view/runs/TextRun.d.ts +0 -140
- package/dist/core/view/runs/TextWidget.d.ts +0 -59
- package/dist/core/view/types/index.d.ts +0 -26
- package/dist/core/view/types/layout-node-by-component.d.ts +0 -38
- package/dist/core/view/utils/EventUtil.d.ts +0 -22
- package/dist/core/view/utils/TextUtil.d.ts +0 -122
- package/dist/core/widget/hyperlink.d.ts +0 -12
- package/dist/core/widget/index.d.ts +0 -5
- package/dist/core/widget/state.d.ts +0 -61
- package/dist/core/widget/types.d.ts +0 -190
- package/dist/domain/active/active-types.d.ts +0 -80
- package/dist/domain/constants/enum/device.d.ts +0 -26
- package/dist/domain/constants/enum/form.d.ts +0 -56
- package/dist/domain/constants/enum/image.d.ts +0 -15
- package/dist/domain/constants/enum/index.d.ts +0 -9
- package/dist/domain/constants/enum/lot.d.ts +0 -16
- package/dist/domain/constants/enum/product.d.ts +0 -9
- package/dist/domain/constants/enum/production-identification.d.ts +0 -19
- package/dist/domain/constants/enum/signature.d.ts +0 -44
- package/dist/domain/constants/enum/view.d.ts +0 -91
- package/dist/domain/constants/enum/widget.d.ts +0 -60
- package/dist/domain/constants/options.d.ts +0 -35
- package/dist/domain/device/device-query.d.ts +0 -10
- package/dist/domain/field/attach-field.d.ts +0 -15
- package/dist/domain/field/field-props-schema-type.d.ts +0 -94
- package/dist/domain/field/field-type.d.ts +0 -782
- package/dist/domain/field/form-value.d.ts +0 -98
- package/dist/domain/field/index.d.ts +0 -1
- package/dist/domain/field/lot-display-label.d.ts +0 -2
- package/dist/domain/field/option-spacing.d.ts +0 -8
- package/dist/domain/model/model-type.d.ts +0 -16
- package/dist/domain/object/date-object/index.d.ts +0 -4
- package/dist/domain/object/date-object/profile/field-keys.d.ts +0 -19
- package/dist/domain/object/date-object/profile/fields.d.ts +0 -2
- package/dist/domain/object/date-object/profile/index.d.ts +0 -3
- package/dist/domain/object/date-object/runtime/date-object-context.d.ts +0 -41
- package/dist/domain/object/date-object/runtime/date-object-runtime.d.ts +0 -41
- package/dist/domain/object/date-object/runtime/fetch-records.d.ts +0 -16
- package/dist/domain/object/date-object/runtime/object-handlers.d.ts +0 -6
- package/dist/domain/object/date-object/runtime/re-inspection-date.d.ts +0 -49
- package/dist/domain/object/date-object/runtime/row-change-handlers.d.ts +0 -6
- package/dist/domain/object/date-object/types.d.ts +0 -48
- package/dist/domain/paper-widget/paper-widget-props-schema-type.d.ts +0 -2
- package/dist/domain/table/business/check/check-table/actions/fetch-check-items.d.ts +0 -12
- package/dist/domain/table/business/check/check-table/actions/index.d.ts +0 -1
- package/dist/domain/table/business/check/check-table/front-config.d.ts +0 -21
- package/dist/domain/table/business/check/check-table/index.d.ts +0 -6
- package/dist/domain/table/business/check/check-table/profile/index.d.ts +0 -3
- package/dist/domain/table/business/check/check-table/runtime/check-table-dyn-value.d.ts +0 -20
- package/dist/domain/table/business/check/check-table/runtime/check-table-label-enricher.d.ts +0 -4
- package/dist/domain/table/business/check/check-table/runtime/expand-runtime-json.d.ts +0 -16
- package/dist/domain/table/business/check/check-table/runtime/index.d.ts +0 -5
- package/dist/domain/table/business/check/check-table/runtime/map-check-table-item-infos.d.ts +0 -9
- package/dist/domain/table/business/check/check-table/runtime/prepare-check-table-init.d.ts +0 -22
- package/dist/domain/table/business/check/check-table/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/check/check-table/types.d.ts +0 -34
- package/dist/domain/table/business/material/material-balance/actions/fetch-material-consume-data.d.ts +0 -7
- package/dist/domain/table/business/material/material-balance/actions/index.d.ts +0 -3
- package/dist/domain/table/business/material/material-balance/actions/open-consume-modal.d.ts +0 -7
- package/dist/domain/table/business/material/material-balance/components/material-consume-modal.vue.d.ts +0 -6
- package/dist/domain/table/business/material/material-balance/index.d.ts +0 -2
- package/dist/domain/table/business/material/material-balance/profile/field-keys.d.ts +0 -25
- package/dist/domain/table/business/material/material-balance/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-balance/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-balance/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-balance/runtime/use-consume-modal-cleanup.d.ts +0 -3
- package/dist/domain/table/business/material/material-consume/index.d.ts +0 -2
- package/dist/domain/table/business/material/material-consume/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-consume/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-consume/profile/product-fields.d.ts +0 -6
- package/dist/domain/table/business/material/material-consume/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-consume/runtime/row-change-handlers.d.ts +0 -2
- package/dist/domain/table/business/material/material-requisition/index.d.ts +0 -2
- package/dist/domain/table/business/material/material-requisition/profile/field-keys.d.ts +0 -34
- package/dist/domain/table/business/material/material-requisition/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/material/material-requisition/profile/index.d.ts +0 -4
- package/dist/domain/table/business/material/material-requisition/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/material/material-requisition/runtime/row-change-handlers.d.ts +0 -5
- package/dist/domain/table/business/material/types.d.ts +0 -201
- 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 +0 -6
- package/dist/domain/table/business/preprocess/pretreatment-list/index.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +0 -45
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/index.d.ts +0 -3
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +0 -25
- package/dist/domain/table/business/shared/production-container-hyperlink-enricher.d.ts +0 -7
- package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +0 -17
- package/dist/domain/table/business/shared/scan-action.d.ts +0 -43
- 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 +0 -6
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/index.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -26
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/index.d.ts +0 -3
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/row-change-handlers.d.ts +0 -5
- package/dist/domain/table/business/warehouse/device-part-consume/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +0 -35
- package/dist/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +0 -3
- package/dist/domain/table/business/warehouse/part-stocktake/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +0 -38
- package/dist/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +0 -6
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +0 -19
- package/dist/domain/table/business/warehouse/shared/inventory-scan-columns.d.ts +0 -6
- 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 +0 -8
- package/dist/domain/table/business/warehouse/warehouse-allocate/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +0 -46
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/before-btn-click.d.ts +0 -5
- package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +0 -6
- package/dist/domain/table/business/warehouse/warehouse-in/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-in/actions/scan.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +0 -45
- package/dist/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-in/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +0 -12
- package/dist/domain/table/business/warehouse/warehouse-in-out/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-in-out/profile/field-keys.d.ts +0 -8
- package/dist/domain/table/business/warehouse/warehouse-in-out/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-in-out/profile/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inbound/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +0 -32
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +0 -2
- 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 +0 -9
- package/dist/domain/table/business/warehouse/warehouse-inventory/index.d.ts +0 -4
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/api.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +0 -52
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/index.d.ts +0 -4
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +0 -6
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +0 -23
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-dimension.d.ts +0 -10
- package/dist/domain/table/business/warehouse/warehouse-inventory/types.d.ts +0 -35
- package/dist/domain/table/business/warehouse/warehouse-out/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-out/actions/scan.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +0 -44
- package/dist/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-out/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +0 -5
- package/dist/domain/table/business/warehouse/warehouse-outbound/index.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +0 -34
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +0 -3
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +0 -2
- package/dist/domain/table/data/dynamic-table/index.d.ts +0 -2
- package/dist/domain/table/data/dynamic-table/profile/index.d.ts +0 -3
- package/dist/domain/table/data/fixed-table/index.d.ts +0 -2
- package/dist/domain/table/data/fixed-table/profile/index.d.ts +0 -3
- package/dist/domain/table/data/two-d-table/index.d.ts +0 -2
- package/dist/domain/table/data/two-d-table/profile/index.d.ts +0 -3
- package/dist/domain/table/design/autofill-expander.d.ts +0 -22
- package/dist/domain/table/design/hooks/on-field-attach.d.ts +0 -19
- package/dist/domain/table/design/hooks/on-repeating-default-props.d.ts +0 -3
- package/dist/domain/table/design/hooks/on-subtable-create.d.ts +0 -22
- package/dist/domain/table/design/label.d.ts +0 -2
- package/dist/domain/table/design/ribbon-options.d.ts +0 -17
- package/dist/domain/table/design/sub-model-matcher.d.ts +0 -19
- package/dist/domain/table/design/theme/region-item-theme.d.ts +0 -6
- package/dist/domain/table/design/theme/table-theme.d.ts +0 -12
- package/dist/domain/table/design/validate-nested-table-region.d.ts +0 -31
- package/dist/domain/table/design/validate-table-selection.d.ts +0 -36
- package/dist/domain/table/index.d.ts +0 -17
- package/dist/domain/table/registry.d.ts +0 -22
- package/dist/domain/table/runtime/api/biz-service-api.d.ts +0 -12
- package/dist/domain/table/runtime/engines/init-load-engine.d.ts +0 -18
- package/dist/domain/table/runtime/engines/linkage-engine.d.ts +0 -72
- package/dist/domain/table/runtime/engines/main-field-bind-engine.d.ts +0 -9
- package/dist/domain/table/runtime/engines/remote-sync-engine.d.ts +0 -37
- package/dist/domain/table/runtime/engines/row-runtime-engine.d.ts +0 -19
- package/dist/domain/table/runtime/engines/rule-engine.d.ts +0 -35
- package/dist/domain/table/runtime/row-change-utils.d.ts +0 -25
- package/dist/domain/table/runtime/runtime-handlers.d.ts +0 -76
- package/dist/domain/table/runtime/table-runtime-context.d.ts +0 -58
- package/dist/domain/table/runtime/table-runtime-utils.d.ts +0 -30
- package/dist/domain/table/runtime/table-runtime.d.ts +0 -81
- package/dist/domain/table/types.d.ts +0 -532
- package/dist/index.d.ts +0 -5
- package/dist/index.es.js +0 -180917
- package/dist/runtime/_register_/composables/index.d.ts +0 -4
- package/dist/runtime/_register_/composables/panel/useActivePanel.d.ts +0 -18
- package/dist/runtime/_register_/composables/useModelData.d.ts +0 -13
- package/dist/runtime/_register_/composables/useModelLoader.d.ts +0 -10
- package/dist/runtime/_register_/composables/useModelState.d.ts +0 -9
- package/dist/runtime/_register_/context/DesignSuiteContext.d.ts +0 -37
- package/dist/runtime/_register_/context/InteractionContext.d.ts +0 -2
- package/dist/runtime/_register_/context/index.d.ts +0 -2
- package/dist/runtime/_register_/hooks/index.d.ts +0 -1
- package/dist/runtime/_register_/hooks/useRegisterSuite.d.ts +0 -6
- package/dist/runtime/_register_/index.d.ts +0 -4
- package/dist/runtime/_register_/runtime/SuiteRuntime.d.ts +0 -45
- package/dist/runtime/canvas/__common__/context-menu/index.type.d.ts +0 -9
- package/dist/runtime/canvas/__common__/context-menu/index.vue.d.ts +0 -8
- package/dist/runtime/canvas/__common__/context-menu/resolve-table-menu-index.d.ts +0 -9
- package/dist/runtime/canvas/__common__/context-menu/table-menu.vue.d.ts +0 -7
- package/dist/runtime/canvas/__common__/widget-component.vue.d.ts +0 -9
- package/dist/runtime/canvas/__common__/widget-container/index.vue.d.ts +0 -13
- package/dist/runtime/canvas/__common__/widget-container/overlay-design.vue.d.ts +0 -33
- package/dist/runtime/canvas/__common__/widget-container/overlay-icon.vue.d.ts +0 -5
- package/dist/runtime/canvas/__common__/widget-container/overlay-layer.vue.d.ts +0 -42
- package/dist/runtime/canvas/__common__/widget-container/overlay-render.vue.d.ts +0 -102
- package/dist/runtime/canvas/constants/base-attrs.d.ts +0 -10
- package/dist/runtime/canvas/constants/index.d.ts +0 -1
- package/dist/runtime/canvas/doc-layout.vue.d.ts +0 -34
- package/dist/runtime/canvas/index.d.ts +0 -2
- package/dist/runtime/canvas/inline-image/inline-image.vue.d.ts +0 -7
- package/dist/runtime/canvas/inline-image/resize-box.vue.d.ts +0 -32
- package/dist/runtime/canvas/node/index.d.ts +0 -3
- package/dist/runtime/canvas/node/overlay-layout.vue.d.ts +0 -6
- package/dist/runtime/canvas/node/paragraph.vue.d.ts +0 -6
- package/dist/runtime/canvas/node/text-character.vue.d.ts +0 -9
- package/dist/runtime/canvas/overlay/page-overlay-group.vue.d.ts +0 -8
- package/dist/runtime/canvas/paper/header-footer-guides.vue.d.ts +0 -6
- package/dist/runtime/canvas/paper/inner-corner-mark.vue.d.ts +0 -6
- package/dist/runtime/canvas/paper/paper-group.vue.d.ts +0 -18
- package/dist/runtime/canvas/paper/paper-hit-rect.vue.d.ts +0 -7
- package/dist/runtime/canvas/paper/themes.d.ts +0 -37
- package/dist/runtime/canvas/print-capture.d.ts +0 -12
- package/dist/runtime/canvas/table/design/table-action-overlay/index.vue.d.ts +0 -20
- package/dist/runtime/canvas/table/design/table-cell-highlight.vue.d.ts +0 -14
- package/dist/runtime/canvas/table/design/table-guide-line.vue.d.ts +0 -11
- package/dist/runtime/canvas/table/design/table-structure-overlay/dynamic-label.vue.d.ts +0 -17
- package/dist/runtime/canvas/table/design/table-structure-overlay/index.vue.d.ts +0 -9
- package/dist/runtime/canvas/table/design/table-structure-overlay/outline-lines.vue.d.ts +0 -9
- package/dist/runtime/canvas/table/design/table-structure-overlay/placeholder-label.vue.d.ts +0 -10
- package/dist/runtime/canvas/table/render/label-parse-rule/index.d.ts +0 -2
- package/dist/runtime/canvas/table/render/label-parse-rule/type.d.ts +0 -62
- package/dist/runtime/canvas/table/render/label-parse-rule/useLabelParsingRules.d.ts +0 -39
- package/dist/runtime/canvas/table/render/material-consume/bom-validator.d.ts +0 -324
- package/dist/runtime/canvas/table/render/material-consume/context-key.d.ts +0 -6
- package/dist/runtime/canvas/table/render/material-consume/derived-qty.d.ts +0 -5
- package/dist/runtime/canvas/table/render/material-consume/index.d.ts +0 -5
- package/dist/runtime/canvas/table/render/material-consume/initial-product-autofill.d.ts +0 -6
- package/dist/runtime/canvas/table/render/material-consume/material-consume-group-merge.d.ts +0 -47
- package/dist/runtime/canvas/table/render/material-consume/material-consume-table-controller.d.ts +0 -361
- package/dist/runtime/canvas/table/render/material-consume/material-consume.util.d.ts +0 -15
- package/dist/runtime/canvas/table/render/material-consume/object-product-autofill.d.ts +0 -25
- package/dist/runtime/canvas/table/render/material-consume/product-autofill.d.ts +0 -7
- package/dist/runtime/canvas/table/render/material-consume/product-id-query.d.ts +0 -31
- package/dist/runtime/canvas/table/render/material-consume/product-source.d.ts +0 -4
- package/dist/runtime/canvas/table/render/material-consume/scan-fill.d.ts +0 -15
- package/dist/runtime/canvas/table/render/material-consume/scan-validator.d.ts +0 -192
- package/dist/runtime/canvas/table/render/material-consume/service.d.ts +0 -84
- package/dist/runtime/canvas/table/render/material-consume/tmpl-bom-controller.d.ts +0 -83
- package/dist/runtime/canvas/table/render/material-consume/transform.d.ts +0 -12
- package/dist/runtime/canvas/table/render/material-consume/uom-convert-runtime.d.ts +0 -51
- package/dist/runtime/canvas/table/render/table-structure-overlay/index.vue.d.ts +0 -9
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/bounded-table-action.vue.d.ts +0 -10
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +0 -12
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/fixed-quick-fill-layout.d.ts +0 -30
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +0 -3
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/quick-fill.util.d.ts +0 -32
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/repeating-table-action.vue.d.ts +0 -10
- package/dist/runtime/canvas/table/shared/resolve-cell-row-change-style.d.ts +0 -34
- package/dist/runtime/canvas/table/shared/table-background.vue.d.ts +0 -6
- package/dist/runtime/canvas/table/shared/table-cell.vue.d.ts +0 -6
- package/dist/runtime/canvas/table/shared/table-form-change-overlay.vue.d.ts +0 -6
- package/dist/runtime/canvas/table/shared/table-lines.vue.d.ts +0 -12
- package/dist/runtime/canvas/table/table-design.vue.d.ts +0 -12
- package/dist/runtime/canvas/table/table-presentation.d.ts +0 -16
- package/dist/runtime/canvas/table/table-render.vue.d.ts +0 -11
- package/dist/runtime/canvas/table/table.vue.d.ts +0 -6
- package/dist/runtime/canvas/table/utils/index.d.ts +0 -48
- package/dist/runtime/canvas/table/utils/paint-table-borders.d.ts +0 -4
- package/dist/runtime/canvas/table/utils/useTableSelection.d.ts +0 -70
- package/dist/runtime/canvas/types/index.d.ts +0 -4
- package/dist/runtime/designer/main/editable-canvas.vue.d.ts +0 -50
- package/dist/runtime/designer/panel/panel-breadcrumb-separator.vue.d.ts +0 -2
- package/dist/runtime/designer/panel/panel-nav.d.ts +0 -13
- package/dist/runtime/designer/panel/panel.vue.d.ts +0 -2
- package/dist/runtime/designer/ribbon/common/button-icon.vue.d.ts +0 -13
- package/dist/runtime/designer/ribbon/components/insert-table-form-modal.vue.d.ts +0 -17
- package/dist/runtime/designer/ribbon/components/marker-color-select.vue.d.ts +0 -77
- package/dist/runtime/designer/ribbon/components/set-table-header-form-modal.vue.d.ts +0 -18
- package/dist/runtime/designer/ribbon/components/sub-table-form-modal.vue.d.ts +0 -25
- package/dist/runtime/designer/ribbon/components/table-ribbon-group.vue.d.ts +0 -2
- package/dist/runtime/designer/ribbon/components/text-color-select.vue.d.ts +0 -93
- package/dist/runtime/designer/ribbon/constant/color.d.ts +0 -62
- package/dist/runtime/designer/ribbon/constant/font.d.ts +0 -40
- package/dist/runtime/designer/ribbon/constant/word.d.ts +0 -26
- package/dist/runtime/designer/ribbon/hooks/useDhrEdition.d.ts +0 -7
- package/dist/runtime/designer/ribbon/ribbon.vue.d.ts +0 -2
- package/dist/runtime/designer/ribbon/svg/bj-marker-svg.vue.d.ts +0 -7
- package/dist/runtime/designer/ribbon/svg/color-wheel-svg.vue.d.ts +0 -2
- package/dist/runtime/designer/ribbon/svg/font-color-svg.vue.d.ts +0 -7
- package/dist/runtime/designer/ribbon/svg/table/table-svg-icon.vue.d.ts +0 -11
- package/dist/runtime/designer/ribbon/svg/table-border-icon.vue.d.ts +0 -6
- package/dist/runtime/designer/ribbon/tabs/word-tab.vue.d.ts +0 -2
- package/dist/runtime/designer/toolkit/renderer/add-field-btn.vue.d.ts +0 -8
- package/dist/runtime/designer/toolkit/renderer/field-palette/field-palette.vue.d.ts +0 -15
- package/dist/runtime/designer/toolkit/renderer/field-palette/index.d.ts +0 -14
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-fields.vue.d.ts +0 -4
- package/dist/runtime/designer/toolkit/renderer/toolkit-content-widgets.vue.d.ts +0 -2
- package/dist/runtime/designer/toolkit/svg/toolkit-svg-icon.vue.d.ts +0 -9
- package/dist/runtime/designer/toolkit/toolkit-item.vue.d.ts +0 -51
- package/dist/runtime/designer/toolkit/toolkit.vue.d.ts +0 -221
- package/dist/runtime/factories/createDesignWidgetFactory.d.ts +0 -21
- package/dist/runtime/factories/modules/useSpecificConfig.d.ts +0 -2
- package/dist/runtime/factories/useDependency.d.ts +0 -5
- package/dist/runtime/factories/useWidgetInitializer.d.ts +0 -13
- package/dist/runtime/factories/useWidgetRenderData.d.ts +0 -52
- package/dist/runtime/interface/change-diff.d.ts +0 -24
- package/dist/runtime/interface/computed.d.ts +0 -42
- package/dist/runtime/interface/context-defaults.d.ts +0 -9
- package/dist/runtime/interface/data.d.ts +0 -45
- package/dist/runtime/interface/fetchers.d.ts +0 -110
- package/dist/runtime/interface/form-change-row.d.ts +0 -78
- package/dist/runtime/interface/render.d.ts +0 -44
- package/dist/runtime/renderer/dialogs/device-scan/device-scan-dialog.vue.d.ts +0 -199
- package/dist/runtime/renderer/dialogs/device-scan/submit-device-scan.d.ts +0 -29
- package/dist/runtime/renderer/dialogs/dialog-container.vue.d.ts +0 -21
- package/dist/runtime/renderer/dialogs/e-sop-view/open-e-sop-view.d.ts +0 -3
- package/dist/runtime/renderer/dialogs/field-hyperlink/open-field-hyperlink.d.ts +0 -2
- package/dist/runtime/renderer/dialogs/signature/card-signer.vue.d.ts +0 -14
- package/dist/runtime/renderer/dialogs/signature/logic.d.ts +0 -27
- package/dist/runtime/renderer/dialogs/signature/security-config.d.ts +0 -6
- package/dist/runtime/renderer/dialogs/signature/signature-autofill-runtime.d.ts +0 -14
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +0 -23
- package/dist/runtime/renderer/dialogs/signature/validate-signature-config.d.ts +0 -5
- package/dist/runtime/renderer/dialogs/upload-file/base-upload-file.vue.d.ts +0 -20
- package/dist/runtime/renderer/dialogs/upload-file/upload-file-dialog.vue.d.ts +0 -54
- package/dist/runtime/renderer/dialogs/upload-image/base-upload-image.vue.d.ts +0 -20
- package/dist/runtime/renderer/dialogs/upload-image/upload-image-dialog.vue.d.ts +0 -54
- package/dist/runtime/renderer/dropdowns/components/datetime-dropdown.vue.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/dropdown-container.vue.d.ts +0 -25
- package/dist/runtime/renderer/dropdowns/components/option-dropdown.vue.d.ts +0 -197
- package/dist/runtime/renderer/dropdowns/components/tables/columns/base/selection.d.ts +0 -14
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/biz.d.ts +0 -33
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/device.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/group.d.ts +0 -44
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/lot2sn.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/mfg-order.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-inventory-ndo.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/part-ndo.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/product-ndo.d.ts +0 -23
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/rdo-ref.d.ts +0 -22
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/ref.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/business/route-operation.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/columns/columns.d.ts +0 -58
- package/dist/runtime/renderer/dropdowns/components/tables/component/base-vxe-table.vue.d.ts +0 -72
- package/dist/runtime/renderer/dropdowns/components/tables/component/device-type-select.vue.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/component/pagination-control.vue.d.ts +0 -14
- package/dist/runtime/renderer/dropdowns/components/tables/component/rdo-version-name-tag.vue.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSearchEnter.d.ts +0 -18
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useSelectTable.d.ts +0 -103
- package/dist/runtime/renderer/dropdowns/components/tables/composables/useTableDropdown.d.ts +0 -29
- package/dist/runtime/renderer/dropdowns/components/tables/rdo-table-dropdown.vue.d.ts +0 -313
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/merge-select-source.d.ts +0 -10
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +0 -70
- package/dist/runtime/renderer/dropdowns/components/tables/table-dropdown.vue.d.ts +0 -308
- package/dist/runtime/renderer/dropdowns/components/tables/table-option-dropdown.vue.d.ts +0 -338
- package/dist/runtime/renderer/dropdowns/components/tables/utils/assoc-filter.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/components/tables/utils/quick-search.d.ts +0 -32
- package/dist/runtime/renderer/dropdowns/components/time-dropdown.vue.d.ts +0 -11
- package/dist/runtime/renderer/dropdowns/components/tree/tree-dropdown.vue.d.ts +0 -196
- package/dist/runtime/renderer/dropdowns/components/tree/tree-node.vue.d.ts +0 -17
- package/dist/runtime/renderer/dropdowns/composables/useDropdownSearchFocus.d.ts +0 -9
- package/dist/runtime/renderer/dropdowns/composables/useDropdownViewportSize.d.ts +0 -7
- package/dist/runtime/renderer/dropdowns/factories/dropdown-factory.d.ts +0 -25
- package/dist/runtime/renderer/dropdowns/factories/index.d.ts +0 -2
- package/dist/runtime/renderer/field-preview/active-preview.d.ts +0 -7
- package/dist/runtime/renderer/field-preview/attachment-file-popover.vue.d.ts +0 -8
- package/dist/runtime/renderer/field-preview/field-preview-overlay.vue.d.ts +0 -34
- package/dist/runtime/renderer/field-preview/image-preview-popover.vue.d.ts +0 -7
- package/dist/runtime/renderer/field-preview/index.d.ts +0 -4
- package/dist/runtime/renderer/field-preview/types.d.ts +0 -5
- package/dist/runtime/renderer/main/preview-canvas.vue.d.ts +0 -54
- package/dist/runtime/renderer/validation/validation-comment-item.vue.d.ts +0 -14
- package/dist/runtime/renderer/validation/validation-comment-layer.vue.d.ts +0 -2
- package/dist/runtime/validation/admission.d.ts +0 -29
- package/dist/runtime/validation/createValidateFactory.d.ts +0 -14
- package/dist/runtime/validation/index.d.ts +0 -6
- package/dist/runtime/validation/layout.d.ts +0 -15
- package/dist/runtime/validation/merge.d.ts +0 -3
- package/dist/runtime/validation/state.d.ts +0 -37
- package/dist/runtime/validation/useFormValidator.d.ts +0 -21
- package/dist/sdk/doc-runtime/composables/useDocController.d.ts +0 -16
- package/dist/sdk/doc-runtime/composables/useDocLooperAutoSaveNotify.d.ts +0 -24
- package/dist/sdk/doc-runtime/composables/useDocOperations.d.ts +0 -74
- package/dist/sdk/doc-runtime/composables/useDocRuntimeProvider.d.ts +0 -19
- package/dist/sdk/doc-runtime/composables/useDocSuite.d.ts +0 -20
- package/dist/sdk/doc-runtime/composables/useValidationFullSync.d.ts +0 -15
- package/dist/sdk/doc-runtime/device-link/resolve-field-focus-context.d.ts +0 -15
- package/dist/sdk/doc-runtime/device-link/useDeviceFieldFocusBridge.d.ts +0 -7
- package/dist/sdk/doc-runtime/device-link/useFormTmplAndModelInit.d.ts +0 -15
- package/dist/sdk/doc-runtime/device-link/useFormTmplConfig.d.ts +0 -10
- package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +0 -67
- package/dist/sdk/doc-runtime/factories/document-request-strategy.d.ts +0 -3
- package/dist/sdk/doc-runtime/factories/runtime-json-builder.d.ts +0 -13
- package/dist/sdk/doc-runtime/factories/useDocumentFactory.d.ts +0 -104
- package/dist/sdk/doc-runtime/useWord.d.ts +0 -22
- package/dist/sdk/doc-runtime/utils/sub-field-config.d.ts +0 -9
- package/dist/sdk/doc-runtime/utils/wait-for-data-settle.d.ts +0 -8
- package/dist/sdk/doc-runtime/validators/validate-designer.d.ts +0 -4
- package/dist/sdk/doc-runtime/validators/validate-doc-designer.d.ts +0 -4
- package/dist/sdk/engine/index.d.ts +0 -17
- package/dist/sdk/index.d.ts +0 -15
- package/dist/sdk/plugins/index.d.ts +0 -17
- package/dist/sdk/plugins/register-panel-schemas.d.ts +0 -9
- package/dist/sdk/setup.d.ts +0 -58
- package/dist/sdk/types/action-button.d.ts +0 -43
- package/dist/sdk/types/designer-validation.d.ts +0 -16
- package/dist/sdk/types/field-model-query.d.ts +0 -26
- package/dist/sdk/types/form-tmpl-config.types.d.ts +0 -123
- package/dist/sdk/types/index.d.ts +0 -300
- package/dist/sdk/vue/index.d.ts +0 -7
- package/dist/sdk/vue/layouts/doc-design-layout.vue.d.ts +0 -7
- package/dist/sdk/vue/layouts/doc-render-layout.vue.d.ts +0 -69
- package/dist/suites/edhr/component/index.d.ts +0 -2
- package/dist/suites/edhr/component/resolve-field-render-colors.d.ts +0 -33
- package/dist/suites/edhr/component/resolve-marker-color.d.ts +0 -7
- package/dist/suites/edhr/component/use-marker-render-colors.d.ts +0 -7
- package/dist/suites/edhr/index.d.ts +0 -3
- package/dist/suites/edhr/manifest/field/_common_/basic.d.ts +0 -113
- package/dist/suites/edhr/manifest/field/basic/boolean-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/date-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/date-time-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/decimal-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/double-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/integer-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/long-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/long-text-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/text-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/basic/time-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/destructive-test-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/good-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/inspection-module-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/inspection-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/material-check-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/not-good-group-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/not-good-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/not-good-reason-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/of-inst-num-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/operation-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/operation-output-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/operation-receive-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/product-check-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/production-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/production-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/quantity-received-qty-manifest.d.ts +0 -3
- package/dist/suites/edhr/manifest/field/business/report-end-time-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/report-start-time-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/reporter-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/routing-operation-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/scrap-group-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/scrap-material-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/scrap-material-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/scrap-qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/scrap-reason-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/business/work-hours-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/index.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/attachment-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/e-sop-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/e-sop-version-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/image-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/model-relation-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/option-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/option-multi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/org-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/org-multi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/ref-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/signature-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/user-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/logic/user-multi-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/location-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/stocktake-status-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/target-warehouse-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/warehouse-manager-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/warehouse-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/warehouse-receipt-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/material/warehouse-receipt-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/date-object-manifest.d.ts +0 -3
- package/dist/suites/edhr/manifest/field/object-type/material-consume-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/object-type-manifest.d.ts +0 -3
- package/dist/suites/edhr/manifest/field/object-type/qty-consumed-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/qty-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/qty-required-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/re-inspection-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/object-type/validity-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/device-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/external-reference-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/material-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/material-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/mfg-order-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/order-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/product-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/production-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/record-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/related-lot-no-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/shopfloor-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/sterilization-container-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/field/trace/trace-date-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/index.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/_common_/basic.d.ts +0 -10
- package/dist/suites/edhr/manifest/paper-widget/basic/barcode-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/diagonal-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/image-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/line-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/pagination-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/qrcode-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/serialnumber-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/basic/timediff-manifest.d.ts +0 -2
- package/dist/suites/edhr/manifest/paper-widget/index.d.ts +0 -2
- package/dist/suites/edhr/model-field-runtime/field-provider.d.ts +0 -21
- package/dist/suites/edhr/model-field-runtime/model-provider.d.ts +0 -10
- package/dist/suites/edhr/panel-config/field/file/upload.d.ts +0 -25
- package/dist/suites/edhr/panel-config/index.d.ts +0 -5
- package/dist/suites/edhr/panel-router/index.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/2d-table/2DSubTablePanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/2d-table/2d-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/_shared/BoundedSubTablePanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/_shared/RepeatingSubTablePanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/_shared/create-table-panel-schema.d.ts +0 -3
- package/dist/suites/edhr/panel-schema/_shared/data-group-2d-title.d.ts +0 -7
- package/dist/suites/edhr/panel-schema/check-table/CheckTablePanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/check-table/add-ds-btn.vue.d.ts +0 -14
- package/dist/suites/edhr/panel-schema/check-table/check-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/data-group/DataGroupPanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/data-group/data-group.basic.d.ts +0 -14
- package/dist/suites/edhr/panel-schema/data-group-2d/DataGroup2DPanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/data-group-2d/data-group-2d.basic.d.ts +0 -16
- package/dist/suites/edhr/panel-schema/data-init/DataInitPanel.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/data-init/add-button.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-field/add-builtin-field-modal.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-field/add-builtin-field-select.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-param/add-builtin-param-modal.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-param/add-builtin-param-select.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/add-field-modal.vue.d.ts +0 -25
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/add-field-select.vue.d.ts +0 -19
- package/dist/suites/edhr/panel-schema/data-init/common/add-field/useField.d.ts +0 -22
- package/dist/suites/edhr/panel-schema/data-init/common/add-ipaas/ipaas-param-config.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/add-online-form-model/online-form-model-select.vue.d.ts +0 -12
- package/dist/suites/edhr/panel-schema/data-init/common/add-sql/add-sql-input.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/data-init/common/add-sql/add-sql-modal.vue.d.ts +0 -7
- package/dist/suites/edhr/panel-schema/data-init/common/data-source-field-map.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/data-init/common/data-source-model-link.vue.d.ts +0 -39
- package/dist/suites/edhr/panel-schema/data-init/common/data-source-title.vue.d.ts +0 -19
- package/dist/suites/edhr/panel-schema/data-init/common/param-field-link.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/param-key-select.vue.d.ts +0 -18
- package/dist/suites/edhr/panel-schema/data-init/data-init.basic.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/bom-validator.d.ts +0 -70
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/index.d.ts +0 -3
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/linkage.d.ts +0 -76
- package/dist/suites/edhr/panel-schema/data-init/material-consume-object/use-tmpl-bom.d.ts +0 -13
- package/dist/suites/edhr/panel-schema/data-init/object-init/object-init.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/data-init/utils/index.d.ts +0 -215
- package/dist/suites/edhr/panel-schema/data-init/utils/json-param-logic.d.ts +0 -53
- package/dist/suites/edhr/panel-schema/data-init/utils/json-schema.d.ts +0 -18
- package/dist/suites/edhr/panel-schema/data-init/utils/sql.d.ts +0 -4
- package/dist/suites/edhr/panel-schema/dynamic-table/dynamic-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/entrust-steril-batch-list-table/entrust-steril-batch-list-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/field/FieldPanel.vue.d.ts +0 -6
- package/dist/suites/edhr/panel-schema/field/field-attribute-value.vue.d.ts +0 -26
- package/dist/suites/edhr/panel-schema/field/field-panel-chevron.vue.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/field/field-panel-text-icon.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/field/field.basic.d.ts +0 -14
- package/dist/suites/edhr/panel-schema/fixed-table/fixed-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/index.d.ts +0 -100
- package/dist/suites/edhr/panel-schema/material-balance-table/material-balance-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/material-consume-table/MaterialConsumeTablePanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/material-consume-table/bom-entry-editor.vue.d.ts +0 -14
- package/dist/suites/edhr/panel-schema/material-consume-table/bom-product-name.vue.d.ts +0 -7
- package/dist/suites/edhr/panel-schema/material-consume-table/material-consume-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/material-consume-table/parse-rule-add-btn.vue.d.ts +0 -13
- package/dist/suites/edhr/panel-schema/material-consume-table/parse-rule-editor.vue.d.ts +0 -13
- package/dist/suites/edhr/panel-schema/material-consume-table/use-product-translate.d.ts +0 -3
- package/dist/suites/edhr/panel-schema/material-requisition-table/material-requisition-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/paper/PaperPanel.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/modules/keep-exception-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/modules/page-size-config/index.d.ts +0 -12
- package/dist/suites/edhr/panel-schema/paper/modules/page-size-config/page-size-config.vue.d.ts +0 -6
- package/dist/suites/edhr/panel-schema/paper/modules/signature-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/modules/table-setting-config.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper/paper.basic.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/paper-header-footer/PaperHeaderFooterPanel.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/paper-header-footer/paper-header-footer.basic.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/paper-widget/PaperWidgetPanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/paper-widget/paper-widget.basic.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/pretreatment-list-table/pretreatment-list-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/rule/RulePanel.vue.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/rule/components/add-rule-button.vue.d.ts +0 -6
- package/dist/suites/edhr/panel-schema/rule/components/field-map-row.vue.d.ts +0 -35
- package/dist/suites/edhr/panel-schema/rule/components/rule-item-card.vue.d.ts +0 -12
- package/dist/suites/edhr/panel-schema/rule/components/rule-section.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/constants/builtin-field-maps.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/rule/modals/open-rule-modal.d.ts +0 -2
- package/dist/suites/edhr/panel-schema/rule/modals/unit-field-map-modal.vue.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/rule/rule.basic.d.ts +0 -5
- package/dist/suites/edhr/panel-schema/rule/types.d.ts +0 -47
- package/dist/suites/edhr/panel-schema/rule/use-rules-config.d.ts +0 -48
- package/dist/suites/edhr/panel-schema/rule/utils/rule-field-map.d.ts +0 -31
- package/dist/suites/edhr/panel-schema/rule/utils/uom-convert-rule.d.ts +0 -28
- package/dist/suites/edhr/panel-schema/table-header/TableHeaderPanel.vue.d.ts +0 -8
- package/dist/suites/edhr/panel-schema/table-header/table-header.basic.d.ts +0 -11
- package/dist/suites/edhr/panel-schema/warehouse-allocate-table/warehouse-allocate-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/warehouse-in-out-table/warehouse-in-out-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/warehouse-in-table/warehouse-in-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/warehouse-inventory-table/warehouse-inventory-table.basic.d.ts +0 -1
- package/dist/suites/edhr/panel-schema/warehouse-out-table/warehouse-out-table.basic.d.ts +0 -1
- package/dist/suites/eqm/index.d.ts +0 -3
- package/dist/suites/eqm/panel-router/index.d.ts +0 -2
- package/dist/suites/eqm/panel-schema/device-part-consume-table/device-part-consume-table.basic.d.ts +0 -1
- package/dist/suites/eqm/panel-schema/index.d.ts +0 -7
- package/dist/suites/eqm/panel-schema/part-stocktake-table/part-stocktake-table.basic.d.ts +0 -1
- package/dist/suites/eqm/panel-schema/warehouse-inbound-table/warehouse-inbound-table.basic.d.ts +0 -1
- package/dist/suites/eqm/panel-schema/warehouse-outbound-table/warehouse-outbound-table.basic.d.ts +0 -1
- package/dist/suites/medpro/index.d.ts +0 -1
- package/dist/suites/shared/components/option-control-colors.d.ts +0 -14
- package/dist/suites/shared/hooks/panel-props-source.d.ts +0 -36
- package/dist/suites/shared/hooks/useAttachedFieldActivate.d.ts +0 -6
- package/dist/suites/shared/hooks/useFieldPanel.d.ts +0 -8
- package/dist/suites/shared/hooks/useFieldPanelMeta.d.ts +0 -11
- package/dist/suites/shared/hooks/usePanelProps.d.ts +0 -19
- package/dist/suites/shared/hooks/useSubTablePanelBase.d.ts +0 -14
- package/dist/suites/shared/icon/landscape-icon.vue.d.ts +0 -2
- package/dist/suites/shared/icon/portrait-icon.vue.d.ts +0 -2
- package/dist/suites/shared/index.d.ts +0 -1
- package/dist/suites/shared/panel/config/editor/FormNumberEditor.vue.d.ts +0 -11
- package/dist/suites/shared/panel/config/editor/assoc-filter-editor/utils.d.ts +0 -9
- package/dist/suites/shared/panel/config/editor/attach-fields-editor/resolve-attach-field.d.ts +0 -5
- package/dist/suites/shared/panel/config/editor/attach-fields-editor/types.d.ts +0 -13
- package/dist/suites/shared/panel/config/editor/date-format-editor/logic.d.ts +0 -37
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields-editor.vue.d.ts +0 -16
- package/dist/suites/shared/panel/config/editor/display-fields-editor/display-fields.util.d.ts +0 -19
- package/dist/suites/shared/panel/config/editor/display-fields-editor/index.d.ts +0 -3
- package/dist/suites/shared/panel/config/editor/enum-opt-editor/types.d.ts +0 -15
- package/dist/suites/shared/panel/config/editor/field-config-visibility.d.ts +0 -2
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/barcode-parsing-rules-group-editor.vue.d.ts +0 -28
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/barcode-parsing-rules-string-editor.vue.d.ts +0 -21
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/qrcode-parse-editor.vue.d.ts +0 -17
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/qrcode-parse-modal.vue.d.ts +0 -20
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/types.d.ts +0 -18
- package/dist/suites/shared/panel/config/editor/qrcode-parse-editor/utils.d.ts +0 -38
- package/dist/suites/shared/panel/config/editor/quick-search-editor/quick-search.util.d.ts +0 -13
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/autofill-runtime.d.ts +0 -19
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-node.vue.d.ts +0 -21
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-select.vue.d.ts +0 -30
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/field-tree-utils.d.ts +0 -22
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/from-field-tree-utils.d.ts +0 -5
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/to-field-tree-utils.d.ts +0 -19
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/types.d.ts +0 -24
- package/dist/suites/shared/panel/config/editor/ref-autofill-editor/utils.d.ts +0 -12
- package/dist/suites/shared/panel/config/editor/regex-editor/common-regex-api.d.ts +0 -11
- package/dist/suites/shared/panel/config/editor/regex-editor/types.d.ts +0 -8
- package/dist/suites/shared/panel/config/editor/single-field-editor/types.d.ts +0 -9
- package/dist/suites/shared/panel/modules/confirm-before-delete-config.vue.d.ts +0 -5
- package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-modal.vue.d.ts +0 -30
- package/dist/suites/shared/panel/modules/field-dependency-module/field-dependency-module.vue.d.ts +0 -9
- package/dist/suites/shared/panel/modules/field-dependency-module/types.d.ts +0 -19
- package/dist/suites/shared/panel/modules/field-formula-module/field-formula-module.vue.d.ts +0 -15
- package/dist/suites/shared/panel/modules/field-formula-module/formula-field-options.d.ts +0 -2
- package/dist/suites/shared/panel/modules/online-form-tmpl-module/online-form-tmpl-utils.d.ts +0 -3
- package/dist/suites/shared/panel/modules/orientation-module.vue.d.ts +0 -10
- package/dist/suites/shared/panel/modules/padding-setting-module.vue.d.ts +0 -14
- package/dist/suites/shared/panel/modules/quick-fill-config.vue.d.ts +0 -6
- package/dist/suites/shared/panel/modules/sub-table-basic-info.vue.d.ts +0 -31
- package/dist/suites/shared/panel/modules/sub-table-grid-info.vue.d.ts +0 -12
- package/dist/suites/shared/panel/modules/table-setting-module.vue.d.ts +0 -11
- package/dist/suites/shared/panel/types/formula.type.d.ts +0 -140
- package/dist/suites/shared/panel/utils/open-design-modal.d.ts +0 -7
- package/dist/suites/shared/suite-features.d.ts +0 -19
- package/dist/utils/adapters/ServiceUtil.d.ts +0 -67
- package/dist/utils/adapters/TriggerUtil.d.ts +0 -27
- package/dist/utils/adapters/api.d.ts +0 -7
- package/dist/utils/composables/useDragLine.d.ts +0 -18
- package/dist/utils/composables/useHighlightSearch.d.ts +0 -5
- package/dist/utils/composables/useHoverDelay.d.ts +0 -5
- package/dist/utils/composables/useLatestRequest.d.ts +0 -6
- package/dist/utils/composables/usePagesToPdf.d.ts +0 -19
- package/dist/utils/fonts/cjk-font-catalog.d.ts +0 -50
- package/dist/utils/fonts/ensure-document-fonts.d.ts +0 -12
- package/dist/utils/func/base-formula-functions.d.ts +0 -8
- package/dist/utils/func/calc-used-fields.d.ts +0 -32
- package/dist/utils/func/click.d.ts +0 -13
- package/dist/utils/func/core.d.ts +0 -150
- package/dist/utils/func/dragdrop.d.ts +0 -40
- package/dist/utils/func/field.d.ts +0 -13
- package/dist/utils/func/file.d.ts +0 -2
- package/dist/utils/func/number-util.d.ts +0 -9
- package/dist/utils/func/withRequestCache.d.ts +0 -95
- package/dist/utils/pdf/collect-page-draw-ops.d.ts +0 -5
- package/dist/utils/pdf/collect-widget-draw-ops.d.ts +0 -12
- package/dist/utils/pdf/export-vector-pdf.d.ts +0 -11
- package/dist/utils/pdf/pdf-page-painter.d.ts +0 -3
- package/dist/utils/pdf/resolve-field-text-style.d.ts +0 -12
- package/dist/utils/pdf/resolve-paper-widget-value.d.ts +0 -4
- package/dist/utils/pdf/resolve-pdf-text-baseline.d.ts +0 -11
- package/dist/utils/pdf/types.d.ts +0 -80
- package/dist/utils/symbol/contextKey.d.ts +0 -11
- package/dist/word.css +0 -14909
- package/vite/index.d.ts +0 -17
- package/vite/index.mjs +0 -39
- /package/dist/{domain/table/business/check/check-table/profile → types/runtime/form/business/inspection}/field-keys.d.ts +0 -0
- /package/dist/{domain/field/material-lot-validation.d.ts → types/runtime/form/business/materials/validation/lot-kind.d.ts} +0 -0
- /package/dist/{core/data/submit/fields.d.ts → types/runtime/form/submission/excluded-fields.d.ts} +0 -0
- /package/dist/{base → types/shared/ui}/breadcrumb/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/button/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/calendar/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/calendar/src/constant/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/checkbox/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/collapse/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/color-picker/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/color-picker/src/constant/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/date-time-picker/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/divider/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/dropdown/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/empty/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/empty/src/empty.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/form-item/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/icon/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/input/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/layout/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/loading/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/message/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/radio/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/scrollbar/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/segment-slider/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/slider/index.d.ts +0 -0
- /package/dist/{domain/index.d.ts → types/shared/ui/stylesheet.d.ts} +0 -0
- /package/dist/{base → types/shared/ui}/switch/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/tooltip/index.d.ts +0 -0
- /package/dist/{base → types/shared/ui}/tree/src/tree.type.d.ts +0 -0
- /package/dist/{domain/object/date-object/runtime/register-handlers.d.ts → types/shared/ui/utils/popper-themes.d.ts} +0 -0
package/dist/docx.js
ADDED
|
@@ -0,0 +1,1310 @@
|
|
|
1
|
+
import { n as tableBorderWidthsPx, r as createDocument, t as defaultTableBorderColor } from "./chunks/table-borders-Dwuj7lFp.js";
|
|
2
|
+
import { n as wordFontFamilies } from "./chunks/word-fonts-BA_Tyfnj.js";
|
|
3
|
+
import { c as DocumentValidationError, f as validateDocument, t as NodeFactory } from "./chunks/NodeFactory-D9gVGSok.js";
|
|
4
|
+
import { isEqual, isPlainObject } from "es-toolkit/predicate";
|
|
5
|
+
import { isEqual as isEqual$1 } from "es-toolkit";
|
|
6
|
+
import { liteAdaptor } from "mathjax-full/js/adaptors/liteAdaptor.js";
|
|
7
|
+
import { RegisterHTMLHandler } from "mathjax-full/js/handlers/html.js";
|
|
8
|
+
import { MathML } from "mathjax-full/js/input/mathml.js";
|
|
9
|
+
import { mathjax } from "mathjax-full/js/mathjax.js";
|
|
10
|
+
import { SVG } from "mathjax-full/js/output/svg.js";
|
|
11
|
+
// src/import/docx/source.ts
|
|
12
|
+
/** 平台 DOCX 解析接口返回的元素树,业务模板和排版对象不进入这一层。 */
|
|
13
|
+
/** 只接受 XML JSON 中的对象节点。 */
|
|
14
|
+
function object(value) {
|
|
15
|
+
return isPlainObject(value) ? value : void 0;
|
|
16
|
+
}
|
|
17
|
+
/** 读元素或关系列表,过滤空白和非对象项。 */
|
|
18
|
+
function nodes(value) {
|
|
19
|
+
return Array.isArray(value) ? value.filter(isPlainObject) : [];
|
|
20
|
+
}
|
|
21
|
+
/** 按原始顺序读取子节点,指定标签时只读该类元素。 */
|
|
22
|
+
function children(node, tag) {
|
|
23
|
+
const entries = nodes(node?.elements);
|
|
24
|
+
return tag ? entries.filter(({ name }) => name === tag) : entries;
|
|
25
|
+
}
|
|
26
|
+
/** 查找某一级的第一个同名子元素。 */
|
|
27
|
+
function child(node, tag) {
|
|
28
|
+
const list = node?.elements;
|
|
29
|
+
return Array.isArray(list) ? list.find((entry) => object(entry)?.name === tag) : void 0;
|
|
30
|
+
}
|
|
31
|
+
/** 深度优先查找图片、主题或表单域中的目标元素。 */
|
|
32
|
+
function descendant(node, match) {
|
|
33
|
+
if (typeof node?.name === "string" && match(node.name)) return node;
|
|
34
|
+
for (const entry of children(node)) {
|
|
35
|
+
const found = descendant(entry, match);
|
|
36
|
+
if (found) return found;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
/** 在不同标签分支上读取 OOXML 属性,保留显式空文本。 */
|
|
40
|
+
function attr(node, name) {
|
|
41
|
+
return scalar(object(node?.["@attrs"])?.[name]);
|
|
42
|
+
}
|
|
43
|
+
/** 解析接口可能把数字属性表示成数值,统一为 XML 属性文本。 */
|
|
44
|
+
function scalar(value) {
|
|
45
|
+
return typeof value === "string" || typeof value === "number" ? String(value) : void 0;
|
|
46
|
+
}
|
|
47
|
+
/** 查询 w:val 属性。 */
|
|
48
|
+
function value(node, tag) {
|
|
49
|
+
return attr(child(node, tag), "w:val");
|
|
50
|
+
}
|
|
51
|
+
/** 读取明确的开关。未声明保持缺省,空元素表示开启。 */
|
|
52
|
+
function toggle(node) {
|
|
53
|
+
if (node) return ![
|
|
54
|
+
"0",
|
|
55
|
+
"false",
|
|
56
|
+
"off"
|
|
57
|
+
].includes(attr(node, "w:val") ?? "");
|
|
58
|
+
}
|
|
59
|
+
/** 读取文本子节点,保留 XML 指定的前后空格。 */
|
|
60
|
+
function text(node) {
|
|
61
|
+
return children(node).map((entry) => typeof entry.text === "string" ? entry.text : "").join("");
|
|
62
|
+
}
|
|
63
|
+
/** 读取有限数值,空属性按缺省处理。 */
|
|
64
|
+
function numeric(raw) {
|
|
65
|
+
if (!raw?.trim()) return;
|
|
66
|
+
const parsed = Number(raw);
|
|
67
|
+
if (Number.isFinite(parsed)) return parsed;
|
|
68
|
+
}
|
|
69
|
+
/** 将二十分之一磅统一为 96 DPI 的逻辑像素。 */
|
|
70
|
+
function px(raw) {
|
|
71
|
+
const parsed = numeric(raw);
|
|
72
|
+
if (parsed !== void 0) return parsed / 15;
|
|
73
|
+
}
|
|
74
|
+
/** 过滤无效尺寸,保留有效的零尺寸。 */
|
|
75
|
+
function nonnegative(raw) {
|
|
76
|
+
if (raw !== void 0 && raw >= 0) return raw;
|
|
77
|
+
}
|
|
78
|
+
/** 过滤无效或零尺寸,用于字号、纸张和列宽。 */
|
|
79
|
+
function positive(raw) {
|
|
80
|
+
if (raw !== void 0 && raw > 0) return raw;
|
|
81
|
+
}
|
|
82
|
+
/** 只将显式属性写入模型,结构校验不会收到 undefined。 */
|
|
83
|
+
function defined(properties) {
|
|
84
|
+
return Object.fromEntries(Object.entries(properties).filter(([, val]) => val !== void 0));
|
|
85
|
+
}
|
|
86
|
+
/** 安全地把 XML 字符串收窄到新版 Model 所支持的枚举。 */
|
|
87
|
+
function choice(raw, options) {
|
|
88
|
+
return options.find((option) => option === raw);
|
|
89
|
+
}
|
|
90
|
+
/** DOCX 解析结果正文读取失败时使用界面可直接显示的中文原因。 */
|
|
91
|
+
function readOfficeDocument(value) {
|
|
92
|
+
let payload = value;
|
|
93
|
+
for (let i = 0; i < 3; i++) if (typeof payload === "string") try {
|
|
94
|
+
payload = JSON.parse(payload);
|
|
95
|
+
} catch {
|
|
96
|
+
throw new Error("无法读取 DOCX 解析结果,请检查文件后重试");
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const wrapper = object(payload);
|
|
100
|
+
if (!wrapper || "document" in wrapper || !("data" in wrapper)) break;
|
|
101
|
+
payload = wrapper.data;
|
|
102
|
+
}
|
|
103
|
+
const root = object(payload);
|
|
104
|
+
const document = object(root?.document);
|
|
105
|
+
const body = child(document, "w:body");
|
|
106
|
+
if (!root || document?.name !== "w:document" || !body || !Array.isArray(body.elements)) throw new Error("文件解析结果缺少正文,请检查文件后重试");
|
|
107
|
+
return {
|
|
108
|
+
root,
|
|
109
|
+
document,
|
|
110
|
+
body
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
// src/import/docx/mathml.ts
|
|
114
|
+
/** @file 将 Word 公式的结构转换为可信的展示 MathML。 */
|
|
115
|
+
/** 公式正文来自文档,只有固定代码生成 MathML 标签和属性。 */
|
|
116
|
+
function escapeXml(value) {
|
|
117
|
+
return value.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
118
|
+
}
|
|
119
|
+
function tag(name, body, attributes = "") {
|
|
120
|
+
return `<${name}${attributes}>${body}</${name}>`;
|
|
121
|
+
}
|
|
122
|
+
function operator(value, attributes) {
|
|
123
|
+
return tag("mo", escapeXml(value), attributes);
|
|
124
|
+
}
|
|
125
|
+
function mathText(node, plain) {
|
|
126
|
+
const content = children(node).map((entry) => scalar(entry.text) ?? "").join("");
|
|
127
|
+
if (plain) return tag("mtext", escapeXml(content.replaceAll(" ", "\xA0")));
|
|
128
|
+
return (content.match(/\p{Nd}+(?:[.,]\p{Nd}+)?|\p{L}\p{M}*|[^\s]/gu) ?? []).map((token) => {
|
|
129
|
+
return tag(/^\p{Nd}/u.test(token) ? "mn" : /^\p{L}/u.test(token) ? "mi" : "mo", escapeXml(token));
|
|
130
|
+
}).join("");
|
|
131
|
+
}
|
|
132
|
+
/** 限定单个公式的转换规模,转换失败时由导入器记录降级。 */
|
|
133
|
+
function officeMathToMathMl(root, display) {
|
|
134
|
+
let remainingNodes = 4096;
|
|
135
|
+
const row = (node, plain = false) => tag("mrow", children(node).map((entry) => visit(entry, plain)).join(""));
|
|
136
|
+
function visit(node, plain = false) {
|
|
137
|
+
if (--remainingNodes < 0) throw Error("Word 公式包含过多节点");
|
|
138
|
+
const arg = (name) => row(child(node, `m:${name}`));
|
|
139
|
+
const properties = child(node, `${scalar(node.name)}Pr`);
|
|
140
|
+
const property = (name) => value(properties, `m:${name}`);
|
|
141
|
+
const flag = (name) => toggle(child(properties, `m:${name}`));
|
|
142
|
+
switch (node.name) {
|
|
143
|
+
case "m:oMath":
|
|
144
|
+
case "w:ins":
|
|
145
|
+
case "w:moveTo":
|
|
146
|
+
case "w:r": return row(node, plain);
|
|
147
|
+
case "m:r": {
|
|
148
|
+
const normal = toggle(child(properties, "m:nor")) ?? plain;
|
|
149
|
+
const variant = property("sty");
|
|
150
|
+
const mathVariant = variant === "p" ? "normal" : variant === "b" ? "bold" : variant === "bi" ? "bold-italic" : void 0;
|
|
151
|
+
const body = row(node, normal);
|
|
152
|
+
return mathVariant ? tag("mstyle", body, ` mathvariant="${mathVariant}"`) : body;
|
|
153
|
+
}
|
|
154
|
+
case "m:t":
|
|
155
|
+
case "w:t": return mathText(node, plain);
|
|
156
|
+
case "m:sSup": return tag("msup", arg("e") + arg("sup"));
|
|
157
|
+
case "m:sSub": return tag("msub", arg("e") + arg("sub"));
|
|
158
|
+
case "m:sSubSup": return tag("msubsup", arg("e") + arg("sub") + arg("sup"));
|
|
159
|
+
case "m:sPre": return tag("mmultiscripts", arg("e") + "<mprescripts/>" + arg("sub") + arg("sup"));
|
|
160
|
+
case "m:f": {
|
|
161
|
+
const kind = property("type");
|
|
162
|
+
const numerator = arg("num");
|
|
163
|
+
const denominator = arg("den");
|
|
164
|
+
if (kind === "lin") return numerator + operator("/") + denominator;
|
|
165
|
+
const attributes = kind === "noBar" ? " linethickness=\"0\"" : kind === "skw" ? " bevelled=\"true\"" : "";
|
|
166
|
+
return tag("mfrac", numerator + denominator, attributes);
|
|
167
|
+
}
|
|
168
|
+
case "m:rad": {
|
|
169
|
+
const degree = child(node, "m:deg");
|
|
170
|
+
return flag("degHide") || !children(degree).length ? tag("msqrt", arg("e")) : tag("mroot", arg("e") + row(degree));
|
|
171
|
+
}
|
|
172
|
+
case "m:d": {
|
|
173
|
+
const stretchy = flag("grow") === false ? " stretchy=\"false\"" : " stretchy=\"true\"";
|
|
174
|
+
return operator(property("begChr") ?? "(", stretchy) + children(node, "m:e").map((entry) => row(entry)).join(operator(property("sepChr") ?? "|", stretchy)) + operator(property("endChr") ?? ")", stretchy);
|
|
175
|
+
}
|
|
176
|
+
case "m:nary": {
|
|
177
|
+
const character = property("chr") ?? "∫";
|
|
178
|
+
const limitLocation = property("limLoc");
|
|
179
|
+
const underOver = limitLocation === "undOvr" || limitLocation === void 0 && !/^[∫-∳]$/u.test(character);
|
|
180
|
+
const op = operator(character, flag("grow") === false ? " largeop=\"false\"" : " largeop=\"true\"");
|
|
181
|
+
const lower = flag("subHide") ? "" : arg("sub");
|
|
182
|
+
const upper = flag("supHide") ? "" : arg("sup");
|
|
183
|
+
return (lower || upper ? tag(lower && upper ? underOver ? "munderover" : "msubsup" : lower ? underOver ? "munder" : "msub" : underOver ? "mover" : "msup", op + lower + upper) : op) + arg("e");
|
|
184
|
+
}
|
|
185
|
+
case "m:acc": return tag("mover", arg("e") + operator(property("chr") ?? "̂"), " accent=\"true\"");
|
|
186
|
+
case "m:bar":
|
|
187
|
+
case "m:groupChr": {
|
|
188
|
+
const group = node.name === "m:groupChr";
|
|
189
|
+
const below = (property("pos") ?? (group ? "bot" : "top")) === "bot";
|
|
190
|
+
const character = group ? property("chr") ?? "⏟" : below ? "_" : "‾";
|
|
191
|
+
return tag(below ? "munder" : "mover", arg("e") + operator(character, " stretchy=\"true\""));
|
|
192
|
+
}
|
|
193
|
+
case "m:limLow": return tag("munder", arg("e") + arg("lim"));
|
|
194
|
+
case "m:limUpp": return tag("mover", arg("e") + arg("lim"));
|
|
195
|
+
case "m:func": return arg("fName") + operator("") + arg("e");
|
|
196
|
+
case "m:m": return tag("mtable", children(node, "m:mr").map((entry) => tag("mtr", children(entry, "m:e").map((cell) => tag("mtd", row(cell))).join(""))).join(""));
|
|
197
|
+
case "m:eqArr": return tag("mtable", children(node, "m:e").map((entry) => tag("mtr", tag("mtd", row(entry)))).join(""));
|
|
198
|
+
case "m:box": return arg("e");
|
|
199
|
+
case "m:borderBox": return tag("menclose", arg("e"), " notation=\"box\"");
|
|
200
|
+
case "m:phant": return tag("mphantom", arg("e"));
|
|
201
|
+
case "w:del":
|
|
202
|
+
case "w:moveFrom":
|
|
203
|
+
case "w:proofErr":
|
|
204
|
+
case "w:bookmarkStart":
|
|
205
|
+
case "w:bookmarkEnd":
|
|
206
|
+
case "w:rPr":
|
|
207
|
+
case "m:rPr":
|
|
208
|
+
case "m:oMathParaPr": return "";
|
|
209
|
+
case "w:br": return "<mspace linebreak=\"newline\"/>";
|
|
210
|
+
case void 0: return "";
|
|
211
|
+
default: throw Error("无法转换 Word 公式结构");
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
const content = root.name === "m:oMathPara" ? children(root, "m:oMath").map((equation) => visit(equation)) : [visit(root)];
|
|
215
|
+
return tag("math", content.length > 1 ? tag("mtable", content.map((equation) => tag("mtr", tag("mtd", equation))).join("")) : content[0] ?? "", ` xmlns="http://www.w3.org/1998/Math/MathML" display="${display ? "block" : "inline"}"`);
|
|
216
|
+
}
|
|
217
|
+
// src/import/docx/math-image.ts
|
|
218
|
+
/** @file 公式转换为独立图片,复用模板保存及画布图片排版。 */
|
|
219
|
+
var adaptor = liteAdaptor();
|
|
220
|
+
RegisterHTMLHandler(adaptor);
|
|
221
|
+
var typesetter = mathjax.document("", {
|
|
222
|
+
InputJax: new MathML(),
|
|
223
|
+
OutputJax: new SVG({ fontCache: "none" })
|
|
224
|
+
});
|
|
225
|
+
/** 输出图片和对应的逻辑像素尺寸,字形路径随图片保存。 */
|
|
226
|
+
function mathImage(node, fontSizePt) {
|
|
227
|
+
const display = node.name === "m:oMathPara";
|
|
228
|
+
const mathMl = officeMathToMathMl(node, display);
|
|
229
|
+
const svg = adaptor.tags(typesetter.convert(mathMl, { display }), "svg")[0];
|
|
230
|
+
if (!svg || adaptor.tags(svg, "g").some((group) => adaptor.getAttribute(group, "data-mml-node") === "merror")) throw Error("无法渲染 Word 公式");
|
|
231
|
+
const [, , width, height] = adaptor.getAttribute(svg, "viewBox").split(/\s+/).map(Number);
|
|
232
|
+
const scale = fontSizePt * 96 / 72e3;
|
|
233
|
+
const size = {
|
|
234
|
+
width: width * scale,
|
|
235
|
+
height: height * scale
|
|
236
|
+
};
|
|
237
|
+
if (!(size.width > 0 && size.height > 0) || !Number.isFinite(size.width + size.height)) throw Error("无法计算 Word 公式尺寸");
|
|
238
|
+
adaptor.removeAttribute(svg, "style");
|
|
239
|
+
adaptor.setAttribute(svg, "width", String(size.width));
|
|
240
|
+
adaptor.setAttribute(svg, "height", String(size.height));
|
|
241
|
+
return {
|
|
242
|
+
url: `data:image/svg+xml,${encodeURIComponent(adaptor.outerHTML(svg))}`,
|
|
243
|
+
preferredSizePx: size
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
// src/import/docx/numbering.ts
|
|
247
|
+
/** 匹配 DOCX 的字母编号,即 A..Z、AA..ZZ、AAA..ZZZ。 */
|
|
248
|
+
function letters(count) {
|
|
249
|
+
return String.fromCharCode(65 + (count - 1) % 26).repeat(Math.ceil(count / 26));
|
|
250
|
+
}
|
|
251
|
+
/** 转换单个计数为罗马数字。 */
|
|
252
|
+
function roman(count) {
|
|
253
|
+
if (count > 3999) return String(count);
|
|
254
|
+
const digits = [
|
|
255
|
+
"M",
|
|
256
|
+
"CM",
|
|
257
|
+
"D",
|
|
258
|
+
"CD",
|
|
259
|
+
"C",
|
|
260
|
+
"XC",
|
|
261
|
+
"L",
|
|
262
|
+
"XL",
|
|
263
|
+
"X",
|
|
264
|
+
"IX",
|
|
265
|
+
"V",
|
|
266
|
+
"IV",
|
|
267
|
+
"I"
|
|
268
|
+
];
|
|
269
|
+
const values = [
|
|
270
|
+
1e3,
|
|
271
|
+
900,
|
|
272
|
+
500,
|
|
273
|
+
400,
|
|
274
|
+
100,
|
|
275
|
+
90,
|
|
276
|
+
50,
|
|
277
|
+
40,
|
|
278
|
+
10,
|
|
279
|
+
9,
|
|
280
|
+
5,
|
|
281
|
+
4,
|
|
282
|
+
1
|
|
283
|
+
];
|
|
284
|
+
let result = "";
|
|
285
|
+
for (const [index, digit] of digits.entries()) {
|
|
286
|
+
const unit = values[index];
|
|
287
|
+
result += digit.repeat(Math.floor(count / unit));
|
|
288
|
+
count %= unit;
|
|
289
|
+
}
|
|
290
|
+
return result;
|
|
291
|
+
}
|
|
292
|
+
/** 处理常用编号格式,未知样式使用可见十进制数字。 */
|
|
293
|
+
function formatted(count, format, warn) {
|
|
294
|
+
if (!Number.isSafeInteger(count) || count <= 0) return String(count);
|
|
295
|
+
const alphabetic = count <= 702 ? letters(count) : String(count);
|
|
296
|
+
switch (format) {
|
|
297
|
+
case "upperLetter": return alphabetic;
|
|
298
|
+
case "lowerLetter": return alphabetic.toLowerCase();
|
|
299
|
+
case "upperRoman": return roman(count);
|
|
300
|
+
case "lowerRoman": return roman(count).toLowerCase();
|
|
301
|
+
case "decimalZero": return String(count).padStart(2, "0");
|
|
302
|
+
case "none": return "";
|
|
303
|
+
case "decimal":
|
|
304
|
+
case "bullet":
|
|
305
|
+
case void 0: return String(count);
|
|
306
|
+
default:
|
|
307
|
+
warn("numbering");
|
|
308
|
+
return String(count);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
/** 每个正文或页部件持有一份计数器,Word 编号定义只在导入期间使用。 */
|
|
312
|
+
var DocxNumbering = class {
|
|
313
|
+
warn;
|
|
314
|
+
/** 实例列表指向抽象编号及其局部覆盖。 */
|
|
315
|
+
instances = /* @__PURE__ */ new Map();
|
|
316
|
+
/** 抽象编号的各层级定义。 */
|
|
317
|
+
definitions = /* @__PURE__ */ new Map();
|
|
318
|
+
/** 已读取的编号状态,按部件和编号 ID 隔离。 */
|
|
319
|
+
sequences = /* @__PURE__ */ new Map();
|
|
320
|
+
/** 建立编号定义索引。 */
|
|
321
|
+
constructor(root, warn) {
|
|
322
|
+
this.warn = warn;
|
|
323
|
+
const definition = object(root.numbering);
|
|
324
|
+
for (const list of children(definition, "w:abstractNum")) {
|
|
325
|
+
const id = attr(list, "w:abstractNumId");
|
|
326
|
+
if (id !== void 0) this.definitions.set(id, new Map(children(list, "w:lvl").map((level) => [attr(level, "w:ilvl") ?? "0", level])));
|
|
327
|
+
}
|
|
328
|
+
for (const list of children(definition, "w:num")) {
|
|
329
|
+
const id = attr(list, "w:numId");
|
|
330
|
+
if (id !== void 0) this.instances.set(id, list);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/** 按段落的直接声明和继承来源生成一次编号。 */
|
|
334
|
+
next(owner, properties) {
|
|
335
|
+
const parameters = properties.map((node) => child(node, "w:numPr"));
|
|
336
|
+
const id = parameters.map((node) => value(node, "w:numId")).find((item) => item !== void 0);
|
|
337
|
+
if (!id || id === "0") return;
|
|
338
|
+
const index = numeric(parameters.map((node) => value(node, "w:ilvl")).find((item) => item !== void 0)) ?? 0;
|
|
339
|
+
if (index < 0 || index > 8 || !Number.isInteger(index)) {
|
|
340
|
+
this.warn("numbering");
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
const instance = this.instances.get(id);
|
|
344
|
+
const definition = this.definitions.get(value(instance, "w:abstractNumId") ?? "");
|
|
345
|
+
const overrides = new Map(children(instance, "w:lvlOverride").map((item) => [attr(item, "w:ilvl"), item]));
|
|
346
|
+
const level = (key) => child(overrides.get(String(key)), "w:lvl") ?? definition?.get(String(key));
|
|
347
|
+
const start = (key) => numeric(value(overrides.get(String(key)), "w:startOverride") ?? value(level(key), "w:start")) ?? 1;
|
|
348
|
+
const entry = level(index);
|
|
349
|
+
if (!entry) {
|
|
350
|
+
this.warn("numbering");
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
353
|
+
let sequences = this.sequences.get(owner);
|
|
354
|
+
if (!sequences) this.sequences.set(owner, sequences = /* @__PURE__ */ new Map());
|
|
355
|
+
let sequence = sequences.get(id);
|
|
356
|
+
if (!sequence) sequences.set(id, sequence = []);
|
|
357
|
+
const nextCount = (sequence[index] ?? start(index) - 1) + 1;
|
|
358
|
+
sequence[index] = nextCount;
|
|
359
|
+
for (let next = index + 1; next < sequence.length; next++) {
|
|
360
|
+
const restart = numeric(value(level(next), "w:lvlRestart")) ?? next;
|
|
361
|
+
if (restart && index < restart) sequence[next] = void 0;
|
|
362
|
+
}
|
|
363
|
+
const format = value(entry, "w:numFmt");
|
|
364
|
+
if (format === "none") return;
|
|
365
|
+
const text = (value(entry, "w:lvlText") ?? (format === "bullet" ? "•" : `%${index + 1}.`)).replace(/%([1-9])/g, (_token, ordinal) => {
|
|
366
|
+
const key = Number(ordinal) - 1;
|
|
367
|
+
return formatted(sequence?.[key] ?? start(key), value(level(key), "w:numFmt"), this.warn);
|
|
368
|
+
});
|
|
369
|
+
const suffix = value(entry, "w:suff");
|
|
370
|
+
return {
|
|
371
|
+
text: text + (suffix === "nothing" ? "" : suffix === "space" ? " " : " "),
|
|
372
|
+
appearance: child(entry, "w:rPr"),
|
|
373
|
+
properties: child(entry, "w:pPr")
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
// src/import/docx/styles.ts
|
|
378
|
+
/** 读取可映射到 Word 颜色的 RGB 或自动色。 */
|
|
379
|
+
function color(raw) {
|
|
380
|
+
if (raw && /^[0-9a-f]{6}$/i.test(raw)) return "#" + raw;
|
|
381
|
+
}
|
|
382
|
+
/** 读取段落排版属性,尺寸转换后直接交给原生模型。 */
|
|
383
|
+
function paragraphStyle(node) {
|
|
384
|
+
const alignment = value(node, "w:jc");
|
|
385
|
+
const ind = child(node, "w:ind");
|
|
386
|
+
const spacing = child(node, "w:spacing");
|
|
387
|
+
const line = positive(numeric(attr(spacing, "w:line")));
|
|
388
|
+
const rule = attr(spacing, "w:lineRule");
|
|
389
|
+
const indentPx = defined({
|
|
390
|
+
left: px(attr(ind, "w:start") ?? attr(ind, "w:left")),
|
|
391
|
+
right: px(attr(ind, "w:end") ?? attr(ind, "w:right")),
|
|
392
|
+
firstLine: nonnegative(px(attr(ind, "w:firstLine"))),
|
|
393
|
+
hanging: nonnegative(px(attr(ind, "w:hanging")))
|
|
394
|
+
});
|
|
395
|
+
return defined({
|
|
396
|
+
alignment: alignment === "both" ? "justify" : alignment === "start" ? "left" : alignment === "end" ? "right" : choice(alignment, [
|
|
397
|
+
"left",
|
|
398
|
+
"center",
|
|
399
|
+
"right",
|
|
400
|
+
"justify",
|
|
401
|
+
"distribute"
|
|
402
|
+
]),
|
|
403
|
+
indentPx: Object.keys(indentPx).length ? indentPx : void 0,
|
|
404
|
+
spaceBeforePx: nonnegative(px(attr(spacing, "w:before"))),
|
|
405
|
+
spaceAfterPx: nonnegative(px(attr(spacing, "w:after"))),
|
|
406
|
+
spaceBeforeAuto: autoSpacing(spacing, "w:beforeAutospacing"),
|
|
407
|
+
spaceAfterAuto: autoSpacing(spacing, "w:afterAutospacing"),
|
|
408
|
+
lineHeight: line === void 0 ? void 0 : rule === "exact" || rule === "atLeast" ? {
|
|
409
|
+
kind: rule === "exact" ? "fixed" : "minimum",
|
|
410
|
+
valuePx: line / 15
|
|
411
|
+
} : {
|
|
412
|
+
kind: "multiple",
|
|
413
|
+
value: line / 240
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
/** 保留段间距的显式开关。 */
|
|
418
|
+
function autoSpacing(node, key) {
|
|
419
|
+
const raw = attr(node, key);
|
|
420
|
+
return raw === void 0 ? void 0 : ![
|
|
421
|
+
"0",
|
|
422
|
+
"false",
|
|
423
|
+
"off"
|
|
424
|
+
].includes(raw);
|
|
425
|
+
}
|
|
426
|
+
/** 读取边距中的显式边,区分缺省与零尺寸。 */
|
|
427
|
+
function readCellMargins(node) {
|
|
428
|
+
const result = {};
|
|
429
|
+
for (const key of [
|
|
430
|
+
"top",
|
|
431
|
+
"right",
|
|
432
|
+
"bottom",
|
|
433
|
+
"left"
|
|
434
|
+
]) {
|
|
435
|
+
const element = child(node, "w:" + key) ?? (key === "left" ? child(node, "w:start") : key === "right" ? child(node, "w:end") : void 0);
|
|
436
|
+
const type = attr(element, "w:type");
|
|
437
|
+
if (type && !["dxa", "nil"].includes(type)) continue;
|
|
438
|
+
const width = type === "nil" ? 0 : nonnegative(px(attr(element, "w:w")));
|
|
439
|
+
if (width !== void 0) result[key] = width;
|
|
440
|
+
}
|
|
441
|
+
return result;
|
|
442
|
+
}
|
|
443
|
+
/** 模型内边距使用完整四边,缺省边继承上一层。 */
|
|
444
|
+
function insets(node, fallback) {
|
|
445
|
+
if (node) return {
|
|
446
|
+
...fallback ?? {
|
|
447
|
+
top: 0,
|
|
448
|
+
right: 0,
|
|
449
|
+
bottom: 0,
|
|
450
|
+
left: 0
|
|
451
|
+
},
|
|
452
|
+
...readCellMargins(node)
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
/** 保留支持的线型,宽度和颜色使用 eform 的表格边框样式。 */
|
|
456
|
+
function readBorders(node) {
|
|
457
|
+
if (!node) return;
|
|
458
|
+
const result = {};
|
|
459
|
+
for (const key of [
|
|
460
|
+
"top",
|
|
461
|
+
"right",
|
|
462
|
+
"bottom",
|
|
463
|
+
"left",
|
|
464
|
+
"insideH",
|
|
465
|
+
"insideV"
|
|
466
|
+
]) {
|
|
467
|
+
const element = child(node, "w:" + key) ?? (key === "left" ? child(node, "w:start") : key === "right" ? child(node, "w:end") : void 0);
|
|
468
|
+
const name = attr(element, "w:val");
|
|
469
|
+
if (!name) continue;
|
|
470
|
+
const style = name === "double" ? "double" : name === "dotted" ? "dotted" : /dash/i.test(name) ? "dashed" : "solid";
|
|
471
|
+
const sourceWidthPx = (nonnegative(numeric(attr(element, "w:sz"))) ?? 4) / 6;
|
|
472
|
+
const widths = tableBorderWidthsPx;
|
|
473
|
+
result[key] = {
|
|
474
|
+
style,
|
|
475
|
+
widthPx: name === "none" || name === "nil" || sourceWidthPx === 0 ? widths.none : sourceWidthPx >= widths.thick ? widths.thick : widths.thin,
|
|
476
|
+
color: defaultTableBorderColor
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
return Object.keys(result).length ? result : void 0;
|
|
480
|
+
}
|
|
481
|
+
/** 读取表格声明,列宽和行高由物理网格单独保存。 */
|
|
482
|
+
function tableStyle(node, padding = insets(child(node, "w:tblCellMar"))) {
|
|
483
|
+
const alignment = value(node, "w:jc");
|
|
484
|
+
return defined({
|
|
485
|
+
alignment: alignment === "start" ? "left" : alignment === "end" ? "right" : choice(alignment, [
|
|
486
|
+
"left",
|
|
487
|
+
"center",
|
|
488
|
+
"right"
|
|
489
|
+
]),
|
|
490
|
+
indentPx: px(attr(child(node, "w:tblInd"), "w:w")),
|
|
491
|
+
borders: readBorders(child(node, "w:tblBorders")),
|
|
492
|
+
cellPaddingPx: padding,
|
|
493
|
+
backgroundColor: color(attr(child(node, "w:shd"), "w:fill"))
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
/** 读取单元格的独立覆盖,兼顾部分边距继承。 */
|
|
497
|
+
function cellStyle(node, padding) {
|
|
498
|
+
return defined({
|
|
499
|
+
paddingPx: insets(child(node, "w:tcMar"), padding),
|
|
500
|
+
borders: readBorders(child(node, "w:tcBorders")),
|
|
501
|
+
backgroundColor: color(attr(child(node, "w:shd"), "w:fill")),
|
|
502
|
+
verticalAlign: choice(value(node, "w:vAlign"), [
|
|
503
|
+
"top",
|
|
504
|
+
"center",
|
|
505
|
+
"bottom"
|
|
506
|
+
])
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
var highlight = new Map(Object.entries({
|
|
510
|
+
black: "#000000",
|
|
511
|
+
blue: "#0000FF",
|
|
512
|
+
cyan: "#00FFFF",
|
|
513
|
+
green: "#00FF00",
|
|
514
|
+
magenta: "#FF00FF",
|
|
515
|
+
red: "#FF0000",
|
|
516
|
+
yellow: "#FFFF00",
|
|
517
|
+
white: "#FFFFFF",
|
|
518
|
+
darkBlue: "#000080",
|
|
519
|
+
darkCyan: "#008080",
|
|
520
|
+
darkGreen: "#008000",
|
|
521
|
+
darkMagenta: "#800080",
|
|
522
|
+
darkRed: "#800000",
|
|
523
|
+
darkYellow: "#808000",
|
|
524
|
+
darkGray: "#808080",
|
|
525
|
+
lightGray: "#C0C0C0",
|
|
526
|
+
none: "transparent"
|
|
527
|
+
}));
|
|
528
|
+
/** DOCX 主题只解出当前模型可以消费的 RGB 和字体名称。 */
|
|
529
|
+
function readTheme(root) {
|
|
530
|
+
const theme = nodes(root.themes)[0];
|
|
531
|
+
const fonts = /* @__PURE__ */ new Map();
|
|
532
|
+
const colors = /* @__PURE__ */ new Map();
|
|
533
|
+
for (const type of ["major", "minor"]) {
|
|
534
|
+
const family = descendant(theme, (name) => name === "a:" + type + "Font");
|
|
535
|
+
const latin = attr(child(family, "a:latin"), "typeface");
|
|
536
|
+
const east = attr(child(family, "a:ea"), "typeface") || attr(children(family, "a:font").find((item) => attr(item, "script") === "Hans"), "typeface");
|
|
537
|
+
const cs = attr(child(family, "a:cs"), "typeface");
|
|
538
|
+
if (latin) {
|
|
539
|
+
fonts.set(type + "Ascii", latin);
|
|
540
|
+
fonts.set(type + "HAnsi", latin);
|
|
541
|
+
}
|
|
542
|
+
if (east) fonts.set(type + "EastAsia", east);
|
|
543
|
+
if (cs) fonts.set(type + "Bidi", cs);
|
|
544
|
+
}
|
|
545
|
+
const scheme = descendant(theme, (name) => name === "a:clrScheme");
|
|
546
|
+
const aliases = new Map(Object.entries({
|
|
547
|
+
dk1: "dark1",
|
|
548
|
+
lt1: "light1",
|
|
549
|
+
dk2: "dark2",
|
|
550
|
+
lt2: "light2",
|
|
551
|
+
hlink: "hyperlink",
|
|
552
|
+
folHlink: "followedHyperlink"
|
|
553
|
+
}));
|
|
554
|
+
for (const element of children(scheme)) {
|
|
555
|
+
const name = scalar(element.name)?.split(":").at(-1);
|
|
556
|
+
const tone = color(attr(child(element, "a:srgbClr"), "val") ?? attr(child(element, "a:sysClr"), "lastClr"));
|
|
557
|
+
if (name && tone) colors.set(aliases.get(name) ?? name, tone);
|
|
558
|
+
}
|
|
559
|
+
return {
|
|
560
|
+
fonts,
|
|
561
|
+
colors
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
var aliasesByFamily = {
|
|
565
|
+
宋体: [
|
|
566
|
+
"simsun",
|
|
567
|
+
"nsimsun",
|
|
568
|
+
"宋体简",
|
|
569
|
+
"songtisc",
|
|
570
|
+
"stsong"
|
|
571
|
+
],
|
|
572
|
+
黑体: [
|
|
573
|
+
"simhei",
|
|
574
|
+
"heiti",
|
|
575
|
+
"stheiti"
|
|
576
|
+
],
|
|
577
|
+
微软雅黑: ["microsoftyahei", "microsoftyaheiui"],
|
|
578
|
+
楷体: [
|
|
579
|
+
"kaiti",
|
|
580
|
+
"kaitigb2312",
|
|
581
|
+
"stkaiti"
|
|
582
|
+
],
|
|
583
|
+
仿宋: [
|
|
584
|
+
"fangsong",
|
|
585
|
+
"fangsonggb2312",
|
|
586
|
+
"stfangsong"
|
|
587
|
+
]
|
|
588
|
+
};
|
|
589
|
+
var fontAliases = new Map(wordFontFamilies.flatMap((family) => [family, ...aliasesByFamily[family]].map((alias) => [alias, family])));
|
|
590
|
+
/** 只保留工具栏五种字体及其别名。缺省继续继承,明确的未知字体使用 Word 默认字体。 */
|
|
591
|
+
function normalizeFont(name) {
|
|
592
|
+
if (!name?.trim()) return;
|
|
593
|
+
return fontAliases.get(name.toLowerCase().replace(/[\s_-]+/g, "")) ?? "PingFang SC, Microsoft YaHei, sans-serif";
|
|
594
|
+
}
|
|
595
|
+
/** 解析直接文字声明,保留显式 false 以及已解析的字体与颜色。 */
|
|
596
|
+
function textStyle(node, theme) {
|
|
597
|
+
const font = child(node, "w:rFonts");
|
|
598
|
+
const family = (directKey, themeKey) => {
|
|
599
|
+
const reference = attr(font, themeKey);
|
|
600
|
+
return normalizeFont(reference && theme.fonts.get(reference) || attr(font, directKey) || reference);
|
|
601
|
+
};
|
|
602
|
+
const fontFamily = defined({
|
|
603
|
+
latin: family("w:ascii", "w:asciiTheme"),
|
|
604
|
+
latinSupplemental: family("w:hAnsi", "w:hAnsiTheme"),
|
|
605
|
+
eastAsia: family("w:eastAsia", "w:eastAsiaTheme"),
|
|
606
|
+
complexScript: family("w:cs", "w:cstheme")
|
|
607
|
+
});
|
|
608
|
+
const lang = child(node, "w:lang");
|
|
609
|
+
const language = defined({
|
|
610
|
+
primary: attr(lang, "w:val"),
|
|
611
|
+
eastAsia: attr(lang, "w:eastAsia"),
|
|
612
|
+
complexScript: attr(lang, "w:bidi")
|
|
613
|
+
});
|
|
614
|
+
const size = positive(numeric(value(node, "w:sz")));
|
|
615
|
+
const csSize = positive(numeric(value(node, "w:szCs")));
|
|
616
|
+
const kern = positive(numeric(value(node, "w:kern")));
|
|
617
|
+
const colorNode = child(node, "w:color");
|
|
618
|
+
const shade = child(node, "w:shd");
|
|
619
|
+
const shading = defined({
|
|
620
|
+
fill: color(attr(shade, "w:fill")),
|
|
621
|
+
color: color(attr(shade, "w:color")),
|
|
622
|
+
pattern: attr(shade, "w:val")
|
|
623
|
+
});
|
|
624
|
+
const caps = toggle(child(node, "w:caps"));
|
|
625
|
+
return defined({
|
|
626
|
+
fontFamily: Object.keys(fontFamily).length ? fontFamily : void 0,
|
|
627
|
+
language: Object.keys(language).length ? language : void 0,
|
|
628
|
+
fontSizePt: size === void 0 ? void 0 : size / 2,
|
|
629
|
+
complexScriptFontSizePt: csSize === void 0 ? void 0 : csSize / 2,
|
|
630
|
+
kerningMinSizePt: kern === void 0 ? void 0 : kern / 2,
|
|
631
|
+
bold: toggle(child(node, "w:b")),
|
|
632
|
+
italic: toggle(child(node, "w:i")),
|
|
633
|
+
strike: toggle(child(node, "w:strike")),
|
|
634
|
+
doubleStrike: toggle(child(node, "w:dstrike")),
|
|
635
|
+
smallCaps: toggle(child(node, "w:smallCaps")),
|
|
636
|
+
textCase: caps === void 0 ? void 0 : caps ? "uppercase" : "normal",
|
|
637
|
+
underline: choice(value(node, "w:u"), [
|
|
638
|
+
"none",
|
|
639
|
+
"single",
|
|
640
|
+
"double",
|
|
641
|
+
"dotted",
|
|
642
|
+
"dashed",
|
|
643
|
+
"wave"
|
|
644
|
+
]),
|
|
645
|
+
verticalAlign: choice(value(node, "w:vertAlign"), [
|
|
646
|
+
"baseline",
|
|
647
|
+
"superscript",
|
|
648
|
+
"subscript"
|
|
649
|
+
]),
|
|
650
|
+
color: theme.colors.get(attr(colorNode, "w:themeColor") ?? "") ?? color(attr(colorNode, "w:val")),
|
|
651
|
+
highlightColor: highlight.get(value(node, "w:highlight") ?? ""),
|
|
652
|
+
shading: Object.keys(shading).length ? shading : void 0,
|
|
653
|
+
letterSpacingPx: px(value(node, "w:spacing"))
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
/** 维护文件内样式索引,给段落、文字和表格提供新协议的样式引用。 */
|
|
657
|
+
var DocxStyles = class {
|
|
658
|
+
/** 仅转换本次文件的主题。 */
|
|
659
|
+
theme;
|
|
660
|
+
/** 只在解析期间持有原始样式定义,用于读取继承的编号与表格默认值。 */
|
|
661
|
+
definitions = /* @__PURE__ */ new Map();
|
|
662
|
+
/** 文档默认声明。 */
|
|
663
|
+
defaults;
|
|
664
|
+
/** 默认段落或表格样式在源文件中的身份。 */
|
|
665
|
+
defaultIds = /* @__PURE__ */ new Map();
|
|
666
|
+
/** 索引各类样式,前缀区分段落字样式、字符样式及新 Model 的缺省项。 */
|
|
667
|
+
constructor(root) {
|
|
668
|
+
this.theme = readTheme(root);
|
|
669
|
+
const styles = nodes([root.styles])[0];
|
|
670
|
+
this.defaults = child(styles, "w:docDefaults");
|
|
671
|
+
for (const element of children(styles, "w:style")) {
|
|
672
|
+
const id = attr(element, "w:styleId");
|
|
673
|
+
const type = attr(element, "w:type");
|
|
674
|
+
if (!id || !type) continue;
|
|
675
|
+
this.definitions.set(type + ":" + id, element);
|
|
676
|
+
if ([
|
|
677
|
+
"1",
|
|
678
|
+
"true",
|
|
679
|
+
"on"
|
|
680
|
+
].includes(attr(element, "w:default") ?? "")) this.defaultIds.set(type, id);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
/** 原始样式沿继承链从当前向上查找,遇到循环即结束。 */
|
|
684
|
+
chain(type, id = this.defaultIds.get(type)) {
|
|
685
|
+
const result = [];
|
|
686
|
+
const seen = /* @__PURE__ */ new Set();
|
|
687
|
+
while (id && !seen.has(id)) {
|
|
688
|
+
const element = this.definitions.get(type + ":" + id);
|
|
689
|
+
if (!element) break;
|
|
690
|
+
seen.add(id);
|
|
691
|
+
result.push(element);
|
|
692
|
+
id = value(element, "w:basedOn");
|
|
693
|
+
}
|
|
694
|
+
return result;
|
|
695
|
+
}
|
|
696
|
+
/** 生成供节点引用的样式 ID,缺失的可选引用使用文档默认样式。 */
|
|
697
|
+
id(type, id = this.defaultIds.get(type)) {
|
|
698
|
+
if (id && this.definitions.has(type + ":" + id)) return type + ":" + id;
|
|
699
|
+
}
|
|
700
|
+
/** 将段落、行内直接覆盖写入原生属性。 */
|
|
701
|
+
text(node) {
|
|
702
|
+
return textStyle(node, this.theme);
|
|
703
|
+
}
|
|
704
|
+
/** 生成可持久化的样式字典,循环父引用在边界处去除。 */
|
|
705
|
+
toModel() {
|
|
706
|
+
const result = {
|
|
707
|
+
text: { "text-default": { properties: this.text(child(child(this.defaults, "w:rPrDefault"), "w:rPr")) } },
|
|
708
|
+
paragraph: { "paragraph-default": {
|
|
709
|
+
properties: paragraphStyle(child(child(this.defaults, "w:pPrDefault"), "w:pPr")),
|
|
710
|
+
textStyleId: "text-default"
|
|
711
|
+
} },
|
|
712
|
+
table: {}
|
|
713
|
+
};
|
|
714
|
+
for (const [key, node] of this.definitions) {
|
|
715
|
+
const type = attr(node, "w:type");
|
|
716
|
+
if (type !== "character" && type !== "paragraph" && type !== "table") continue;
|
|
717
|
+
const parent = this.id(type, value(node, "w:basedOn") ?? "");
|
|
718
|
+
const safeParent = parent && !this.chain(type, parent.slice(type.length + 1)).includes(node) ? parent : void 0;
|
|
719
|
+
const name = value(node, "w:name");
|
|
720
|
+
if (type === "paragraph") result.paragraph[key] = defined({
|
|
721
|
+
name,
|
|
722
|
+
basedOn: safeParent ?? "paragraph-default",
|
|
723
|
+
textStyleId: key,
|
|
724
|
+
properties: paragraphStyle(child(node, "w:pPr"))
|
|
725
|
+
});
|
|
726
|
+
if (type === "table") result.table[key] = defined({
|
|
727
|
+
name,
|
|
728
|
+
basedOn: safeParent,
|
|
729
|
+
properties: tableStyle(child(node, "w:tblPr"))
|
|
730
|
+
});
|
|
731
|
+
else result.text[key] = defined({
|
|
732
|
+
name,
|
|
733
|
+
basedOn: safeParent ?? (type === "paragraph" ? "text-default" : void 0),
|
|
734
|
+
properties: this.text(child(node, "w:rPr"))
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
return result;
|
|
738
|
+
}
|
|
739
|
+
};
|
|
740
|
+
// src/import/docx/tables.ts
|
|
741
|
+
/** 从属性读非负安全整数,非法网格属性采用缺省值。 */
|
|
742
|
+
function gridNumber(raw, fallback) {
|
|
743
|
+
const count = numeric(raw);
|
|
744
|
+
return count !== void 0 && Number.isSafeInteger(count) && count >= 0 ? count : fallback;
|
|
745
|
+
}
|
|
746
|
+
/** DOCX 允许稀疏行和逻辑跨列;先定位源格,再分配完整的物理矩形。 */
|
|
747
|
+
function locateCells(row) {
|
|
748
|
+
const properties = child(row, "w:trPr");
|
|
749
|
+
let column = gridNumber(value(properties, "w:gridBefore"), 0);
|
|
750
|
+
return {
|
|
751
|
+
cells: children(row, "w:tc").map((node) => {
|
|
752
|
+
const span = Math.max(1, gridNumber(value(child(node, "w:tcPr"), "w:gridSpan"), 1));
|
|
753
|
+
const cell = {
|
|
754
|
+
node,
|
|
755
|
+
column,
|
|
756
|
+
span
|
|
757
|
+
};
|
|
758
|
+
column += span;
|
|
759
|
+
return cell;
|
|
760
|
+
}),
|
|
761
|
+
columns: column + gridNumber(value(properties, "w:gridAfter"), 0)
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
/** 导入保留明确行高模式,缺省行继续按内容自适应。 */
|
|
765
|
+
function readRowHeight(node) {
|
|
766
|
+
const height = child(node, "w:trHeight");
|
|
767
|
+
const size = positive(px(attr(height, "w:val")));
|
|
768
|
+
const rule = attr(height, "w:hRule");
|
|
769
|
+
return size === void 0 || rule === "auto" ? void 0 : {
|
|
770
|
+
kind: rule === "exact" ? "fixed" : "minimum",
|
|
771
|
+
valuePx: size
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
/** 从基础样式到表格声明按边继承,显式零值可覆盖,始终缺省的边按零保存。 */
|
|
775
|
+
function tableMargins(properties, styleChain) {
|
|
776
|
+
const result = {
|
|
777
|
+
top: 0,
|
|
778
|
+
right: 0,
|
|
779
|
+
bottom: 0,
|
|
780
|
+
left: 0
|
|
781
|
+
};
|
|
782
|
+
for (const definition of styleChain.slice().reverse()) Object.assign(result, readCellMargins(child(child(definition, "w:tblPr"), "w:tblCellMar")));
|
|
783
|
+
return {
|
|
784
|
+
...result,
|
|
785
|
+
...readCellMargins(child(properties, "w:tblCellMar"))
|
|
786
|
+
};
|
|
787
|
+
}
|
|
788
|
+
/** 直接创建原生网格,列宽和单元格样式均保留文件中的明确值。 */
|
|
789
|
+
function readTable(node, factory, styles, readBlocks, warn) {
|
|
790
|
+
const sourceRows = children(node, "w:tr");
|
|
791
|
+
if (!sourceRows.length) {
|
|
792
|
+
warn("table-grid");
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
795
|
+
const located = sourceRows.map(locateCells);
|
|
796
|
+
const grid = children(child(node, "w:tblGrid"), "w:gridCol");
|
|
797
|
+
const columnCount = located.reduce((max, row) => Math.max(max, row.columns), grid.length);
|
|
798
|
+
if (!columnCount) {
|
|
799
|
+
warn("table-grid");
|
|
800
|
+
return;
|
|
801
|
+
}
|
|
802
|
+
if (sourceRows.length * columnCount > 1e6) throw new Error("文件内的表格网格过大,无法在设计端展开");
|
|
803
|
+
const properties = child(node, "w:tblPr");
|
|
804
|
+
const sourceStyleId = value(properties, "w:tblStyle");
|
|
805
|
+
const styleChain = styles.chain("table", sourceStyleId);
|
|
806
|
+
const tablePadding = tableMargins(properties, styleChain);
|
|
807
|
+
if (styleChain.some((definition) => child(definition, "w:tblStylePr"))) warn("table-style");
|
|
808
|
+
const table = factory.createTable(defined({
|
|
809
|
+
rowCount: sourceRows.length,
|
|
810
|
+
columnCount,
|
|
811
|
+
tableStyleId: styles.id("table", sourceStyleId),
|
|
812
|
+
style: tableStyle(properties, tablePadding)
|
|
813
|
+
}));
|
|
814
|
+
const widths = Array.from({ length: columnCount }, (_, index) => positive(px(attr(grid[index], "w:w"))));
|
|
815
|
+
const declaredTableWidth = child(properties, "w:tblW");
|
|
816
|
+
const totalWidth = attr(declaredTableWidth, "w:type") === "dxa" ? positive(px(attr(declaredTableWidth, "w:w"))) : void 0;
|
|
817
|
+
const mergeAreas = [];
|
|
818
|
+
let activeMerges = /* @__PURE__ */ new Map();
|
|
819
|
+
for (const [rowIndex, sourceRow] of sourceRows.entries()) {
|
|
820
|
+
const row = table.rows[rowIndex];
|
|
821
|
+
const height = readRowHeight(child(sourceRow, "w:trPr"));
|
|
822
|
+
if (height) row.height = height;
|
|
823
|
+
const rowPadding = {
|
|
824
|
+
...tablePadding,
|
|
825
|
+
...readCellMargins(child(child(sourceRow, "w:tblPrEx"), "w:tblCellMar"))
|
|
826
|
+
};
|
|
827
|
+
const rowPaddingOverride = isEqual(rowPadding, tablePadding) ? void 0 : rowPadding;
|
|
828
|
+
if (rowPaddingOverride) for (const cell of row.cells) cell.style = { paddingPx: rowPaddingOverride };
|
|
829
|
+
const nextMerges = /* @__PURE__ */ new Map();
|
|
830
|
+
for (const { node: source, column, span } of located[rowIndex].cells) {
|
|
831
|
+
const cell = row.cells[column];
|
|
832
|
+
const cellProperties = child(source, "w:tcPr");
|
|
833
|
+
const width = child(cellProperties, "w:tcW");
|
|
834
|
+
const declared = attr(width, "w:type") === "dxa" ? positive(px(attr(width, "w:w"))) : void 0;
|
|
835
|
+
const end = column + span - 1;
|
|
836
|
+
if (declared !== void 0) {
|
|
837
|
+
const spanned = widths.slice(column, end + 1);
|
|
838
|
+
const known = spanned.reduce((sum, width) => sum + (width ?? 0), 0);
|
|
839
|
+
const missing = spanned.filter((width) => width === void 0).length;
|
|
840
|
+
if (declared > known && missing) for (let index = column; index <= end; index++) widths[index] ??= (declared - known) / missing;
|
|
841
|
+
}
|
|
842
|
+
cell.blocks = readBlocks(source);
|
|
843
|
+
const formatting = cellStyle(cellProperties, rowPadding);
|
|
844
|
+
if (Object.keys(formatting).length) cell.style = {
|
|
845
|
+
...cell.style,
|
|
846
|
+
...formatting
|
|
847
|
+
};
|
|
848
|
+
const vertical = child(cellProperties, "w:vMerge");
|
|
849
|
+
const start = attr(vertical, "w:val") === "restart";
|
|
850
|
+
const prev = activeMerges.get(column);
|
|
851
|
+
if (vertical && !start && prev?.right === end) {
|
|
852
|
+
prev.bottom = rowIndex;
|
|
853
|
+
nextMerges.set(column, prev);
|
|
854
|
+
continue;
|
|
855
|
+
}
|
|
856
|
+
if (vertical && !start) warn("table-grid");
|
|
857
|
+
if (start || span > 1) {
|
|
858
|
+
const area = {
|
|
859
|
+
top: rowIndex,
|
|
860
|
+
bottom: rowIndex,
|
|
861
|
+
left: column,
|
|
862
|
+
right: end
|
|
863
|
+
};
|
|
864
|
+
mergeAreas.push(area);
|
|
865
|
+
if (start) nextMerges.set(column, area);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
activeMerges = nextMerges;
|
|
869
|
+
}
|
|
870
|
+
const remaining = totalWidth === void 0 ? void 0 : positive(totalWidth - widths.reduce((sum, width) => sum + (width ?? 0), 0));
|
|
871
|
+
const missing = widths.filter((width) => width === void 0).length;
|
|
872
|
+
for (const [index, column] of table.columns.entries()) {
|
|
873
|
+
const width = widths[index] ?? (remaining && missing ? remaining / missing : void 0);
|
|
874
|
+
if (width !== void 0) column.widthPx = width;
|
|
875
|
+
}
|
|
876
|
+
for (const area of mergeAreas) {
|
|
877
|
+
if (area.top === area.bottom && area.left === area.right) continue;
|
|
878
|
+
table.merges.push(factory.createMerge({
|
|
879
|
+
fromCellId: table.rows[area.top].cells[area.left].id,
|
|
880
|
+
toCellId: table.rows[area.bottom].cells[area.right].id
|
|
881
|
+
}));
|
|
882
|
+
}
|
|
883
|
+
return table;
|
|
884
|
+
}
|
|
885
|
+
// src/import/docx/content.ts
|
|
886
|
+
var imageUrlPattern = /^(?:https?:\/\/|\/|data:image\/)/i;
|
|
887
|
+
/** 平台 url 字段可以是资源键;关系里的包内相对地址不能走资源键解析。 */
|
|
888
|
+
function imageRelationships(input, resolveImageKey) {
|
|
889
|
+
const result = /* @__PURE__ */ new Map();
|
|
890
|
+
for (const entry of input) {
|
|
891
|
+
const relation = object(entry["@Relationship"]) ?? entry;
|
|
892
|
+
const id = scalar(relation.Id);
|
|
893
|
+
const type = scalar(relation.Type);
|
|
894
|
+
if (!id || !type?.endsWith("/image")) continue;
|
|
895
|
+
const reference = scalar(entry.url ?? relation.url)?.trim();
|
|
896
|
+
const url = reference && !imageUrlPattern.test(reference) ? resolveImageKey?.(reference) : reference || scalar(relation.Target)?.trim();
|
|
897
|
+
if (url && imageUrlPattern.test(url)) result.set(id, url);
|
|
898
|
+
}
|
|
899
|
+
return result;
|
|
900
|
+
}
|
|
901
|
+
var inlineContainers = /* @__PURE__ */ new Set([
|
|
902
|
+
"w:hyperlink",
|
|
903
|
+
"w:smartTag",
|
|
904
|
+
"w:customXml",
|
|
905
|
+
"w:ins",
|
|
906
|
+
"w:moveTo",
|
|
907
|
+
"w:sdtContent"
|
|
908
|
+
]);
|
|
909
|
+
var blockContainers = /* @__PURE__ */ new Set([
|
|
910
|
+
"w:customXml",
|
|
911
|
+
"w:ins",
|
|
912
|
+
"w:moveTo",
|
|
913
|
+
"w:sdtContent"
|
|
914
|
+
]);
|
|
915
|
+
/** null 表示节内总页数,当前原生模板只支持整份文档的总页数。 */
|
|
916
|
+
var pageFieldTemplates = /* @__PURE__ */ new Map([
|
|
917
|
+
["PAGE", "${no}"],
|
|
918
|
+
["NUMPAGES", "${total}"],
|
|
919
|
+
["SECTIONPAGES", null]
|
|
920
|
+
]);
|
|
921
|
+
/** 从域指令读取类型,允许开关和其他参数跟在名称之后。 */
|
|
922
|
+
function fieldName(instruction) {
|
|
923
|
+
return instruction?.trim().split(/\s+/, 1)[0]?.toUpperCase() ?? "";
|
|
924
|
+
}
|
|
925
|
+
/** 页码文档部件保留实际内容,跳过尚未填写的图库占位。 */
|
|
926
|
+
function controlContent(node) {
|
|
927
|
+
const properties = child(node, "w:sdtPr");
|
|
928
|
+
const gallery = value(child(properties, "w:docPartObj"), "w:docPartGallery");
|
|
929
|
+
if (gallery && /^(?:page numbers?\b|页码|頁碼)/iu.test(gallery.trim()) && toggle(child(properties, "w:showingPlcHdr"))) return;
|
|
930
|
+
return child(node, "w:sdtContent");
|
|
931
|
+
}
|
|
932
|
+
/** 文档结构翻译成原生块,转换器只保存当前导入的局部索引和资源。 */
|
|
933
|
+
var DocxContent = class {
|
|
934
|
+
model;
|
|
935
|
+
factory;
|
|
936
|
+
styles;
|
|
937
|
+
warn;
|
|
938
|
+
/** 共享编号定义及每个部件自身的计数。 */
|
|
939
|
+
numbering;
|
|
940
|
+
/** 同一图片 URL 只保存一个原生资产。 */
|
|
941
|
+
imageIds = /* @__PURE__ */ new Map();
|
|
942
|
+
/** 绑定本次转换的输出文档和工厂。 */
|
|
943
|
+
constructor(root, model, factory, styles, warn) {
|
|
944
|
+
this.model = model;
|
|
945
|
+
this.factory = factory;
|
|
946
|
+
this.styles = styles;
|
|
947
|
+
this.warn = warn;
|
|
948
|
+
this.numbering = new DocxNumbering(root, warn);
|
|
949
|
+
}
|
|
950
|
+
/** 正文、页眉页脚及单元格共用块读取;只在拥有自己的范围内解释表格。 */
|
|
951
|
+
block(node, scope, depth = 0) {
|
|
952
|
+
if (node.name === "w:p") return [this.paragraph(node, scope)];
|
|
953
|
+
if (node.name === "m:oMathPara" || node.name === "m:oMath") return [this.paragraph({ elements: [node] }, scope)];
|
|
954
|
+
if (node.name === "w:tbl") {
|
|
955
|
+
if (depth > 1) {
|
|
956
|
+
this.warn("nested-table");
|
|
957
|
+
return children(node, "w:tr").flatMap((row) => children(row, "w:tc").flatMap((cell) => children(cell).flatMap((containing) => this.block(containing, scope, depth))));
|
|
958
|
+
}
|
|
959
|
+
const table = readTable(node, this.factory, this.styles, (cell) => children(cell).flatMap((block) => this.block(block, scope, depth + 1)), this.warn);
|
|
960
|
+
return table ? [table] : [];
|
|
961
|
+
}
|
|
962
|
+
if (node.name === "w:sdt") {
|
|
963
|
+
const content = controlContent(node);
|
|
964
|
+
return content ? this.block(content, scope, depth) : [];
|
|
965
|
+
}
|
|
966
|
+
if (typeof node.name === "string" && blockContainers.has(node.name)) return children(node).flatMap((entry) => this.block(entry, scope, depth));
|
|
967
|
+
if (node.name === "mc:AlternateContent") return children(child(node, "mc:Choice") ?? child(node, "mc:Fallback")).flatMap((entry) => this.block(entry, scope, depth));
|
|
968
|
+
return [];
|
|
969
|
+
}
|
|
970
|
+
/** 合并相邻同样式文字,保留换行、图片和手工分页的逻辑边界。 */
|
|
971
|
+
paragraph(node, scope) {
|
|
972
|
+
const properties = child(node, "w:pPr");
|
|
973
|
+
const styleKey = value(properties, "w:pStyle");
|
|
974
|
+
const chain = this.styles.chain("paragraph", styleKey).map((item) => child(item, "w:pPr"));
|
|
975
|
+
const marker = this.numbering.next(scope.owner, [properties, ...chain]);
|
|
976
|
+
const style = paragraphStyle(properties);
|
|
977
|
+
const displayMath = child(node, "m:oMathPara");
|
|
978
|
+
if (displayMath && ![properties, ...chain].some((item) => child(item, "w:jc"))) {
|
|
979
|
+
const alignment = value(child(displayMath, "m:oMathParaPr"), "m:jc");
|
|
980
|
+
style.alignment = alignment === "left" || alignment === "right" ? alignment : "center";
|
|
981
|
+
}
|
|
982
|
+
const markerIndent = paragraphStyle(marker?.properties).indentPx;
|
|
983
|
+
if (markerIndent) style.indentPx = {
|
|
984
|
+
...markerIndent,
|
|
985
|
+
...style.indentPx
|
|
986
|
+
};
|
|
987
|
+
const paragraphStyleId = this.styles.id("paragraph", styleKey);
|
|
988
|
+
const paragraphTextStyle = this.styles.text(child(properties, "w:rPr"));
|
|
989
|
+
const paragraphOptions = defined({
|
|
990
|
+
paragraphStyleId,
|
|
991
|
+
paragraphStyle: Object.keys(style).length ? style : void 0,
|
|
992
|
+
textStyle: Object.keys(paragraphTextStyle).length ? paragraphTextStyle : void 0
|
|
993
|
+
});
|
|
994
|
+
const paragraph = this.factory.createParagraph(paragraphOptions);
|
|
995
|
+
if ([properties, ...chain].map((p) => toggle(child(p, "w:pageBreakBefore"))).find((enabled) => enabled !== void 0)) paragraph.content.push(this.factory.createBreak("page"));
|
|
996
|
+
if (marker?.text) {
|
|
997
|
+
const appearance = this.styles.text(marker.appearance);
|
|
998
|
+
paragraph.content.push(this.factory.createText(marker.text.replace(/[\uE000-\uF8FF]/g, "•"), Object.keys(appearance).length ? { textStyle: appearance } : {}));
|
|
999
|
+
}
|
|
1000
|
+
const fields = [];
|
|
1001
|
+
/** 将可见节点送入当前复杂域或段落,顺手合并等样式文本。 */
|
|
1002
|
+
const emit = (inline) => {
|
|
1003
|
+
const field = fields.at(-1);
|
|
1004
|
+
if (field && !field.separated) return;
|
|
1005
|
+
const output = field?.cached ?? paragraph.content;
|
|
1006
|
+
const prev = output.at(-1);
|
|
1007
|
+
if (inline.kind === "text" && prev?.kind === "text" && prev.textStyleId === inline.textStyleId && isEqual$1(prev.textStyle, inline.textStyle)) prev.text += inline.text;
|
|
1008
|
+
else output.push(inline);
|
|
1009
|
+
};
|
|
1010
|
+
/** 用原生页码替换 DOCX 域,周围标签、空格和分隔符继续按普通内容处理。 */
|
|
1011
|
+
const emitPageField = (template, appearance, hidden) => {
|
|
1012
|
+
if (hidden || template === null) return;
|
|
1013
|
+
emit(this.factory.createPageWidget({
|
|
1014
|
+
...appearance,
|
|
1015
|
+
widget: "pagination",
|
|
1016
|
+
config: { template }
|
|
1017
|
+
}));
|
|
1018
|
+
};
|
|
1019
|
+
/** 页码域用计算结果的格式创建组件,缓存的数字不保存到模板。 */
|
|
1020
|
+
const finishField = () => {
|
|
1021
|
+
const field = fields.pop();
|
|
1022
|
+
if (!field) return;
|
|
1023
|
+
const instruction = fieldName(field.instruction);
|
|
1024
|
+
const template = pageFieldTemplates.get(instruction);
|
|
1025
|
+
if (template !== void 0) {
|
|
1026
|
+
const { textStyle, textStyleId } = field.cached.find((inline) => inline.kind === "text") ?? field.appearance;
|
|
1027
|
+
emitPageField(template, defined({
|
|
1028
|
+
textStyle,
|
|
1029
|
+
textStyleId
|
|
1030
|
+
}), field.hidden);
|
|
1031
|
+
} else if (instruction === "FORMCHECKBOX" || field.checked !== void 0) emit(this.factory.createText(field.checked ? "☑" : "☐"));
|
|
1032
|
+
else field.cached.forEach(emit);
|
|
1033
|
+
};
|
|
1034
|
+
/** 处理一个 run 或包装节点,源文件域标记不会成为业务字段。 */
|
|
1035
|
+
const visit = (entry, appearance = {}, hidden = false) => {
|
|
1036
|
+
if (entry.name === "w:r") {
|
|
1037
|
+
const properties = child(entry, "w:rPr");
|
|
1038
|
+
const style = this.runAppearance(entry);
|
|
1039
|
+
const runHidden = toggle(child(properties, "w:vanish")) ?? hidden;
|
|
1040
|
+
children(entry).forEach((item) => visit(item, style, runHidden));
|
|
1041
|
+
} else if (entry.name === "w:t" || entry.name === "w:tab" || entry.name === "w:noBreakHyphen" || entry.name === "w:softHyphen") {
|
|
1042
|
+
const raw = entry.name === "w:t" ? text(entry) : entry.name === "w:tab" ? " " : entry.name === "w:noBreakHyphen" ? "‑" : "";
|
|
1043
|
+
if (raw) emit(this.factory.createText(raw, appearance));
|
|
1044
|
+
} else if (entry.name === "w:br" || entry.name === "w:cr") emit(this.factory.createBreak(attr(entry, "w:type") === "page" ? "page" : "line"));
|
|
1045
|
+
else if (entry.name === "m:oMath" || entry.name === "m:oMathPara") {
|
|
1046
|
+
const run = descendant(entry, (name) => name === "m:r");
|
|
1047
|
+
const fontSize = this.styles.text(child(run, "w:rPr")).fontSizePt ?? appearance.textStyle?.fontSizePt ?? paragraphTextStyle.fontSizePt ?? 12;
|
|
1048
|
+
try {
|
|
1049
|
+
const { url, preferredSizePx } = mathImage(entry, fontSize);
|
|
1050
|
+
emit(this.embedImage(url, {
|
|
1051
|
+
alt: "Word 公式",
|
|
1052
|
+
preferredSizePx
|
|
1053
|
+
}));
|
|
1054
|
+
} catch {
|
|
1055
|
+
this.warn("equation");
|
|
1056
|
+
emit(this.factory.createText("〔公式无法显示〕", appearance));
|
|
1057
|
+
}
|
|
1058
|
+
} else if (entry.name === "w:drawing" || entry.name === "w:pict") {
|
|
1059
|
+
const image = this.image(entry, scope);
|
|
1060
|
+
if (image) emit(image);
|
|
1061
|
+
} else if (entry.name === "w:fldChar") {
|
|
1062
|
+
const type = attr(entry, "w:fldCharType");
|
|
1063
|
+
if (type === "begin") {
|
|
1064
|
+
const checkbox = child(child(entry, "w:ffData"), "w:checkBox");
|
|
1065
|
+
fields.push({
|
|
1066
|
+
instruction: "",
|
|
1067
|
+
separated: false,
|
|
1068
|
+
cached: [],
|
|
1069
|
+
appearance,
|
|
1070
|
+
hidden,
|
|
1071
|
+
checked: checkbox ? toggle(child(checkbox, "w:checked")) ?? toggle(child(checkbox, "w:default")) ?? false : void 0
|
|
1072
|
+
});
|
|
1073
|
+
} else if (type === "separate") {
|
|
1074
|
+
const field = fields.at(-1);
|
|
1075
|
+
if (field) field.separated = true;
|
|
1076
|
+
} else if (type === "end") finishField();
|
|
1077
|
+
} else if (entry.name === "w:instrText") {
|
|
1078
|
+
const field = fields.at(-1);
|
|
1079
|
+
if (field && !field.separated) field.instruction += text(entry);
|
|
1080
|
+
} else if (entry.name === "w:fldSimple") {
|
|
1081
|
+
const template = pageFieldTemplates.get(fieldName(attr(entry, "w:instr")));
|
|
1082
|
+
if (template !== void 0) {
|
|
1083
|
+
const run = descendant(entry, (name) => name === "w:r");
|
|
1084
|
+
const runHidden = toggle(child(child(run, "w:rPr"), "w:vanish")) ?? hidden;
|
|
1085
|
+
emitPageField(template, run ? this.runAppearance(run) : appearance, runHidden);
|
|
1086
|
+
} else children(entry).forEach((item) => visit(item, appearance, hidden));
|
|
1087
|
+
} else if (entry.name === "w:pgNum") emitPageField("${no}", appearance, hidden);
|
|
1088
|
+
else if (entry.name === "w:sdt") children(controlContent(entry)).forEach((item) => visit(item, appearance, hidden));
|
|
1089
|
+
else if (entry.name === "mc:AlternateContent") children(child(entry, "mc:Choice") ?? child(entry, "mc:Fallback")).forEach((item) => visit(item, appearance, hidden));
|
|
1090
|
+
else if (typeof entry.name === "string" && inlineContainers.has(entry.name)) children(entry).forEach((item) => visit(item, appearance, hidden));
|
|
1091
|
+
};
|
|
1092
|
+
children(node).forEach((entry) => visit(entry));
|
|
1093
|
+
while (fields.length) finishField();
|
|
1094
|
+
return paragraph;
|
|
1095
|
+
}
|
|
1096
|
+
/** 从普通文字或页码结果的 run 读取行内字符样式。 */
|
|
1097
|
+
runAppearance(run) {
|
|
1098
|
+
const properties = child(run, "w:rPr");
|
|
1099
|
+
const override = this.styles.text(properties);
|
|
1100
|
+
return defined({
|
|
1101
|
+
textStyleId: this.styles.id("character", value(properties, "w:rStyle")),
|
|
1102
|
+
textStyle: Object.keys(override).length ? override : void 0
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
/** 读取内嵌图片的局部关系和 EMU 尺寸。浮动图片由新版作为行内图片处理。 */
|
|
1106
|
+
image(node, scope) {
|
|
1107
|
+
const link = descendant(node, (name) => /:(?:blip|imagedata)$/.test(name));
|
|
1108
|
+
const id = attr(link, "r:embed") ?? attr(link, "r:id") ?? attr(link, "r:link");
|
|
1109
|
+
if (!link) return;
|
|
1110
|
+
const url = id && scope.images.get(id);
|
|
1111
|
+
if (!url) {
|
|
1112
|
+
this.warn("image");
|
|
1113
|
+
return;
|
|
1114
|
+
}
|
|
1115
|
+
const extent = descendant(node, (name) => name === "wp:extent");
|
|
1116
|
+
const width = positive(numeric(attr(extent, "cx")));
|
|
1117
|
+
const height = positive(numeric(attr(extent, "cy")));
|
|
1118
|
+
const properties = descendant(node, (name) => name === "wp:docPr");
|
|
1119
|
+
return this.embedImage(url, defined({
|
|
1120
|
+
alt: attr(properties, "descr") ?? attr(properties, "title"),
|
|
1121
|
+
preferredSizePx: width && height ? {
|
|
1122
|
+
width: width / 9525,
|
|
1123
|
+
height: height / 9525
|
|
1124
|
+
} : void 0
|
|
1125
|
+
}));
|
|
1126
|
+
}
|
|
1127
|
+
/** 同一可保存图片地址复用资产,实例尺寸和替代文字各自保留。 */
|
|
1128
|
+
embedImage(url, options) {
|
|
1129
|
+
const assetId = this.imageIds.get(url);
|
|
1130
|
+
const image = this.factory.createImage(assetId ? {
|
|
1131
|
+
assetId,
|
|
1132
|
+
...options
|
|
1133
|
+
} : {
|
|
1134
|
+
asset: {
|
|
1135
|
+
kind: "image",
|
|
1136
|
+
source: {
|
|
1137
|
+
kind: "url",
|
|
1138
|
+
url
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
...options
|
|
1142
|
+
});
|
|
1143
|
+
if (!assetId) {
|
|
1144
|
+
Object.assign(this.model.assets, image.assets);
|
|
1145
|
+
this.imageIds.set(url, image.node.assetId);
|
|
1146
|
+
}
|
|
1147
|
+
return image.node;
|
|
1148
|
+
}
|
|
1149
|
+
};
|
|
1150
|
+
/** 使用正文和页部件的局部关系构建独立资源索引。 */
|
|
1151
|
+
function contentScope(owner, relationships, resolveImageKey) {
|
|
1152
|
+
return {
|
|
1153
|
+
owner,
|
|
1154
|
+
images: imageRelationships([...nodes(owner["@Relationships"]), ...nodes(relationships)], resolveImageKey)
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
// src/import/docx/index.ts
|
|
1158
|
+
/** 后端 DOCX 解析结果直接进入原生文档协议。 */
|
|
1159
|
+
var messages = {
|
|
1160
|
+
image: "找不到部分图片的可保存地址,已跳过这些图片",
|
|
1161
|
+
"nested-table": "超过一层的嵌套表格已展开为单元格内容",
|
|
1162
|
+
"table-grid": "部分空表或不完整的合并范围已按可用网格处理",
|
|
1163
|
+
"table-style": "部分表格条件样式仅保留基础样式和单元格的直接设置",
|
|
1164
|
+
paper: "部分纸张尺寸无效,已采用可用的默认尺寸",
|
|
1165
|
+
"page-part": "找不到部分页眉页脚的内容,已使用可用的页部件",
|
|
1166
|
+
numbering: "部分自动编号已用可显示的编号格式处理",
|
|
1167
|
+
equation: "部分 Word 公式无法转换,已在原位置标记"
|
|
1168
|
+
};
|
|
1169
|
+
var defaultPage = {
|
|
1170
|
+
sizePx: {
|
|
1171
|
+
width: 20160 / 25.4,
|
|
1172
|
+
height: 28512 / 25.4
|
|
1173
|
+
},
|
|
1174
|
+
marginsPx: {
|
|
1175
|
+
top: 96,
|
|
1176
|
+
right: 96,
|
|
1177
|
+
bottom: 96,
|
|
1178
|
+
left: 96
|
|
1179
|
+
}
|
|
1180
|
+
};
|
|
1181
|
+
/** 读取节尾纸张和边距。不同节的首页设置由该节自己的 titlePg 决定。 */
|
|
1182
|
+
function readPage(node, fallback, warn) {
|
|
1183
|
+
const size = child(node, "w:pgSz");
|
|
1184
|
+
const margins = child(node, "w:pgMar");
|
|
1185
|
+
const width = positive(px(attr(size, "w:w")));
|
|
1186
|
+
const height = positive(px(attr(size, "w:h")));
|
|
1187
|
+
if (size && (width === void 0 || height === void 0)) warn("paper");
|
|
1188
|
+
return defined({
|
|
1189
|
+
sizePx: {
|
|
1190
|
+
width: width ?? fallback.sizePx.width,
|
|
1191
|
+
height: height ?? fallback.sizePx.height
|
|
1192
|
+
},
|
|
1193
|
+
marginsPx: {
|
|
1194
|
+
top: nonnegative(px(attr(margins, "w:top"))) ?? fallback.marginsPx.top,
|
|
1195
|
+
right: nonnegative(px(attr(margins, "w:right"))) ?? fallback.marginsPx.right,
|
|
1196
|
+
bottom: nonnegative(px(attr(margins, "w:bottom"))) ?? fallback.marginsPx.bottom,
|
|
1197
|
+
left: nonnegative(px(attr(margins, "w:left"))) ?? fallback.marginsPx.left
|
|
1198
|
+
},
|
|
1199
|
+
headerDistancePx: nonnegative(px(attr(margins, "w:header"))) ?? fallback.headerDistancePx,
|
|
1200
|
+
footerDistancePx: nonnegative(px(attr(margins, "w:footer"))) ?? fallback.footerDistancePx,
|
|
1201
|
+
gutterPx: nonnegative(px(attr(margins, "w:gutter"))) ?? fallback.gutterPx,
|
|
1202
|
+
differentFirstPage: toggle(child(node, "w:titlePg"))
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
/** 以页部件的关系身份复用内容;各节只保存对应槽位的引用。 */
|
|
1206
|
+
function readSlots(node, tag, parts, previous, warn) {
|
|
1207
|
+
const slots = { ...previous };
|
|
1208
|
+
for (const entry of children(node, tag)) {
|
|
1209
|
+
const id = parts.get(attr(entry, "r:id") ?? "");
|
|
1210
|
+
const key = choice(attr(entry, "w:type") ?? "default", [
|
|
1211
|
+
"first",
|
|
1212
|
+
"even",
|
|
1213
|
+
"default"
|
|
1214
|
+
]);
|
|
1215
|
+
if (key && id) slots[key] = id;
|
|
1216
|
+
else warn("page-part");
|
|
1217
|
+
}
|
|
1218
|
+
return slots;
|
|
1219
|
+
}
|
|
1220
|
+
/** 将上传接口返回的 DOCX 解析对象转成可编辑可保存的新 Word 模板。 */
|
|
1221
|
+
function importDocx(value, options) {
|
|
1222
|
+
const { root, document, body } = readOfficeDocument(value);
|
|
1223
|
+
const counts = /* @__PURE__ */ new Map();
|
|
1224
|
+
const warn = (code) => counts.set(code, (counts.get(code) ?? 0) + 1);
|
|
1225
|
+
const fallback = options.fallbackPage ?? defaultPage;
|
|
1226
|
+
let serial = 0;
|
|
1227
|
+
/** 新节点只在本次导入时分配,已保存的模板原样读回。 */
|
|
1228
|
+
const createId = () => {
|
|
1229
|
+
let id = `docx-${++serial}`;
|
|
1230
|
+
if (id === options.documentId) id = `docx-${++serial}`;
|
|
1231
|
+
return id;
|
|
1232
|
+
};
|
|
1233
|
+
const model = createDocument({
|
|
1234
|
+
id: options.documentId,
|
|
1235
|
+
sectionId: createId(),
|
|
1236
|
+
page: fallback
|
|
1237
|
+
});
|
|
1238
|
+
model.sections = [];
|
|
1239
|
+
const styles = new DocxStyles(root);
|
|
1240
|
+
model.styles = styles.toModel();
|
|
1241
|
+
const background = color(attr(child(document, "w:background"), "w:color"));
|
|
1242
|
+
if (background) model.settings.pageBackground = background;
|
|
1243
|
+
const evenOdd = toggle(child(object(root.settings), "w:evenAndOddHeaders"));
|
|
1244
|
+
if (evenOdd !== void 0) model.settings.evenOddHeaders = evenOdd;
|
|
1245
|
+
const factory = new NodeFactory({ createId });
|
|
1246
|
+
const content = new DocxContent(root, model, factory, styles, warn);
|
|
1247
|
+
const parts = {
|
|
1248
|
+
header: /* @__PURE__ */ new Map(),
|
|
1249
|
+
footer: /* @__PURE__ */ new Map()
|
|
1250
|
+
};
|
|
1251
|
+
for (const kind of ["header", "footer"]) for (const node of nodes(root[kind === "header" ? "headers" : "footers"])) {
|
|
1252
|
+
const relationshipId = scalar(object(node["@Relationship"])?.Id);
|
|
1253
|
+
if (!relationshipId || parts[kind].has(relationshipId)) continue;
|
|
1254
|
+
const scope = contentScope(node, void 0, options.resolvePagePartImageKey);
|
|
1255
|
+
const part = factory.createPart(kind, { blocks: children(node).flatMap((block) => content.block(block, scope)) });
|
|
1256
|
+
parts[kind].set(relationshipId, part.id);
|
|
1257
|
+
model.parts.push(part);
|
|
1258
|
+
}
|
|
1259
|
+
const scope = contentScope(document, root.images);
|
|
1260
|
+
let blocks = [];
|
|
1261
|
+
let hasTrailingSection = false;
|
|
1262
|
+
let inheritedHeaders;
|
|
1263
|
+
let inheritedFooters;
|
|
1264
|
+
/** OOXML 在节尾声明页面属性,绑定到前方累积的块。 */
|
|
1265
|
+
const appendSection = (properties) => {
|
|
1266
|
+
const page = readPage(properties, model.sections.at(-1)?.page ?? fallback, warn);
|
|
1267
|
+
inheritedHeaders = readSlots(properties, "w:headerReference", parts.header, inheritedHeaders, warn);
|
|
1268
|
+
inheritedFooters = readSlots(properties, "w:footerReference", parts.footer, inheritedFooters, warn);
|
|
1269
|
+
const slots = (inherited) => defined({
|
|
1270
|
+
default: inherited.default,
|
|
1271
|
+
first: inherited.first ?? (page.differentFirstPage ? null : void 0),
|
|
1272
|
+
even: inherited.even ?? (evenOdd ? null : void 0)
|
|
1273
|
+
});
|
|
1274
|
+
const section = {
|
|
1275
|
+
id: createId(),
|
|
1276
|
+
kind: "section",
|
|
1277
|
+
page,
|
|
1278
|
+
blocks,
|
|
1279
|
+
overlays: [],
|
|
1280
|
+
headerSlots: slots(inheritedHeaders),
|
|
1281
|
+
footerSlots: slots(inheritedFooters)
|
|
1282
|
+
};
|
|
1283
|
+
model.sections.push(section);
|
|
1284
|
+
blocks = [];
|
|
1285
|
+
};
|
|
1286
|
+
for (const element of children(body)) if (element.name === "w:sectPr") {
|
|
1287
|
+
appendSection(element);
|
|
1288
|
+
hasTrailingSection = true;
|
|
1289
|
+
} else {
|
|
1290
|
+
const imported = content.block(element, scope);
|
|
1291
|
+
blocks.push(...imported);
|
|
1292
|
+
if (imported.length) hasTrailingSection = false;
|
|
1293
|
+
const properties = child(child(element, "w:pPr"), "w:sectPr");
|
|
1294
|
+
if (properties) appendSection(properties);
|
|
1295
|
+
}
|
|
1296
|
+
if (!hasTrailingSection) appendSection();
|
|
1297
|
+
const checked = validateDocument(model);
|
|
1298
|
+
if (!checked.valid) throw new DocumentValidationError(checked.issues);
|
|
1299
|
+
return {
|
|
1300
|
+
document: checked.document,
|
|
1301
|
+
warnings: [...counts].map(([code, count]) => ({
|
|
1302
|
+
code,
|
|
1303
|
+
count,
|
|
1304
|
+
message: messages[code]
|
|
1305
|
+
}))
|
|
1306
|
+
};
|
|
1307
|
+
}
|
|
1308
|
+
export { importDocx };
|
|
1309
|
+
|
|
1310
|
+
//# sourceMappingURL=docx.js.map
|