@globalpayments/vega 2.102.0 → 2.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-49c2a999.js → app-globals-85986306.js} +10 -10
- package/dist/cjs/{code-block-06e6591f.js → code-block-72de6c4d.js} +80 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-f29908f8.js → component-value-history-controller-slimmer.abstract-23d2b3d8.js} +3 -3
- package/dist/cjs/{content-state-8c862e5e.js → content-state-ff40bdc6.js} +38 -5
- package/dist/cjs/{date-required-rule-b672c432.js → date-required-rule-608e704b.js} +1 -1
- package/dist/cjs/{design-token-351ffd2c.js → design-token-a101a8d0.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-f932b166.js → element-appender-slimmer-b93cc564.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-5adb86ae.js → form-field-controller-slimmer-124d54ea.js} +1 -1
- package/dist/cjs/{image-annotation-action-25907d6b.js → image-annotation-action-1ee41bc7.js} +2 -2
- package/dist/cjs/{image-extension-1cf84f27.js → image-extension-6a92c524.js} +247 -5
- package/dist/cjs/index.cjs.js +17 -17
- package/dist/cjs/{inject-keyboard-manager-84d33920.js → inject-keyboard-manager-32d7dd0e.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-3c5236be.js → internal-calendar-period-factory-c3198ea7.js} +1 -1
- package/dist/cjs/{internal-translation-controller-eae8a8de.js → internal-translation-controller-0d67ca4d.js} +1 -0
- package/dist/cjs/{keyboard-manager-baa83a61.js → keyboard-manager-332eec89.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-d1974b28.js → keyboard-manager-slimmer-a2872981.js} +1 -1
- package/dist/cjs/{link-extension-2a6133b7.js → link-extension-1b4ed437.js} +3 -3
- package/dist/cjs/loader.cjs.js +12 -12
- package/dist/cjs/{month-view-generator-a6827548.js → month-view-generator-b6a2b8be.js} +1 -1
- package/dist/cjs/{public-rules-7f26e0ae.js → public-rules-2066613c.js} +7 -7
- package/dist/cjs/{range-518b95a2.js → range-712fe703.js} +1 -1
- package/dist/cjs/{responsive-format-facade-95c54444.js → responsive-format-facade-44d33457.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-5d0c76ec.js → rich-text-editor-required-rule-1aa75d22.js} +1 -1
- package/dist/cjs/{split-cell-operation-28f6f8d9.js → split-cell-operation-afc82323.js} +3 -3
- package/dist/cjs/{state-border-formatter-6c284859.js → state-border-formatter-49984fd6.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-f15b6196.js → string-format-strategy.abstract-bd563c01.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-5a3f1b55.js → string-input-formatter-slimmer-4faebac9.js} +1 -1
- package/dist/cjs/{string-mask-strategy-af6f3ba0.js → string-mask-strategy-624c4398.js} +2 -2
- package/dist/cjs/{style-formatter-324211fd.js → style-formatter-151d89a3.js} +2 -2
- package/dist/cjs/{time-required-rule-9e714442.js → time-required-rule-8cd8f9b9.js} +1 -1
- package/dist/cjs/{token-extension-86723cad.js → token-extension-72d0cb08.js} +1011 -767
- package/dist/cjs/{translation-slimmer-0227ee24.js → translation-slimmer-1771d01f.js} +1 -1
- package/dist/cjs/{type-guard-29e01bd4.js → type-guard-cce6fe1f.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-4ec364af.js → valid-credit-card-number-rule-b13c2fc4.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-box.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-circle.cjs.entry.js +5 -5
- package/dist/cjs/vega-button.cjs.entry.js +3 -3
- package/dist/cjs/vega-calendar_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-card.cjs.entry.js +5 -5
- package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-chip.cjs.entry.js +5 -5
- package/dist/cjs/vega-code-block.cjs.entry.js +8 -8
- package/dist/cjs/vega-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +3 -3
- package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-dialog_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-divider.cjs.entry.js +5 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +2 -2
- package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-flex.cjs.entry.js +6 -6
- package/dist/cjs/vega-font.cjs.entry.js +5 -5
- package/dist/cjs/vega-form.cjs.entry.js +2 -2
- package/dist/cjs/vega-grid.cjs.entry.js +5 -5
- package/dist/cjs/vega-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-image-uploader.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-numeric.cjs.entry.js +12 -14
- package/dist/cjs/vega-input-passcode.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +4 -4
- package/dist/cjs/vega-input-range.cjs.entry.js +3 -3
- package/dist/cjs/vega-input-select.cjs.entry.js +5 -5
- package/dist/cjs/vega-input.cjs.entry.js +31 -27
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +4 -4
- package/dist/cjs/vega-popover_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-rich-text-bookmark-editor.cjs.entry.js +2 -2
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +6 -6
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +474 -207
- package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +1 -1
- package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +5 -5
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +8 -8
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
- package/dist/cjs/vega-signature-capture.cjs.entry.js +7 -7
- package/dist/cjs/vega-stepper.cjs.entry.js +2 -2
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-table_11.cjs.entry.js +4 -4
- package/dist/cjs/vega-textarea.cjs.entry.js +2 -2
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/vega.cjs.js +12 -12
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-state-controller.js +0 -14
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +11 -2
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +11 -1
- package/dist/collection/components/vega-input/vega-input.js +52 -8
- package/dist/collection/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.js +7 -1
- package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +0 -8
- package/dist/collection/components/vega-rich-text-editor/constants/constant.js +4 -0
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/sequential-composition-strategy.js +31 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/sequential-composition-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +4 -1
- package/dist/collection/components/vega-rich-text-editor/dto/flush-changes-payload.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/function-block.js +30 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-block-strategy.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/chooser-positioner.js +107 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/paste-chooser-controller.js +91 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/paste-event-interceptor.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/controllers/selection-snapshot-service.js +54 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/image-extractor.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-extension.js +41 -354
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/data-transfer-builder.js +36 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/paste-dispatcher.js +23 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/pipeline/paste-processing-pipeline.js +30 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.js +34 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/plain-paste-strategy.js +74 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/type.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +67 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.js +67 -11
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.js +4 -17
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.js +34 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.js +13 -32
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.js +60 -25
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +55 -19
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +165 -59
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.js +55 -21
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +2 -16
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/value-controller.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/utils/html-to-plain-text-utils.js +240 -0
- package/dist/collection/helpers/translation/locales/en.js +1 -0
- package/dist/esm/{app-globals-da5c83c2.js → app-globals-8cdfc5c9.js} +10 -10
- package/dist/esm/{code-block-d8f83d85.js → code-block-9360c331.js} +74 -2
- package/dist/esm/{component-value-history-controller-slimmer.abstract-642e7147.js → component-value-history-controller-slimmer.abstract-9ea58806.js} +3 -3
- package/dist/esm/{content-state-486eae1d.js → content-state-67a12e74.js} +38 -5
- package/dist/esm/{date-required-rule-08695d25.js → date-required-rule-66b5bf02.js} +1 -1
- package/dist/esm/{design-token-df3331d9.js → design-token-acd1efeb.js} +3 -3
- package/dist/esm/{element-appender-slimmer-f02a227f.js → element-appender-slimmer-7e5bc1e9.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-a7c0a0f8.js → form-field-controller-slimmer-d653c494.js} +1 -1
- package/dist/esm/{image-annotation-action-df744ba5.js → image-annotation-action-9525be48.js} +2 -2
- package/dist/esm/{image-extension-20b39140.js → image-extension-aea75132.js} +246 -6
- package/dist/esm/index.js +17 -17
- package/dist/esm/{inject-keyboard-manager-399ed867.js → inject-keyboard-manager-f6522d2f.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-7b866c3b.js → internal-calendar-period-factory-261df2f2.js} +1 -1
- package/dist/esm/{internal-translation-controller-4a7ee4d5.js → internal-translation-controller-3637e47e.js} +1 -0
- package/dist/esm/{keyboard-manager-f5d13a34.js → keyboard-manager-53e8d8d0.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-f40dcb54.js → keyboard-manager-slimmer-b3de042d.js} +1 -1
- package/dist/esm/{link-extension-3f93d70d.js → link-extension-57ba9520.js} +3 -3
- package/dist/esm/loader.js +12 -12
- package/dist/esm/{month-view-generator-0c665987.js → month-view-generator-15215a09.js} +1 -1
- package/dist/esm/{public-rules-470a1dac.js → public-rules-c77a1550.js} +7 -7
- package/dist/esm/{range-8e89fb54.js → range-3c74e1c8.js} +1 -1
- package/dist/esm/{responsive-format-facade-55131a33.js → responsive-format-facade-1b325d06.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-06caf383.js → rich-text-editor-required-rule-cfd32ba2.js} +1 -1
- package/dist/esm/{split-cell-operation-e158366a.js → split-cell-operation-85a036f9.js} +3 -3
- package/dist/esm/{state-border-formatter-2b73fa08.js → state-border-formatter-ce3495b0.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-8c7937e3.js → string-format-strategy.abstract-8ce04558.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-681c6b71.js → string-input-formatter-slimmer-0d60ba7d.js} +1 -1
- package/dist/esm/{string-mask-strategy-b8cceee6.js → string-mask-strategy-cabc1d50.js} +2 -2
- package/dist/esm/{style-formatter-fcd70869.js → style-formatter-00fe4f1c.js} +2 -2
- package/dist/esm/{time-required-rule-ce50859b.js → time-required-rule-57ceeae9.js} +1 -1
- package/dist/esm/{token-extension-2401e753.js → token-extension-645a9520.js} +1011 -767
- package/dist/esm/{translation-slimmer-b3f3cf65.js → translation-slimmer-b69057eb.js} +1 -1
- package/dist/esm/{type-guard-08c82e08.js → type-guard-204094c6.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-66bad519.js → valid-credit-card-number-rule-0874e19f.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-header-button.entry.js +5 -5
- package/dist/esm/vega-box.entry.js +6 -6
- package/dist/esm/vega-button-circle.entry.js +5 -5
- package/dist/esm/vega-button.entry.js +3 -3
- package/dist/esm/vega-calendar_5.entry.js +7 -7
- package/dist/esm/vega-card.entry.js +5 -5
- package/dist/esm/vega-carousel.entry.js +3 -3
- package/dist/esm/vega-checkbox_2.entry.js +2 -2
- package/dist/esm/vega-chip.entry.js +5 -5
- package/dist/esm/vega-code-block.entry.js +8 -8
- package/dist/esm/vega-color-picker.entry.js +2 -2
- package/dist/esm/vega-color-swatch-picker.entry.js +3 -3
- package/dist/esm/vega-color-swatch.entry.js +2 -2
- package/dist/esm/vega-combo-box.entry.js +8 -8
- package/dist/esm/vega-date-picker_2.entry.js +13 -13
- package/dist/esm/vega-dialog_2.entry.js +3 -3
- package/dist/esm/vega-divider.entry.js +5 -5
- package/dist/esm/vega-dropdown_5.entry.js +7 -7
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +2 -2
- package/dist/esm/vega-file-uploader.entry.js +3 -3
- package/dist/esm/vega-flag-icon.entry.js +5 -5
- package/dist/esm/vega-flex.entry.js +6 -6
- package/dist/esm/vega-font.entry.js +5 -5
- package/dist/esm/vega-form.entry.js +2 -2
- package/dist/esm/vega-grid.entry.js +5 -5
- package/dist/esm/vega-icon.entry.js +5 -5
- package/dist/esm/vega-image-uploader.entry.js +5 -5
- package/dist/esm/vega-input-credit-card.entry.js +6 -6
- package/dist/esm/vega-input-numeric.entry.js +12 -14
- package/dist/esm/vega-input-passcode.entry.js +5 -5
- package/dist/esm/vega-input-phone-number.entry.js +4 -4
- package/dist/esm/vega-input-range.entry.js +3 -3
- package/dist/esm/vega-input-select.entry.js +5 -5
- package/dist/esm/vega-input.entry.js +31 -27
- package/dist/esm/vega-left-nav_5.entry.js +7 -7
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +4 -4
- package/dist/esm/vega-popover_2.entry.js +8 -8
- package/dist/esm/vega-progress-tracker_2.entry.js +3 -3
- package/dist/esm/vega-radio_2.entry.js +5 -5
- package/dist/esm/vega-rich-text-bookmark-editor.entry.js +2 -2
- package/dist/esm/vega-rich-text-content.entry.js +6 -6
- package/dist/esm/vega-rich-text-editor_4.entry.js +474 -207
- package/dist/esm/vega-rich-text-find-replace-panel.entry.js +1 -1
- package/dist/esm/vega-rich-text-special-characters-panel.entry.js +5 -5
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +8 -8
- package/dist/esm/vega-selection-chip_2.entry.js +4 -4
- package/dist/esm/vega-selection-tile_2.entry.js +2 -2
- package/dist/esm/vega-sidenav_3.entry.js +3 -3
- package/dist/esm/vega-signature-capture.entry.js +7 -7
- package/dist/esm/vega-stepper.entry.js +2 -2
- package/dist/esm/vega-tab-group_2.entry.js +6 -6
- package/dist/esm/vega-table_11.entry.js +4 -4
- package/dist/esm/vega-textarea.entry.js +2 -2
- package/dist/esm/vega-time-picker_2.entry.js +9 -9
- package/dist/esm/vega-toggle-switch.entry.js +2 -2
- package/dist/esm/vega-tooltip_2.entry.js +6 -6
- package/dist/esm/vega.js +12 -12
- package/dist/sri/vega-sri-manifest.json +321 -321
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-state-controller.d.ts +0 -2
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.d.ts +4 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +2 -0
- package/dist/types/components/vega-input/vega-input.d.ts +15 -3
- package/dist/types/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.d.ts +2 -0
- package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +0 -2
- package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/sequential-composition-strategy.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.d.ts +4 -1
- package/dist/types/components/vega-rich-text-editor/dto/actions/sequential-composition-action.d.ts +30 -0
- package/dist/types/components/vega-rich-text-editor/dto/flush-changes-payload.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/dto/function-block.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/chooser-positioner.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/paste-chooser-controller.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/paste-event-interceptor.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/controllers/selection-snapshot-service.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/image-extractor.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-extension.d.ts +28 -93
- package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/data-transfer-builder.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/paste-dispatcher.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/pipeline/paste-processing-pipeline.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.d.ts +28 -6
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/plain-paste-strategy.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/type.d.ts +35 -0
- package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +47 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/abstract-delete-content-handler.d.ts +17 -6
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/backward-delete-content-handler.d.ts +5 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.d.ts +30 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/forward-delete-content-handler.d.ts +5 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.d.ts +21 -4
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.d.ts +12 -4
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.d.ts +38 -5
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.d.ts +7 -2
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/utils/html-to-plain-text-utils.d.ts +31 -0
- package/dist/types/components.d.ts +24 -0
- package/dist/types/helpers/translation/interface.d.ts +1 -0
- package/dist/types/types/public-api.d.ts +2 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-8a4cc7c2.entry.js → p-0169f71c.entry.js} +1 -1
- package/dist/vega/p-018bb83b.entry.js +1 -0
- package/dist/vega/{p-25e51acb.js → p-08bf08d2.js} +1 -1
- package/dist/vega/{p-85a940c0.entry.js → p-0b33753f.entry.js} +1 -1
- package/dist/vega/{p-a5fa260b.js → p-1537b1e4.js} +1 -1
- package/dist/vega/{p-7dfb1481.entry.js → p-17f6dc94.entry.js} +1 -1
- package/dist/vega/{p-dd673eb4.entry.js → p-1a4d1991.entry.js} +1 -1
- package/dist/vega/{p-557b64bd.js → p-1b2e5898.js} +1 -1
- package/dist/vega/{p-2256eb09.entry.js → p-1f1f93bf.entry.js} +1 -1
- package/dist/vega/{p-d86e0b01.js → p-1fb953f8.js} +1 -1
- package/dist/vega/{p-03efc67a.entry.js → p-2171b571.entry.js} +1 -1
- package/dist/vega/p-255fe20b.js +1 -0
- package/dist/vega/{p-cf5c5515.js → p-261cf764.js} +1 -1
- package/dist/vega/{p-f0b49ae4.entry.js → p-27e77ea1.entry.js} +1 -1
- package/dist/vega/{p-109f0e33.entry.js → p-28acbe42.entry.js} +1 -1
- package/dist/vega/{p-27c9c2a5.entry.js → p-2acc600a.entry.js} +1 -1
- package/dist/vega/p-2fc2299f.js +1 -0
- package/dist/vega/{p-b48caf90.entry.js → p-2ff659a1.entry.js} +1 -1
- package/dist/vega/{p-527c3211.entry.js → p-322da1eb.entry.js} +1 -1
- package/dist/vega/{p-dffe47db.js → p-3283fa2f.js} +1 -1
- package/dist/vega/p-3567dc55.entry.js +1 -0
- package/dist/vega/{p-c6419eb3.entry.js → p-36b795c6.entry.js} +1 -1
- package/dist/vega/p-37714a3a.js +1 -0
- package/dist/vega/{p-d7e59f31.js → p-3b4e2ba0.js} +1 -1
- package/dist/vega/{p-3d060d2f.entry.js → p-3b911043.entry.js} +1 -1
- package/dist/vega/{p-5c6d36ef.entry.js → p-3e270b65.entry.js} +1 -1
- package/dist/vega/{p-b68f55e2.js → p-4043508a.js} +1 -1
- package/dist/vega/p-4151d4a8.js +1 -0
- package/dist/vega/{p-c6b6987e.js → p-45af801f.js} +1 -1
- package/dist/vega/p-48c2150b.entry.js +1 -0
- package/dist/vega/p-4b253f74.entry.js +1 -0
- package/dist/vega/{p-75c7f8ea.entry.js → p-4cdc064d.entry.js} +1 -1
- package/dist/vega/{p-1d8a8507.entry.js → p-4e4b50f3.entry.js} +1 -1
- package/dist/vega/{p-d8fa2f19.entry.js → p-564110ba.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-bec31ffc.entry.js → p-608d3559.entry.js} +1 -1
- package/dist/vega/{p-3ce7521e.entry.js → p-64eb05d3.entry.js} +1 -1
- package/dist/vega/{p-2f5c4b61.entry.js → p-66bf209b.entry.js} +1 -1
- package/dist/vega/{p-83f5ef3a.entry.js → p-69eadbd8.entry.js} +1 -1
- package/dist/vega/{p-c66c6fd2.entry.js → p-6c4edee8.entry.js} +1 -1
- package/dist/vega/p-6e16bb3a.js +1 -0
- package/dist/vega/{p-7d748545.entry.js → p-76f4fdba.entry.js} +1 -1
- package/dist/vega/{p-4c6989ae.entry.js → p-7874055b.entry.js} +1 -1
- package/dist/vega/{p-ca60a74b.entry.js → p-7d3d24f6.entry.js} +1 -1
- package/dist/vega/{p-3bfb53e3.js → p-7f9ad7bc.js} +1 -1
- package/dist/vega/{p-18ddc6a4.entry.js → p-8193f4ef.entry.js} +1 -1
- package/dist/vega/{p-816064f2.entry.js → p-8197d172.entry.js} +1 -1
- package/dist/vega/{p-634b138c.entry.js → p-8ac0b1b2.entry.js} +1 -1
- package/dist/vega/{p-553510d8.entry.js → p-8c61db9d.entry.js} +1 -1
- package/dist/vega/{p-061a76c3.entry.js → p-8de29082.entry.js} +1 -1
- package/dist/vega/{p-325b804d.entry.js → p-8e59606f.entry.js} +1 -1
- package/dist/vega/p-8ea41806.js +1 -0
- package/dist/vega/{p-ff9090af.entry.js → p-9153c2f5.entry.js} +1 -1
- package/dist/vega/{p-a0c87e88.entry.js → p-92411f56.entry.js} +1 -1
- package/dist/vega/{p-049e64b1.entry.js → p-94d65dcf.entry.js} +1 -1
- package/dist/vega/{p-a261a675.entry.js → p-9a96fb05.entry.js} +1 -1
- package/dist/vega/{p-7044bb48.js → p-9fcfd738.js} +1 -1
- package/dist/vega/{p-b1e1c7d0.js → p-a2c7a3bc.js} +1 -1
- package/dist/vega/p-a2dcde12.js +1 -0
- package/dist/vega/{p-be0eb72f.js → p-a60d75d9.js} +1 -1
- package/dist/vega/{p-5a347a15.js → p-a9fc4043.js} +1 -1
- package/dist/vega/{p-efef0dfe.entry.js → p-abe5f7f0.entry.js} +1 -1
- package/dist/vega/{p-197388a5.entry.js → p-ac98c189.entry.js} +1 -1
- package/dist/vega/{p-dd273d89.entry.js → p-ade903b3.entry.js} +1 -1
- package/dist/vega/{p-c0eb8c58.js → p-affb40e8.js} +1 -1
- package/dist/vega/{p-277aab9b.js → p-b3a1cd22.js} +1 -1
- package/dist/vega/p-b63a90b3.entry.js +1 -0
- package/dist/vega/{p-f9f96030.entry.js → p-ba050d63.entry.js} +1 -1
- package/dist/vega/{p-bf0b46c1.js → p-ba67eb96.js} +1 -1
- package/dist/vega/{p-f0c6e9c5.entry.js → p-c08ac33f.entry.js} +1 -1
- package/dist/vega/{p-46be74fc.entry.js → p-c7ec97d1.entry.js} +1 -1
- package/dist/vega/{p-effbfc50.entry.js → p-ca1fe571.entry.js} +1 -1
- package/dist/vega/{p-408c3ad4.entry.js → p-cc9fc36a.entry.js} +1 -1
- package/dist/vega/{p-741e064e.entry.js → p-d044d54f.entry.js} +1 -1
- package/dist/vega/{p-0e0e66c9.entry.js → p-d3a9355c.entry.js} +1 -1
- package/dist/vega/p-d5a75228.js +1 -0
- package/dist/vega/{p-76135e80.entry.js → p-dc83fa6b.entry.js} +1 -1
- package/dist/vega/{p-92efdbf0.entry.js → p-dcfce26e.entry.js} +1 -1
- package/dist/vega/p-df9585f6.js +3 -0
- package/dist/vega/{p-f5f26b44.entry.js → p-e2c8a470.entry.js} +1 -1
- package/dist/vega/{p-23781e76.js → p-e33a954f.js} +1 -1
- package/dist/vega/{p-e577dda8.entry.js → p-e5fc6583.entry.js} +1 -1
- package/dist/vega/p-e668cf11.js +1 -0
- package/dist/vega/{p-0338f621.entry.js → p-e6b0a292.entry.js} +1 -1
- package/dist/vega/{p-381d8781.js → p-e84c2589.js} +1 -1
- package/dist/vega/{p-1b97e751.entry.js → p-eb945d34.entry.js} +1 -1
- package/dist/vega/{p-d8a0e3e0.entry.js → p-ebe1dd2b.entry.js} +1 -1
- package/dist/vega/{p-6beaf1c8.entry.js → p-f818bb20.entry.js} +1 -1
- package/dist/vega/p-f981cf2c.js +1 -0
- package/dist/vega/p-f9d09b0c.js +1 -0
- package/dist/vega/{p-4d20a56f.js → p-fdbdf12f.js} +1 -1
- package/dist/vega/{p-48100d38.entry.js → p-fee080b9.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-040bd9ca.js +0 -1
- package/dist/vega/p-087240db.js +0 -1
- package/dist/vega/p-15052b2e.entry.js +0 -1
- package/dist/vega/p-28c16885.js +0 -1
- package/dist/vega/p-30cc31dd.entry.js +0 -1
- package/dist/vega/p-3ec4d710.js +0 -1
- package/dist/vega/p-43ea1e86.js +0 -1
- package/dist/vega/p-7228088b.entry.js +0 -1
- package/dist/vega/p-7f711049.js +0 -1
- package/dist/vega/p-7fd15dd1.js +0 -1
- package/dist/vega/p-85695819.js +0 -1
- package/dist/vega/p-8e1f30ec.entry.js +0 -1
- package/dist/vega/p-9680dfe6.js +0 -1
- package/dist/vega/p-ae12cc3f.js +0 -3
- package/dist/vega/p-c0823f32.js +0 -1
- package/dist/vega/p-c5af2ecc.entry.js +0 -1
- package/dist/vega/p-fa43272c.js +0 -1
|
@@ -8,7 +8,7 @@ import { a as isAsyncFunction, g as generateUUID } from './misc-9fdbcfbb.js';
|
|
|
8
8
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
9
9
|
import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
10
10
|
import { i as VegaInternalFieldErrorStateChange, g as VegaInternalFormSubmit, j as VegaInternalValid } from './vega-internal-event-id-02093067.js';
|
|
11
|
-
import { V as VegaInternalTranslation } from './internal-translation-controller-
|
|
11
|
+
import { V as VegaInternalTranslation } from './internal-translation-controller-3637e47e.js';
|
|
12
12
|
import { h as htmlSanitizer, l as labelSanitizeStrategy } from './index-35451d12.js';
|
|
13
13
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
|
|
14
14
|
import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
package/dist/esm/{image-annotation-action-df744ba5.js → image-annotation-action-9525be48.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h } from './index-090d31ca.js';
|
|
2
2
|
import { V as VegaInternalIconManager } from './internal-icon-manager-d4d534d2.js';
|
|
3
3
|
import { c as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
4
|
-
import { A as ActionHandleStrategyRegistry,
|
|
4
|
+
import { A as ActionHandleStrategyRegistry, a1 as RTE_TEXT_COLORS, R as RTETextNode, av as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, k as AnnotationAction } from './code-block-9360c331.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
6
6
|
import { b as VegaClick, a as VegaPopoverShow, V as VegaPopoverHide, c as VegaChange } from './vega-event-id-6b4db259.js';
|
|
7
7
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-4e04a2d3.js';
|
|
8
|
-
import { e as ImageAnnotation } from './content-state-
|
|
8
|
+
import { e as ImageAnnotation } from './content-state-67a12e74.js';
|
|
9
9
|
|
|
10
10
|
const text = {
|
|
11
11
|
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { R as RTETextNode,
|
|
2
|
-
import { e as extensionContextManager, a as VegaRTEExtensionRenderer, b as VegaRTEExtension } from './link-extension-
|
|
1
|
+
import { R as RTETextNode, ah as escapeHtmlAttribute, ai as BoldAnnotationAction, aj as DeleteNodeAnnotationAction, N as NodeAnnotationTypeEnum, U as UpdateTextAction, l as RemoveChildrenAction, f as ActionHandleStrategy, M as ModifyContentAction, j as ModifyContentActionType, s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry, c as RTETextBlock, r as RTEListItemBlock, ak as normalizePlainTextLines, al as PRESERVED_SPACE, am as PRESERVED_TAB } from './code-block-9360c331.js';
|
|
2
|
+
import { e as extensionContextManager, a as VegaRTEExtensionRenderer, b as VegaRTEExtension } from './link-extension-57ba9520.js';
|
|
3
3
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
4
|
-
import { E as ElementToDTOStrategy, U as UpdateCursorPositionAction } from './content-state-
|
|
4
|
+
import { E as ElementToDTOStrategy, U as UpdateCursorPositionAction } from './content-state-67a12e74.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
6
6
|
import { d as VegaDropdownClick, b as VegaClick, c as VegaChange } from './vega-event-id-6b4db259.js';
|
|
7
|
-
import { V as VegaInternalTranslation } from './internal-translation-controller-
|
|
7
|
+
import { V as VegaInternalTranslation } from './internal-translation-controller-3637e47e.js';
|
|
8
8
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-c899a968.js';
|
|
9
9
|
import { d as debounce } from './timer-9321173b.js';
|
|
10
10
|
import { t as tryGetDocument } from './try-get-document-bef0f526.js';
|
|
11
11
|
import { V as VegaInternalIconManager } from './internal-icon-manager-d4d534d2.js';
|
|
12
|
-
import { i as isNonNullable } from './type-guard-
|
|
12
|
+
import { i as isNonNullable } from './type-guard-204094c6.js';
|
|
13
13
|
import { v as vegaNonceManager } from './vega-nonce-manager-497e5eb5.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1163,6 +1163,246 @@ class ReplaceSelectedTextAction extends ModifyContentAction {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
}
|
|
1165
1165
|
|
|
1166
|
+
/**
|
|
1167
|
+
* Block-level HTML tags that introduce a visible line break when converting
|
|
1168
|
+
* HTML to plain text. Hard-coded because this is HTML spec knowledge that
|
|
1169
|
+
* cannot be derived at runtime and must be kept in sync with the spec.
|
|
1170
|
+
*
|
|
1171
|
+
* Trade-off: this is a blocklist, so unknown/custom elements default to inline.
|
|
1172
|
+
* That is acceptable for this plain-text fallback (clipboard HTML rarely
|
|
1173
|
+
* contains custom block elements); an inline allowlist would be more robust
|
|
1174
|
+
* but is unnecessary here.
|
|
1175
|
+
*
|
|
1176
|
+
* @see https://developer.mozilla.org/docs/Glossary/Block-level_content
|
|
1177
|
+
*/
|
|
1178
|
+
const BLOCK_LEVEL_TAGS = new Set([
|
|
1179
|
+
'address',
|
|
1180
|
+
'article',
|
|
1181
|
+
'aside',
|
|
1182
|
+
'blockquote',
|
|
1183
|
+
'dd',
|
|
1184
|
+
'details',
|
|
1185
|
+
'dialog',
|
|
1186
|
+
'div',
|
|
1187
|
+
'dl',
|
|
1188
|
+
'dt',
|
|
1189
|
+
'figure',
|
|
1190
|
+
'footer',
|
|
1191
|
+
'form',
|
|
1192
|
+
'h1',
|
|
1193
|
+
'h2',
|
|
1194
|
+
'h3',
|
|
1195
|
+
'h4',
|
|
1196
|
+
'h5',
|
|
1197
|
+
'h6',
|
|
1198
|
+
'header',
|
|
1199
|
+
'hr',
|
|
1200
|
+
'li',
|
|
1201
|
+
'main',
|
|
1202
|
+
'nav',
|
|
1203
|
+
'ol',
|
|
1204
|
+
'p',
|
|
1205
|
+
'pre',
|
|
1206
|
+
'section',
|
|
1207
|
+
'table',
|
|
1208
|
+
'tbody',
|
|
1209
|
+
'tfoot',
|
|
1210
|
+
'thead',
|
|
1211
|
+
'tr',
|
|
1212
|
+
'ul',
|
|
1213
|
+
]);
|
|
1214
|
+
/**
|
|
1215
|
+
* Inline `display` values that turn a nominally inline tag into a visual block-level box
|
|
1216
|
+
* (e.g. Jira/Confluence code lines: `<span style="display: flex; white-space: pre-wrap;">`).
|
|
1217
|
+
*/
|
|
1218
|
+
const BLOCK_LIKE_DISPLAY_VALUES = new Set([
|
|
1219
|
+
'block',
|
|
1220
|
+
'flex',
|
|
1221
|
+
'grid',
|
|
1222
|
+
'table',
|
|
1223
|
+
'list-item',
|
|
1224
|
+
'flow-root',
|
|
1225
|
+
]);
|
|
1226
|
+
/**
|
|
1227
|
+
* @param {Element} el Candidate element.
|
|
1228
|
+
* @returns {boolean} Whether the element's inline `style="display: ..."` puts it in the block flow.
|
|
1229
|
+
*/
|
|
1230
|
+
function hasBlockLikeInlineDisplay(el) {
|
|
1231
|
+
const inlineStyle = el.style;
|
|
1232
|
+
if (!inlineStyle) {
|
|
1233
|
+
return false;
|
|
1234
|
+
}
|
|
1235
|
+
return BLOCK_LIKE_DISPLAY_VALUES.has(inlineStyle.display);
|
|
1236
|
+
}
|
|
1237
|
+
// `pre-line` intentionally excluded: it keeps `\n` but collapses spaces/tabs.
|
|
1238
|
+
const WHITESPACE_PRESERVING_VALUES = new Set(['pre', 'pre-wrap', 'break-spaces']);
|
|
1239
|
+
/**
|
|
1240
|
+
* @param {Element} el Candidate element.
|
|
1241
|
+
* @returns {boolean} Whether the element's inline `style="white-space: ..."` preserves source whitespace.
|
|
1242
|
+
*/
|
|
1243
|
+
function preservesWhitespaceInlineStyle(el) {
|
|
1244
|
+
const inlineStyle = el.style;
|
|
1245
|
+
if (!inlineStyle) {
|
|
1246
|
+
return false;
|
|
1247
|
+
}
|
|
1248
|
+
return WHITESPACE_PRESERVING_VALUES.has(inlineStyle.whiteSpace);
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Resolves the preformatted text of a code-block element, or `null` when the element is not a
|
|
1252
|
+
* code block. A Vega code block serializes to `<vega-code-block data-content data-language>` whose
|
|
1253
|
+
* `data-content` attribute is the authoritative source (its shadow-DOM `<code>` may be empty in some
|
|
1254
|
+
* browsers); external editors emit `<pre>`/`<code data-language>` whose `textContent` carries the
|
|
1255
|
+
* code. Both keep their newlines/indentation so plain paste renders one paragraph per line.
|
|
1256
|
+
*
|
|
1257
|
+
* @param {Element} el Candidate element.
|
|
1258
|
+
* @returns {string | null} Code text with line breaks preserved, or `null` when not a code block.
|
|
1259
|
+
*/
|
|
1260
|
+
function resolveCodeBlockText(el) {
|
|
1261
|
+
var _a, _b, _c;
|
|
1262
|
+
const tagName = el.tagName.toLowerCase();
|
|
1263
|
+
if (tagName === 'vega-code-block') {
|
|
1264
|
+
return (_b = (_a = el.getAttribute('data-content')) !== null && _a !== void 0 ? _a : el.textContent) !== null && _b !== void 0 ? _b : '';
|
|
1265
|
+
}
|
|
1266
|
+
if ((tagName === 'pre' || tagName === 'code') && el.hasAttribute('data-language')) {
|
|
1267
|
+
return (_c = el.textContent) !== null && _c !== void 0 ? _c : '';
|
|
1268
|
+
}
|
|
1269
|
+
return null;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Recursively builds text content, inserting `\n` at block-level element and `<br>` boundaries.
|
|
1273
|
+
*
|
|
1274
|
+
* @param {Node} node DOM node to extract text from.
|
|
1275
|
+
* @param {boolean} preserveWhitespace Whether whitespace should be retained for preformatted content.
|
|
1276
|
+
* @param {boolean} preserveNewlines Keep literal `\n` in text nodes as line breaks (used inside table
|
|
1277
|
+
* cells, where a Vega line break is a text node rendered as `<span>\n</span>` rather than a `<br>`).
|
|
1278
|
+
* @returns {string} Extracted text with line breaks preserved.
|
|
1279
|
+
*/
|
|
1280
|
+
function extractBlockAwareText(node, preserveWhitespace, preserveNewlines = false) {
|
|
1281
|
+
let text = '';
|
|
1282
|
+
node.childNodes.forEach((child) => {
|
|
1283
|
+
var _a, _b, _c;
|
|
1284
|
+
if (child.nodeType === Node.TEXT_NODE) {
|
|
1285
|
+
const textContent = (_a = child.textContent) !== null && _a !== void 0 ? _a : '';
|
|
1286
|
+
if (preserveWhitespace) {
|
|
1287
|
+
text += textContent.replace(/ /g, PRESERVED_SPACE).replace(/\t/g, PRESERVED_TAB);
|
|
1288
|
+
return;
|
|
1289
|
+
}
|
|
1290
|
+
const parentElement = child.parentElement;
|
|
1291
|
+
const hasBlockChild = Array.from((_b = parentElement === null || parentElement === void 0 ? void 0 : parentElement.children) !== null && _b !== void 0 ? _b : []).some((element) => BLOCK_LEVEL_TAGS.has(element.tagName.toLowerCase()));
|
|
1292
|
+
if (!/\S/.test(textContent) && hasBlockChild) {
|
|
1293
|
+
return;
|
|
1294
|
+
}
|
|
1295
|
+
// Collapse only whitespace runs that cross a markup newline (source-format indentation
|
|
1296
|
+
// between tags); real space/tab runs inside a text node are user content and stay verbatim.
|
|
1297
|
+
// Inside a cell (preserveNewlines) the collapse keeps the newline as-is.
|
|
1298
|
+
text += textContent.replace(preserveNewlines ? /[^\S\u00A0\n]*\n[^\S\u00A0\n]*/g : /[^\S\u00A0]*\n[^\S\u00A0]*/g, preserveNewlines ? '\n' : ' ');
|
|
1299
|
+
return;
|
|
1300
|
+
}
|
|
1301
|
+
if (child.nodeType !== Node.ELEMENT_NODE) {
|
|
1302
|
+
return;
|
|
1303
|
+
}
|
|
1304
|
+
const el = child;
|
|
1305
|
+
const tagName = el.tagName.toLowerCase();
|
|
1306
|
+
if (tagName === 'br') {
|
|
1307
|
+
text += '\n';
|
|
1308
|
+
return;
|
|
1309
|
+
}
|
|
1310
|
+
if (tagName === 'img') {
|
|
1311
|
+
text += (_c = el.getAttribute('alt')) !== null && _c !== void 0 ? _c : '';
|
|
1312
|
+
return;
|
|
1313
|
+
}
|
|
1314
|
+
// Code blocks keep their newlines/indentation verbatim so each line becomes its own
|
|
1315
|
+
// paragraph on plain paste, instead of collapsing to a single line.
|
|
1316
|
+
const codeBlockText = resolveCodeBlockText(el);
|
|
1317
|
+
if (codeBlockText !== null) {
|
|
1318
|
+
const preservedCode = codeBlockText
|
|
1319
|
+
.replace(/ /g, PRESERVED_SPACE)
|
|
1320
|
+
.replace(/\t/g, PRESERVED_TAB);
|
|
1321
|
+
if (text !== '' && !text.endsWith('\n')) {
|
|
1322
|
+
text += '\n';
|
|
1323
|
+
}
|
|
1324
|
+
text += preservedCode;
|
|
1325
|
+
if (preservedCode === '' || !text.endsWith('\n')) {
|
|
1326
|
+
text += '\n';
|
|
1327
|
+
}
|
|
1328
|
+
return;
|
|
1329
|
+
}
|
|
1330
|
+
if (BLOCK_LEVEL_TAGS.has(tagName) || hasBlockLikeInlineDisplay(el)) {
|
|
1331
|
+
const blockText = extractBlockAwareText(el, preserveWhitespace || tagName === 'pre', preserveNewlines);
|
|
1332
|
+
// Empty list items and empty structural `div`s (ProseMirror table scaffolding: sticky
|
|
1333
|
+
// sentinels, row-control wrappers, borders) are artifacts, not intentional blank lines, so
|
|
1334
|
+
// skip them. Keep meaningful empty blocks: break-only div and div containing an image but
|
|
1335
|
+
// no extractable text. Empty `<p>`/headings still keep their blank line via the logic below.
|
|
1336
|
+
if ((tagName === 'li' && blockText.trim() === '') ||
|
|
1337
|
+
(tagName === 'div' && blockText === '' && el.querySelector('img') === null)) {
|
|
1338
|
+
return;
|
|
1339
|
+
}
|
|
1340
|
+
if (text !== '' && !text.endsWith('\n')) {
|
|
1341
|
+
text += '\n';
|
|
1342
|
+
}
|
|
1343
|
+
text += blockText;
|
|
1344
|
+
if (blockText === '' || !text.endsWith('\n')) {
|
|
1345
|
+
text += '\n';
|
|
1346
|
+
}
|
|
1347
|
+
return;
|
|
1348
|
+
}
|
|
1349
|
+
// Put each cell on its own line while keeping the cell's own blank lines (empty
|
|
1350
|
+
// paragraphs and Vega text-node line breaks); tabs inside a cell collapse to a space so
|
|
1351
|
+
// they don't look like columns.
|
|
1352
|
+
if (tagName === 'td' || tagName === 'th') {
|
|
1353
|
+
const cellText = extractBlockAwareText(el, preserveWhitespace, true)
|
|
1354
|
+
.replace(/\t+/g, ' ')
|
|
1355
|
+
.replace(/^\n+|\n+$/g, '');
|
|
1356
|
+
text += `${cellText}\n`;
|
|
1357
|
+
return;
|
|
1358
|
+
}
|
|
1359
|
+
text += extractBlockAwareText(el, preserveWhitespace || tagName === 'pre', preserveNewlines || preservesWhitespaceInlineStyle(el));
|
|
1360
|
+
});
|
|
1361
|
+
return text;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* Converts HTML to plain text, preserving line breaks introduced by block-level elements and `<br>`.
|
|
1365
|
+
* Used as a fallback when clipboard data lacks a `text/plain` payload, so structural breaks
|
|
1366
|
+
* (e.g. `<h1>Heading</h1><p>Body</p>`) survive as `Heading\nBody` instead of being flattened.
|
|
1367
|
+
*
|
|
1368
|
+
* @param {string} html HTML content to convert.
|
|
1369
|
+
* @param {HtmlToPlainTextOptions} options Plain-text conversion options.
|
|
1370
|
+
* @returns {string} Block-aware plain text with normalized `\n` line endings.
|
|
1371
|
+
*/
|
|
1372
|
+
function htmlToPlainText(html, options = {}) {
|
|
1373
|
+
if (!html) {
|
|
1374
|
+
return '';
|
|
1375
|
+
}
|
|
1376
|
+
const parsed = new DOMParser().parseFromString(html, 'text/html');
|
|
1377
|
+
if (!parsed.body) {
|
|
1378
|
+
return '';
|
|
1379
|
+
}
|
|
1380
|
+
// Per-paragraph trim: sentinels (`\u0001`/`\u0002`) are not in `\s`, so code-block indentation
|
|
1381
|
+
// emitted by the preservation branch survives; NBSP is in `\s`, so noise from non-code sources is dropped.
|
|
1382
|
+
const normalizedText = normalizePlainTextLines(extractBlockAwareText(parsed.body, false))
|
|
1383
|
+
.map((line) => line.trim())
|
|
1384
|
+
.join('\n');
|
|
1385
|
+
const textWithoutStructuralBreak = options.preserveBoundaryBlankLines
|
|
1386
|
+
? normalizedText.replace(/\n$/, '')
|
|
1387
|
+
: normalizedText.replace(/^\n+|\n+$/g, '');
|
|
1388
|
+
if (options.keepPreservedWhitespaceMarkers) {
|
|
1389
|
+
return textWithoutStructuralBreak;
|
|
1390
|
+
}
|
|
1391
|
+
return textWithoutStructuralBreak.split(PRESERVED_SPACE).join(' ').split(PRESERVED_TAB).join('\t');
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Detects whether the clipboard HTML contains a table anywhere. Plain paste uses this together
|
|
1395
|
+
* with a tab check on `text/plain`: a tab-separated `text/plain` only reflects a table's row/
|
|
1396
|
+
* column layout when the clipboard actually has a table, so that combination is pasted from
|
|
1397
|
+
* `text/plain` verbatim (its line breaks are trusted as-is), regardless of any surrounding content.
|
|
1398
|
+
*
|
|
1399
|
+
* @param {string} html HTML content to inspect.
|
|
1400
|
+
* @returns {boolean} Whether the HTML contains a table.
|
|
1401
|
+
*/
|
|
1402
|
+
function htmlContainsTable(html) {
|
|
1403
|
+
return /<table[\s/>]/i.test(html);
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1166
1406
|
/**
|
|
1167
1407
|
* Rich Text Editor extension that configures built-in image behavior.
|
|
1168
1408
|
*/
|
|
@@ -1197,4 +1437,4 @@ class VegaRTEImageExtension extends VegaRTEExtension {
|
|
|
1197
1437
|
*/
|
|
1198
1438
|
VegaRTEImageExtension.configStore = VegaRTEImageExtension.createStateStore();
|
|
1199
1439
|
|
|
1200
|
-
export { ActionHandlerInterceptor as A, InsertNodeToNearestRootAction as I, ReplaceSelectedTextAction as R, VegaRTEBookmarkExtension as V, VegaRTEImageExtension as a, VegaRTEToolbarButtonRenderer as b,
|
|
1440
|
+
export { ActionHandlerInterceptor as A, InsertNodeToNearestRootAction as I, ReplaceSelectedTextAction as R, VegaRTEBookmarkExtension as V, VegaRTEImageExtension as a, VegaRTEToolbarButtonRenderer as b, htmlToPlainText as c, bookmarkIcon as d, collectBookmarkNames as e, htmlContainsTable as h };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { g as getCurrentBreakpoint } from './breakpoints-332702ed.js';
|
|
2
2
|
export { L as LogUtility, s as setVegaLogLevel } from './global-slimmer-registry-17c4efd4.js';
|
|
3
|
-
export { d as formatAndValidBackgroundColor, e as formatAndValidBorderColor, g as formatAndValidBorderRadius, c as formatAndValidBreakpointSize, a as formatAndValidGap, h as formatAndValidPadding, f as formatAndValidResponsiveToken, b as formatAndValidShadow, i as formatAndValidTextColor } from './design-token-
|
|
3
|
+
export { d as formatAndValidBackgroundColor, e as formatAndValidBorderColor, g as formatAndValidBorderRadius, c as formatAndValidBreakpointSize, a as formatAndValidGap, h as formatAndValidPadding, f as formatAndValidResponsiveToken, b as formatAndValidShadow, i as formatAndValidTextColor } from './design-token-acd1efeb.js';
|
|
4
4
|
export { c as camelToDashCase } from './string-a953eafc.js';
|
|
5
|
-
export { g as BackgroundColorMap, d as BackgroundColors, h as BorderColorMap, e as BorderColors, B as BorderRadius, c as Colors, F as FillBackgroundColors, k as ShadowMap, j as Shadows, l as Spacing, S as StrokeBackgroundColors, f as TextColorMap, T as TextColors } from './type-guard-
|
|
5
|
+
export { g as BackgroundColorMap, d as BackgroundColors, h as BorderColorMap, e as BorderColors, B as BorderRadius, c as Colors, F as FillBackgroundColors, k as ShadowMap, j as Shadows, l as Spacing, S as StrokeBackgroundColors, f as TextColorMap, T as TextColors } from './type-guard-204094c6.js';
|
|
6
6
|
export { B as Breakpoints } from './breakpoints-d9faf11c.js';
|
|
7
7
|
export { I as Icons, g as getIconFromToken } from './icons-8627925e.js';
|
|
8
8
|
export { b as Typography, a as TypographyKeys, T as TypographyUrls } from './typography-19c3b9be.js';
|
|
9
9
|
export { d as BoxDisplay, e as BreakpointKeys, C as CssStates, F as FlexDirections } from './ui-93922c59.js';
|
|
10
10
|
export { F as FrameworkEnum, v as VegaEnvManager } from './vega-env-manager-8f8dc473.js';
|
|
11
|
-
export { G as DeleteSelectedContentAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, B as VegaCalendarPeriodFactory, b as VegaEventManager, V as VegaLoader, a as VegaNotify, l as VegaRTEBlockquoteExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, h as VegaRTEDefaultLineHeightOptions, n as VegaRTEFindReplaceExtension, x as VegaRTEFullscreenExtension, i as VegaRTEFunctionExtension, k as VegaRTEHorizontalLineExtension, g as VegaRTELanguageExtension, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, o as VegaRTESpecialCharactersEssentials, m as VegaRTESpecialCharactersExtension, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, t as VegaRTESpecialCharactersText, j as VegaRTETableExtension, f as VegaRTETokenExtension, A as VegaRTEWordCountExtension, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-
|
|
11
|
+
export { G as DeleteSelectedContentAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, B as VegaCalendarPeriodFactory, b as VegaEventManager, V as VegaLoader, a as VegaNotify, l as VegaRTEBlockquoteExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, h as VegaRTEDefaultLineHeightOptions, n as VegaRTEFindReplaceExtension, x as VegaRTEFullscreenExtension, i as VegaRTEFunctionExtension, k as VegaRTEHorizontalLineExtension, g as VegaRTELanguageExtension, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, o as VegaRTESpecialCharactersEssentials, m as VegaRTESpecialCharactersExtension, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, t as VegaRTESpecialCharactersText, j as VegaRTETableExtension, f as VegaRTETokenExtension, A as VegaRTEWordCountExtension, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-645a9520.js';
|
|
12
12
|
export { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
13
|
-
export { V as VegaThemeManager } from './split-cell-operation-
|
|
13
|
+
export { V as VegaThemeManager } from './split-cell-operation-85a036f9.js';
|
|
14
14
|
export { V as VegaDialog } from './vega-dialog-controller-f2d3b6c9.js';
|
|
15
15
|
export { B as VegaJQueryDelegatedEventStrategy } from './internal-vega-event-manager-6eebe8f8.js';
|
|
16
16
|
export { V as VegaIconManager } from './icon-manager-236d6c23.js';
|
|
17
|
-
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
17
|
+
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-0874e19f.js';
|
|
18
18
|
import './ui-80e610f4.js';
|
|
19
|
-
export { s as VegaTranslationResourceEN } from './internal-translation-controller-
|
|
19
|
+
export { s as VegaTranslationResourceEN } from './internal-translation-controller-3637e47e.js';
|
|
20
20
|
export { s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
21
21
|
export { C as VegaCountryNames } from './countries-50d3339b.js';
|
|
22
|
-
export {
|
|
23
|
-
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, b as RTEImageNode, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-
|
|
24
|
-
export { G as GridColumns, a as GridRows } from './responsive-format-facade-
|
|
22
|
+
export { f as ActionHandleStrategy, g as AppendChildrenAction, ao as CodeLanguage, m as CustomAttributeAnnotation, ap as CustomClassAnnotation, u as CustomStyleAnnotation, I as InsertChildrenAfterAction, h as InsertChildrenBeforeAction, M as ModifyContentAction, j as ModifyContentActionType, e as RTEAnnotationStyle, b as RTEBlock, p as RTEDecoratorNode, o as RTEFilterStylesStrategy, Z as RTEListBlock, r as RTEListItemBlock, a as RTENode, c as RTETextBlock, R as RTETextNode, l as RemoveChildrenAction, aq as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-9360c331.js';
|
|
23
|
+
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, b as RTEImageNode, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-67a12e74.js';
|
|
24
|
+
export { G as GridColumns, a as GridRows } from './responsive-format-facade-1b325d06.js';
|
|
25
25
|
export { C as CheckBoxRequiredRule } from './check-box-required-rule-cb0aa339.js';
|
|
26
|
-
export { D as DateRequiredRule } from './date-required-rule-
|
|
26
|
+
export { D as DateRequiredRule } from './date-required-rule-66b5bf02.js';
|
|
27
27
|
export { I as InputPhoneNumberRequiredRule } from './input-phone-number-required-rule-be6a5572.js';
|
|
28
28
|
export { I as InputRangeRequiredRule } from './input-range-required-rule-3ad74776.js';
|
|
29
29
|
export { R as RequiredFieldRule } from './required-field-rule-897fe8d1.js';
|
|
30
|
-
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
31
|
-
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-
|
|
30
|
+
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-cfd32ba2.js';
|
|
31
|
+
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-57ceeae9.js';
|
|
32
32
|
export { T as ToggleSwitchRequiredRule } from './toggle-switch-required-rule-b3cf4302.js';
|
|
33
33
|
export { F as FileUploaderRequiredRule } from './file-uploader-required-rule-96952e1a.js';
|
|
34
|
-
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-
|
|
35
|
-
export { A as ActionHandlerInterceptor, I as InsertNodeToNearestRootAction, V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension, b as VegaRTEToolbarButtonRenderer } from './image-extension-
|
|
36
|
-
export { R as RTERange } from './range-
|
|
37
|
-
import './state-border-formatter-
|
|
34
|
+
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-57ba9520.js';
|
|
35
|
+
export { A as ActionHandlerInterceptor, I as InsertNodeToNearestRootAction, V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension, b as VegaRTEToolbarButtonRenderer } from './image-extension-aea75132.js';
|
|
36
|
+
export { R as RTERange } from './range-3c74e1c8.js';
|
|
37
|
+
import './state-border-formatter-ce3495b0.js';
|
|
38
38
|
import './misc-9fdbcfbb.js';
|
|
39
39
|
import './discriminated-fe5bf3c8.js';
|
|
40
40
|
import './dynamic-slimmer-90b8af32.js';
|
|
@@ -42,7 +42,7 @@ import './internal-vega-z-index-manager-7d2b54c3.js';
|
|
|
42
42
|
import './number-4398f2e1.js';
|
|
43
43
|
import './page-resize-observer-slimmer-e24d36c5.js';
|
|
44
44
|
import './try-get-document-bef0f526.js';
|
|
45
|
-
import './internal-calendar-period-factory-
|
|
45
|
+
import './internal-calendar-period-factory-261df2f2.js';
|
|
46
46
|
import './internal-icon-manager-d4d534d2.js';
|
|
47
47
|
import './change-manager-6a7eb88c.js';
|
|
48
48
|
import './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CalendarDate, a as MonthPeriod, b as DayPeriod, W as WeekPeriod } from './type-guard-
|
|
1
|
+
import { C as CalendarDate, a as MonthPeriod, b as DayPeriod, W as WeekPeriod } from './type-guard-204094c6.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Factory class for creating CalendarPeriod instances and converting them to VegaCalendarPeriodType.
|
|
@@ -229,6 +229,7 @@ const staticTranslations = {
|
|
|
229
229
|
'Currency': 'Currency',
|
|
230
230
|
'Use rich text': 'Use rich text',
|
|
231
231
|
'Rich Text Editor. Editing area: main. ': 'Rich Text Editor. Editing area: main. ',
|
|
232
|
+
'Use plain text': 'Use plain text',
|
|
232
233
|
'Paste options': 'Paste options',
|
|
233
234
|
'Required': 'Required',
|
|
234
235
|
'Disabled': 'Disabled',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as isParent, b as getDeepActiveElementInShadow } from './ui-80e610f4.js';
|
|
2
|
-
import { i as isNonNullable } from './type-guard-
|
|
2
|
+
import { i as isNonNullable } from './type-guard-204094c6.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* It listens to the keyup event on the window and calls the appropriate method on the registered elements
|
package/dist/esm/{keyboard-manager-slimmer-f40dcb54.js → keyboard-manager-slimmer-b3de042d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MapToComponentMethod, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { K as KeyboardManager } from './keyboard-manager-
|
|
2
|
+
import { K as KeyboardManager } from './keyboard-manager-53e8d8d0.js';
|
|
3
3
|
|
|
4
4
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5
5
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry,
|
|
2
|
-
import { c as RTEDTOActionStrategyManager, d as ElementToDTOClassStrategyManager, h as htmlElementToAnnotationGenerator } from './content-state-
|
|
3
|
-
import { i as isNonNullable } from './type-guard-
|
|
1
|
+
import { s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry, an as ActionHandlerInterceptorRegistry, v as RTEFilterStylesStrategyRegistry, n as RTEDTOClassManager } from './code-block-9360c331.js';
|
|
2
|
+
import { c as RTEDTOActionStrategyManager, d as ElementToDTOClassStrategyManager, h as htmlElementToAnnotationGenerator } from './content-state-67a12e74.js';
|
|
3
|
+
import { i as isNonNullable } from './type-guard-204094c6.js';
|
|
4
4
|
import { D as Discriminated } from './discriminated-fe5bf3c8.js';
|
|
5
5
|
import './global-slimmer-registry-17c4efd4.js';
|
|
6
6
|
|