@globalpayments/vega 2.55.1 → 2.56.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-f1ff47e3.js → app-globals-7e482341.js} +2 -2
- package/dist/cjs/{code-block-2d014e17.js → code-block-e56c5216.js} +99 -110
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-6bfb9145.js → component-value-history-controller-slimmer.abstract-9a1285a1.js} +5 -5
- package/dist/cjs/{content-state-6a5da7ec.js → content-state-e07c843c.js} +90 -84
- package/dist/cjs/{design-token-d15e60fa.js → design-token-3e0bd48d.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-2f16891f.js → element-appender-slimmer-2b9ca234.js} +1 -1
- package/dist/cjs/{image-annotation-action-617bbb13.js → image-annotation-action-76e3c89d.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{public-rules-a3b7e267.js → public-rules-1ac67099.js} +3 -3
- package/dist/cjs/{responsive-format-facade-4a19e115.js → responsive-format-facade-e2e11c24.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-e9c7c379.js → rich-text-editor-required-rule-63f50aa4.js} +3 -3
- package/dist/cjs/{style-formatter-b8cea5ee.js → style-formatter-0213d3a8.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +4 -4
- package/dist/cjs/vega-app-header-button.cjs.entry.js +4 -4
- package/dist/cjs/vega-box.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-circle.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +3 -3
- package/dist/cjs/vega-calendar_3.cjs.entry.js +49 -10
- package/dist/cjs/vega-card.cjs.entry.js +4 -4
- package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
- package/dist/cjs/vega-chip.cjs.entry.js +4 -4
- package/dist/cjs/vega-code-block.cjs.entry.js +2 -2
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-dialog_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-divider.cjs.entry.js +4 -4
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +7 -6
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-flag-icon.cjs.entry.js +4 -4
- package/dist/cjs/vega-flex.cjs.entry.js +5 -5
- package/dist/cjs/vega-font.cjs.entry.js +4 -4
- package/dist/cjs/vega-grid.cjs.entry.js +4 -4
- package/dist/cjs/vega-icon.cjs.entry.js +4 -4
- package/dist/cjs/vega-image-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-select.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +4 -4
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +3 -3
- package/dist/cjs/vega-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +13 -13
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +68 -68
- package/dist/cjs/vega-selection-chip_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 +4 -4
- package/dist/cjs/vega-table_8.cjs.entry.js +3 -3
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +4 -4
- package/dist/cjs/vega.cjs.js +4 -4
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +1 -1
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +24 -7
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +11 -2
- package/dist/collection/components/vega-calendar/vega-calendar.css +6 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +43 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +1 -1
- package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy.abstract.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/apply-annotation-strategies/block-update-text-style-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/apply-annotation-strategies/node-split-text-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/apply-annotation-strategies/node-update-annotation-map-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-append-blocks-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-append-nodes-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-image-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-node-content-strategy.js +28 -47
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-delete-text-content-strategy.js +7 -7
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-insert-blocks-before-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-insert-line-break-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-insert-line-break-with-blocks-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-merge-nodes-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-remove-child-block-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-remove-node-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-replace-node-with-nodes-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-replace-nodes-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-split-with-image-node-strategy.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-split-with-text-node-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/block-transform-to-code-block-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/code-block-remove-self-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/image-block-insert-image-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/image-insert-line-break-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/image-insert-line-break-with-blocks-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-item-delete-text-content-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-item-insert-new-paragraph-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-item-remove-nest-list-strategy.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-item-remove-node-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-item-replace-nest-list-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-remove-list-item-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-to-list-strategy.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/list-transform-to-paragraph-strategy.js +9 -9
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/modify-content-strategies/switch-out-from-code-block-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +8 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/code-block.js +5 -5
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +7 -7
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +6 -6
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +18 -12
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +9 -9
- package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +14 -14
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/code-block-node.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/code-block-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/code-block-node-renderer.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/delete-selected-nodes-controller.js +20 -20
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/focus-controller.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ol-to-rte-list-block-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-to-rte-list-block-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.js +8 -8
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.js +8 -8
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +5 -5
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.js +6 -6
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-composition-text-controller.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/internal-code-block-selection-controller.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +4 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/value-controller.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/code-block-toolbar-button-slimmer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.js +56 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/code-block.test.js +5 -5
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +7 -7
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +3 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +18 -18
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +9 -9
- package/dist/collection/helpers/validator/rules/rich-text-editor-required-rule.js +2 -2
- package/dist/esm/{app-globals-4881974a.js → app-globals-b5881948.js} +2 -2
- package/dist/esm/{code-block-ef2f04ca.js → code-block-1cdb0599.js} +99 -110
- package/dist/esm/{component-value-history-controller-slimmer.abstract-0a0ef33f.js → component-value-history-controller-slimmer.abstract-c12b2958.js} +5 -5
- package/dist/esm/{content-state-69d29a07.js → content-state-cf27d19b.js} +90 -84
- package/dist/esm/{design-token-9bbefd23.js → design-token-96e03257.js} +1 -1
- package/dist/esm/{element-appender-slimmer-8652e8d7.js → element-appender-slimmer-00dcccb9.js} +1 -1
- package/dist/esm/{image-annotation-action-1497f70e.js → image-annotation-action-e76b3396.js} +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{public-rules-3436034b.js → public-rules-e8616346.js} +3 -3
- package/dist/esm/{responsive-format-facade-bcc2fd21.js → responsive-format-facade-464498b6.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-cc5b6a2d.js → rich-text-editor-required-rule-69844536.js} +3 -3
- package/dist/esm/{style-formatter-00d6c32f.js → style-formatter-670e20f7.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +4 -4
- package/dist/esm/vega-app-header-button.entry.js +4 -4
- package/dist/esm/vega-box.entry.js +5 -5
- package/dist/esm/vega-button-circle.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +3 -3
- package/dist/esm/vega-calendar_3.entry.js +49 -10
- package/dist/esm/vega-card.entry.js +4 -4
- package/dist/esm/vega-carousel.entry.js +3 -3
- package/dist/esm/vega-chip.entry.js +4 -4
- package/dist/esm/vega-code-block.entry.js +2 -2
- package/dist/esm/vega-date-picker_2.entry.js +4 -4
- package/dist/esm/vega-dialog_2.entry.js +4 -4
- package/dist/esm/vega-divider.entry.js +4 -4
- package/dist/esm/vega-dropdown_5.entry.js +7 -6
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-flag-icon.entry.js +4 -4
- package/dist/esm/vega-flex.entry.js +5 -5
- package/dist/esm/vega-font.entry.js +4 -4
- package/dist/esm/vega-grid.entry.js +4 -4
- package/dist/esm/vega-icon.entry.js +4 -4
- package/dist/esm/vega-image-uploader.entry.js +3 -3
- package/dist/esm/vega-input-phone-number.entry.js +2 -2
- package/dist/esm/vega-input-select.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +4 -4
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-pagination.entry.js +3 -3
- package/dist/esm/vega-popover_2.entry.js +4 -4
- package/dist/esm/vega-rich-text-content.entry.js +13 -13
- package/dist/esm/vega-rich-text-editor_4.entry.js +68 -68
- package/dist/esm/vega-selection-chip_2.entry.js +3 -3
- package/dist/esm/vega-sidenav_3.entry.js +3 -3
- package/dist/esm/vega-signature-capture.entry.js +4 -4
- package/dist/esm/vega-table_8.entry.js +3 -3
- package/dist/esm/vega-time-picker_2.entry.js +4 -4
- package/dist/esm/vega-tooltip_2.entry.js +4 -4
- package/dist/esm/vega.js +4 -4
- package/dist/types/components/vega-app-header-button/types.d.ts +2 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +1 -0
- package/dist/types/components/vega-calendar/types.d.ts +2 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +14 -1
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +13 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/code-block.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +8 -2
- package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/dto/nodes/code-block-node.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +3 -3
- package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +2 -2
- package/dist/types/components.d.ts +15 -1
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-0e8324f2.entry.js → p-03c759ae.entry.js} +1 -1
- package/dist/vega/p-04c8b83d.entry.js +1 -0
- package/dist/vega/{p-c212a1e3.entry.js → p-08a0cbd0.entry.js} +1 -1
- package/dist/vega/{p-72e14f49.entry.js → p-0c660956.entry.js} +1 -1
- package/dist/vega/{p-1b165fbb.entry.js → p-144d2390.entry.js} +1 -1
- package/dist/vega/{p-c48a8510.entry.js → p-1737536e.entry.js} +1 -1
- package/dist/vega/{p-ad858290.entry.js → p-1a7d0e21.entry.js} +1 -1
- package/dist/vega/{p-9dc9fcf3.js → p-1c3e1134.js} +1 -1
- package/dist/vega/{p-ecd9a973.entry.js → p-1ebc1acf.entry.js} +1 -1
- package/dist/vega/{p-1d41f551.entry.js → p-2a6517f9.entry.js} +1 -1
- package/dist/vega/p-2f6c4f2c.entry.js +1 -0
- package/dist/vega/{p-f17c9093.entry.js → p-302e01e9.entry.js} +1 -1
- package/dist/vega/{p-f7062473.entry.js → p-3162a3f0.entry.js} +1 -1
- package/dist/vega/{p-6681efd5.js → p-397c7199.js} +1 -1
- package/dist/vega/{p-8270bb8f.entry.js → p-487c0f17.entry.js} +1 -1
- package/dist/vega/{p-ca91268b.entry.js → p-4a12fb0d.entry.js} +1 -1
- package/dist/vega/{p-f9cf7e36.js → p-4b2a90b8.js} +1 -1
- package/dist/vega/{p-84a31a31.entry.js → p-4c595d8d.entry.js} +1 -1
- package/dist/vega/{p-43ba9a8a.entry.js → p-576b812b.entry.js} +1 -1
- package/dist/vega/{p-56dc1345.entry.js → p-59f1fd3e.entry.js} +1 -1
- package/dist/vega/{p-5a6b8846.entry.js → p-5be150cb.entry.js} +1 -1
- package/dist/vega/{p-a63e2fee.entry.js → p-5cb92c51.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-201a78a2.entry.js → p-5f86a286.entry.js} +1 -1
- package/dist/vega/{p-4f5079bc.entry.js → p-636142ae.entry.js} +1 -1
- package/dist/vega/{p-327be043.js → p-66516ee9.js} +1 -1
- package/dist/vega/p-68864531.js +1 -0
- package/dist/vega/p-6a7b7214.js +1 -0
- package/dist/vega/p-6b8d105e.entry.js +1 -0
- package/dist/vega/{p-c7e2a155.entry.js → p-7728041e.entry.js} +1 -1
- package/dist/vega/p-778fd499.js +1 -0
- package/dist/vega/{p-13ca73c7.entry.js → p-7cc20ed5.entry.js} +1 -1
- package/dist/vega/{p-cce253c2.entry.js → p-81e56716.entry.js} +1 -1
- package/dist/vega/p-962b40d1.entry.js +1 -0
- package/dist/vega/{p-c10b4f47.entry.js → p-9d286c08.entry.js} +1 -1
- package/dist/vega/{p-cae183fd.entry.js → p-a42bc438.entry.js} +1 -1
- package/dist/vega/{p-b89a9760.js → p-ae74d511.js} +1 -1
- package/dist/vega/{p-da95668c.entry.js → p-b3da0b44.entry.js} +1 -1
- package/dist/vega/{p-1e4b6f0a.entry.js → p-c0043eed.entry.js} +1 -1
- package/dist/vega/p-c685adcd.js +1 -0
- package/dist/vega/{p-9c0cda62.js → p-d8e1ed2d.js} +1 -1
- package/dist/vega/{p-9a0d3d2d.entry.js → p-dc383362.entry.js} +1 -1
- package/dist/vega/{p-822cd8e5.js → p-dc3d93d6.js} +1 -1
- package/dist/vega/{p-79370ad4.entry.js → p-e2282f71.entry.js} +1 -1
- package/dist/vega/{p-c8a87f06.entry.js → p-e5eda663.entry.js} +1 -1
- package/dist/vega/{p-7704a608.entry.js → p-ec7dc51f.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +5 -1
- package/dist/vega/p-3eb2d433.js +0 -1
- package/dist/vega/p-3fa7d356.js +0 -1
- package/dist/vega/p-547692bf.entry.js +0 -1
- package/dist/vega/p-57005931.entry.js +0 -1
- package/dist/vega/p-5e8e4aba.js +0 -1
- package/dist/vega/p-cb36ccf0.entry.js +0 -1
- package/dist/vega/p-ec3495de.entry.js +0 -1
- package/dist/vega/p-fecb4044.js +0 -1
|
@@ -3,14 +3,14 @@ import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer,
|
|
|
3
3
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
4
4
|
import { s as sanitizeVegaComponent } from './component-7d906393.js';
|
|
5
5
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-ea798fc8.js';
|
|
6
|
-
import { T as TextNodeRenderingRegistry, I as ImageAnnotationAction, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-
|
|
7
|
-
import { w as stateEntityRenderingRegistry, x as BlockAnnotation, y as NodeAnnotation, N as NodeAnnotationTypeEnum, Z as ZERO_WIDTH_SPACE, z as InternalAnnotationTypeEnum, L as LinkAnnotationAction, d as RTETextBlock, C as ImageAnnotation, M as ModifyContentAction, f as ModifyContentActionType, U as UpdateCodeBlockAction, D as SelectionChangeAction, u as RTECodeBlock } from './code-block-
|
|
6
|
+
import { T as TextNodeRenderingRegistry, I as ImageAnnotationAction, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-e76b3396.js';
|
|
7
|
+
import { w as stateEntityRenderingRegistry, x as BlockAnnotation, y as NodeAnnotation, N as NodeAnnotationTypeEnum, Z as ZERO_WIDTH_SPACE, z as InternalAnnotationTypeEnum, L as LinkAnnotationAction, d as RTETextBlock, C as ImageAnnotation, M as ModifyContentAction, f as ModifyContentActionType, U as UpdateCodeBlockAction, D as SelectionChangeAction, u as RTECodeBlock } from './code-block-1cdb0599.js';
|
|
8
8
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
9
9
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
10
10
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
11
11
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
12
12
|
import { f as VegaChange, k as VegaRemove } from './dom-node-subject-factory-6374611f.js';
|
|
13
|
-
import { R as RTEImageBlock, b as RTEListBlock, V as VegaRTEContent } from './content-state-
|
|
13
|
+
import { R as RTEImageBlock, b as RTEListBlock, V as VegaRTEContent } from './content-state-cf27d19b.js';
|
|
14
14
|
import { o as VegaInternalCodeBlockSelectionChange } from './vega-internal-event-id-178b2743.js';
|
|
15
15
|
import { t as tryGetDocument } from './try-get-document-bef0f526.js';
|
|
16
16
|
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-93eeb87d.js';
|
|
@@ -123,8 +123,8 @@ class RTEBlockTextNodesRenderer extends RTEBlockRenderer {
|
|
|
123
123
|
renderNodes(block, renderContext) {
|
|
124
124
|
const linkGroupAnnotation = block.getAnnotationByType(InternalAnnotationTypeEnum.LINK_GROUP);
|
|
125
125
|
return linkGroupAnnotation
|
|
126
|
-
? this.renderLinkNodes(block.
|
|
127
|
-
: block.
|
|
126
|
+
? this.renderLinkNodes(block.children, renderContext)
|
|
127
|
+
: block.children.map((node) => RTETextNodeRenderer$1.render(node));
|
|
128
128
|
}
|
|
129
129
|
renderLinkNodes(nodes, { editable }) {
|
|
130
130
|
const blockNodes = this.groupNodesByLink(nodes);
|
|
@@ -290,7 +290,7 @@ class RTEImageBlockRenderer extends RTEBlockRenderer {
|
|
|
290
290
|
return block instanceof RTEImageBlock;
|
|
291
291
|
}
|
|
292
292
|
render(block, renderContext) {
|
|
293
|
-
return (h("div", { key: block.id, style: Object.assign({}, super.getStyles(block)), ref: (ref) => super.registerRef(ref, block), class: super.getClasses(block) }, block.
|
|
293
|
+
return (h("div", { key: block.id, style: Object.assign({}, super.getStyles(block)), ref: (ref) => super.registerRef(ref, block), class: super.getClasses(block) }, block.children.map((node) => {
|
|
294
294
|
return RTEImageNodeRenderer$1.render(node, renderContext);
|
|
295
295
|
})));
|
|
296
296
|
}
|
|
@@ -301,7 +301,7 @@ class RTEListItemBlockRenderer extends RTEBlockTextNodesRenderer {
|
|
|
301
301
|
render(block, renderContext) {
|
|
302
302
|
return (h("li", { key: block.id, ref: (ref) => super.registerRef(ref, block), style: super.getStyles(block), class: super.getClasses(block) },
|
|
303
303
|
super.renderNodes(block, renderContext),
|
|
304
|
-
this.renderChildren(block.
|
|
304
|
+
this.renderChildren(block.nestList, renderContext)));
|
|
305
305
|
}
|
|
306
306
|
renderChildren(children, renderContext) {
|
|
307
307
|
return children === null || children === void 0 ? void 0 : children.map((block) => RTEListBlockRenderer$1.render(block, renderContext));
|
|
@@ -315,7 +315,7 @@ class RTEListBlockRenderer extends RTEBlockRenderer {
|
|
|
315
315
|
}
|
|
316
316
|
render(block, renderContext) {
|
|
317
317
|
const BlockTag = block.type === 'number-list' ? 'ol' : 'ul';
|
|
318
|
-
return (h(BlockTag, { key: block.id, ref: (ref) => super.registerRef(ref, block) }, block.
|
|
318
|
+
return (h(BlockTag, { key: block.id, ref: (ref) => super.registerRef(ref, block) }, block.children.map((listItemBlock) => RTEListItemBlockRenderer$1.render(listItemBlock, renderContext))));
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
const RTEListBlockRenderer$1 = new RTEListBlockRenderer();
|
|
@@ -368,7 +368,7 @@ class RTECodeBlockNodeRenderer extends RTENodeRenderer {
|
|
|
368
368
|
const { code, language } = codeBlockValue;
|
|
369
369
|
if (this.shouldSwitchOutOfCodeBlock(node.text, code)) {
|
|
370
370
|
const switchAction = new SwitchOutFromCodeBlockAction(code, language);
|
|
371
|
-
node.
|
|
371
|
+
node.parent.apply(switchAction);
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
374
|
node.apply(new UpdateCodeBlockAction(code, language));
|
|
@@ -382,7 +382,7 @@ class RTECodeBlockNodeRenderer extends RTENodeRenderer {
|
|
|
382
382
|
*/
|
|
383
383
|
handleCodeBlockRemove(input, node) {
|
|
384
384
|
input.preventDefault();
|
|
385
|
-
node.
|
|
385
|
+
node.parent.apply(new RemoveCodeBlockAction());
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
388
|
* The cursor should jump out of code block if enter three line breaks at the end.
|
|
@@ -452,7 +452,7 @@ class RTECodeBlockRenderer extends RTEBlockRenderer {
|
|
|
452
452
|
* @returns {HTMLElement} - The code block container element and code node elements.
|
|
453
453
|
*/
|
|
454
454
|
render(block, renderContext) {
|
|
455
|
-
const { id, nodes } = block;
|
|
455
|
+
const { id, children: nodes } = block;
|
|
456
456
|
return (
|
|
457
457
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
458
458
|
h("pre", { key: id, class: "code-block-container", ref: (node) => this.registerRef(node, block), onKeyDown: this.preventParentDoFocus, onClick: this.preventParentDoFocus, "data-language": nodes[0].language },
|
|
@@ -544,7 +544,7 @@ class VegaRichTextContentRenderer extends VegaSlimmer {
|
|
|
544
544
|
renderContent() {
|
|
545
545
|
var _a;
|
|
546
546
|
const renderContext = { editable: this.contentEditable };
|
|
547
|
-
return (_a = this.content) === null || _a === void 0 ? void 0 : _a.
|
|
547
|
+
return (_a = this.content) === null || _a === void 0 ? void 0 : _a.children.map((block) => {
|
|
548
548
|
const blockRenderer = this.getBlockRenderer(block);
|
|
549
549
|
if (blockRenderer) {
|
|
550
550
|
return blockRenderer.render(block, renderContext);
|
|
@@ -556,7 +556,7 @@ class VegaRichTextContentRenderer extends VegaSlimmer {
|
|
|
556
556
|
}
|
|
557
557
|
shouldShowPlaceholder() {
|
|
558
558
|
var _a;
|
|
559
|
-
const blocks = (_a = this.content) === null || _a === void 0 ? void 0 : _a.
|
|
559
|
+
const blocks = (_a = this.content) === null || _a === void 0 ? void 0 : _a.children;
|
|
560
560
|
if (blocks) {
|
|
561
561
|
if (blocks.length > 1) {
|
|
562
562
|
return false;
|
|
@@ -6,24 +6,24 @@ import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0f
|
|
|
6
6
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
7
7
|
import { d as domNodeSubjectFactory, b as VegaDropdownClick, f as VegaChange, P as VegaImageInserted, a as VegaClick, M as VegaPopoverShow, N as VegaPopoverHide } from './dom-node-subject-factory-6374611f.js';
|
|
8
8
|
import { V as VegaInternalComponentDidRender, a as VegaInternalRichTextEditorFlushChanges, v as VegaInternalRichTextEditDeleteSelectedNodes, w as VegaInternalRichTextImageClick, x as VegaInternalRichTextImageDeleteButtonClicked, r as VegaInternalPopoverUpdateTarget } from './vega-internal-event-id-178b2743.js';
|
|
9
|
-
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-
|
|
9
|
+
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-e76b3396.js';
|
|
10
10
|
import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.js';
|
|
11
|
-
import { g as RTETextNode, J as BoldAnnotationAction, N as NodeAnnotationTypeEnum, G as RTECodeBlockNode, T as TextSplittableAction, K as ItalicAnnotation, O as UnderlineAnnotation, d as RTETextBlock, P as TextStyleAnnotationAction, Q as TextStyleAnnotation, V as BoldAnnotation, W as BlockAnnotationTypeEnum, X as ClearFormattingAnnotationAction, Y as CodeAnnotationAction, _ as StrikethroughAnnotation, D as SelectionChangeAction, L as LinkAnnotationAction, H as AnnotationAction, $ as IndentAnnotation, a as RTEImageNode, M as ModifyContentAction, f as ModifyContentActionType, a0 as HorizontalAlignmentAnnotation, c as AppendChildNodesAction, Z as ZERO_WIDTH_SPACE, a1 as UpdateTextAction, a2 as MergeTwoBlocksNodesAction, S as SplitBlockWithNodeAction, R as RemoveChildAction, b as ReplaceChildNodesAction, e as InsertBlocksBeforeAction, F as RTE_TEXT_COLORS, u as RTECodeBlock, I as InsertBlocksAfterAction, w as stateEntityRenderingRegistry } from './code-block-
|
|
11
|
+
import { g as RTETextNode, J as BoldAnnotationAction, N as NodeAnnotationTypeEnum, G as RTECodeBlockNode, T as TextSplittableAction, K as ItalicAnnotation, O as UnderlineAnnotation, d as RTETextBlock, P as TextStyleAnnotationAction, Q as TextStyleAnnotation, V as BoldAnnotation, W as BlockAnnotationTypeEnum, X as ClearFormattingAnnotationAction, Y as CodeAnnotationAction, _ as StrikethroughAnnotation, D as SelectionChangeAction, L as LinkAnnotationAction, H as AnnotationAction, $ as IndentAnnotation, a as RTEImageNode, M as ModifyContentAction, f as ModifyContentActionType, a0 as HorizontalAlignmentAnnotation, c as AppendChildNodesAction, Z as ZERO_WIDTH_SPACE, a1 as UpdateTextAction, a2 as MergeTwoBlocksNodesAction, S as SplitBlockWithNodeAction, R as RemoveChildAction, b as ReplaceChildNodesAction, e as InsertBlocksBeforeAction, F as RTE_TEXT_COLORS, u as RTECodeBlock, I as InsertBlocksAfterAction, w as stateEntityRenderingRegistry } from './code-block-1cdb0599.js';
|
|
12
12
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
13
13
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
14
14
|
import { a as waitForComponentDidRender } from './index-f5d2fe61.js';
|
|
15
15
|
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-6f49d396.js';
|
|
16
16
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b5cb9b81.js';
|
|
17
17
|
import { c as createSubStateNotifySlimmer } from './sub-state-notify-slimmer-b6c8051c.js';
|
|
18
|
-
import { a as RTEListItemBlock, V as VegaRTEContent, B as BreakSingleBlockAction, b as RTEListBlock, R as RTEImageBlock } from './content-state-
|
|
19
|
-
import { R as RTESelectionState, C as ComponentValueHistoryControllerSlimmer, A as AutoRunWhenReRenderTaskQueueSlimmer, a as SelectionController } from './component-value-history-controller-slimmer.abstract-
|
|
18
|
+
import { a as RTEListItemBlock, V as VegaRTEContent, B as BreakSingleBlockAction, b as RTEListBlock, R as RTEImageBlock } from './content-state-cf27d19b.js';
|
|
19
|
+
import { R as RTESelectionState, C as ComponentValueHistoryControllerSlimmer, A as AutoRunWhenReRenderTaskQueueSlimmer, a as SelectionController } from './component-value-history-controller-slimmer.abstract-c12b2958.js';
|
|
20
20
|
import { b as FORM_ELEMENT_VALUE_CHANGE, D as DARK_MODE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
21
21
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
22
22
|
import { d as debounce } from './timer-9321173b.js';
|
|
23
23
|
import { D as DarkModeStateControllerSlimmer } from './dark-mode-state-controller-slimmer-f1c2c299.js';
|
|
24
24
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
25
25
|
import { r as rgbToHex, f as findParent } from './ui-7d177fb0.js';
|
|
26
|
-
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
26
|
+
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-69844536.js';
|
|
27
27
|
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-2b975cbf.js';
|
|
28
28
|
import { T as TranslationSlimmer } from './translation-slimmer-e6b130bf.js';
|
|
29
29
|
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-ea798fc8.js';
|
|
@@ -1621,7 +1621,7 @@ class ValueController extends VegaSlimmer {
|
|
|
1621
1621
|
if (this.value && !(this.value instanceof VegaRTEContent)) {
|
|
1622
1622
|
this.value = VegaRTEContent.fromJSON(this.value);
|
|
1623
1623
|
}
|
|
1624
|
-
else if (!this.value || this.value.
|
|
1624
|
+
else if (!this.value || this.value.children.length === 0) {
|
|
1625
1625
|
this.value = VegaRTEContent.createEmptyContent();
|
|
1626
1626
|
}
|
|
1627
1627
|
else {
|
|
@@ -1869,9 +1869,9 @@ class InsertTextHandler extends BaseHandler {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
insertTextToRoot(text) {
|
|
1871
1871
|
if (this.currentState &&
|
|
1872
|
-
this.currentState.
|
|
1873
|
-
this.currentState.
|
|
1874
|
-
const firstNode = this.currentState.
|
|
1872
|
+
this.currentState.children[0] &&
|
|
1873
|
+
this.currentState.children[0] instanceof RTETextBlock) {
|
|
1874
|
+
const firstNode = this.currentState.children[0].children[0];
|
|
1875
1875
|
firstNode.apply(new UpdateTextAction(text));
|
|
1876
1876
|
return firstNode;
|
|
1877
1877
|
}
|
|
@@ -1885,9 +1885,9 @@ class InsertTextHandler extends BaseHandler {
|
|
|
1885
1885
|
*/
|
|
1886
1886
|
insertTextToLineBreakNode(lineBreakNode, text) {
|
|
1887
1887
|
const { startOffset, endOffset } = this.selectionController.getCurrentRange();
|
|
1888
|
-
const textBlock = lineBreakNode.
|
|
1889
|
-
const index = textBlock.
|
|
1890
|
-
if (startOffset === 0 && startOffset === endOffset && textBlock.
|
|
1888
|
+
const textBlock = lineBreakNode.parent;
|
|
1889
|
+
const index = textBlock.children.indexOf(lineBreakNode);
|
|
1890
|
+
if (startOffset === 0 && startOffset === endOffset && textBlock.children[index + 1]) {
|
|
1891
1891
|
const newTextNode = lineBreakNode.cloneWithText(text);
|
|
1892
1892
|
textBlock.apply(new InsertNodesBeforeAction(lineBreakNode, newTextNode));
|
|
1893
1893
|
return newTextNode;
|
|
@@ -1925,7 +1925,7 @@ class InsertParagraphHandler extends BaseHandler {
|
|
|
1925
1925
|
// If the start or end block contains a list item block, it needs to be processed separately
|
|
1926
1926
|
if ((selectedBlocks.length && selectedBlocks[0].type === 'list-item') ||
|
|
1927
1927
|
selectedBlocks[selectedBlocks.length - 1].type === 'list-item') {
|
|
1928
|
-
const firstBlock = cursorNode.
|
|
1928
|
+
const firstBlock = cursorNode.parent;
|
|
1929
1929
|
const lastBlock = selectedBlocks[selectedBlocks.length - 1];
|
|
1930
1930
|
/**
|
|
1931
1931
|
* First block is list item
|
|
@@ -1968,7 +1968,7 @@ class InsertParagraphHandler extends BaseHandler {
|
|
|
1968
1968
|
*/
|
|
1969
1969
|
breakSingleBlock() {
|
|
1970
1970
|
const cursorNode = this.removeSelectionRange();
|
|
1971
|
-
const currentBlock = cursorNode.
|
|
1971
|
+
const currentBlock = cursorNode.parent;
|
|
1972
1972
|
const { startOffset } = this.selectionController.getCurrentRange();
|
|
1973
1973
|
if (currentBlock) {
|
|
1974
1974
|
const breakAction = new BreakSingleBlockAction(cursorNode, startOffset);
|
|
@@ -1982,8 +1982,8 @@ class InsertParagraphHandler extends BaseHandler {
|
|
|
1982
1982
|
* @param {RTEBlock} newBlock - Represents a new create block element in a rich text editor.
|
|
1983
1983
|
*/
|
|
1984
1984
|
switchCaretPositionToNextElement(newBlock) {
|
|
1985
|
-
if (newBlock && newBlock
|
|
1986
|
-
this.selectionController.enqueueSelectionRangeFutureState(newBlock[
|
|
1985
|
+
if (newBlock && newBlock.children) {
|
|
1986
|
+
this.selectionController.enqueueSelectionRangeFutureState(newBlock.children[0], 0);
|
|
1987
1987
|
}
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
@@ -2044,10 +2044,10 @@ class InsertLineBreakHandler extends BaseHandler {
|
|
|
2044
2044
|
*/
|
|
2045
2045
|
breakNewBlock() {
|
|
2046
2046
|
if (this.currentState &&
|
|
2047
|
-
this.currentState.
|
|
2048
|
-
this.currentState.
|
|
2049
|
-
const lineBreakAction = new LineBreakSingleBlockAction(this.currentState.
|
|
2050
|
-
this.currentState.
|
|
2047
|
+
this.currentState.children[0] &&
|
|
2048
|
+
this.currentState.children[0] instanceof RTETextBlock) {
|
|
2049
|
+
const lineBreakAction = new LineBreakSingleBlockAction(this.currentState.children[0].children[0], 0);
|
|
2050
|
+
this.currentState.children[0].apply(lineBreakAction);
|
|
2051
2051
|
this.switchCaretPositionToSpecifiedNode(lineBreakAction.lineBreakNode);
|
|
2052
2052
|
}
|
|
2053
2053
|
}
|
|
@@ -2066,7 +2066,7 @@ class InsertLineBreakHandler extends BaseHandler {
|
|
|
2066
2066
|
breakSingleBlock() {
|
|
2067
2067
|
const range = this.selectionController.getCurrentRange();
|
|
2068
2068
|
const cursorNode = this.removeSelectionRange();
|
|
2069
|
-
const currentBlock = cursorNode.
|
|
2069
|
+
const currentBlock = cursorNode.parent;
|
|
2070
2070
|
if (currentBlock) {
|
|
2071
2071
|
const lineBreakAction = new LineBreakSingleBlockAction(cursorNode, range.startOffset);
|
|
2072
2072
|
currentBlock.apply(lineBreakAction);
|
|
@@ -2080,7 +2080,7 @@ class InsertLineBreakHandler extends BaseHandler {
|
|
|
2080
2080
|
const selectedBlocks = this.selectionController.getSelectedBlocks();
|
|
2081
2081
|
const cursorNode = this.removeSelectionRange();
|
|
2082
2082
|
const lineBreakAction = new lineBreakMultipleBlocksAction(selectedBlocks);
|
|
2083
|
-
cursorNode.
|
|
2083
|
+
cursorNode.parent.apply(lineBreakAction);
|
|
2084
2084
|
this.switchCaretPositionToSpecifiedNode(lineBreakAction.lineBreakNode);
|
|
2085
2085
|
}
|
|
2086
2086
|
/**
|
|
@@ -2098,8 +2098,8 @@ class InsertLineBreakHandler extends BaseHandler {
|
|
|
2098
2098
|
* @returns {RTENode} The next sibling node of the current line break element, or the current node if next node is not exists.
|
|
2099
2099
|
*/
|
|
2100
2100
|
getNextRTENode(lineBreakNode) {
|
|
2101
|
-
const index = lineBreakNode.
|
|
2102
|
-
const nextNode = lineBreakNode.
|
|
2101
|
+
const index = lineBreakNode.parent.children.indexOf(lineBreakNode);
|
|
2102
|
+
const nextNode = lineBreakNode.parent.children[index + 1];
|
|
2103
2103
|
return nextNode || lineBreakNode;
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
@@ -2155,7 +2155,7 @@ class DeleteContentHandler extends BaseHandler {
|
|
|
2155
2155
|
else if (deleteAction.nextNode) {
|
|
2156
2156
|
this.selectionController.enqueueSelectionRangeFutureState(deleteAction.nextNode, 0);
|
|
2157
2157
|
}
|
|
2158
|
-
else if (this.currentState.
|
|
2158
|
+
else if (this.currentState.children.length === 0) {
|
|
2159
2159
|
// Add a empty paragraph if delete all content to make sure the caret position
|
|
2160
2160
|
this.insertDefaultParagraph();
|
|
2161
2161
|
}
|
|
@@ -2171,9 +2171,9 @@ class DeleteContentHandler extends BaseHandler {
|
|
|
2171
2171
|
if (selectedNodes.length > 1 &&
|
|
2172
2172
|
lastSelectedNode instanceof RTETextNode &&
|
|
2173
2173
|
lastSelectedNode.isEmpty()) {
|
|
2174
|
-
lastSelectedNode.
|
|
2174
|
+
lastSelectedNode.parent.apply(new RemoveChildAction(lastSelectedNode));
|
|
2175
2175
|
}
|
|
2176
|
-
this.convertFirstBlockToParagraph(cursorNode.
|
|
2176
|
+
this.convertFirstBlockToParagraph(cursorNode.parent);
|
|
2177
2177
|
}
|
|
2178
2178
|
/**
|
|
2179
2179
|
* If the first block is not paragraph, convert the block to paragraph after delete all text
|
|
@@ -2181,14 +2181,14 @@ class DeleteContentHandler extends BaseHandler {
|
|
|
2181
2181
|
* @param {RTEBlock} block - The first block instance
|
|
2182
2182
|
*/
|
|
2183
2183
|
convertFirstBlockToParagraph(block) {
|
|
2184
|
-
const firstBlock = this.currentState.
|
|
2184
|
+
const firstBlock = this.currentState.children[0];
|
|
2185
2185
|
if (firstBlock === block &&
|
|
2186
2186
|
block instanceof RTETextBlock &&
|
|
2187
|
-
block.
|
|
2188
|
-
block.
|
|
2187
|
+
block.children.length === 1 &&
|
|
2188
|
+
block.children[0].isEmpty() &&
|
|
2189
2189
|
block.type !== 'paragraph') {
|
|
2190
2190
|
const paragraph = this.createEmptyParagraph();
|
|
2191
|
-
paragraph.apply(new ReplaceChildNodesAction(block.
|
|
2191
|
+
paragraph.apply(new ReplaceChildNodesAction(block.children));
|
|
2192
2192
|
block.parent.apply(new InsertBlocksBeforeAction(block, paragraph));
|
|
2193
2193
|
block.parent.apply(new RemoveChildAction(block));
|
|
2194
2194
|
}
|
|
@@ -2199,7 +2199,7 @@ class DeleteContentHandler extends BaseHandler {
|
|
|
2199
2199
|
insertDefaultParagraph() {
|
|
2200
2200
|
const paragraph = this.createEmptyParagraph();
|
|
2201
2201
|
this.currentState.apply(new AppendChildNodesAction([paragraph]));
|
|
2202
|
-
this.selectionController.enqueueSelectionRangeFutureState(paragraph.
|
|
2202
|
+
this.selectionController.enqueueSelectionRangeFutureState(paragraph.children[0], 1);
|
|
2203
2203
|
}
|
|
2204
2204
|
/**
|
|
2205
2205
|
* Returns the end offset of a given node in a Rich Text Editor based on its type and text content.
|
|
@@ -2627,7 +2627,7 @@ class UlToRTEListBlockStrategy extends BlockToRTEBlockStrategyAbstract {
|
|
|
2627
2627
|
* @param {RTEListItemBlock[]} childBlocks - Current list item blocks.
|
|
2628
2628
|
*/
|
|
2629
2629
|
appendChildBlocks(currentBlock, childBlocks) {
|
|
2630
|
-
currentBlock.
|
|
2630
|
+
currentBlock.children = childBlocks;
|
|
2631
2631
|
childBlocks.forEach((block) => (block.parent = currentBlock));
|
|
2632
2632
|
}
|
|
2633
2633
|
/**
|
|
@@ -2675,7 +2675,7 @@ class LiToRTEListItemBlockStrategy extends BlockToRTEBlockStrategyAbstract {
|
|
|
2675
2675
|
* @param {RTEListItemBlock[]} childBlocks - Current list blocks.
|
|
2676
2676
|
*/
|
|
2677
2677
|
appendChildBlocks(currentBlock, childBlocks) {
|
|
2678
|
-
currentBlock.
|
|
2678
|
+
currentBlock.nestList = childBlocks.filter((block) => ['bullet-list', 'number-list'].includes(block.type));
|
|
2679
2679
|
}
|
|
2680
2680
|
/**
|
|
2681
2681
|
* Should continue process to child elements.
|
|
@@ -2927,7 +2927,7 @@ class OlToRTEListBlockStrategy extends BlockToRTEBlockStrategyAbstract {
|
|
|
2927
2927
|
* @param {RTEListItemBlock[]} childBlocks - Current list item blocks.
|
|
2928
2928
|
*/
|
|
2929
2929
|
appendChildBlocks(currentBlock, childBlocks) {
|
|
2930
|
-
currentBlock.
|
|
2930
|
+
currentBlock.children = childBlocks;
|
|
2931
2931
|
childBlocks.forEach((block) => (block.parent = currentBlock));
|
|
2932
2932
|
}
|
|
2933
2933
|
/**
|
|
@@ -3273,8 +3273,8 @@ class InsertPasteHandler extends BaseHandler {
|
|
|
3273
3273
|
*/
|
|
3274
3274
|
insertBlocksToContent(blocks) {
|
|
3275
3275
|
const cursorNode = this.removeSelectionRange();
|
|
3276
|
-
if (cursorNode && cursorNode.
|
|
3277
|
-
const currentBlock = cursorNode.
|
|
3276
|
+
if (cursorNode && cursorNode.parent) {
|
|
3277
|
+
const currentBlock = cursorNode.parent;
|
|
3278
3278
|
const { startOffset } = this.selectionController.getCurrentRange();
|
|
3279
3279
|
const breakAction = new SplitBlockWithNodeAction(cursorNode, startOffset);
|
|
3280
3280
|
currentBlock.apply(breakAction);
|
|
@@ -3290,7 +3290,7 @@ class InsertPasteHandler extends BaseHandler {
|
|
|
3290
3290
|
insertBlocksBeforeEmptyBlock(blocks) {
|
|
3291
3291
|
const cursorNode = this.removeSelectionRange();
|
|
3292
3292
|
/* istanbul ignore next */
|
|
3293
|
-
const currentBlock = cursorNode === null || cursorNode === void 0 ? void 0 : cursorNode.
|
|
3293
|
+
const currentBlock = cursorNode === null || cursorNode === void 0 ? void 0 : cursorNode.parent;
|
|
3294
3294
|
if (currentBlock) {
|
|
3295
3295
|
currentBlock.parent.apply(new InsertBlocksBeforeAction(currentBlock, ...blocks));
|
|
3296
3296
|
this.switchCaretPositionToNextElement(currentBlock);
|
|
@@ -3323,8 +3323,8 @@ class InsertPasteHandler extends BaseHandler {
|
|
|
3323
3323
|
* @param {RTEBlock} newBlock - Represents a new create block element in a rich text editor.
|
|
3324
3324
|
*/
|
|
3325
3325
|
switchCaretPositionToNextElement(newBlock) {
|
|
3326
|
-
if (newBlock && newBlock
|
|
3327
|
-
this.selectionController.enqueueSelectionRangeFutureState(newBlock[
|
|
3326
|
+
if (newBlock && newBlock.children) {
|
|
3327
|
+
this.selectionController.enqueueSelectionRangeFutureState(newBlock.children[0], 0);
|
|
3328
3328
|
}
|
|
3329
3329
|
}
|
|
3330
3330
|
/**
|
|
@@ -3531,7 +3531,7 @@ class InsertImageController extends VegaSlimmer {
|
|
|
3531
3531
|
const newImageNode = new RTEImageNode(generateUUID(), imageUrl, imageBlock);
|
|
3532
3532
|
newImageNode.apply(new ImageAnnotationAction('md', ''));
|
|
3533
3533
|
imageBlock.apply(new AppendChildNodesAction([newImageNode]));
|
|
3534
|
-
if (selectedBlocks.length < 1 || this.value.
|
|
3534
|
+
if (selectedBlocks.length < 1 || this.value.children.length < 1) {
|
|
3535
3535
|
this.value.apply(new AppendChildNodesAction([imageBlock]));
|
|
3536
3536
|
void this.valueController.flushChanges(this.value);
|
|
3537
3537
|
}
|
|
@@ -3649,7 +3649,7 @@ class FocusController extends VegaSlimmer {
|
|
|
3649
3649
|
* @returns {Promise<void>} - A promise that resolves when the focus is set
|
|
3650
3650
|
*/
|
|
3651
3651
|
async focusOnLastTextNode(options) {
|
|
3652
|
-
const lastBlock = this.value.
|
|
3652
|
+
const lastBlock = this.value.children[this.value.children.length - 1];
|
|
3653
3653
|
if (!(lastBlock instanceof RTETextBlock) || (options === null || options === void 0 ? void 0 : options.newLine)) {
|
|
3654
3654
|
const newTextBlock = RTETextBlock.from({
|
|
3655
3655
|
id: generateUUID(),
|
|
@@ -3875,11 +3875,11 @@ class InsertCompositionTextController extends VegaSlimmer {
|
|
|
3875
3875
|
* @param {RTETextNode} currentNode The current line break node, the text value is \n
|
|
3876
3876
|
*/
|
|
3877
3877
|
appendLineBreakNode(currentNode) {
|
|
3878
|
-
const textBlock = currentNode.
|
|
3879
|
-
const index = textBlock.
|
|
3880
|
-
if (textBlock.
|
|
3878
|
+
const textBlock = currentNode.parent;
|
|
3879
|
+
const index = textBlock.children.indexOf(currentNode);
|
|
3880
|
+
if (textBlock.children[index + 1]) {
|
|
3881
3881
|
const newTextNode = currentNode.cloneWithText('\n');
|
|
3882
|
-
textBlock.apply(new InsertNodesBeforeAction(textBlock.
|
|
3882
|
+
textBlock.apply(new InsertNodesBeforeAction(textBlock.children[index + 1], newTextNode));
|
|
3883
3883
|
}
|
|
3884
3884
|
}
|
|
3885
3885
|
/**
|
|
@@ -4040,7 +4040,7 @@ class DeleteSelectedNodesController extends VegaSlimmer {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
});
|
|
4042
4042
|
shouldRemovedItems.forEach((item) => {
|
|
4043
|
-
item.
|
|
4043
|
+
item.parent.apply(new RemoveChildAction(item));
|
|
4044
4044
|
});
|
|
4045
4045
|
}
|
|
4046
4046
|
this.removeRangeStartAndEndSelectedText();
|
|
@@ -4053,23 +4053,23 @@ class DeleteSelectedNodesController extends VegaSlimmer {
|
|
|
4053
4053
|
startOffset !== 1 &&
|
|
4054
4054
|
(endNode !== startNode || endOffset !== 0)) {
|
|
4055
4055
|
// the image block will be deleted when the image is the only item
|
|
4056
|
-
if (startNode.
|
|
4056
|
+
if (startNode.parent.children.length === 1) {
|
|
4057
4057
|
const paragraph = this.createEmptyParagraph();
|
|
4058
|
-
startNode.
|
|
4059
|
-
startNode.
|
|
4060
|
-
return paragraph.
|
|
4058
|
+
startNode.parent.parent.apply(new InsertBlocksBeforeAction(startNode.parent, paragraph));
|
|
4059
|
+
startNode.parent.apply(new RemoveChildAction(startNode));
|
|
4060
|
+
return paragraph.children[0];
|
|
4061
4061
|
}
|
|
4062
|
-
else if (startNode === startNode.
|
|
4062
|
+
else if (startNode === startNode.parent.children[0]) {
|
|
4063
4063
|
// the start node should be the next image item if the image is first item
|
|
4064
|
-
startNode.
|
|
4065
|
-
return startNode.
|
|
4064
|
+
startNode.parent.apply(new RemoveChildAction(startNode));
|
|
4065
|
+
return startNode.parent.children[0];
|
|
4066
4066
|
}
|
|
4067
4067
|
}
|
|
4068
4068
|
else if (startNode instanceof RTECodeBlockNode) {
|
|
4069
4069
|
const paragraph = this.createEmptyParagraph();
|
|
4070
|
-
startNode.
|
|
4071
|
-
startNode.
|
|
4072
|
-
return paragraph.
|
|
4070
|
+
startNode.parent.parent.apply(new InsertBlocksBeforeAction(startNode.parent, paragraph));
|
|
4071
|
+
startNode.parent.apply(new RemoveChildAction(startNode));
|
|
4072
|
+
return paragraph.children[0];
|
|
4073
4073
|
}
|
|
4074
4074
|
return startNode;
|
|
4075
4075
|
}
|
|
@@ -4109,24 +4109,24 @@ class DeleteSelectedNodesController extends VegaSlimmer {
|
|
|
4109
4109
|
const selectedNodes = this.selectionController.getSelectedNodes();
|
|
4110
4110
|
const startRTENode = selectedNodes[0];
|
|
4111
4111
|
const endRTENode = selectedNodes[selectedNodes.length - 1];
|
|
4112
|
-
if (startRTENode && startRTENode.
|
|
4113
|
-
const endBlock = endRTENode.
|
|
4112
|
+
if (startRTENode && startRTENode.parent && endRTENode && endRTENode.parent) {
|
|
4113
|
+
const endBlock = endRTENode.parent;
|
|
4114
4114
|
if (this.shouldMergeTextNode(startRTENode, endRTENode)) {
|
|
4115
4115
|
startRTENode.apply(new UpdateTextAction(startRTENode.text + endRTENode.text));
|
|
4116
|
-
if (startRTENode.
|
|
4117
|
-
startRTENode.
|
|
4116
|
+
if (startRTENode.parent === endRTENode.parent) {
|
|
4117
|
+
startRTENode.parent.apply(new RemoveChildAction(endRTENode));
|
|
4118
4118
|
}
|
|
4119
4119
|
else {
|
|
4120
|
-
endRTENode.
|
|
4120
|
+
endRTENode.parent.apply(new RemoveChildAction(endRTENode.parent.children[0]));
|
|
4121
4121
|
}
|
|
4122
4122
|
}
|
|
4123
4123
|
if (startRTENode instanceof RTETextNode &&
|
|
4124
4124
|
endRTENode instanceof RTETextNode &&
|
|
4125
|
-
startRTENode.
|
|
4126
|
-
startRTENode.
|
|
4127
|
-
endBlock.
|
|
4125
|
+
startRTENode.parent !== endRTENode.parent) {
|
|
4126
|
+
startRTENode.parent.apply(new AppendChildNodesAction(endBlock.children));
|
|
4127
|
+
endBlock.children = [];
|
|
4128
4128
|
}
|
|
4129
|
-
if (endBlock.
|
|
4129
|
+
if (endBlock.children.length < 1) {
|
|
4130
4130
|
endBlock.parent.apply(new RemoveChildAction(endBlock));
|
|
4131
4131
|
}
|
|
4132
4132
|
}
|
|
@@ -4303,7 +4303,7 @@ class CodeBlockToolbarButtonSlimmer extends ToolbarButtonSlimmer {
|
|
|
4303
4303
|
const transformToCodeBlockAction = new TransformToCodeBlockAction(selectedBlocks);
|
|
4304
4304
|
parentBlock.apply(transformToCodeBlockAction);
|
|
4305
4305
|
void this.valueController.flushChanges(this.value);
|
|
4306
|
-
this.selectionController.enqueueSelectionRangeFutureState(transformToCodeBlockAction.newCodeBlock.
|
|
4306
|
+
this.selectionController.enqueueSelectionRangeFutureState(transformToCodeBlockAction.newCodeBlock.children[0], 0);
|
|
4307
4307
|
}
|
|
4308
4308
|
}
|
|
4309
4309
|
/**
|
|
@@ -4379,7 +4379,7 @@ class InternalCodeBlockSelectionController extends AutoRunWhenReRenderTaskQueueS
|
|
|
4379
4379
|
* @returns {boolean} - The boolean result.
|
|
4380
4380
|
*/
|
|
4381
4381
|
isCodeBlockSelected(codeBlock, range) {
|
|
4382
|
-
const codeBlockNode = codeBlock.
|
|
4382
|
+
const codeBlockNode = codeBlock.children[0];
|
|
4383
4383
|
const entityDom = stateEntityRenderingRegistry.getDOMByEntity(codeBlockNode);
|
|
4384
4384
|
return (codeBlock.isSelected() ||
|
|
4385
4385
|
(entityDom &&
|
|
@@ -2,7 +2,7 @@ import { h, H as Host, r as registerInstance, c as createEvent, g as getElement
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-7d906393.js';
|
|
3
3
|
import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer, L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
4
4
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
5
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
5
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-464498b6.js';
|
|
6
6
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
7
7
|
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-93eeb87d.js';
|
|
8
8
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
@@ -39,8 +39,8 @@ import './index-44c794b4.js';
|
|
|
39
39
|
import './icon-manager-638dd4d4.js';
|
|
40
40
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
41
41
|
import './translation-71e0711d.js';
|
|
42
|
-
import './content-state-
|
|
43
|
-
import './code-block-
|
|
42
|
+
import './content-state-cf27d19b.js';
|
|
43
|
+
import './code-block-1cdb0599.js';
|
|
44
44
|
import './try-get-document-bef0f526.js';
|
|
45
45
|
import './dom-node-subject-observer-factory-c345ca2e.js';
|
|
46
46
|
import './string-be824360.js';
|
|
@@ -11,7 +11,7 @@ import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.j
|
|
|
11
11
|
import { V as VegaIconManager } from './icon-manager-638dd4d4.js';
|
|
12
12
|
import { c as createSubStateNotifySlimmer } from './sub-state-notify-slimmer-b6c8051c.js';
|
|
13
13
|
import { e as executeAfterTransition } from './effect-f50e072d.js';
|
|
14
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
14
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-464498b6.js';
|
|
15
15
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
16
16
|
import { u as VegaInternalSidenavLinkClick } from './vega-internal-event-id-178b2743.js';
|
|
17
17
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b5cb9b81.js';
|
|
@@ -38,8 +38,8 @@ import './feature-flag-controller-0fbe8fb0.js';
|
|
|
38
38
|
import './index-44c794b4.js';
|
|
39
39
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
40
40
|
import './translation-71e0711d.js';
|
|
41
|
-
import './content-state-
|
|
42
|
-
import './code-block-
|
|
41
|
+
import './content-state-cf27d19b.js';
|
|
42
|
+
import './code-block-1cdb0599.js';
|
|
43
43
|
|
|
44
44
|
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
45
45
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -5,7 +5,7 @@ import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.j
|
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-7d906393.js';
|
|
6
6
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
7
7
|
import { a as VegaClick, f as VegaChange } from './dom-node-subject-factory-6374611f.js';
|
|
8
|
-
import { f as formatAndValidResponsiveToken } from './design-token-
|
|
8
|
+
import { f as formatAndValidResponsiveToken } from './design-token-96e03257.js';
|
|
9
9
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
10
10
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
11
11
|
import { d as deepEqual } from './object-261e7344.js';
|
|
@@ -24,7 +24,7 @@ import './breakpoints-d9faf11c.js';
|
|
|
24
24
|
import './ui-8424715a.js';
|
|
25
25
|
import './regex-dfe11abf.js';
|
|
26
26
|
import './typography-396de03f.js';
|
|
27
|
-
import './responsive-format-facade-
|
|
27
|
+
import './responsive-format-facade-464498b6.js';
|
|
28
28
|
import './number-4398f2e1.js';
|
|
29
29
|
import './pixel-f32c07ce.js';
|
|
30
30
|
import './array-7888f339.js';
|
|
@@ -37,8 +37,8 @@ import './feature-flag-controller-0fbe8fb0.js';
|
|
|
37
37
|
import './index-44c794b4.js';
|
|
38
38
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
39
39
|
import './translation-71e0711d.js';
|
|
40
|
-
import './content-state-
|
|
41
|
-
import './code-block-
|
|
40
|
+
import './content-state-cf27d19b.js';
|
|
41
|
+
import './code-block-1cdb0599.js';
|
|
42
42
|
import './vega-internal-event-id-178b2743.js';
|
|
43
43
|
import './state-background-color-formatter-121ae7d3.js';
|
|
44
44
|
import './try-get-document-bef0f526.js';
|
|
@@ -11,7 +11,7 @@ import { d as domNodeSubjectFactory, a as VegaClick, f as VegaChange, L as VegaP
|
|
|
11
11
|
import { r as remoteInvocationRegistry } from './remote-invocation-registry-d69245c2.js';
|
|
12
12
|
import { C as VegaInternalTableRowExpand, D as VegaInternalTableRowSelect, E as VegaInternalTableRowSelectAll, F as VegaInternalTableHeadCellSortEvent } from './vega-internal-event-id-178b2743.js';
|
|
13
13
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
14
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
14
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-464498b6.js';
|
|
15
15
|
import { i as isNonNullable, s as isBreakpointsTokenType } from './type-guard-158f6d7a.js';
|
|
16
16
|
import { s as sanitizeVegaComponent } from './component-7d906393.js';
|
|
17
17
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
@@ -39,8 +39,8 @@ import './vega-env-manager-8f8dc473.js';
|
|
|
39
39
|
import './icon-manager-638dd4d4.js';
|
|
40
40
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
41
41
|
import './translation-71e0711d.js';
|
|
42
|
-
import './content-state-
|
|
43
|
-
import './code-block-
|
|
42
|
+
import './content-state-cf27d19b.js';
|
|
43
|
+
import './code-block-1cdb0599.js';
|
|
44
44
|
import './dark-mode-style-controller-ea798fc8.js';
|
|
45
45
|
import './_commonjsHelpers-9943807e.js';
|
|
46
46
|
import './regex-dfe11abf.js';
|
|
@@ -13,7 +13,7 @@ import { a as isTimeStr, p as pad, e as convert12HourTo24HourFormat } from './da
|
|
|
13
13
|
import { i as isArrayEqual } from './array-7888f339.js';
|
|
14
14
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
15
15
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
16
|
-
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-
|
|
16
|
+
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-00dcccb9.js';
|
|
17
17
|
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-a4cc9593.js';
|
|
18
18
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
19
19
|
import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
@@ -38,15 +38,15 @@ import './vega-skeleton-loader-controller-9d1ffa6c.js';
|
|
|
38
38
|
import './dark-mode-style-controller-ea798fc8.js';
|
|
39
39
|
import './_commonjsHelpers-9943807e.js';
|
|
40
40
|
import './internal-vega-event-manager-d80c53c5.js';
|
|
41
|
-
import './responsive-format-facade-
|
|
41
|
+
import './responsive-format-facade-464498b6.js';
|
|
42
42
|
import './pixel-f32c07ce.js';
|
|
43
43
|
import './vega-env-manager-8f8dc473.js';
|
|
44
44
|
import './feature-flag-controller-0fbe8fb0.js';
|
|
45
45
|
import './index-44c794b4.js';
|
|
46
46
|
import './icon-manager-638dd4d4.js';
|
|
47
47
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
48
|
-
import './content-state-
|
|
49
|
-
import './code-block-
|
|
48
|
+
import './content-state-cf27d19b.js';
|
|
49
|
+
import './code-block-1cdb0599.js';
|
|
50
50
|
import './keyboard-manager-f496a623.js';
|
|
51
51
|
import './regex-dfe11abf.js';
|
|
52
52
|
import './typography-396de03f.js';
|
|
@@ -3,7 +3,7 @@ import { s as sanitizeVegaComponent } from './component-7d906393.js';
|
|
|
3
3
|
import { I as InjectKeyboardManager } from './inject-keyboard-manager-a15cf43c.js';
|
|
4
4
|
import { c as MapToComponentField, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
6
|
-
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-
|
|
6
|
+
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-00dcccb9.js';
|
|
7
7
|
import { c as createDeprecatedPropertySlimmer } from './deprecated-property-slimmer-32575f02.js';
|
|
8
8
|
import './keyboard-manager-f496a623.js';
|
|
9
9
|
import './ui-7d177fb0.js';
|
|
@@ -25,7 +25,7 @@ import './_commonjsHelpers-9943807e.js';
|
|
|
25
25
|
import './internal-vega-event-manager-d80c53c5.js';
|
|
26
26
|
import './dom-node-subject-factory-6374611f.js';
|
|
27
27
|
import './number-4398f2e1.js';
|
|
28
|
-
import './responsive-format-facade-
|
|
28
|
+
import './responsive-format-facade-464498b6.js';
|
|
29
29
|
import './pixel-f32c07ce.js';
|
|
30
30
|
import './array-7888f339.js';
|
|
31
31
|
import './vega-env-manager-8f8dc473.js';
|
|
@@ -34,8 +34,8 @@ import './index-44c794b4.js';
|
|
|
34
34
|
import './icon-manager-638dd4d4.js';
|
|
35
35
|
import './wait-for-vega-handler-e0a928cd.js';
|
|
36
36
|
import './translation-71e0711d.js';
|
|
37
|
-
import './content-state-
|
|
38
|
-
import './code-block-
|
|
37
|
+
import './content-state-cf27d19b.js';
|
|
38
|
+
import './code-block-1cdb0599.js';
|
|
39
39
|
import './vega-internal-event-id-178b2743.js';
|
|
40
40
|
import './dom-node-subject-observer-factory-c345ca2e.js';
|
|
41
41
|
import './object-261e7344.js';
|