@globalpayments/vega 2.98.0 → 2.99.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/{action-color-accessibility-validator-24498816.js → action-color-accessibility-validator-b8a9ef0f.js} +2 -2
- package/dist/cjs/{app-globals-b3f05631.js → app-globals-a306dce6.js} +10 -10
- package/dist/cjs/{code-block-d78c2b2c.js → code-block-ea1f5eb3.js} +43 -6
- package/dist/cjs/{component-global-style-slimmer-93c5fb50.js → component-global-style-slimmer-ba588eb4.js} +1 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-beb00fea.js → component-value-history-controller-slimmer.abstract-7071b064.js} +24 -5
- package/dist/cjs/{content-state-78a620a9.js → content-state-8d07d530.js} +60 -8
- package/dist/cjs/{dark-mode-style-controller-32d4054a.js → dark-mode-style-controller-f3da3342.js} +2 -2
- package/dist/cjs/{date-required-rule-5250f26d.js → date-required-rule-c0c498ad.js} +1 -1
- package/dist/cjs/{design-token-74674ee7.js → design-token-58bf7fe8.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-597e9e48.js → element-appender-slimmer-a0269315.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-a743be34.js → form-field-controller-slimmer-f73f200e.js} +2 -2
- package/dist/cjs/{image-annotation-action-85c4bd83.js → image-annotation-action-2a28038e.js} +3 -3
- package/dist/cjs/{image-extension-260fa69c.js → image-extension-9659708b.js} +2 -2
- package/dist/cjs/{index-592b4052.js → index-5d1adcd1.js} +86 -0
- package/dist/cjs/index.cjs.js +19 -19
- package/dist/cjs/{inject-keyboard-manager-6a6f5c9f.js → inject-keyboard-manager-4fa45f9c.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-dfcdd3f6.js → internal-calendar-period-factory-6196bc80.js} +1 -1
- package/dist/cjs/{internal-translation-controller-1dac2df8.js → internal-translation-controller-51f7f865.js} +2 -0
- package/dist/cjs/{keyboard-manager-c56033b1.js → keyboard-manager-482fe257.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-7043a106.js → keyboard-manager-slimmer-a19430dd.js} +1 -1
- package/dist/cjs/{link-extension-220ff6a9.js → link-extension-11340e1c.js} +26 -7
- package/dist/cjs/loader.cjs.js +13 -13
- package/dist/cjs/{month-view-generator-7b704a80.js → month-view-generator-1a534451.js} +1 -1
- package/dist/cjs/{public-rules-5657bce4.js → public-rules-6c77b545.js} +9 -9
- package/dist/cjs/{range-c5afd53a.js → range-22ddd452.js} +1 -1
- package/dist/cjs/{responsive-format-facade-493d1763.js → responsive-format-facade-74e6d791.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-385c1b61.js → rich-text-editor-required-rule-09d1093a.js} +1 -1
- package/dist/cjs/{split-cell-operation-873d5db7.js → split-cell-operation-11bfb305.js} +14 -4
- package/dist/cjs/{state-border-formatter-711c7aaa.js → state-border-formatter-bf4f9f1c.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-b61bdcbd.js → string-format-strategy.abstract-bf37b14c.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-ef65cca7.js → string-input-formatter-slimmer-ffeb18a6.js} +1 -1
- package/dist/cjs/{string-mask-strategy-ad3fa0ac.js → string-mask-strategy-7f394726.js} +2 -2
- package/dist/cjs/{style-formatter-8f711cb0.js → style-formatter-4ac63910.js} +2 -2
- package/dist/cjs/{time-required-rule-87417359.js → time-required-rule-e2a50003.js} +1 -1
- package/dist/cjs/{token-extension-78b5a026.js → token-extension-4686cb3b.js} +2920 -157
- package/dist/cjs/{translation-slimmer-77c7f37d.js → translation-slimmer-e4997f8f.js} +1 -1
- package/dist/cjs/{type-guard-a57ef3ac.js → type-guard-b8d7bb3f.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-4c0a3040.js → valid-credit-card-number-rule-f5a6f009.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-footer.cjs.entry.js +2 -2
- package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-box.cjs.entry.js +7 -7
- package/dist/cjs/vega-brand-logo.cjs.entry.js +2 -2
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/vega-button-circle.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-link.cjs.entry.js +1 -1
- package/dist/cjs/vega-button.cjs.entry.js +4 -4
- package/dist/cjs/vega-calendar_5.cjs.entry.js +21 -10
- 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 +3 -3
- package/dist/cjs/vega-chip.cjs.entry.js +5 -5
- package/dist/cjs/vega-code-block.cjs.entry.js +11 -11
- package/dist/cjs/vega-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +4 -4
- package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-counter-badge.cjs.entry.js +2 -2
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-dialog_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-divider.cjs.entry.js +5 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +23 -14
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +4 -4
- 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 +6 -6
- package/dist/cjs/vega-image-uploader.cjs.entry.js +7 -7
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +7 -7
- package/dist/cjs/vega-input-numeric.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-passcode.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-range.cjs.entry.js +4 -4
- package/dist/cjs/vega-input-select.cjs.entry.js +6 -6
- package/dist/cjs/vega-input.cjs.entry.js +7 -7
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +10 -10
- 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 +6 -6
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +39 -11
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +79 -22
- 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 +10 -10
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
- package/dist/cjs/vega-signature-capture.cjs.entry.js +8 -8
- package/dist/cjs/vega-stepper.cjs.entry.js +3 -3
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +21 -8
- package/dist/cjs/vega-table_11.cjs.entry.js +81 -45
- package/dist/cjs/vega-textarea.cjs.entry.js +3 -3
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/vega.cjs.js +13 -13
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +5 -2
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +9 -1
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +2 -2
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +6 -4
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +10 -2
- package/dist/collection/components/vega-field-label/vega-field-label.css +1 -0
- package/dist/collection/components/vega-rich-text-editor/constants/constant.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +11 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +5 -2
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.js +36 -2
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +20 -3
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/block-boundary-registry.js +34 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/action-handler-strategies/insert-function-block-strategy.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/constants.js +8 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/function-block.js +14 -3
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/dto/logic-control-block.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-containing-function-block-strategy.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-block-strategy.js +9 -5
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-function-content-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/element-to-dto-strategies/div-to-logic-control-block-strategy.js +4 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-block-renderer.js +5 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/logic-control-block-renderer.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/utils.js +36 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-extension.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/action-handler-strategies/image-replace-src-strategy.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/actions/image-replace-src-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.js +295 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.js +116 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.js +13 -4
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-extension.js +70 -7
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/default-paste-strategy.js +38 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.js +59 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/strategies/word-paste-strategy.js +416 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-code-block-transformer.js +106 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-image-transformer.js +198 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-list-transformer.js +591 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-paragraph-transformer.js +112 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-table-transformer.js +551 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-transformer.js +7 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +10 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.js +4 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +44 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/extension-controller.js +2 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +7 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +18 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +21 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +7 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +5 -2
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +14 -7
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +6 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +5 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-body-col-span-controller.js +31 -1
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-col-span-resolver.js +18 -11
- package/dist/collection/helpers/translation/locales/en.js +2 -0
- package/dist/collection/utils/sanitize/index.js +3 -2
- package/dist/collection/utils/sanitize/strategies/index.js +1 -0
- package/dist/collection/utils/sanitize/strategies/label-sanitize-strategy.js +14 -0
- package/dist/collection/utils/sanitize/strategies/plain-text-sanitize-strategy.js +70 -0
- package/dist/esm/{action-color-accessibility-validator-ce55cb07.js → action-color-accessibility-validator-08877515.js} +2 -2
- package/dist/esm/{app-globals-95c7110a.js → app-globals-c59364c2.js} +10 -10
- package/dist/esm/{code-block-9c513169.js → code-block-e6443949.js} +39 -7
- package/dist/esm/{component-global-style-slimmer-ac703085.js → component-global-style-slimmer-7d60a04a.js} +1 -1
- package/dist/esm/{component-value-history-controller-slimmer.abstract-9cef2a2a.js → component-value-history-controller-slimmer.abstract-ee393213.js} +24 -5
- package/dist/esm/{content-state-25c81c08.js → content-state-43cdacff.js} +60 -9
- package/dist/esm/{dark-mode-style-controller-ca5afd2d.js → dark-mode-style-controller-352f15ff.js} +2 -2
- package/dist/esm/{date-required-rule-85334d0c.js → date-required-rule-b5b67498.js} +1 -1
- package/dist/esm/{design-token-10ff79b5.js → design-token-8319bb59.js} +3 -3
- package/dist/esm/{element-appender-slimmer-8a06ecdd.js → element-appender-slimmer-c81d1fe3.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-68fc5380.js → form-field-controller-slimmer-511b7ac5.js} +2 -2
- package/dist/esm/{image-annotation-action-d7f2aecc.js → image-annotation-action-d7cb80aa.js} +3 -3
- package/dist/esm/{image-extension-fbd1ed6e.js → image-extension-9b8abd0d.js} +2 -2
- package/dist/esm/{index-3b327f29.js → index-35451d12.js} +86 -1
- package/dist/esm/index.js +19 -19
- package/dist/esm/{inject-keyboard-manager-ea1aad5b.js → inject-keyboard-manager-dd368d56.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-7b294fb6.js → internal-calendar-period-factory-d58f35c6.js} +1 -1
- package/dist/esm/{internal-translation-controller-fac22598.js → internal-translation-controller-b33430c6.js} +2 -0
- package/dist/esm/{keyboard-manager-50da85d7.js → keyboard-manager-b4a0d97d.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-1f7c8bfb.js → keyboard-manager-slimmer-0517fc70.js} +1 -1
- package/dist/esm/{link-extension-e8ee103e.js → link-extension-230bae8d.js} +26 -7
- package/dist/esm/loader.js +13 -13
- package/dist/esm/{month-view-generator-a1a9a4ec.js → month-view-generator-f470caac.js} +1 -1
- package/dist/esm/{public-rules-49de79c7.js → public-rules-28ef32d3.js} +9 -9
- package/dist/esm/{range-b678c693.js → range-efad2578.js} +1 -1
- package/dist/esm/{responsive-format-facade-f19b601c.js → responsive-format-facade-dec87e46.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-578e0958.js → rich-text-editor-required-rule-a697e5bd.js} +1 -1
- package/dist/esm/{split-cell-operation-1c8e7585.js → split-cell-operation-89b91a38.js} +14 -4
- package/dist/esm/{state-border-formatter-bfda33aa.js → state-border-formatter-1e900a2f.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-1f4ff1b3.js → string-format-strategy.abstract-d0ce3f65.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-0006a107.js → string-input-formatter-slimmer-6546cfc7.js} +1 -1
- package/dist/esm/{string-mask-strategy-bbbcdbef.js → string-mask-strategy-dd13ae21.js} +2 -2
- package/dist/esm/{style-formatter-e9adc8f4.js → style-formatter-057d7120.js} +2 -2
- package/dist/esm/{time-required-rule-1ce2d0a0.js → time-required-rule-73753a54.js} +1 -1
- package/dist/esm/{token-extension-f2d009e3.js → token-extension-74a0eeb1.js} +2918 -155
- package/dist/esm/{translation-slimmer-ee0f0e76.js → translation-slimmer-ef970ffc.js} +1 -1
- package/dist/esm/{type-guard-f2624334.js → type-guard-6fc96870.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-60212b1d.js → valid-credit-card-number-rule-b54a31e7.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-footer.entry.js +2 -2
- package/dist/esm/vega-app-header-button.entry.js +5 -5
- package/dist/esm/vega-box.entry.js +7 -7
- package/dist/esm/vega-brand-logo.entry.js +2 -2
- package/dist/esm/vega-breadcrumb.entry.js +2 -2
- package/dist/esm/vega-button-circle.entry.js +6 -6
- package/dist/esm/vega-button-link.entry.js +1 -1
- package/dist/esm/vega-button.entry.js +4 -4
- package/dist/esm/vega-calendar_5.entry.js +21 -10
- 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 +3 -3
- package/dist/esm/vega-chip.entry.js +5 -5
- package/dist/esm/vega-code-block.entry.js +11 -11
- package/dist/esm/vega-color-picker.entry.js +3 -3
- package/dist/esm/vega-color-swatch-picker.entry.js +4 -4
- package/dist/esm/vega-color-swatch.entry.js +2 -2
- package/dist/esm/vega-combo-box.entry.js +9 -9
- package/dist/esm/vega-counter-badge.entry.js +2 -2
- package/dist/esm/vega-date-picker_2.entry.js +14 -14
- package/dist/esm/vega-dialog_2.entry.js +5 -5
- package/dist/esm/vega-divider.entry.js +5 -5
- package/dist/esm/vega-dropdown_5.entry.js +23 -14
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +4 -4
- 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 +6 -6
- package/dist/esm/vega-image-uploader.entry.js +7 -7
- package/dist/esm/vega-input-credit-card.entry.js +7 -7
- package/dist/esm/vega-input-numeric.entry.js +6 -6
- package/dist/esm/vega-input-passcode.entry.js +6 -6
- package/dist/esm/vega-input-phone-number.entry.js +5 -5
- package/dist/esm/vega-input-range.entry.js +4 -4
- package/dist/esm/vega-input-select.entry.js +6 -6
- package/dist/esm/vega-input.entry.js +7 -7
- package/dist/esm/vega-left-nav_5.entry.js +10 -10
- 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 +6 -6
- package/dist/esm/vega-rich-text-content.entry.js +39 -11
- package/dist/esm/vega-rich-text-editor_4.entry.js +79 -22
- 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 +10 -10
- package/dist/esm/vega-selection-chip_2.entry.js +5 -5
- package/dist/esm/vega-selection-tile_2.entry.js +3 -3
- package/dist/esm/vega-sidenav_3.entry.js +3 -3
- package/dist/esm/vega-signature-capture.entry.js +8 -8
- package/dist/esm/vega-stepper.entry.js +3 -3
- package/dist/esm/vega-tab-group_2.entry.js +21 -8
- package/dist/esm/vega-table_11.entry.js +53 -17
- package/dist/esm/vega-textarea.entry.js +3 -3
- package/dist/esm/vega-time-picker_2.entry.js +10 -10
- package/dist/esm/vega-toggle-switch.entry.js +3 -3
- package/dist/esm/vega-tooltip_2.entry.js +6 -6
- package/dist/esm/vega.js +13 -13
- package/dist/sri/vega-sri-manifest.json +349 -349
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +2 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-default-styles.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +3 -2
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/title-heading-node-filter-styles-strategy.d.ts +25 -3
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/extensions/block-boundary-registry.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/constants.d.ts +4 -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/functions/element-to-dto-strategies/div-containing-function-block-strategy.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/function-extension.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/extensions/functions/utils.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/action-handler-strategies/image-replace-src-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/actions/image-replace-src-action.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/paste-image-parser.d.ts +136 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/parse-local-images-helper/pending-image-registry.d.ts +68 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.d.ts +9 -4
- package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-extension.d.ts +39 -2
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/default-paste-strategy.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-processing-strategy.abstract.d.ts +61 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/paste-strategy-selector.d.ts +45 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/strategies/word-paste-strategy.d.ts +186 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-code-block-transformer.d.ts +51 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-image-transformer.d.ts +86 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-list-transformer.d.ts +271 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-paragraph-transformer.d.ts +25 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-table-transformer.d.ts +240 -0
- package/dist/types/components/vega-rich-text-editor/extensions/paste/word-paste-transformers/word-structure-transformer.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node.d.ts +19 -1
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.d.ts +4 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +1 -0
- package/dist/types/components/vega-tab-group/types.d.ts +3 -1
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +2 -0
- package/dist/types/components/vega-table/interface.d.ts +4 -4
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-body-col-span-controller.d.ts +16 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-col-span-resolver.d.ts +8 -10
- package/dist/types/helpers/translation/interface.d.ts +3 -1
- package/dist/types/types/public-api.d.ts +1 -0
- package/dist/types/utils/sanitize/index.d.ts +3 -2
- package/dist/types/utils/sanitize/strategies/index.d.ts +1 -0
- package/dist/types/utils/sanitize/strategies/label-sanitize-strategy.d.ts +9 -0
- package/dist/types/utils/sanitize/strategies/plain-text-sanitize-strategy.d.ts +36 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-0cbf09f7.entry.js → p-024db952.entry.js} +1 -1
- package/dist/vega/p-0b2c4c0b.js +1 -0
- package/dist/vega/{p-c2277448.entry.js → p-0ca3b4bf.entry.js} +1 -1
- package/dist/vega/{p-6f537797.entry.js → p-1a37d63c.entry.js} +1 -1
- package/dist/vega/{p-b622c455.js → p-1fa22fda.js} +1 -1
- package/dist/vega/{p-d609c3fd.js → p-2044eba9.js} +1 -1
- package/dist/vega/{p-56db3323.js → p-22edd3cc.js} +1 -1
- package/dist/vega/{p-5f96e741.entry.js → p-23c1f378.entry.js} +1 -1
- package/dist/vega/{p-6c95a6a3.js → p-2529820e.js} +1 -1
- package/dist/vega/{p-8d96f0e8.entry.js → p-2af1d8b8.entry.js} +1 -1
- package/dist/vega/{p-17c69503.entry.js → p-2f89ee14.entry.js} +1 -1
- package/dist/vega/{p-2bb5a232.js → p-3091b105.js} +1 -1
- package/dist/vega/{p-52c69f9e.entry.js → p-328ebbdb.entry.js} +1 -1
- package/dist/vega/p-35628af4.js +1 -0
- package/dist/vega/{p-9abf7d0a.entry.js → p-35d37477.entry.js} +1 -1
- package/dist/vega/{p-8c56d74d.entry.js → p-3a230d4b.entry.js} +1 -1
- package/dist/vega/{p-4bfe3258.entry.js → p-3c152bad.entry.js} +1 -1
- package/dist/vega/p-3c559c8b.js +1 -0
- package/dist/vega/{p-d470fce2.entry.js → p-3c8421d5.entry.js} +1 -1
- package/dist/vega/{p-7dcd2850.entry.js → p-4022412e.entry.js} +1 -1
- package/dist/vega/{p-c70748f7.entry.js → p-433b1395.entry.js} +1 -1
- package/dist/vega/{p-b98ead05.entry.js → p-4370b954.entry.js} +1 -1
- package/dist/vega/p-444e24c6.js +1 -0
- package/dist/vega/p-4473d8b1.js +3 -0
- package/dist/vega/{p-a484e32d.entry.js → p-44999c88.entry.js} +1 -1
- package/dist/vega/{p-f29ea345.entry.js → p-47a48329.entry.js} +1 -1
- package/dist/vega/{p-0cf3b5c1.entry.js → p-49d7cfed.entry.js} +1 -1
- package/dist/vega/{p-92528dc9.entry.js → p-4afd6715.entry.js} +1 -1
- package/dist/vega/{p-461100b8.entry.js → p-4f6aaac5.entry.js} +1 -1
- package/dist/vega/p-50eda925.js +1 -0
- package/dist/vega/{p-ae2abdfa.js → p-5110c84f.js} +1 -1
- package/dist/vega/{p-2a245138.entry.js → p-5147c30d.entry.js} +1 -1
- package/dist/vega/{p-874e5624.js → p-52878ea9.js} +1 -1
- package/dist/vega/{p-b00ec194.entry.js → p-55dc3053.entry.js} +1 -1
- package/dist/vega/p-5af312f8.js +1 -0
- package/dist/vega/{p-3e09aeed.js → p-5b3c8a56.js} +1 -1
- package/dist/vega/{p-2acf9b42.entry.js → p-5e9e04f3.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-6493f13a.entry.js +1 -0
- package/dist/vega/{p-56598858.entry.js → p-6659c910.entry.js} +1 -1
- package/dist/vega/{p-95c18f79.entry.js → p-66728dd4.entry.js} +1 -1
- package/dist/vega/{p-4cbfc01e.entry.js → p-66a785d0.entry.js} +1 -1
- package/dist/vega/{p-36d9e782.entry.js → p-66fe8b4e.entry.js} +1 -1
- package/dist/vega/p-67e88cd7.entry.js +1 -0
- package/dist/vega/{p-456f678b.js → p-691bdc20.js} +1 -1
- package/dist/vega/{p-94975537.entry.js → p-6d6b4495.entry.js} +1 -1
- package/dist/vega/p-7754b10f.entry.js +1 -0
- package/dist/vega/{p-085d1647.entry.js → p-77fb3971.entry.js} +1 -1
- package/dist/vega/{p-544ce391.entry.js → p-7977352b.entry.js} +1 -1
- package/dist/vega/{p-a91927eb.entry.js → p-7b133734.entry.js} +1 -1
- package/dist/vega/p-7b84a943.entry.js +1 -0
- package/dist/vega/{p-02d3ce79.entry.js → p-840444c9.entry.js} +1 -1
- package/dist/vega/{p-3737b9e2.entry.js → p-860e76f5.entry.js} +1 -1
- package/dist/vega/{p-72fd17a1.entry.js → p-867cc602.entry.js} +1 -1
- package/dist/vega/p-8d2a9012.js +1 -0
- package/dist/vega/{p-7e8fdac4.js → p-8d4be607.js} +1 -1
- package/dist/vega/p-8d77c7cf.js +1 -0
- package/dist/vega/{p-4fd0cf01.js → p-8f3b93db.js} +1 -1
- package/dist/vega/{p-56417ec5.entry.js → p-944e284d.entry.js} +1 -1
- package/dist/vega/{p-6fd4f2c6.js → p-94b54a95.js} +1 -1
- package/dist/vega/p-9c2b3279.js +1 -0
- package/dist/vega/{p-ca3c1317.entry.js → p-9c5289dc.entry.js} +1 -1
- package/dist/vega/{p-810c9c29.js → p-9c9b0629.js} +1 -1
- package/dist/vega/{p-585e4f1c.entry.js → p-9c9ff871.entry.js} +1 -1
- package/dist/vega/{p-2f07d719.entry.js → p-9d90e271.entry.js} +1 -1
- package/dist/vega/{p-d319ebb5.js → p-9e9f49f4.js} +1 -1
- package/dist/vega/{p-dcd3e3a7.js → p-a1f220ca.js} +1 -1
- package/dist/vega/{p-035e2f05.entry.js → p-a4360b7e.entry.js} +1 -1
- package/dist/vega/{p-6d4518d7.entry.js → p-a7517760.entry.js} +1 -1
- package/dist/vega/{p-c5fb8a69.entry.js → p-aa433430.entry.js} +1 -1
- package/dist/vega/{p-1cff027b.entry.js → p-aa914dbd.entry.js} +1 -1
- package/dist/vega/{p-72ab5cd5.entry.js → p-b12de1bf.entry.js} +1 -1
- package/dist/vega/p-b21cc390.entry.js +1 -0
- package/dist/vega/{p-dbb4b1d1.js → p-b3c4943b.js} +1 -1
- package/dist/vega/{p-1aedbfd2.entry.js → p-ba6881da.entry.js} +1 -1
- package/dist/vega/{p-9834d5d4.entry.js → p-bd7725f7.entry.js} +1 -1
- package/dist/vega/{p-a090b2be.js → p-c348eaf5.js} +1 -1
- package/dist/vega/{p-ccbe3f1b.entry.js → p-c8ad7207.entry.js} +1 -1
- package/dist/vega/{p-b3733762.entry.js → p-c8fb3aac.entry.js} +1 -1
- package/dist/vega/p-cc569b54.js +1 -0
- package/dist/vega/{p-c98c2f5f.entry.js → p-ccbed811.entry.js} +1 -1
- package/dist/vega/{p-da867019.entry.js → p-ce82d6bb.entry.js} +1 -1
- package/dist/vega/{p-a81ad3bd.js → p-cede3535.js} +1 -1
- package/dist/vega/p-d35a31a5.entry.js +1 -0
- package/dist/vega/{p-ac94ba1b.entry.js → p-d4d90ce2.entry.js} +1 -1
- package/dist/vega/{p-cb81126a.entry.js → p-d6023dc0.entry.js} +1 -1
- package/dist/vega/{p-a8174ad8.entry.js → p-d62e618a.entry.js} +1 -1
- package/dist/vega/{p-1ea9ad9a.js → p-dd0bd78b.js} +1 -1
- package/dist/vega/{p-36d2df7a.entry.js → p-ded1ecc1.entry.js} +1 -1
- package/dist/vega/p-df63c2fb.entry.js +1 -0
- package/dist/vega/{p-c6d775b8.entry.js → p-e1a65e06.entry.js} +1 -1
- package/dist/vega/{p-39c5054b.js → p-e1c82ca9.js} +1 -1
- package/dist/vega/{p-f6c0e9e7.entry.js → p-e469ba27.entry.js} +1 -1
- package/dist/vega/{p-373541fa.js → p-e4c5cb4f.js} +1 -1
- package/dist/vega/{p-ec64cc59.entry.js → p-f0a0fc77.entry.js} +1 -1
- package/dist/vega/{p-12e8a1b2.js → p-f13b39d8.js} +1 -1
- package/dist/vega/{p-4e065ef7.entry.js → p-f2384411.entry.js} +1 -1
- package/dist/vega/{p-8d2501b2.js → p-f9a3805d.js} +1 -1
- package/dist/vega/{p-1e0a8fd3.js → p-fa5cd8b1.js} +1 -1
- package/dist/vega/{p-2c2e8615.js → p-fcb6b499.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-constants.js +0 -6
- package/dist/types/components/vega-rich-text-editor/extensions/paste/paste-constants.d.ts +0 -6
- package/dist/vega/p-03eeadc1.entry.js +0 -1
- package/dist/vega/p-0eb29065.js +0 -3
- package/dist/vega/p-10d30c03.js +0 -1
- package/dist/vega/p-1250b1ab.entry.js +0 -1
- package/dist/vega/p-1abd3c17.js +0 -1
- package/dist/vega/p-2d158cbd.js +0 -1
- package/dist/vega/p-3d0b4074.js +0 -1
- package/dist/vega/p-56493601.js +0 -1
- package/dist/vega/p-571ec00b.js +0 -1
- package/dist/vega/p-5b1f5e4a.entry.js +0 -1
- package/dist/vega/p-6234852e.entry.js +0 -1
- package/dist/vega/p-781b7a54.js +0 -1
- package/dist/vega/p-cd69aeae.js +0 -1
- package/dist/vega/p-cfe268a8.entry.js +0 -1
- package/dist/vega/p-de8f0d98.js +0 -1
- package/dist/vega/p-f0e828d8.js +0 -1
- package/dist/vega/p-f62c5a20.entry.js +0 -1
- package/dist/vega/p-fa65956c.entry.js +0 -1
|
@@ -135,6 +135,20 @@ class LabelSanitizeStrategy extends SanitizeStrategy {
|
|
|
135
135
|
super(...arguments);
|
|
136
136
|
this.allowedTags = LABEL_ALLOWED_TAGS;
|
|
137
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Drops script/style nodes entirely, including their text contents.
|
|
140
|
+
*
|
|
141
|
+
* @param {HTMLElement} element - Element node to sanitize.
|
|
142
|
+
* @param {Document} doc - Document reference used to create safe nodes.
|
|
143
|
+
* @returns {Nullable<Node>} Sanitized node or null when removed.
|
|
144
|
+
*/
|
|
145
|
+
sanitizeElement(element, doc) {
|
|
146
|
+
const tagName = element.tagName;
|
|
147
|
+
if (tagName === 'SCRIPT' || tagName === 'STYLE') {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
return super.sanitizeElement(element, doc);
|
|
151
|
+
}
|
|
138
152
|
}
|
|
139
153
|
|
|
140
154
|
/**
|
|
@@ -204,6 +218,76 @@ class EmptySanitizeStrategy extends SanitizeStrategy {
|
|
|
204
218
|
}
|
|
205
219
|
}
|
|
206
220
|
|
|
221
|
+
/**
|
|
222
|
+
* Plain text sanitization strategy.
|
|
223
|
+
*
|
|
224
|
+
* Strips all HTML elements while preserving text content.
|
|
225
|
+
*/
|
|
226
|
+
class PlainTextSanitizeStrategy extends SanitizeStrategy {
|
|
227
|
+
constructor() {
|
|
228
|
+
super(...arguments);
|
|
229
|
+
this.allowedTags = new Set();
|
|
230
|
+
this.preserveTextContent = true;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Sanitizes a node, flattening any embedded markup that appears inside decoded text nodes.
|
|
234
|
+
*
|
|
235
|
+
* @param {Node} node - Node to sanitize.
|
|
236
|
+
* @param {Document} doc - Document reference used to create safe nodes.
|
|
237
|
+
* @returns {Nullable<Node>} Sanitized node or null when removed.
|
|
238
|
+
*/
|
|
239
|
+
execute(node, doc) {
|
|
240
|
+
var _a;
|
|
241
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
242
|
+
return this.sanitizeTextNode((_a = node.textContent) !== null && _a !== void 0 ? _a : '', doc);
|
|
243
|
+
}
|
|
244
|
+
return super.execute(node, doc);
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Drops script/style nodes entirely, including their text contents.
|
|
248
|
+
*
|
|
249
|
+
* @param {HTMLElement} element - Element node to sanitize.
|
|
250
|
+
* @param {Document} doc - Document reference used to create safe nodes.
|
|
251
|
+
* @returns {Nullable<Node>} Sanitized node or null when removed.
|
|
252
|
+
*/
|
|
253
|
+
sanitizeElement(element, doc) {
|
|
254
|
+
const tagName = element.tagName;
|
|
255
|
+
if (tagName === 'SCRIPT' || tagName === 'STYLE') {
|
|
256
|
+
return null;
|
|
257
|
+
}
|
|
258
|
+
return super.sanitizeElement(element, doc);
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Sanitizes decoded text content that may itself contain embedded markup.
|
|
262
|
+
*
|
|
263
|
+
* @param {string} textContent - Text content to sanitize.
|
|
264
|
+
* @param {Document} doc - Document reference used to create safe nodes.
|
|
265
|
+
* @returns {Nullable<Node>} Plain text node/fragment or null when removed.
|
|
266
|
+
*/
|
|
267
|
+
sanitizeTextNode(textContent, doc) {
|
|
268
|
+
if (!this.preserveTextContent) {
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
if (!textContent.includes('<') || !textContent.includes('>')) {
|
|
272
|
+
return doc.createTextNode(textContent);
|
|
273
|
+
}
|
|
274
|
+
const parser = new DOMParser();
|
|
275
|
+
const parsed = parser.parseFromString(textContent, 'text/html');
|
|
276
|
+
const fragment = doc.createDocumentFragment();
|
|
277
|
+
const hasElementNodes = Array.from(parsed.body.childNodes).some((child) => child.nodeType === Node.ELEMENT_NODE);
|
|
278
|
+
if (!hasElementNodes) {
|
|
279
|
+
return doc.createTextNode(textContent);
|
|
280
|
+
}
|
|
281
|
+
parsed.body.childNodes.forEach((child) => {
|
|
282
|
+
const clean = this.execute(child, doc);
|
|
283
|
+
if (clean) {
|
|
284
|
+
fragment.appendChild(clean);
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
return fragment;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
207
291
|
/**
|
|
208
292
|
* Public Sanitization API
|
|
209
293
|
*/
|
|
@@ -211,5 +295,6 @@ const htmlSanitizer = new HtmlSanitizer();
|
|
|
211
295
|
const labelSanitizeStrategy = new LabelSanitizeStrategy();
|
|
212
296
|
const styleSanitizeStrategy = new StyleSanitizeStrategy();
|
|
213
297
|
const emptySanitizeStrategy = new EmptySanitizeStrategy();
|
|
298
|
+
const plainTextSanitizeStrategy = new PlainTextSanitizeStrategy();
|
|
214
299
|
|
|
215
|
-
export { emptySanitizeStrategy as e, htmlSanitizer as h, labelSanitizeStrategy as l, styleSanitizeStrategy as s };
|
|
300
|
+
export { emptySanitizeStrategy as e, htmlSanitizer as h, labelSanitizeStrategy as l, plainTextSanitizeStrategy as p, styleSanitizeStrategy as s };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
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-8319bb59.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-6fc96870.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 { H as ActionHandlerInterceptor, G as DeleteSelectedContentAction, I as InsertNodeToNearestRootAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, A 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, B as VegaRTEToolbarButtonRenderer, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-
|
|
11
|
+
export { H as ActionHandlerInterceptor, G as DeleteSelectedContentAction, I as InsertNodeToNearestRootAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, A 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, B as VegaRTEToolbarButtonRenderer, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-74a0eeb1.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-89b91a38.js';
|
|
14
14
|
export { V as VegaDialog } from './vega-dialog-controller-726b74f9.js';
|
|
15
15
|
export { B as VegaJQueryDelegatedEventStrategy } from './internal-vega-event-manager-2ecc9186.js';
|
|
16
16
|
export { V as VegaIconManager } from './icon-manager-4ef3f6dd.js';
|
|
17
|
-
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
17
|
+
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-b54a31e7.js';
|
|
18
18
|
import './ui-d73f756a.js';
|
|
19
|
-
export { s as VegaTranslationResourceEN } from './internal-translation-controller-
|
|
19
|
+
export { s as VegaTranslationResourceEN } from './internal-translation-controller-b33430c6.js';
|
|
20
20
|
export { s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
21
|
-
export {
|
|
22
|
-
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock,
|
|
23
|
-
export { G as GridColumns, a as GridRows } from './responsive-format-facade-
|
|
21
|
+
export { e as ActionHandleStrategy, f as AppendChildrenAction, ad as CodeLanguage, m as CustomAttributeAnnotation, ae as CustomClassAnnotation, u as CustomStyleAnnotation, I as InsertChildrenAfterAction, h as InsertChildrenBeforeAction, M as ModifyContentAction, j as ModifyContentActionType, d as RTEAnnotationStyle, a as RTEBlock, p as RTEDecoratorNode, o as RTEFilterStylesStrategy, Q as RTEListBlock, r as RTEListItemBlock, g as RTENode, b as RTETextBlock, R as RTETextNode, l as RemoveChildrenAction, af as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-e6443949.js';
|
|
22
|
+
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-43cdacff.js';
|
|
23
|
+
export { G as GridColumns, a as GridRows } from './responsive-format-facade-dec87e46.js';
|
|
24
24
|
export { C as CheckBoxRequiredRule } from './check-box-required-rule-cb0aa339.js';
|
|
25
|
-
export { D as DateRequiredRule } from './date-required-rule-
|
|
25
|
+
export { D as DateRequiredRule } from './date-required-rule-b5b67498.js';
|
|
26
26
|
export { I as InputPhoneNumberRequiredRule } from './input-phone-number-required-rule-be6a5572.js';
|
|
27
27
|
export { I as InputRangeRequiredRule } from './input-range-required-rule-3ad74776.js';
|
|
28
28
|
export { R as RequiredFieldRule } from './required-field-rule-897fe8d1.js';
|
|
29
|
-
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
30
|
-
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-
|
|
29
|
+
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-a697e5bd.js';
|
|
30
|
+
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-73753a54.js';
|
|
31
31
|
export { T as ToggleSwitchRequiredRule } from './toggle-switch-required-rule-b3cf4302.js';
|
|
32
32
|
export { F as FileUploaderRequiredRule } from './file-uploader-required-rule-96952e1a.js';
|
|
33
|
-
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-
|
|
34
|
-
export { V as VegaRTEImageExtension } from './image-extension-
|
|
35
|
-
export { R as RTERange } from './range-
|
|
36
|
-
import './state-border-formatter-
|
|
33
|
+
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-230bae8d.js';
|
|
34
|
+
export { V as VegaRTEImageExtension } from './image-extension-9b8abd0d.js';
|
|
35
|
+
export { R as RTERange } from './range-efad2578.js';
|
|
36
|
+
import './state-border-formatter-1e900a2f.js';
|
|
37
37
|
import './misc-9fdbcfbb.js';
|
|
38
38
|
import './create-public-api-runtime-metrics-slimmer-48f85199.js';
|
|
39
39
|
import './dynamic-slimmer-90b8af32.js';
|
|
@@ -41,7 +41,7 @@ import './internal-vega-z-index-manager-7d2b54c3.js';
|
|
|
41
41
|
import './number-4398f2e1.js';
|
|
42
42
|
import './page-resize-observer-slimmer-e24d36c5.js';
|
|
43
43
|
import './try-get-document-bef0f526.js';
|
|
44
|
-
import './internal-calendar-period-factory-
|
|
44
|
+
import './internal-calendar-period-factory-d58f35c6.js';
|
|
45
45
|
import './internal-icon-manager-e7c57096.js';
|
|
46
46
|
import './dom-node-subject-observer-factory-ddff8662.js';
|
|
47
47
|
import './change-manager-6a7eb88c.js';
|
|
@@ -49,10 +49,10 @@ import './observer-3959f9dd.js';
|
|
|
49
49
|
import './vega-event-id-f55f6977.js';
|
|
50
50
|
import './vega-internal-event-id-86fce049.js';
|
|
51
51
|
import './remote-invocation-registry-d69245c2.js';
|
|
52
|
-
import './dark-mode-style-controller-
|
|
52
|
+
import './dark-mode-style-controller-352f15ff.js';
|
|
53
53
|
import './static-subject-title-1c86e974.js';
|
|
54
54
|
import './tinycolor-polyfill-7be0eb93.js';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-35451d12.js';
|
|
56
56
|
import './pixel-f32c07ce.js';
|
|
57
57
|
import './object-0c277f57.js';
|
|
58
58
|
import './timer-9321173b.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-6fc96870.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Factory class for creating CalendarPeriod instances and converting them to VegaCalendarPeriodType.
|
|
@@ -192,6 +192,7 @@ const staticTranslations = {
|
|
|
192
192
|
'pm': 'pm',
|
|
193
193
|
'{0} Selected': '{0} Selected',
|
|
194
194
|
'date picker': 'Date Picker',
|
|
195
|
+
'notification': 'notification',
|
|
195
196
|
'Selected result': 'Selected result',
|
|
196
197
|
'Close event preview detail': 'Close event preview detail',
|
|
197
198
|
'Edit event': 'Edit event',
|
|
@@ -224,6 +225,7 @@ const staticTranslations = {
|
|
|
224
225
|
'Next': 'Next',
|
|
225
226
|
'Copy': 'Copy',
|
|
226
227
|
'Cut': 'Cut',
|
|
228
|
+
'Use Word': 'Use Word',
|
|
227
229
|
};
|
|
228
230
|
|
|
229
231
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as isParent, e as getDeepActiveElementInShadow } from './ui-d73f756a.js';
|
|
2
|
-
import { i as isNonNullable } from './type-guard-
|
|
2
|
+
import { i as isNonNullable } from './type-guard-6fc96870.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-1f7c8bfb.js → keyboard-manager-slimmer-0517fc70.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-b4a0d97d.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 {
|
|
3
|
-
import { i as isNonNullable } from './type-guard-
|
|
1
|
+
import { s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry, ac as ActionHandlerInterceptorRegistry, v as RTEFilterStylesStrategyRegistry, n as RTEDTOClassManager } from './code-block-e6443949.js';
|
|
2
|
+
import { c as RTEDTOActionStrategyManager, d as ElementToDTOClassStrategyManager, h as htmlElementToAnnotationGenerator } from './content-state-43cdacff.js';
|
|
3
|
+
import { i as isNonNullable } from './type-guard-6fc96870.js';
|
|
4
4
|
import './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -134,7 +134,7 @@ class RTEExtensionContextManager {
|
|
|
134
134
|
return el ? this.extensionContextMap.get(el) : null;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const
|
|
137
|
+
const extensionContextManager = new RTEExtensionContextManager();
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* Base renderer class for the rich text editor.
|
|
@@ -201,7 +201,7 @@ class VegaRTEExtensionRenderer extends VegaRTEBaseRenderer {
|
|
|
201
201
|
* @returns {Nullable<RTEExtensionContext>} - The extension context associated with the host.
|
|
202
202
|
*/
|
|
203
203
|
getExtensionContext(el) {
|
|
204
|
-
return
|
|
204
|
+
return extensionContextManager.getExtensionContext(el);
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
207
|
* Auto render the block children if the block element is not exist
|
|
@@ -411,7 +411,7 @@ class VegaRTEExtension {
|
|
|
411
411
|
*/
|
|
412
412
|
initialExtensionAfterLoad(context) {
|
|
413
413
|
this.extensionContext = context;
|
|
414
|
-
|
|
414
|
+
extensionContextManager.updateExtensionContext(context);
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* Callback method invoked when the extension is destroyed.
|
|
@@ -537,6 +537,25 @@ class VegaRTEExtension {
|
|
|
537
537
|
registerAnnotationHandler(handler) {
|
|
538
538
|
htmlElementToAnnotationGenerator.registerHandler(handler);
|
|
539
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* Register an extension-defined block-boundary predicate for the current editor instance.
|
|
542
|
+
*
|
|
543
|
+
* @param {BlockBoundaryPredicate} predicate - Predicate to register.
|
|
544
|
+
* @returns {Nullable<() => void>} Unregister callback when context is available.
|
|
545
|
+
*/
|
|
546
|
+
registerBlockBoundaryPredicate(predicate) {
|
|
547
|
+
var _a, _b, _c;
|
|
548
|
+
return (_c = (_b = (_a = this.extensionContext) === null || _a === void 0 ? void 0 : _a.blockBoundaryRegistry) === null || _b === void 0 ? void 0 : _b.register(predicate)) !== null && _c !== void 0 ? _c : null;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Get the registered dto by dom element.
|
|
552
|
+
*
|
|
553
|
+
* @param {HTMLElement} el - The DOM element to get the registered DTO for.
|
|
554
|
+
* @returns {Nullable<RTENode | RTEBlock>} - The registered DTO associated with the DOM element.
|
|
555
|
+
*/
|
|
556
|
+
getDTOEntityByDom(el) {
|
|
557
|
+
return stateEntityRenderingRegistry.getEntityByDOM(el);
|
|
558
|
+
}
|
|
540
559
|
}
|
|
541
560
|
|
|
542
561
|
/**
|
|
@@ -573,4 +592,4 @@ class VegaRTELinkExtension extends VegaRTEExtension {
|
|
|
573
592
|
*/
|
|
574
593
|
VegaRTELinkExtension.configStore = VegaRTELinkExtension.createStateStore();
|
|
575
594
|
|
|
576
|
-
export {
|
|
595
|
+
export { RTEDTORendererManager$1 as R, VegaRTELinkExtension as V, VegaRTEExtensionRenderer as a, VegaRTEExtension as b, VegaRTEBaseRenderer as c, extensionContextManager as e };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as promiseResolve, b as bootstrapLazy } from './index-090d31ca.js';
|
|
2
|
-
import { g as globalScripts } from './app-globals-
|
|
2
|
+
import { g as globalScripts } from './app-globals-c59364c2.js';
|
|
3
3
|
import './feature-flag-controller-3fd04ea9.js';
|
|
4
4
|
import './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import './index-9c9865c0.js';
|
|
6
|
-
import './token-extension-
|
|
6
|
+
import './token-extension-74a0eeb1.js';
|
|
7
7
|
import './misc-9fdbcfbb.js';
|
|
8
8
|
import './ui-d73f756a.js';
|
|
9
9
|
import './create-public-api-runtime-metrics-slimmer-48f85199.js';
|
|
@@ -17,34 +17,34 @@ import './breakpoints-d9faf11c.js';
|
|
|
17
17
|
import './try-get-document-bef0f526.js';
|
|
18
18
|
import './internal-vega-event-manager-2ecc9186.js';
|
|
19
19
|
import './vega-event-id-f55f6977.js';
|
|
20
|
-
import './internal-translation-controller-
|
|
20
|
+
import './internal-translation-controller-b33430c6.js';
|
|
21
21
|
import './change-manager-6a7eb88c.js';
|
|
22
22
|
import './static-subject-title-1c86e974.js';
|
|
23
|
-
import './internal-calendar-period-factory-
|
|
24
|
-
import './type-guard-
|
|
23
|
+
import './internal-calendar-period-factory-d58f35c6.js';
|
|
24
|
+
import './type-guard-6fc96870.js';
|
|
25
25
|
import './typography-19c3b9be.js';
|
|
26
|
-
import './
|
|
27
|
-
import './code-block-9c513169.js';
|
|
26
|
+
import './code-block-e6443949.js';
|
|
28
27
|
import './dom-node-subject-observer-factory-ddff8662.js';
|
|
29
28
|
import './observer-3959f9dd.js';
|
|
30
29
|
import './vega-internal-event-id-86fce049.js';
|
|
31
30
|
import './string-a953eafc.js';
|
|
32
|
-
import './dark-mode-style-controller-
|
|
31
|
+
import './dark-mode-style-controller-352f15ff.js';
|
|
33
32
|
import './tinycolor-polyfill-7be0eb93.js';
|
|
34
33
|
import './vega-nonce-manager-497e5eb5.js';
|
|
35
|
-
import './index-
|
|
34
|
+
import './index-35451d12.js';
|
|
36
35
|
import './object-0c277f57.js';
|
|
37
|
-
import './content-state-
|
|
36
|
+
import './content-state-43cdacff.js';
|
|
37
|
+
import './link-extension-230bae8d.js';
|
|
38
38
|
import './internal-icon-manager-e7c57096.js';
|
|
39
39
|
import './icon-manager-4ef3f6dd.js';
|
|
40
|
-
import './split-cell-operation-
|
|
40
|
+
import './split-cell-operation-89b91a38.js';
|
|
41
41
|
import './remote-invocation-registry-d69245c2.js';
|
|
42
42
|
import './pixel-f32c07ce.js';
|
|
43
43
|
import './timer-9321173b.js';
|
|
44
|
-
import './image-extension-
|
|
44
|
+
import './image-extension-9b8abd0d.js';
|
|
45
45
|
import './copy-54e45e2d.js';
|
|
46
46
|
import './vega-dialog-controller-726b74f9.js';
|
|
47
|
-
import './valid-credit-card-number-rule-
|
|
47
|
+
import './valid-credit-card-number-rule-b54a31e7.js';
|
|
48
48
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
49
49
|
import './vega-env-manager-8f8dc473.js';
|
|
50
50
|
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export { C as CheckBoxRequiredRule } from './check-box-required-rule-cb0aa339.js';
|
|
2
|
-
export { D as DateRequiredRule } from './date-required-rule-
|
|
2
|
+
export { D as DateRequiredRule } from './date-required-rule-b5b67498.js';
|
|
3
3
|
export { I as InputPhoneNumberRequiredRule } from './input-phone-number-required-rule-be6a5572.js';
|
|
4
4
|
export { I as InputRangeRequiredRule } from './input-range-required-rule-3ad74776.js';
|
|
5
5
|
export { R as RequiredFieldRule } from './required-field-rule-897fe8d1.js';
|
|
6
|
-
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
7
|
-
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-
|
|
6
|
+
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-a697e5bd.js';
|
|
7
|
+
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-73753a54.js';
|
|
8
8
|
export { T as ToggleSwitchRequiredRule } from './toggle-switch-required-rule-b3cf4302.js';
|
|
9
9
|
export { F as FileUploaderRequiredRule } from './file-uploader-required-rule-96952e1a.js';
|
|
10
10
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
11
|
-
import './type-guard-
|
|
11
|
+
import './type-guard-6fc96870.js';
|
|
12
12
|
import './breakpoints-d9faf11c.js';
|
|
13
13
|
import './ui-93922c59.js';
|
|
14
14
|
import './typography-19c3b9be.js';
|
|
15
|
-
import './internal-translation-controller-
|
|
15
|
+
import './internal-translation-controller-b33430c6.js';
|
|
16
16
|
import './global-slimmer-registry-17c4efd4.js';
|
|
17
17
|
import './change-manager-6a7eb88c.js';
|
|
18
18
|
import './static-subject-title-1c86e974.js';
|
|
19
19
|
import './feature-flag-controller-3fd04ea9.js';
|
|
20
20
|
import './index-9c9865c0.js';
|
|
21
|
-
import './content-state-
|
|
22
|
-
import './code-block-
|
|
21
|
+
import './content-state-43cdacff.js';
|
|
22
|
+
import './code-block-e6443949.js';
|
|
23
23
|
import './dom-node-subject-observer-factory-ddff8662.js';
|
|
24
24
|
import './observer-3959f9dd.js';
|
|
25
25
|
import './ui-d73f756a.js';
|
|
26
26
|
import './vega-internal-event-id-86fce049.js';
|
|
27
27
|
import './string-a953eafc.js';
|
|
28
28
|
import './misc-9fdbcfbb.js';
|
|
29
|
-
import './dark-mode-style-controller-
|
|
29
|
+
import './dark-mode-style-controller-352f15ff.js';
|
|
30
30
|
import './tinycolor-polyfill-7be0eb93.js';
|
|
31
31
|
import './vega-nonce-manager-497e5eb5.js';
|
|
32
32
|
import './try-get-document-bef0f526.js';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-35451d12.js';
|
|
34
34
|
import './object-0c277f57.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as RTENode, p as RTEDecoratorNode, s as stateEntityRenderingRegistry } from './code-block-e6443949.js';
|
|
2
2
|
import { i as isHTMLElement } from './ui-d73f756a.js';
|
|
3
3
|
|
|
4
4
|
/** Manages selection range for a rich text editor, providing methods to set, sync, and create native ranges based on RTENodes and Nodes. */
|
package/dist/esm/{responsive-format-facade-f19b601c.js → responsive-format-facade-dec87e46.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as isResponsiveType, x as isBreakpointsForPrefixType, n as isSpacingTokenType, y as isDirectionalSpacingType, l as Spacing, z as isMarginValueType, E as isDirectionalMarginType, G as isGridColumnsType, H as isGridRowsType, I as isGridJustifyItemsType, J as isTranslocationType, K as isFlexDirectionType, L as isFlexAlignItemType, N as isFlexJustifyContentType, O as isFlexWrapType, P as isBoxDisplayType, o as isBorderRadiusTokenType, Q as isDirectionalBorderRadiusType, B as BorderRadius, R as isTextAlignType } from './type-guard-
|
|
1
|
+
import { w as isResponsiveType, x as isBreakpointsForPrefixType, n as isSpacingTokenType, y as isDirectionalSpacingType, l as Spacing, z as isMarginValueType, E as isDirectionalMarginType, G as isGridColumnsType, H as isGridRowsType, I as isGridJustifyItemsType, J as isTranslocationType, K as isFlexDirectionType, L as isFlexAlignItemType, N as isFlexJustifyContentType, O as isFlexWrapType, P as isBoxDisplayType, o as isBorderRadiusTokenType, Q as isDirectionalBorderRadiusType, B as BorderRadius, R as isTextAlignType } from './type-guard-6fc96870.js';
|
|
2
2
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
3
3
|
import { G as GridJustifyItems, F as FlexDirections, a as FlexAlignItem, b as FlexJustifyContent, c as FlexWrap, d as BoxDisplay, T as TextAlign } from './ui-93922c59.js';
|
|
4
4
|
import { g as getCurrentBreakpoint, c as createCompleteResponsiveMap } from './breakpoints-332702ed.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as BlockAnnotation, a as RTEBlock, M as ModifyContentAction, C as CommonAnnotationTypeEnum,
|
|
1
|
+
import { B as BlockAnnotation, a as RTEBlock, M as ModifyContentAction, C as CommonAnnotationTypeEnum, m as CustomAttributeAnnotation, g as RTENode, e as ActionHandleStrategy } from './code-block-e6443949.js';
|
|
2
2
|
import { c as cleanObject } from './object-0c277f57.js';
|
|
3
|
-
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-
|
|
3
|
+
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-352f15ff.js';
|
|
4
4
|
import './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { I as InjectVegaTelemetrySlimmer, c as createPublicAPIRuntimeMetricsSlimmer } from './create-public-api-runtime-metrics-slimmer-48f85199.js';
|
|
6
6
|
import { r as rgbToHex } from './ui-d73f756a.js';
|
|
7
|
-
import { i as isNonNullable } from './type-guard-
|
|
7
|
+
import { i as isNonNullable } from './type-guard-6fc96870.js';
|
|
8
8
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
9
|
-
import { U as UpdateCursorPositionAction, V as VegaRTEContent } from './content-state-
|
|
9
|
+
import { U as UpdateCursorPositionAction, V as VegaRTEContent } from './content-state-43cdacff.js';
|
|
10
10
|
|
|
11
11
|
const ThemeManagerRuntimeMetricsPayloadDefinition = [
|
|
12
12
|
{
|
|
@@ -535,6 +535,16 @@ class RTETableBlock extends RTEBlock {
|
|
|
535
535
|
getLastNode() {
|
|
536
536
|
return this.children[this.children.length - 1].getLastNode();
|
|
537
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* The table is an atomic caret boundary: resolving a caret on its boundary must keep
|
|
540
|
+
* it anchored to the table block (so paragraph-insertion before/after works) rather
|
|
541
|
+
* than descending into a cell.
|
|
542
|
+
*
|
|
543
|
+
* @inheritDoc
|
|
544
|
+
*/
|
|
545
|
+
allowsCaretDescend() {
|
|
546
|
+
return false;
|
|
547
|
+
}
|
|
538
548
|
/**
|
|
539
549
|
* Get the first node of the table block.
|
|
540
550
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Y as StateVariantFormatter, p as isBorderColorTokenType, e as BorderColors, h as BorderColorMap, t as isShadowsTokenType, j as Shadows, k as ShadowMap, Z as isBorderTokenType, _ as Borders, $ as BorderMap } from './type-guard-
|
|
1
|
+
import { Y as StateVariantFormatter, p as isBorderColorTokenType, e as BorderColors, h as BorderColorMap, t as isShadowsTokenType, j as Shadows, k as ShadowMap, Z as isBorderTokenType, _ as Borders, $ as BorderMap } from './type-guard-6fc96870.js';
|
|
2
2
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { i as isNonNullable } from './type-guard-
|
|
2
|
+
import { i as isNonNullable } from './type-guard-6fc96870.js';
|
|
3
3
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
4
4
|
import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
|
|
5
5
|
import { s as VegaInternalPasteEvent, t as VegaInternalComponentDidRender } from './vega-internal-event-id-86fce049.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StringFormatStrategy } from './string-format-strategy.abstract-
|
|
2
|
-
import { i as isNonNullable } from './type-guard-
|
|
1
|
+
import { S as StringFormatStrategy } from './string-format-strategy.abstract-d0ce3f65.js';
|
|
2
|
+
import { i as isNonNullable } from './type-guard-6fc96870.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A class for formatting string with the given mask format
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isNonNullable } from './type-guard-
|
|
2
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
1
|
+
import { i as isNonNullable } from './type-guard-6fc96870.js';
|
|
2
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-dec87e46.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Fomatter flex styles.
|