@globalpayments/vega 2.93.0 → 2.94.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-f7ad9275.js → app-globals-d05c3410.js} +11 -10
- package/dist/cjs/{code-block-2f3d0f38.js → code-block-493c7ce7.js} +77 -21
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-31d2c7aa.js → component-value-history-controller-slimmer.abstract-ab21fcbf.js} +3 -3
- package/dist/cjs/{content-state-13daf87a.js → content-state-fc34a814.js} +2 -2
- package/dist/cjs/{date-required-rule-e65ddd7d.js → date-required-rule-4ab06a82.js} +1 -1
- package/dist/cjs/{design-token-47393cbb.js → design-token-d3d12fa0.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-29c4ac60.js → element-appender-slimmer-1d6323c2.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-3bfcf88c.js → form-field-controller-slimmer-d638ba12.js} +1 -1
- package/dist/cjs/{image-annotation-action-c2b163bb.js → image-annotation-action-7c4cd316.js} +3 -3
- package/dist/cjs/{image-extension-4e99b620.js → image-extension-30a7c10f.js} +18 -1
- package/dist/cjs/index.cjs.js +19 -17
- package/dist/cjs/{inject-keyboard-manager-4b2ebbe4.js → inject-keyboard-manager-5a105612.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-7a0ecdb1.js → internal-calendar-period-factory-b76006f7.js} +1 -1
- package/dist/cjs/{internal-translation-controller-31f2b057.js → internal-translation-controller-eb02c3b1.js} +2 -0
- package/dist/cjs/{keyboard-manager-c78b46bd.js → keyboard-manager-ca76d4dc.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-d350c931.js → keyboard-manager-slimmer-a1223714.js} +1 -1
- package/dist/cjs/{link-extension-455c02b3.js → link-extension-92a63cb7.js} +3 -3
- package/dist/cjs/loader.cjs.js +12 -13
- package/dist/cjs/{month-view-generator-006562dc.js → month-view-generator-876c50d4.js} +1 -1
- package/dist/cjs/{public-rules-c59eba88.js → public-rules-9e1ea1d9.js} +7 -7
- package/dist/cjs/{range-bf80fa40.js → range-30219330.js} +1 -1
- package/dist/cjs/{responsive-format-facade-1af54330.js → responsive-format-facade-25e9f30d.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-1085c71a.js → rich-text-editor-required-rule-23bf7485.js} +1 -1
- package/dist/cjs/{split-cell-operation-2fa5c9e4.js → split-cell-operation-43752212.js} +3 -3
- package/dist/cjs/{state-border-formatter-501f6645.js → state-border-formatter-f1ce0f3b.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-a02bf002.js → string-format-strategy.abstract-b22f7754.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-9cca6151.js → string-input-formatter-slimmer-d2c248f7.js} +1 -1
- package/dist/cjs/{string-mask-strategy-4c174ebf.js → string-mask-strategy-fc01a500.js} +2 -2
- package/dist/cjs/{style-formatter-2c749500.js → style-formatter-73205450.js} +2 -2
- package/dist/cjs/{time-required-rule-04994a5e.js → time-required-rule-12d2f394.js} +1 -1
- package/dist/cjs/{token-extension-d217914d.js → token-extension-ea891d54.js} +307 -17
- package/dist/cjs/{translation-slimmer-7fb6e94c.js → translation-slimmer-9099f56c.js} +1 -1
- package/dist/cjs/{type-guard-1c3770d4.js → type-guard-f354af8b.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-f719a8c6.js → valid-credit-card-number-rule-8d370163.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 +8 -5
- 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 +3 -3
- 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 +5 -5
- 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 +6 -6
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +313 -108
- 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-content.cjs.entry.js +6 -6
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +55 -28
- 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 +12 -12
- 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-table_11.cjs.entry.js +69 -9
- 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 -13
- package/dist/collection/components/vega-button/vega-button.css +4 -0
- package/dist/collection/components/vega-button/vega-button.js +4 -1
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +4 -6
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +23 -68
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-manager.js +74 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +16 -2
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +2 -2
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +7 -2
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/custom-style-annotation.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/code-block/code-node-filter-styles-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-highlight-manager.js +21 -7
- package/dist/collection/components/vega-rich-text-editor/extensions/find-replace/slimmer/renderers/find-replace-toolbar-button-renderer.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/fullscreen/assets/fullscreen-enter.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/fullscreen/assets/fullscreen-exit.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/fullscreen/controller/fullscreen-controller.js +156 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/fullscreen/fullscreen-extension.js +31 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/fullscreen/fullscreen-toolbar-button-renderer.js +73 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/paste/paste-chooser-ui.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-toolbar-popover-renderer.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-basic-form-field-renderer.abstract.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/column-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/merge-cells-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/row-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/helpers/utils.js +71 -15
- package/dist/collection/components/vega-rich-text-editor/public-api.js +2 -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/renderers/tools/bullets-numbers/bullets-numbers-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +19 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +1 -1
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +3 -1
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +89 -7
- package/dist/collection/global/scripts/before-vega-load.js +2 -0
- package/dist/collection/helpers/backdrop/index.js +1 -0
- package/dist/collection/helpers/backdrop/shared-backdrop-manager.js +163 -0
- package/dist/collection/helpers/translation/locales/en.js +2 -0
- package/dist/esm/{app-globals-9950d055.js → app-globals-f2336686.js} +11 -10
- package/dist/esm/{code-block-ae2337c2.js → code-block-e12588fe.js} +77 -21
- package/dist/esm/{component-value-history-controller-slimmer.abstract-b1ee1b8e.js → component-value-history-controller-slimmer.abstract-4e8eb313.js} +3 -3
- package/dist/esm/{content-state-c3b85ae6.js → content-state-8032467a.js} +2 -2
- package/dist/esm/{date-required-rule-e06115f8.js → date-required-rule-b88e1650.js} +1 -1
- package/dist/esm/{design-token-4e682056.js → design-token-76bd217c.js} +3 -3
- package/dist/esm/{element-appender-slimmer-a4485ef6.js → element-appender-slimmer-7fcb944b.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-a1c7b28c.js → form-field-controller-slimmer-395c23e3.js} +1 -1
- package/dist/esm/{image-annotation-action-4c77d314.js → image-annotation-action-b3b6c308.js} +3 -3
- package/dist/esm/{image-extension-7108c27d.js → image-extension-b6c7e4a7.js} +18 -2
- package/dist/esm/index.js +17 -17
- package/dist/esm/{inject-keyboard-manager-e8ddb78d.js → inject-keyboard-manager-86126b5b.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-6f19d767.js → internal-calendar-period-factory-3a07dba0.js} +1 -1
- package/dist/esm/{internal-translation-controller-09b8bd13.js → internal-translation-controller-16709132.js} +2 -0
- package/dist/esm/{keyboard-manager-ec18721b.js → keyboard-manager-a0c3e1cf.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-531ddb0e.js → keyboard-manager-slimmer-f3f66c15.js} +1 -1
- package/dist/esm/{link-extension-74eaa826.js → link-extension-97fcb8fb.js} +3 -3
- package/dist/esm/loader.js +12 -13
- package/dist/esm/{month-view-generator-afd78ff8.js → month-view-generator-fd0e1856.js} +1 -1
- package/dist/esm/{public-rules-5fce32a5.js → public-rules-c06f0d2a.js} +7 -7
- package/dist/esm/{range-8f877dbf.js → range-e999837f.js} +1 -1
- package/dist/esm/{responsive-format-facade-299e6304.js → responsive-format-facade-ced96b0b.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-3047bab0.js → rich-text-editor-required-rule-71f8ee98.js} +1 -1
- package/dist/esm/{split-cell-operation-98d58410.js → split-cell-operation-359f8082.js} +3 -3
- package/dist/esm/{state-border-formatter-da52b626.js → state-border-formatter-b680e922.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-a45b5ff7.js → string-format-strategy.abstract-23faab71.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-4a032fed.js → string-input-formatter-slimmer-4b4866a6.js} +1 -1
- package/dist/esm/{string-mask-strategy-37e53e48.js → string-mask-strategy-66586cd8.js} +2 -2
- package/dist/esm/{style-formatter-3d5ddfb1.js → style-formatter-f4e16af5.js} +2 -2
- package/dist/esm/{time-required-rule-355b73d2.js → time-required-rule-6e80a9ab.js} +1 -1
- package/dist/esm/{token-extension-ecfafe94.js → token-extension-9896879b.js} +306 -17
- package/dist/esm/{translation-slimmer-3ea56354.js → translation-slimmer-21748a0e.js} +1 -1
- package/dist/esm/{type-guard-2bfb2c7b.js → type-guard-ec5e8628.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-52c6b029.js → valid-credit-card-number-rule-ca5a47d6.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 +8 -5
- 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 +3 -3
- 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 +5 -5
- 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 +6 -6
- package/dist/esm/vega-left-nav_5.entry.js +313 -108
- 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-content.entry.js +6 -6
- package/dist/esm/vega-rich-text-editor_4.entry.js +51 -24
- 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 +12 -12
- 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-table_11.entry.js +69 -9
- 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 -13
- package/dist/sri/vega-sri-manifest.json +318 -322
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +0 -1
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +12 -19
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-manager.d.ts +41 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +4 -1
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +1 -1
- package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/extensions/find-replace/slimmer/controllers/helper/find-replace-highlight-manager.d.ts +15 -4
- package/dist/types/components/vega-rich-text-editor/extensions/fullscreen/assets/fullscreen-enter.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/fullscreen/assets/fullscreen-exit.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/fullscreen/controller/fullscreen-controller.d.ts +63 -0
- package/dist/types/components/vega-rich-text-editor/extensions/fullscreen/fullscreen-extension.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/fullscreen/fullscreen-toolbar-button-renderer.d.ts +40 -0
- package/dist/types/components/vega-rich-text-editor/helpers/utils.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/public-api.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +5 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +8 -0
- package/dist/types/components/vega-table/interface.d.ts +13 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +14 -0
- package/dist/types/components.d.ts +10 -0
- package/dist/types/helpers/backdrop/index.d.ts +1 -0
- package/dist/types/helpers/backdrop/shared-backdrop-manager.d.ts +67 -0
- package/dist/types/helpers/translation/interface.d.ts +3 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-21e21f51.js → p-02355de8.js} +1 -1
- package/dist/vega/{p-05f937c5.entry.js → p-0af32f31.entry.js} +1 -1
- package/dist/vega/{p-2fcc604c.entry.js → p-0b311599.entry.js} +1 -1
- package/dist/vega/{p-ad35dea4.entry.js → p-0b9c7c79.entry.js} +1 -1
- package/dist/vega/p-0be4df0a.js +1 -0
- package/dist/vega/{p-0e607b44.js → p-0d18368b.js} +1 -1
- package/dist/vega/{p-6b1893f6.entry.js → p-1232b553.entry.js} +1 -1
- package/dist/vega/{p-944b43ce.entry.js → p-14559974.entry.js} +1 -1
- package/dist/vega/{p-32a67ba1.js → p-14baa886.js} +1 -1
- package/dist/vega/{p-846b1ab9.entry.js → p-2364be92.entry.js} +1 -1
- package/dist/vega/p-270697c0.entry.js +1 -0
- package/dist/vega/{p-af98539f.entry.js → p-288d65ad.entry.js} +1 -1
- package/dist/vega/p-2bf17505.entry.js +1 -0
- package/dist/vega/{p-afb96938.js → p-320091b7.js} +1 -1
- package/dist/vega/{p-73fd18d9.entry.js → p-341a6b32.entry.js} +1 -1
- package/dist/vega/p-36949349.js +1 -0
- package/dist/vega/p-38c9d782.js +1 -0
- package/dist/vega/{p-e4309574.js → p-3c309a38.js} +1 -1
- package/dist/vega/{p-4d9562bc.js → p-3dee1e55.js} +1 -1
- package/dist/vega/p-3e8baeac.entry.js +1 -0
- package/dist/vega/{p-d7f32ccf.entry.js → p-46fe3154.entry.js} +1 -1
- package/dist/vega/{p-8c1a5fa4.entry.js → p-48ee3e24.entry.js} +1 -1
- package/dist/vega/{p-ccf7518b.js → p-4fe40b76.js} +1 -1
- package/dist/vega/{p-7d54e9c1.js → p-4ff48b84.js} +1 -1
- package/dist/vega/{p-56c4e349.entry.js → p-5107277d.entry.js} +1 -1
- package/dist/vega/{p-5139e516.js → p-51b68d25.js} +1 -1
- package/dist/vega/{p-751a5cd6.entry.js → p-52c6a399.entry.js} +1 -1
- package/dist/vega/{p-a359e53c.js → p-579cdeae.js} +1 -1
- package/dist/vega/{p-c2d28797.entry.js → p-595998d9.entry.js} +1 -1
- package/dist/vega/{p-653a6dd8.entry.js → p-5db61a12.entry.js} +1 -1
- package/dist/vega/{p-f2f22b5d.entry.js → p-5df2d6a1.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-1efab41b.js → p-61ce8029.js} +1 -1
- package/dist/vega/{p-ddf03de1.entry.js → p-62d6e063.entry.js} +1 -1
- package/dist/vega/{p-1818f399.entry.js → p-6c9c2f8c.entry.js} +1 -1
- package/dist/vega/{p-5dbfffcd.js → p-6cde45fc.js} +1 -1
- package/dist/vega/p-6dfe2407.js +1 -0
- package/dist/vega/{p-d4bb6f93.entry.js → p-6f01a71a.entry.js} +1 -1
- package/dist/vega/p-6f70a10f.entry.js +1 -0
- package/dist/vega/p-73f2c3c0.entry.js +1 -0
- package/dist/vega/p-75e33859.js +1 -0
- package/dist/vega/p-762ea523.entry.js +1 -0
- package/dist/vega/{p-c5ecbc53.entry.js → p-782eb312.entry.js} +1 -1
- package/dist/vega/p-7a88a3d3.entry.js +1 -0
- package/dist/vega/{p-e410c4ad.entry.js → p-7b57a845.entry.js} +1 -1
- package/dist/vega/p-83a16285.entry.js +1 -0
- package/dist/vega/p-8720816e.js +1 -0
- package/dist/vega/{p-6712a9c7.entry.js → p-892edf88.entry.js} +1 -1
- package/dist/vega/{p-63101cb4.entry.js → p-8c083255.entry.js} +1 -1
- package/dist/vega/{p-19c42e30.js → p-8db904dc.js} +1 -1
- package/dist/vega/{p-0cb78838.entry.js → p-91287214.entry.js} +1 -1
- package/dist/vega/{p-c553d37e.js → p-919cddc3.js} +1 -1
- package/dist/vega/{p-e86c6802.entry.js → p-95913e3c.entry.js} +1 -1
- package/dist/vega/p-97215133.js +1 -0
- package/dist/vega/{p-3f7b10b9.entry.js → p-9bdc6e11.entry.js} +1 -1
- package/dist/vega/{p-cf8d5b3f.entry.js → p-9d18ba7f.entry.js} +1 -1
- package/dist/vega/{p-7b93a756.entry.js → p-9dca874d.entry.js} +1 -1
- package/dist/vega/{p-ffdacaf9.entry.js → p-9f38448c.entry.js} +1 -1
- package/dist/vega/{p-ef605271.js → p-9f7154d2.js} +1 -1
- package/dist/vega/{p-7c8e579e.entry.js → p-a057285e.entry.js} +1 -1
- package/dist/vega/{p-3c9da3cd.entry.js → p-a0a58295.entry.js} +1 -1
- package/dist/vega/{p-4c49b2e3.js → p-a7209700.js} +1 -1
- package/dist/vega/{p-c3c0e415.entry.js → p-a890d60b.entry.js} +1 -1
- package/dist/vega/{p-fda6e2cc.entry.js → p-addbca58.entry.js} +1 -1
- package/dist/vega/{p-f0d4c78c.js → p-b1eb9ff0.js} +1 -1
- package/dist/vega/p-b4e7c967.js +1 -0
- package/dist/vega/{p-2de61f1b.js → p-b775e51f.js} +1 -1
- package/dist/vega/{p-bbabb1c8.entry.js → p-b8f8e480.entry.js} +1 -1
- package/dist/vega/{p-95d6c85f.js → p-ba662fe5.js} +1 -1
- package/dist/vega/p-c66d2a1e.js +1 -0
- package/dist/vega/{p-3932f964.entry.js → p-c67b9aba.entry.js} +1 -1
- package/dist/vega/{p-acbba6da.entry.js → p-c9daabe1.entry.js} +1 -1
- package/dist/vega/{p-ddd28a8e.entry.js → p-cad5222a.entry.js} +1 -1
- package/dist/vega/{p-b042e3b4.entry.js → p-cb90163a.entry.js} +1 -1
- package/dist/vega/{p-422d88ae.entry.js → p-d08ffdf1.entry.js} +1 -1
- package/dist/vega/{p-d44943e2.entry.js → p-e235020b.entry.js} +1 -1
- package/dist/vega/{p-4f327808.entry.js → p-e4266b45.entry.js} +1 -1
- package/dist/vega/{p-9cafbc26.entry.js → p-e48a870f.entry.js} +1 -1
- package/dist/vega/{p-832d1a72.entry.js → p-e8ee70c5.entry.js} +1 -1
- package/dist/vega/{p-d62b85ff.entry.js → p-ed103a1a.entry.js} +1 -1
- package/dist/vega/{p-e5187a86.entry.js → p-f05a193e.entry.js} +1 -1
- package/dist/vega/p-f1974321.js +1 -0
- package/dist/vega/{p-615a2b8c.entry.js → p-f246f125.entry.js} +1 -1
- package/dist/vega/{p-4256252c.js → p-f4da615a.js} +1 -1
- package/dist/vega/{p-09d50f59.entry.js → p-f5d7b89f.entry.js} +1 -1
- package/dist/vega/{p-0f1d6ceb.entry.js → p-f651df3b.entry.js} +1 -1
- package/dist/vega/{p-6d40635e.js → p-f7e459cd.js} +1 -1
- package/dist/vega/{p-cb81fc2a.entry.js → p-f906a7bc.entry.js} +1 -1
- package/dist/vega/{p-66b7d1c7.entry.js → p-f96d0503.entry.js} +1 -1
- package/dist/vega/{p-8d27b9cc.js → p-fe24b459.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/replace-selected-text-action-a80f5a6a.js +0 -20
- package/dist/esm/replace-selected-text-action-c9278a0f.js +0 -18
- package/dist/vega/p-07562b9c.js +0 -1
- package/dist/vega/p-18a5e8bc.js +0 -1
- package/dist/vega/p-2de88b4a.entry.js +0 -1
- package/dist/vega/p-392e049c.entry.js +0 -1
- package/dist/vega/p-4e1aa86f.js +0 -1
- package/dist/vega/p-4ef5c4a7.entry.js +0 -1
- package/dist/vega/p-88863658.js +0 -1
- package/dist/vega/p-99b699be.entry.js +0 -1
- package/dist/vega/p-9a01be93.js +0 -1
- package/dist/vega/p-9a472a04.entry.js +0 -1
- package/dist/vega/p-a9a87b9a.js +0 -1
- package/dist/vega/p-b5bee669.entry.js +0 -1
- package/dist/vega/p-b5f308ee.entry.js +0 -1
- package/dist/vega/p-bbf1f988.entry.js +0 -1
- package/dist/vega/p-ccb9bf86.js +0 -1
- package/dist/vega/p-dca3278f.js +0 -1
- package/dist/vega/p-e0ecafca.js +0 -1
- package/dist/vega/p-e33e1e90.js +0 -1
- package/dist/vega/p-ff8dd200.js +0 -1
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { MapToComponentMethod, VegaSlimmer } from 'vega-slimmer/core';
|
|
8
|
+
import { tryGetDocument } from '../../utils/try-get-document';
|
|
9
|
+
/**
|
|
10
|
+
* Abstract base slimmer with shared backdrop state.
|
|
11
|
+
*/
|
|
12
|
+
export class SharedBackdropManager extends VegaSlimmer {
|
|
13
|
+
/**
|
|
14
|
+
* Register this consumer and ensure a shared backdrop exists.
|
|
15
|
+
*/
|
|
16
|
+
connectedCallback() {
|
|
17
|
+
const managerClass = this.constructor;
|
|
18
|
+
this.resetStaleSharedState();
|
|
19
|
+
if (!managerClass.consumers.has(this)) {
|
|
20
|
+
managerClass.consumers.add(this);
|
|
21
|
+
managerClass.visibilityIntents.set(this, false);
|
|
22
|
+
managerClass.consumerCount++;
|
|
23
|
+
}
|
|
24
|
+
this.ensureBackdrop();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Unregister this consumer and remove shared backdrop when last consumer disconnects.
|
|
28
|
+
*/
|
|
29
|
+
disconnectedCallback() {
|
|
30
|
+
var _a;
|
|
31
|
+
const managerClass = this.constructor;
|
|
32
|
+
const hasConsumer = managerClass.consumers.has(this);
|
|
33
|
+
const hadVisibilityIntent = (_a = managerClass.visibilityIntents.get(this)) !== null && _a !== void 0 ? _a : false;
|
|
34
|
+
managerClass.consumers.delete(this);
|
|
35
|
+
managerClass.visibilityIntents.delete(this);
|
|
36
|
+
if (hasConsumer && managerClass.consumerCount > 0) {
|
|
37
|
+
managerClass.consumerCount--;
|
|
38
|
+
}
|
|
39
|
+
if (hadVisibilityIntent && managerClass.visibilityIntentCount > 0) {
|
|
40
|
+
managerClass.visibilityIntentCount--;
|
|
41
|
+
this.syncVisibility();
|
|
42
|
+
}
|
|
43
|
+
if (managerClass.consumerCount === 0) {
|
|
44
|
+
this.removeBackdrop();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get current backdrop element.
|
|
49
|
+
*
|
|
50
|
+
* @returns {Nullable<HTMLVegaBackdropElement>} Backdrop element or null.
|
|
51
|
+
*/
|
|
52
|
+
getBackdrop() {
|
|
53
|
+
const managerClass = this.constructor;
|
|
54
|
+
return managerClass.backdropRef;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get current connected consumer count.
|
|
58
|
+
*
|
|
59
|
+
* @returns {number} Consumer count.
|
|
60
|
+
*/
|
|
61
|
+
getConsumerCount() {
|
|
62
|
+
const managerClass = this.constructor;
|
|
63
|
+
return managerClass.consumerCount;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Clear all shared state and remove backdrop.
|
|
67
|
+
*/
|
|
68
|
+
clear() {
|
|
69
|
+
const managerClass = this.constructor;
|
|
70
|
+
this.removeBackdrop();
|
|
71
|
+
managerClass.consumerCount = 0;
|
|
72
|
+
managerClass.visibilityIntentCount = 0;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Set visibility intent for this slimmer consumer.
|
|
76
|
+
*
|
|
77
|
+
* @param {boolean} visible - Desired visibility.
|
|
78
|
+
*/
|
|
79
|
+
setVisibilityIntent(visible) {
|
|
80
|
+
var _a;
|
|
81
|
+
const managerClass = this.constructor;
|
|
82
|
+
const currentIntent = (_a = managerClass.visibilityIntents.get(this)) !== null && _a !== void 0 ? _a : false;
|
|
83
|
+
if (currentIntent !== visible) {
|
|
84
|
+
managerClass.visibilityIntents.set(this, visible);
|
|
85
|
+
if (visible) {
|
|
86
|
+
managerClass.visibilityIntentCount++;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
managerClass.visibilityIntentCount--;
|
|
90
|
+
}
|
|
91
|
+
this.syncVisibility();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Ensure a backdrop exists for this subclass and return it.
|
|
96
|
+
*
|
|
97
|
+
* @returns {HTMLVegaBackdropElement} Shared backdrop element.
|
|
98
|
+
*/
|
|
99
|
+
ensureBackdrop() {
|
|
100
|
+
const managerClass = this.constructor;
|
|
101
|
+
const doc = tryGetDocument();
|
|
102
|
+
if (!(doc === null || doc === void 0 ? void 0 : doc.body)) {
|
|
103
|
+
throw new Error('SharedBackdropManager requires a browser document.');
|
|
104
|
+
}
|
|
105
|
+
this.resetStaleSharedState();
|
|
106
|
+
if (managerClass.backdropRef && doc.body.contains(managerClass.backdropRef)) {
|
|
107
|
+
return managerClass.backdropRef;
|
|
108
|
+
}
|
|
109
|
+
const backdrop = this.createBackdrop(doc);
|
|
110
|
+
managerClass.backdropRef = backdrop;
|
|
111
|
+
return backdrop;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Remove the shared backdrop for this subclass from the DOM.
|
|
115
|
+
*/
|
|
116
|
+
removeBackdrop() {
|
|
117
|
+
var _a;
|
|
118
|
+
const managerClass = this.constructor;
|
|
119
|
+
if ((_a = managerClass.backdropRef) === null || _a === void 0 ? void 0 : _a.isConnected) {
|
|
120
|
+
managerClass.backdropRef.remove();
|
|
121
|
+
}
|
|
122
|
+
managerClass.backdropRef = null;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Sync shared backdrop `visible` based on current visibility intents.
|
|
126
|
+
*/
|
|
127
|
+
syncVisibility() {
|
|
128
|
+
const managerClass = this.constructor;
|
|
129
|
+
const shouldShow = managerClass.visibilityIntentCount > 0;
|
|
130
|
+
if (managerClass.backdropRef) {
|
|
131
|
+
managerClass.backdropRef.visible = shouldShow;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Reset stale static shared state when the tracked backdrop is no longer in the DOM.
|
|
136
|
+
*/
|
|
137
|
+
resetStaleSharedState() {
|
|
138
|
+
const managerClass = this.constructor;
|
|
139
|
+
const doc = tryGetDocument();
|
|
140
|
+
if (!(doc === null || doc === void 0 ? void 0 : doc.body)) {
|
|
141
|
+
managerClass.backdropRef = null;
|
|
142
|
+
managerClass.consumerCount = 0;
|
|
143
|
+
managerClass.visibilityIntentCount = 0;
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
if (managerClass.backdropRef && !doc.body.contains(managerClass.backdropRef)) {
|
|
147
|
+
managerClass.backdropRef = null;
|
|
148
|
+
managerClass.consumerCount = 0;
|
|
149
|
+
managerClass.visibilityIntentCount = 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
SharedBackdropManager.backdropRef = null;
|
|
154
|
+
SharedBackdropManager.consumers = new WeakSet();
|
|
155
|
+
SharedBackdropManager.visibilityIntents = new WeakMap();
|
|
156
|
+
SharedBackdropManager.consumerCount = 0;
|
|
157
|
+
SharedBackdropManager.visibilityIntentCount = 0;
|
|
158
|
+
__decorate([
|
|
159
|
+
MapToComponentMethod('connectedCallback')
|
|
160
|
+
], SharedBackdropManager.prototype, "connectedCallback", null);
|
|
161
|
+
__decorate([
|
|
162
|
+
MapToComponentMethod('disconnectedCallback')
|
|
163
|
+
], SharedBackdropManager.prototype, "disconnectedCallback", null);
|
|
@@ -195,6 +195,8 @@ export const staticTranslations = {
|
|
|
195
195
|
'Apply': 'Apply',
|
|
196
196
|
'Enter color': 'Enter color',
|
|
197
197
|
'Horizontal line': 'Horizontal line',
|
|
198
|
+
'Enter fullscreen mode': 'Enter fullscreen mode',
|
|
199
|
+
'Exit fullscreen mode': 'Exit fullscreen mode',
|
|
198
200
|
'Block quote': 'Block quote',
|
|
199
201
|
'Special Characters': 'Special Characters',
|
|
200
202
|
'All': 'All',
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
2
|
-
import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTEBlockquoteExtension, m as VegaRTESpecialCharactersExtension, n as VegaRTEFindReplaceExtension, o as VegaRTESpecialCharactersEssentials, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, t as VegaRTESpecialCharactersText, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, x as
|
|
3
|
-
import { V as VegaThemeManager } from './split-cell-operation-
|
|
2
|
+
import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTEBlockquoteExtension, m as VegaRTESpecialCharactersExtension, n as VegaRTEFindReplaceExtension, o as VegaRTESpecialCharactersEssentials, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, t as VegaRTESpecialCharactersText, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, x as VegaRTEFullscreenExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, A as VegaCalendarPeriodFactory } from './token-extension-9896879b.js';
|
|
3
|
+
import { V as VegaThemeManager } from './split-cell-operation-359f8082.js';
|
|
4
4
|
import { M as MapToComponentMethod, V as VegaSlimmer, s as setVegaLogLevel, G as GlobalSlimmersRegistry } from './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { V as VegaDialog } from './vega-dialog-controller-726b74f9.js';
|
|
6
6
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
7
7
|
import { V as VegaIconManager } from './icon-manager-4ef3f6dd.js';
|
|
8
|
-
import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-
|
|
9
|
-
import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
8
|
+
import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-16709132.js';
|
|
9
|
+
import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-ca5a47d6.js';
|
|
10
10
|
import { v as vegaEnvManager } from './vega-env-manager-8f8dc473.js';
|
|
11
11
|
import { U as UPDATE_TRANSLATION } from './static-subject-title-1c86e974.js';
|
|
12
12
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
13
13
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
14
14
|
import { f as forceUpdate } from './index-090d31ca.js';
|
|
15
|
-
import { V as VegaRTEContent } from './content-state-
|
|
15
|
+
import { V as VegaRTEContent } from './content-state-8032467a.js';
|
|
16
16
|
import { v as vegaNonceManager, s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
17
|
-
import { V as VegaRTEPresetToolbarItems } from './code-block-
|
|
18
|
-
import { V as VegaRTELinkExtension } from './link-extension-
|
|
19
|
-
import './type-guard-
|
|
20
|
-
import { V as VegaRTEImageExtension } from './image-extension-
|
|
17
|
+
import { V as VegaRTEPresetToolbarItems } from './code-block-e12588fe.js';
|
|
18
|
+
import { V as VegaRTELinkExtension } from './link-extension-97fcb8fb.js';
|
|
19
|
+
import './type-guard-ec5e8628.js';
|
|
20
|
+
import { V as VegaRTEImageExtension } from './image-extension-b6c7e4a7.js';
|
|
21
21
|
|
|
22
22
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23
23
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -409,6 +409,7 @@ function injectVegaRichTextEditorClassIntoGlobal() {
|
|
|
409
409
|
globalThis.VegaRTELineHeightExtension = VegaRTELineHeightExtension;
|
|
410
410
|
globalThis.VegaRTEPasteExtension = VegaRTEPasteExtension;
|
|
411
411
|
globalThis.VegaRTELinkExtension = VegaRTELinkExtension;
|
|
412
|
+
globalThis.VegaRTEFullscreenExtension = VegaRTEFullscreenExtension;
|
|
412
413
|
globalThis.VegaRTECopyExtension = VegaRTECopyExtension;
|
|
413
414
|
globalThis.VegaRTECutExtension = VegaRTECutExtension;
|
|
414
415
|
globalThis.VegaRTEImageExtension = VegaRTEImageExtension;
|
|
@@ -423,7 +424,7 @@ function injectVegaCalendarPeriodFactoryIntoGlobal() {
|
|
|
423
424
|
* Inject VegaPublicValidationRules to global as a public api
|
|
424
425
|
*/
|
|
425
426
|
function injectVegaPublicValidationRules() {
|
|
426
|
-
void import('./public-rules-
|
|
427
|
+
void import('./public-rules-c06f0d2a.js').then((module) => {
|
|
427
428
|
Object.entries(module).forEach(([name, value]) => {
|
|
428
429
|
globalThis[name] = value;
|
|
429
430
|
});
|
|
@@ -3,7 +3,7 @@ import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-
|
|
|
3
3
|
import { e as VegaInternalRichTextEditorFlushChanges, f as VegaInternalRichTextEditorSelectionRangeChange } from './vega-internal-event-id-827eb1ce.js';
|
|
4
4
|
import { d as dashCaseToCamel, c as camelToDashCase } from './string-a953eafc.js';
|
|
5
5
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
6
|
-
import { i as isNonNullable } from './type-guard-
|
|
6
|
+
import { i as isNonNullable } from './type-guard-ec5e8628.js';
|
|
7
7
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
8
8
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
9
9
|
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-ca5afd2d.js';
|
|
@@ -165,25 +165,67 @@ class ModifyContentAction {
|
|
|
165
165
|
/**
|
|
166
166
|
* Creates a style map from the inline styles of an HTML element. This function extracts the 'style' attribute from the given element.
|
|
167
167
|
*
|
|
168
|
+
* Manually parses the style string to handle complex CSS values that contain semicolons (e.g., data URLs),
|
|
169
|
+
* colons (e.g., https:// URLs), or commas (e.g., rgba, gradients). This approach avoids reliance on
|
|
170
|
+
* CSSStyleDeclaration's array-like behavior, which is inconsistent in Jest/JSDOM test environments.
|
|
171
|
+
*
|
|
168
172
|
* @param {HTMLElement} element The HTML element from which to extract inline styles.
|
|
169
173
|
* @returns {AnnotationStyle} An object representing the custom style annotations.
|
|
170
174
|
*/
|
|
171
175
|
function createStyleMapFromElement(element) {
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
176
|
+
const styleMap = {};
|
|
177
|
+
const styleAttr = element.getAttribute('style');
|
|
178
|
+
if (!styleAttr) {
|
|
179
|
+
return styleMap;
|
|
180
|
+
}
|
|
181
|
+
// Split by semicolons, but only those outside of parentheses (to handle data URLs with semicolons)
|
|
182
|
+
const properties = splitStyleProperties(styleAttr);
|
|
183
|
+
for (const property of properties) {
|
|
184
|
+
const trimmedProperty = property.trim();
|
|
185
|
+
const colonIndex = trimmedProperty.indexOf(':');
|
|
186
|
+
const propertyName = trimmedProperty.substring(0, colonIndex).trim();
|
|
187
|
+
const propertyValue = trimmedProperty.substring(colonIndex + 1).trim();
|
|
188
|
+
// Convert CSS property name to camelCase (e.g., 'background-color' -> 'backgroundColor')
|
|
189
|
+
const camelCaseName = dashCaseToCamel(propertyName);
|
|
190
|
+
styleMap[camelCaseName] = propertyValue;
|
|
191
|
+
}
|
|
192
|
+
return styleMap;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Split a CSS style string by semicolons, but only those outside of parentheses.
|
|
196
|
+
* This ensures that semicolons inside url() or other functions are not treated as property separators.
|
|
197
|
+
*
|
|
198
|
+
* @param {string} styleAttr The style attribute string to split.
|
|
199
|
+
* @returns {string[]} Array of individual CSS property strings.
|
|
200
|
+
*/
|
|
201
|
+
function splitStyleProperties(styleAttr) {
|
|
202
|
+
const properties = [];
|
|
203
|
+
let currentProperty = '';
|
|
204
|
+
let parenthesesDepth = 0;
|
|
205
|
+
for (let i = 0; i < styleAttr.length; i++) {
|
|
206
|
+
const char = styleAttr[i];
|
|
207
|
+
if (char === '(') {
|
|
208
|
+
parenthesesDepth++;
|
|
209
|
+
currentProperty += char;
|
|
210
|
+
}
|
|
211
|
+
else if (char === ')') {
|
|
212
|
+
parenthesesDepth--;
|
|
213
|
+
currentProperty += char;
|
|
214
|
+
}
|
|
215
|
+
else if (char === ';' && parenthesesDepth === 0) {
|
|
216
|
+
// Semicolon outside parentheses - this is a property separator
|
|
217
|
+
properties.push(currentProperty);
|
|
218
|
+
currentProperty = '';
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
currentProperty += char;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
// Add the last property if it doesn't end with a semicolon
|
|
225
|
+
if (currentProperty) {
|
|
226
|
+
properties.push(currentProperty);
|
|
227
|
+
}
|
|
228
|
+
return properties;
|
|
187
229
|
}
|
|
188
230
|
/**
|
|
189
231
|
* Escape HTML-sensitive characters so text can be rendered literally in HTML.
|
|
@@ -199,6 +241,20 @@ function escapeHtml(text) {
|
|
|
199
241
|
.replace(/"/g, '"')
|
|
200
242
|
.replace(/'/g, ''');
|
|
201
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Escape text for use inside a double-quoted HTML attribute value.
|
|
246
|
+
*
|
|
247
|
+
* @param {string} value - Raw attribute value.
|
|
248
|
+
* @returns {string} Escaped attribute-safe value.
|
|
249
|
+
*/
|
|
250
|
+
function escapeHtmlAttribute(value) {
|
|
251
|
+
return (value
|
|
252
|
+
// Keep existing entities (e.g. ", ') intact to avoid double escaping on repeated transforms.
|
|
253
|
+
.replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]+|#[0-9]+|#x[a-fA-F0-9]+);)/g, '&')
|
|
254
|
+
.replace(/</g, '<')
|
|
255
|
+
.replace(/>/g, '>')
|
|
256
|
+
.replace(/"/g, '"'));
|
|
257
|
+
}
|
|
202
258
|
|
|
203
259
|
/**
|
|
204
260
|
* Abstract strategy class for filtering default styles in the rich text editor.
|
|
@@ -1180,9 +1236,9 @@ class CustomStyleAnnotation extends CommonAnnotation {
|
|
|
1180
1236
|
* @returns {string} custom style string
|
|
1181
1237
|
*/
|
|
1182
1238
|
toString() {
|
|
1183
|
-
return `style="${Object.entries(this.customStyle)
|
|
1239
|
+
return `style="${escapeHtmlAttribute(Object.entries(this.customStyle)
|
|
1184
1240
|
.map(([key, value]) => `${key}: ${value};`)
|
|
1185
|
-
.join(' ')}"`;
|
|
1241
|
+
.join(' '))}"`;
|
|
1186
1242
|
}
|
|
1187
1243
|
}
|
|
1188
1244
|
|
|
@@ -1563,7 +1619,7 @@ class RTENode {
|
|
|
1563
1619
|
...customAttributeString,
|
|
1564
1620
|
classNames && classNames.length > 0 ? `class="${classNames.join(' ')}"` : null,
|
|
1565
1621
|
styles && Object.keys(styles).length > 0
|
|
1566
|
-
? `style="${nodeAnnotationStyle.toCssText({ standalone: true }, undefined, styles)}"`
|
|
1622
|
+
? `style="${escapeHtmlAttribute(nodeAnnotationStyle.toCssText({ standalone: true }, undefined, styles))}"`
|
|
1567
1623
|
: null,
|
|
1568
1624
|
...attrs,
|
|
1569
1625
|
].filter(isNonNullable);
|
|
@@ -1888,7 +1944,7 @@ class RTEBlock {
|
|
|
1888
1944
|
...customAttributeString,
|
|
1889
1945
|
classNames && classNames.length > 0 ? `class="${classNames.join(' ')}"` : null,
|
|
1890
1946
|
styles && Object.keys(styles).length > 0
|
|
1891
|
-
? `style="${blockAnnotationStyle.toCssText({ standalone: true }, undefined, styles)}"`
|
|
1947
|
+
? `style="${escapeHtmlAttribute(blockAnnotationStyle.toCssText({ standalone: true }, undefined, styles))}"`
|
|
1892
1948
|
: null,
|
|
1893
1949
|
...attrs,
|
|
1894
1950
|
].filter(isNonNullable);
|
|
@@ -5007,7 +5063,7 @@ CodeBlockNodeFilterStylesStrategy.STYLES = {
|
|
|
5007
5063
|
boxSizing: 'border-box',
|
|
5008
5064
|
color: 'rgba(var(--v-text-primary, 32, 54, 69, 1))',
|
|
5009
5065
|
textAlign: 'left',
|
|
5010
|
-
fontFamily: '
|
|
5066
|
+
fontFamily: "'Roboto Mono'",
|
|
5011
5067
|
fontWeight: '400',
|
|
5012
5068
|
lineHeight: '22px',
|
|
5013
5069
|
fontSize: '16px',
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as MapToComponentField, M as MapToComponentMethod } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { q as RTECodeBlockNode, R as RTETextNode, ad as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, o as RTEDecoratorNode, f as RTENode, a as RTEBlock, ag as SelectionChangeAction, h as InternalAnnotationTypeEnum, p as RTECodeBlock } from './code-block-
|
|
2
|
+
import { q as RTECodeBlockNode, R as RTETextNode, ad as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, o as RTEDecoratorNode, f as RTENode, a as RTEBlock, ag as SelectionChangeAction, h as InternalAnnotationTypeEnum, p as RTECodeBlock } from './code-block-e12588fe.js';
|
|
3
3
|
import { d as debounce } from './timer-9321173b.js';
|
|
4
4
|
import { g as getActiveElement } from './component-7d906393.js';
|
|
5
5
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
6
6
|
import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
|
|
7
7
|
import { f as VegaInternalRichTextEditorSelectionRangeChange, c as VegaInternalUpdateRTECursorPosition } from './vega-internal-event-id-827eb1ce.js';
|
|
8
8
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
9
|
-
import { R as RTERange } from './range-
|
|
9
|
+
import { R as RTERange } from './range-e999837f.js';
|
|
10
10
|
import { A as AutoRunWhenReRenderTaskQueueSlimmer } from './auto-run-when-re-render-task-queue-slimmer.abstract-27820d4c.js';
|
|
11
11
|
import { i as isHTMLElement } from './ui-d73f756a.js';
|
|
12
|
-
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-
|
|
12
|
+
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-f3f66c15.js';
|
|
13
13
|
|
|
14
14
|
let processing = false;
|
|
15
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as ActionHandleStrategy, b as RTETextBlock, R as RTETextNode, e as AppendChildrenAction, A as ActionHandleStrategyRegistry, T as TextStyleAnnotationAction, u as BlockUpdateTextStyleStrategy, H as HorizontalAlignmentAnnotationAction, v as BlockUpdateHorizontalAlignmentStrategy, i as ModifyContentActionType, w as BlockInsertLineBreakStrategy, x as BlockInsertLineBreakWithBlocksStrategy, y as BlockSplitWithTextNodeStrategy, z as BlockReplaceNodesStrategy, D as BlockMergeNodesStrategy, I as InsertChildrenAfterAction, k as RemoveChildrenAction, E as SyncUpSelectionAction, g as InsertChildrenBeforeAction, B as BlockAnnotation, F as BlockAnnotationTypeEnum, a as RTEBlock, r as CustomStyleAnnotation, G as CustomClassAnnotation, l as CustomAttributeAnnotation, p as RTECodeBlock, s as stateEntityRenderingRegistry, J as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, K as NodeTypeEnum, L as CommonAnnotation, j as AnnotationAction, O as ReplaceChildNodesAction, M as ModifyContentAction, S as SplitBlockWithNodeAction, P as HTML_VOID_TAGS, Q as BlockDeleteNodeContentStrategy, U as UpdateTextAction, W as RemoveChildrenStrategy, X as BOLD_FONT_WEIGHT_KEYWORD, Y as BOLD_FONT_WEIGHT, Z as createStyleMapFromElement, _ as RTE_TEXT_COLORS, $ as RTE_DEFAULT_TEXT_COLOR, a0 as ITALIC_FONT_STYLE, a1 as STRIKETHROUGH_TEXT_DECORATION, a2 as UNDERLINE_TEXT_DECORATION, t as RTEFilterStylesStrategyRegistry, a3 as TextStyleAnnotation, n as RTEFilterStylesStrategy, a4 as Predicate$1, a5 as HorizontalAlignmentAnnotation, a6 as CodeAnnotation, m as RTEDTOClassManager, a7 as LinkFilterStylesStrategy, a8 as CodeBlockFilterStylesStrategy, q as RTECodeBlockNode, a9 as CodeBlockNodeFilterStylesStrategy } from './code-block-
|
|
1
|
+
import { d as ActionHandleStrategy, b as RTETextBlock, R as RTETextNode, e as AppendChildrenAction, A as ActionHandleStrategyRegistry, T as TextStyleAnnotationAction, u as BlockUpdateTextStyleStrategy, H as HorizontalAlignmentAnnotationAction, v as BlockUpdateHorizontalAlignmentStrategy, i as ModifyContentActionType, w as BlockInsertLineBreakStrategy, x as BlockInsertLineBreakWithBlocksStrategy, y as BlockSplitWithTextNodeStrategy, z as BlockReplaceNodesStrategy, D as BlockMergeNodesStrategy, I as InsertChildrenAfterAction, k as RemoveChildrenAction, E as SyncUpSelectionAction, g as InsertChildrenBeforeAction, B as BlockAnnotation, F as BlockAnnotationTypeEnum, a as RTEBlock, r as CustomStyleAnnotation, G as CustomClassAnnotation, l as CustomAttributeAnnotation, p as RTECodeBlock, s as stateEntityRenderingRegistry, J as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, K as NodeTypeEnum, L as CommonAnnotation, j as AnnotationAction, O as ReplaceChildNodesAction, M as ModifyContentAction, S as SplitBlockWithNodeAction, P as HTML_VOID_TAGS, Q as BlockDeleteNodeContentStrategy, U as UpdateTextAction, W as RemoveChildrenStrategy, X as BOLD_FONT_WEIGHT_KEYWORD, Y as BOLD_FONT_WEIGHT, Z as createStyleMapFromElement, _ as RTE_TEXT_COLORS, $ as RTE_DEFAULT_TEXT_COLOR, a0 as ITALIC_FONT_STYLE, a1 as STRIKETHROUGH_TEXT_DECORATION, a2 as UNDERLINE_TEXT_DECORATION, t as RTEFilterStylesStrategyRegistry, a3 as TextStyleAnnotation, n as RTEFilterStylesStrategy, a4 as Predicate$1, a5 as HorizontalAlignmentAnnotation, a6 as CodeAnnotation, m as RTEDTOClassManager, a7 as LinkFilterStylesStrategy, a8 as CodeBlockFilterStylesStrategy, q as RTECodeBlockNode, a9 as CodeBlockNodeFilterStylesStrategy } from './code-block-e12588fe.js';
|
|
2
2
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
3
|
-
import { i as isNonNullable } from './type-guard-
|
|
3
|
+
import { i as isNonNullable } from './type-guard-ec5e8628.js';
|
|
4
4
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
5
5
|
import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
|
|
6
6
|
import { c as VegaInternalUpdateRTECursorPosition, d as VegaInternalRichTextEditDeleteSelectedNodes, e as VegaInternalRichTextEditorFlushChanges } from './vega-internal-event-id-827eb1ce.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-
|
|
1
|
+
import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-ec5e8628.js';
|
|
2
2
|
import { B as Breakpoints } from './breakpoints-d9faf11c.js';
|
|
3
3
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
4
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
4
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-ced96b0b.js';
|
|
5
5
|
import { a as TypographyKeys } from './typography-19c3b9be.js';
|
|
6
|
-
import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-
|
|
6
|
+
import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-b680e922.js';
|
|
7
7
|
import { B as BorderStyle } from './ui-93922c59.js';
|
|
8
8
|
|
|
9
9
|
/**
|
package/dist/esm/{element-appender-slimmer-a4485ef6.js → element-appender-slimmer-7fcb944b.js}
RENAMED
|
@@ -4,8 +4,8 @@ import { I as InternalVegaZIndexManager } from './internal-vega-z-index-manager-
|
|
|
4
4
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
5
5
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
|
|
6
6
|
import { A as Alignments, P as Placements } from './ui-93922c59.js';
|
|
7
|
-
import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-
|
|
8
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
7
|
+
import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-ec5e8628.js';
|
|
8
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-ced96b0b.js';
|
|
9
9
|
import { t as tryGetDocument } from './try-get-document-bef0f526.js';
|
|
10
10
|
import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
11
11
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
@@ -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-ddff8662.js';
|
|
10
10
|
import { i as VegaInternalFieldErrorStateChange, g as VegaInternalFormSubmit, j as VegaInternalValid } from './vega-internal-event-id-827eb1ce.js';
|
|
11
|
-
import { V as VegaInternalTranslation } from './internal-translation-controller-
|
|
11
|
+
import { V as VegaInternalTranslation } from './internal-translation-controller-16709132.js';
|
|
12
12
|
import { h as htmlSanitizer, l as labelSanitizeStrategy } from './index-3b327f29.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-4c77d314.js → image-annotation-action-b3b6c308.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h } from './index-090d31ca.js';
|
|
2
2
|
import { V as VegaInternalIconManager } from './internal-icon-manager-e7c57096.js';
|
|
3
3
|
import { c as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
4
|
-
import { A as ActionHandleStrategyRegistry, _ as RTE_TEXT_COLORS, R as RTETextNode, ah as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, j as AnnotationAction } from './code-block-
|
|
4
|
+
import { A as ActionHandleStrategyRegistry, _ as RTE_TEXT_COLORS, R as RTETextNode, ah as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, j as AnnotationAction } from './code-block-e12588fe.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-ddff8662.js';
|
|
6
6
|
import { a as VegaClick, c as VegaPopoverShow, b as VegaPopoverHide, d as VegaChange } from './vega-event-id-270fe47e.js';
|
|
7
7
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-ca5afd2d.js';
|
|
8
|
-
import { g as ImageAnnotation } from './content-state-
|
|
8
|
+
import { g as ImageAnnotation } from './content-state-8032467a.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>`,
|
|
@@ -171,7 +171,7 @@ class TextColorToolbarButtonSlimmer extends VisualModeToolbarButtonSlimmer {
|
|
|
171
171
|
this.popoverShow = false;
|
|
172
172
|
}
|
|
173
173
|
renderBtnWrapper(renderBtn) {
|
|
174
|
-
return (h("vega-popover", { placement: "bottom", alignment: "center", ref: (ref) => {
|
|
174
|
+
return (h("vega-popover", { placement: "bottom", alignment: "center", isScreenPosition: true, ref: (ref) => {
|
|
175
175
|
this.popoverRef = ref;
|
|
176
176
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaPopoverShow, this.handlePopoverShowChange.bind(this));
|
|
177
177
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaPopoverHide, this.handlePopoverHideChange.bind(this));
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as ModifyContentAction, i as ModifyContentActionType } from './code-block-e12588fe.js';
|
|
2
|
+
import { b as VegaRTEExtension } from './link-extension-97fcb8fb.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Replace the text node selected content to new text
|
|
6
|
+
*
|
|
7
|
+
* @example selectedNode.apply(new ReplaceSelectedTextAction(insertText))
|
|
8
|
+
*/
|
|
9
|
+
class ReplaceSelectedTextAction extends ModifyContentAction {
|
|
10
|
+
constructor(text, currentRange) {
|
|
11
|
+
super();
|
|
12
|
+
this.type = ModifyContentActionType.REPLACE_SELECTED_TEXT;
|
|
13
|
+
this.textToBeInsert = '';
|
|
14
|
+
this.textToBeInsert = text;
|
|
15
|
+
this.currentRange = currentRange;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
2
18
|
|
|
3
19
|
/**
|
|
4
20
|
* Rich Text Editor extension that configures built-in image behavior.
|
|
@@ -34,4 +50,4 @@ class VegaRTEImageExtension extends VegaRTEExtension {
|
|
|
34
50
|
*/
|
|
35
51
|
VegaRTEImageExtension.configStore = VegaRTEImageExtension.createStateStore();
|
|
36
52
|
|
|
37
|
-
export { VegaRTEImageExtension as V };
|
|
53
|
+
export { ReplaceSelectedTextAction as R, VegaRTEImageExtension as V };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,38 +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-76bd217c.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-ec5e8628.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 {
|
|
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-9896879b.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-359f8082.js';
|
|
14
14
|
export { V as VegaDialog } from './vega-dialog-controller-726b74f9.js';
|
|
15
15
|
export { B as VegaJQueryDelegatedEventStrategy } from './internal-vega-event-manager-48690e5b.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-ca5a47d6.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-16709132.js';
|
|
20
20
|
export { s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
21
|
-
export { d as ActionHandleStrategy, e as AppendChildrenAction, ab as CodeLanguage, l as CustomAttributeAnnotation, G as CustomClassAnnotation, r as CustomStyleAnnotation, I as InsertChildrenAfterAction, g as InsertChildrenBeforeAction, M as ModifyContentAction, i as ModifyContentActionType, c as RTEAnnotationStyle, a as RTEBlock, o as RTEDecoratorNode, n as RTEFilterStylesStrategy, f as RTENode, b as RTETextBlock, R as RTETextNode, k as RemoveChildrenAction, ac as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-
|
|
22
|
-
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, f as RTEImageNode, e as RTEListBlock, b as RTEListItemBlock, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-
|
|
23
|
-
export { G as GridColumns, a as GridRows } from './responsive-format-facade-
|
|
21
|
+
export { d as ActionHandleStrategy, e as AppendChildrenAction, ab as CodeLanguage, l as CustomAttributeAnnotation, G as CustomClassAnnotation, r as CustomStyleAnnotation, I as InsertChildrenAfterAction, g as InsertChildrenBeforeAction, M as ModifyContentAction, i as ModifyContentActionType, c as RTEAnnotationStyle, a as RTEBlock, o as RTEDecoratorNode, n as RTEFilterStylesStrategy, f as RTENode, b as RTETextBlock, R as RTETextNode, k as RemoveChildrenAction, ac as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-e12588fe.js';
|
|
22
|
+
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, f as RTEImageNode, e as RTEListBlock, b as RTEListItemBlock, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-8032467a.js';
|
|
23
|
+
export { G as GridColumns, a as GridRows } from './responsive-format-facade-ced96b0b.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-b88e1650.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-71f8ee98.js';
|
|
30
|
+
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-6e80a9ab.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 {
|
|
35
|
-
|
|
33
|
+
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-97fcb8fb.js';
|
|
34
|
+
export { V as VegaRTEImageExtension } from './image-extension-b6c7e4a7.js';
|
|
35
|
+
export { R as RTERange } from './range-e999837f.js';
|
|
36
|
+
import './state-border-formatter-b680e922.js';
|
|
36
37
|
import './misc-9fdbcfbb.js';
|
|
37
38
|
import './create-public-api-runtime-metrics-slimmer-48f85199.js';
|
|
38
39
|
import './dynamic-slimmer-90b8af32.js';
|
|
@@ -40,7 +41,7 @@ import './internal-vega-z-index-manager-7d2b54c3.js';
|
|
|
40
41
|
import './number-4398f2e1.js';
|
|
41
42
|
import './page-resize-observer-slimmer-e24d36c5.js';
|
|
42
43
|
import './try-get-document-bef0f526.js';
|
|
43
|
-
import './internal-calendar-period-factory-
|
|
44
|
+
import './internal-calendar-period-factory-3a07dba0.js';
|
|
44
45
|
import './internal-icon-manager-e7c57096.js';
|
|
45
46
|
import './dom-node-subject-observer-factory-ddff8662.js';
|
|
46
47
|
import './change-manager-6a7eb88c.js';
|
|
@@ -55,7 +56,6 @@ import './index-3b327f29.js';
|
|
|
55
56
|
import './pixel-f32c07ce.js';
|
|
56
57
|
import './object-0c277f57.js';
|
|
57
58
|
import './timer-9321173b.js';
|
|
58
|
-
import './replace-selected-text-action-c9278a0f.js';
|
|
59
59
|
import './copy-54e45e2d.js';
|
|
60
60
|
import './index-9c9865c0.js';
|
|
61
61
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.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-ec5e8628.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Factory class for creating CalendarPeriod instances and converting them to VegaCalendarPeriodType.
|
|
@@ -199,6 +199,8 @@ const staticTranslations = {
|
|
|
199
199
|
'Apply': 'Apply',
|
|
200
200
|
'Enter color': 'Enter color',
|
|
201
201
|
'Horizontal line': 'Horizontal line',
|
|
202
|
+
'Enter fullscreen mode': 'Enter fullscreen mode',
|
|
203
|
+
'Exit fullscreen mode': 'Exit fullscreen mode',
|
|
202
204
|
'Block quote': 'Block quote',
|
|
203
205
|
'Special Characters': 'Special Characters',
|
|
204
206
|
'All': 'All',
|
|
@@ -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-ec5e8628.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
|