@globalpayments/vega 2.55.1 → 2.57.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-26e2fe1e.js} +9 -9
- package/dist/cjs/{child-nodes-event-prevent-slimmer-29020cc8.js → child-nodes-event-prevent-slimmer-96240a0e.js} +1 -1
- package/dist/cjs/{code-block-2d014e17.js → code-block-7650c868.js} +102 -113
- package/dist/cjs/{component-usage-runtime-metrics-dcb32c24.js → component-usage-runtime-metrics-d10ace87.js} +1 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-6bfb9145.js → component-value-history-controller-slimmer.abstract-a6e4e5bc.js} +7 -7
- package/dist/cjs/{content-state-6a5da7ec.js → content-state-fd5ad4a8.js} +92 -86
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-a3d17afb.js → create-public-api-runtime-metrics-slimmer-e2e274e1.js} +1 -1
- package/dist/cjs/{design-token-d15e60fa.js → design-token-e771bb16.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-2f16891f.js → element-appender-slimmer-7f98d16b.js} +4 -4
- package/dist/cjs/{feature-flag-controller-5e58aae4.js → feature-flag-controller-ce2162c8.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-dc6d0fe1.js → form-field-controller-slimmer-7bb7df10.js} +4 -4
- package/dist/cjs/{icon-manager-9a47399c.js → icon-manager-9072356d.js} +1 -1
- package/dist/cjs/{image-annotation-action-617bbb13.js → image-annotation-action-6715d6f3.js} +2 -2
- package/dist/cjs/{index-8b247c17.js → index-4d7bce1a.js} +2 -2
- package/dist/cjs/{index-ebb1bb17.js → index-ee4bc191.js} +2 -2
- package/dist/cjs/index.cjs.js +16 -16
- package/dist/cjs/{inject-keyboard-manager-11df8296.js → inject-keyboard-manager-f1f781b7.js} +1 -1
- package/dist/cjs/{internal-icon-manager-00f49470.js → internal-icon-manager-f8677abb.js} +1 -1
- package/dist/cjs/{keyboard-manager-1843112c.js → keyboard-manager-0be55fb9.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-0a5f5770.js → keyboard-manager-slimmer-92c7227b.js} +1 -1
- package/dist/cjs/loader.cjs.js +14 -14
- package/dist/cjs/{public-rules-a3b7e267.js → public-rules-036795a4.js} +6 -6
- package/dist/cjs/{responsive-format-facade-4a19e115.js → responsive-format-facade-d164ced7.js} +7 -7
- package/dist/cjs/{rich-text-editor-required-rule-e9c7c379.js → rich-text-editor-required-rule-91eb0e22.js} +3 -3
- package/dist/cjs/{state-background-color-formatter-e585a027.js → state-background-color-formatter-c57409ea.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-a5feb2ed.js → string-input-formatter-slimmer-92ab034f.js} +3 -3
- package/dist/cjs/{style-formatter-b8cea5ee.js → style-formatter-3e7af35b.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-f68fbf29.js → sub-state-notify-slimmer-409bbd1a.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-e06cdf7e.js → sub-state-observer-slimmer-93d0a609.js} +1 -1
- package/dist/cjs/{translation-e5003a00.js → translation-de7e351e.js} +1 -1
- package/dist/cjs/{translation-slimmer-127a0f83.js → translation-slimmer-83bdb9fe.js} +1 -1
- package/dist/cjs/{type-guard-4ba85fdc.js → type-guard-aa8fdeaf.js} +16 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +16 -16
- package/dist/cjs/vega-app-footer.cjs.entry.js +1 -1
- package/dist/cjs/vega-app-header-button.cjs.entry.js +17 -17
- package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/vega-banner.cjs.entry.js +6 -6
- package/dist/cjs/vega-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-box.cjs.entry.js +16 -16
- package/dist/cjs/vega-brand-logo.cjs.entry.js +4 -4
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +16 -16
- package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +14 -14
- package/dist/cjs/vega-calendar_3.cjs.entry.js +63 -24
- package/dist/cjs/vega-card.cjs.entry.js +15 -15
- package/dist/cjs/vega-carousel.cjs.entry.js +13 -13
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-chip.cjs.entry.js +16 -16
- package/dist/cjs/vega-code-block.cjs.entry.js +15 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
- package/dist/cjs/vega-combo-box.cjs.entry.js +12 -12
- package/dist/cjs/vega-counter-badge.cjs.entry.js +1 -1
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
- package/dist/cjs/vega-dialog_2.cjs.entry.js +16 -16
- package/dist/cjs/vega-divider.cjs.entry.js +15 -15
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +23 -22
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
- package/dist/cjs/vega-field-label.cjs.entry.js +1 -1
- package/dist/cjs/vega-file-uploader.cjs.entry.js +9 -9
- package/dist/cjs/vega-flag-icon.cjs.entry.js +16 -16
- package/dist/cjs/vega-flex.cjs.entry.js +16 -16
- package/dist/cjs/vega-font.cjs.entry.js +15 -15
- package/dist/cjs/vega-form.cjs.entry.js +10 -10
- package/dist/cjs/vega-grid.cjs.entry.js +15 -15
- package/dist/cjs/vega-hint.cjs.entry.js +1 -1
- package/dist/cjs/vega-icon.cjs.entry.js +15 -15
- package/dist/cjs/vega-image-uploader.cjs.entry.js +17 -17
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-numeric.cjs.entry.js +13 -13
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +16 -16
- package/dist/cjs/vega-input-range.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-select.cjs.entry.js +18 -18
- package/dist/cjs/vega-input.cjs.entry.js +10 -10
- package/dist/cjs/{vega-internal-event-id-6cdc95fe.js → vega-internal-event-id-bda08efa.js} +6 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +1 -1
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +18 -18
- package/dist/cjs/vega-line-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +5 -5
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +5 -5
- package/dist/cjs/vega-pagination.cjs.entry.js +15 -15
- package/dist/cjs/vega-pie-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-popover_2.cjs.entry.js +16 -16
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/vega-radio_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +22 -22
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +86 -86
- package/dist/cjs/vega-section-title.cjs.entry.js +1 -1
- package/dist/cjs/vega-segment-control.cjs.entry.js +1 -1
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +17 -17
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +16 -16
- package/dist/cjs/vega-signature-capture.cjs.entry.js +19 -19
- package/dist/cjs/{vega-skeleton-loader-controller-3833c813.js → vega-skeleton-loader-controller-d534f5a1.js} +1 -1
- package/dist/cjs/vega-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/vega-slot-container.cjs.entry.js +1 -1
- package/dist/cjs/vega-stepper.cjs.entry.js +9 -9
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-table_8.cjs.entry.js +1474 -316
- package/dist/cjs/vega-text.cjs.entry.js +1 -1
- package/dist/cjs/vega-textarea.cjs.entry.js +9 -9
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +16 -16
- package/dist/cjs/vega.cjs.js +14 -14
- package/dist/cjs/{wait-for-vega-handler-4491efc9.js → wait-for-vega-handler-5469ff80.js} +1 -1
- 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/components/vega-table/slimmers/controllers/dto/column-render-input-model.js +216 -0
- package/dist/collection/components/vega-table/slimmers/controllers/dto/column-structure-model.js +238 -0
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.js +147 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.js +66 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-input-controller.js +171 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +6 -1
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +22 -4
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +13 -3
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +43 -6
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +175 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +7 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +6 -5
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +41 -0
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-row-state-controller.js +48 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +58 -11
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +49 -6
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +5 -1
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +11 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +15 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +42 -11
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +45 -9
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +53 -10
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +37 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +5 -16
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +21 -0
- package/dist/collection/components/vega-table/vega-table.css +22 -0
- package/dist/collection/components/vega-table/vega-table.js +52 -1
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +3 -0
- package/dist/collection/helpers/validator/rules/rich-text-editor-required-rule.js +2 -2
- package/dist/collection/types/type-guard.js +15 -0
- package/dist/esm/{app-globals-4881974a.js → app-globals-366415b3.js} +9 -9
- package/dist/esm/{child-nodes-event-prevent-slimmer-2b975cbf.js → child-nodes-event-prevent-slimmer-b59a578e.js} +1 -1
- package/dist/esm/{code-block-ef2f04ca.js → code-block-73869a3c.js} +102 -113
- package/dist/esm/{component-usage-runtime-metrics-385c7124.js → component-usage-runtime-metrics-a84cc93e.js} +1 -1
- package/dist/esm/{component-value-history-controller-slimmer.abstract-0a0ef33f.js → component-value-history-controller-slimmer.abstract-dfe89c93.js} +7 -7
- package/dist/esm/{content-state-69d29a07.js → content-state-953906e8.js} +92 -86
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-8ada793f.js → create-public-api-runtime-metrics-slimmer-bedf3a1e.js} +1 -1
- package/dist/esm/{design-token-9bbefd23.js → design-token-28a0a2e6.js} +3 -3
- package/dist/esm/{element-appender-slimmer-8652e8d7.js → element-appender-slimmer-7b9f4a8e.js} +4 -4
- package/dist/esm/{feature-flag-controller-0fbe8fb0.js → feature-flag-controller-51659753.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-6f49d396.js → form-field-controller-slimmer-707a6da2.js} +4 -4
- package/dist/esm/{icon-manager-638dd4d4.js → icon-manager-2ee1c619.js} +1 -1
- package/dist/esm/{image-annotation-action-1497f70e.js → image-annotation-action-5bfda07c.js} +2 -2
- package/dist/esm/{index-f5d2fe61.js → index-3e551cbe.js} +2 -2
- package/dist/esm/{index-44c794b4.js → index-e9da316f.js} +2 -2
- package/dist/esm/index.js +16 -16
- package/dist/esm/{inject-keyboard-manager-a15cf43c.js → inject-keyboard-manager-5141d09a.js} +1 -1
- package/dist/esm/{internal-icon-manager-58cf8aa6.js → internal-icon-manager-7eac52c8.js} +1 -1
- package/dist/esm/{keyboard-manager-f496a623.js → keyboard-manager-3ffe81b0.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-a4cc9593.js → keyboard-manager-slimmer-751e98f5.js} +1 -1
- package/dist/esm/loader.js +14 -14
- package/dist/esm/{public-rules-3436034b.js → public-rules-c5d2c1e1.js} +6 -6
- package/dist/esm/{responsive-format-facade-bcc2fd21.js → responsive-format-facade-60731164.js} +7 -7
- package/dist/esm/{rich-text-editor-required-rule-cc5b6a2d.js → rich-text-editor-required-rule-4429066e.js} +3 -3
- package/dist/esm/{state-background-color-formatter-121ae7d3.js → state-background-color-formatter-da5e76e8.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-e53b6412.js → string-input-formatter-slimmer-6ab5cad6.js} +3 -3
- package/dist/esm/{style-formatter-00d6c32f.js → style-formatter-57fc600a.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-b6c8051c.js → sub-state-notify-slimmer-1c4d1e78.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-93eeb87d.js → sub-state-observer-slimmer-1e9af9ec.js} +1 -1
- package/dist/esm/{translation-71e0711d.js → translation-a6eacb5f.js} +1 -1
- package/dist/esm/{translation-slimmer-e6b130bf.js → translation-slimmer-f28e4708.js} +1 -1
- package/dist/esm/{type-guard-158f6d7a.js → type-guard-84b1f192.js} +16 -1
- package/dist/esm/vega-accordion.entry.js +16 -16
- package/dist/esm/vega-app-footer.entry.js +1 -1
- package/dist/esm/vega-app-header-button.entry.js +17 -17
- package/dist/esm/vega-backdrop.entry.js +1 -1
- package/dist/esm/vega-banner.entry.js +6 -6
- package/dist/esm/vega-bar-chart.entry.js +1 -1
- package/dist/esm/vega-box.entry.js +16 -16
- package/dist/esm/vega-brand-logo.entry.js +4 -4
- package/dist/esm/vega-breadcrumb.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +16 -16
- package/dist/esm/vega-button-group_2.entry.js +7 -7
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +14 -14
- package/dist/esm/vega-calendar_3.entry.js +63 -24
- package/dist/esm/vega-card.entry.js +15 -15
- package/dist/esm/vega-carousel.entry.js +13 -13
- package/dist/esm/vega-checkbox_2.entry.js +9 -9
- package/dist/esm/vega-chip.entry.js +16 -16
- package/dist/esm/vega-code-block.entry.js +15 -15
- package/dist/esm/vega-color-picker.entry.js +6 -6
- package/dist/esm/vega-combo-box.entry.js +12 -12
- package/dist/esm/vega-counter-badge.entry.js +1 -1
- package/dist/esm/vega-date-picker_2.entry.js +23 -23
- package/dist/esm/vega-dialog_2.entry.js +16 -16
- package/dist/esm/vega-divider.entry.js +15 -15
- package/dist/esm/vega-dropdown_5.entry.js +23 -22
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-error.entry.js +1 -1
- package/dist/esm/vega-field-label.entry.js +1 -1
- package/dist/esm/vega-file-uploader.entry.js +9 -9
- package/dist/esm/vega-flag-icon.entry.js +16 -16
- package/dist/esm/vega-flex.entry.js +16 -16
- package/dist/esm/vega-font.entry.js +15 -15
- package/dist/esm/vega-form.entry.js +10 -10
- package/dist/esm/vega-grid.entry.js +15 -15
- package/dist/esm/vega-hint.entry.js +1 -1
- package/dist/esm/vega-icon.entry.js +15 -15
- package/dist/esm/vega-image-uploader.entry.js +17 -17
- package/dist/esm/vega-input-credit-card.entry.js +11 -11
- package/dist/esm/vega-input-numeric.entry.js +13 -13
- package/dist/esm/vega-input-phone-number.entry.js +16 -16
- package/dist/esm/vega-input-range.entry.js +10 -10
- package/dist/esm/vega-input-select.entry.js +18 -18
- package/dist/esm/vega-input.entry.js +10 -10
- package/dist/esm/{vega-internal-event-id-178b2743.js → vega-internal-event-id-f0ea2bab.js} +4 -1
- package/dist/esm/vega-item-toggle.entry.js +1 -1
- package/dist/esm/vega-left-nav_5.entry.js +18 -18
- package/dist/esm/vega-line-chart.entry.js +1 -1
- package/dist/esm/vega-loader-wrapper_2.entry.js +13 -13
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +5 -5
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +5 -5
- package/dist/esm/vega-pagination.entry.js +15 -15
- package/dist/esm/vega-pie-chart.entry.js +1 -1
- package/dist/esm/vega-popover_2.entry.js +16 -16
- package/dist/esm/vega-progress-tracker.entry.js +1 -1
- package/dist/esm/vega-radio_2.entry.js +12 -12
- package/dist/esm/vega-rich-text-content.entry.js +22 -22
- package/dist/esm/vega-rich-text-editor_4.entry.js +86 -86
- package/dist/esm/vega-section-title.entry.js +1 -1
- package/dist/esm/vega-segment-control.entry.js +1 -1
- package/dist/esm/vega-selection-chip_2.entry.js +17 -17
- package/dist/esm/vega-selection-tile_2.entry.js +10 -10
- package/dist/esm/vega-sidenav_3.entry.js +16 -16
- package/dist/esm/vega-signature-capture.entry.js +19 -19
- package/dist/esm/{vega-skeleton-loader-controller-9d1ffa6c.js → vega-skeleton-loader-controller-3f6faa17.js} +1 -1
- package/dist/esm/vega-skeleton.entry.js +1 -1
- package/dist/esm/vega-slot-container.entry.js +1 -1
- package/dist/esm/vega-stepper.entry.js +9 -9
- package/dist/esm/vega-tab-group_2.entry.js +4 -4
- package/dist/esm/vega-table_8.entry.js +1475 -317
- package/dist/esm/vega-text.entry.js +1 -1
- package/dist/esm/vega-textarea.entry.js +9 -9
- package/dist/esm/vega-time-picker_2.entry.js +20 -20
- package/dist/esm/vega-toggle-switch.entry.js +6 -6
- package/dist/esm/vega-tooltip_2.entry.js +16 -16
- package/dist/esm/vega.js +14 -14
- package/dist/esm/{wait-for-vega-handler-e0a928cd.js → wait-for-vega-handler-c2c07ac3.js} +1 -1
- 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/vega-table/interface.d.ts +31 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/column-render-input-model.d.ts +138 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/column-structure-model.d.ts +140 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-column-structure-model-controller.d.ts +35 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-input-controller.d.ts +103 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +5 -2
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +4 -1
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +1 -1
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +4 -0
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-row-state-controller.d.ts +15 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +10 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +8 -1
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table.d.ts +17 -1
- package/dist/types/components.d.ts +36 -2
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +3 -0
- package/dist/types/types/components.type.d.ts +3 -0
- package/dist/types/types/type-guard.d.ts +10 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-6681efd5.js → p-007bf7df.js} +1 -1
- package/dist/vega/{p-0e8324f2.entry.js → p-0496f1cb.entry.js} +1 -1
- package/dist/vega/{p-ecd9a973.entry.js → p-0604563a.entry.js} +1 -1
- package/dist/vega/{p-c212a1e3.entry.js → p-07927476.entry.js} +1 -1
- package/dist/vega/{p-f50cd6c3.entry.js → p-0b77c6c9.entry.js} +1 -1
- package/dist/vega/{p-7e70938a.entry.js → p-1792a352.entry.js} +1 -1
- package/dist/vega/{p-13ca73c7.entry.js → p-1c4d05de.entry.js} +1 -1
- package/dist/vega/p-1e3f4007.entry.js +1 -0
- package/dist/vega/{p-c48a8510.entry.js → p-21a7530c.entry.js} +1 -1
- package/dist/vega/{p-b89a9760.js → p-2458ad97.js} +1 -1
- package/dist/vega/{p-72e14f49.entry.js → p-27dca371.entry.js} +1 -1
- package/dist/vega/{p-f7062473.entry.js → p-2873b600.entry.js} +1 -1
- package/dist/vega/{p-79370ad4.entry.js → p-29f4cbed.entry.js} +1 -1
- package/dist/vega/{p-c5afd9aa.entry.js → p-2ebef70f.entry.js} +1 -1
- package/dist/vega/{p-578ac47f.entry.js → p-311f338d.entry.js} +1 -1
- package/dist/vega/{p-cb36ccf0.entry.js → p-34643550.entry.js} +1 -1
- package/dist/vega/{p-5016b57e.entry.js → p-34dc3f71.entry.js} +1 -1
- package/dist/vega/{p-a63e2fee.entry.js → p-39049341.entry.js} +1 -1
- package/dist/vega/{p-a2c4c241.entry.js → p-397b5d91.entry.js} +1 -1
- package/dist/vega/{p-61e1e356.entry.js → p-3a7e897b.entry.js} +1 -1
- package/dist/vega/{p-06cd4a19.entry.js → p-41465ad0.entry.js} +1 -1
- package/dist/vega/{p-002062c3.entry.js → p-44880bdf.entry.js} +1 -1
- package/dist/vega/{p-7a8b6f2f.entry.js → p-4674c318.entry.js} +1 -1
- package/dist/vega/{p-c8a87f06.entry.js → p-47e89c0e.entry.js} +1 -1
- package/dist/vega/p-49fd1009.js +1 -0
- package/dist/vega/{p-6bd7114d.entry.js → p-4c871d0f.entry.js} +1 -1
- package/dist/vega/{p-8e31e7ea.js → p-4f5eb8d5.js} +1 -1
- package/dist/vega/{p-72a4edf2.entry.js → p-500684e1.entry.js} +1 -1
- package/dist/vega/p-51297b96.js +1 -0
- package/dist/vega/{p-bbdc6170.entry.js → p-5130bb06.entry.js} +1 -1
- package/dist/vega/{p-84a31a31.entry.js → p-51a4dc20.entry.js} +1 -1
- package/dist/vega/p-53e9595f.js +1 -0
- package/dist/vega/{p-bba5b112.entry.js → p-59282fc8.entry.js} +1 -1
- package/dist/vega/{p-fa5eb496.js → p-5d676a94.js} +1 -1
- package/dist/vega/{p-46eb330f.entry.js → p-5dec9bd9.entry.js} +1 -1
- package/dist/vega/{p-b1f65b13.js → p-5e2c9e69.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-e860318d.entry.js → p-5f6b942c.entry.js} +1 -1
- package/dist/vega/{p-b6e0d996.entry.js → p-6131f229.entry.js} +1 -1
- package/dist/vega/p-65d8c2bc.js +1 -0
- package/dist/vega/{p-6419abd9.entry.js → p-66e9d31a.entry.js} +1 -1
- package/dist/vega/{p-9a0d3d2d.entry.js → p-6acf0a51.entry.js} +1 -1
- package/dist/vega/{p-7503fe08.entry.js → p-6dad2e5c.entry.js} +1 -1
- package/dist/vega/{p-da1d0c02.js → p-6e1b5949.js} +1 -1
- package/dist/vega/{p-4f5079bc.entry.js → p-6ec338b0.entry.js} +1 -1
- package/dist/vega/{p-246090cf.entry.js → p-75ff12da.entry.js} +1 -1
- package/dist/vega/{p-1b165fbb.entry.js → p-766ed063.entry.js} +1 -1
- package/dist/vega/{p-78937642.entry.js → p-76818196.entry.js} +1 -1
- package/dist/vega/p-79a0a06c.js +1 -0
- package/dist/vega/p-79c2282c.entry.js +1 -0
- package/dist/vega/p-7c0004dc.entry.js +1 -0
- package/dist/vega/{p-0ce88865.entry.js → p-7c348ac7.entry.js} +1 -1
- package/dist/vega/{p-fc790de5.entry.js → p-7d5ebd26.entry.js} +1 -1
- package/dist/vega/p-81ed90d5.js +1 -0
- package/dist/vega/p-8246f8ae.js +1 -0
- package/dist/vega/{p-aab6f547.entry.js → p-82b18195.entry.js} +1 -1
- package/dist/vega/{p-cc6410e6.js → p-832b59af.js} +1 -1
- package/dist/vega/{p-5c9efff8.entry.js → p-86a300e8.entry.js} +1 -1
- package/dist/vega/{p-43ba9a8a.entry.js → p-888dc143.entry.js} +1 -1
- package/dist/vega/{p-da95668c.entry.js → p-8ba8a7cc.entry.js} +1 -1
- package/dist/vega/{p-cc63e827.js → p-8c46e116.js} +1 -1
- package/dist/vega/{p-6ec0e3ce.entry.js → p-8e581755.entry.js} +1 -1
- package/dist/vega/{p-a46ac2eb.js → p-8e662f26.js} +1 -1
- package/dist/vega/{p-fac5990f.entry.js → p-8fb5bcb0.entry.js} +1 -1
- package/dist/vega/p-9481c073.entry.js +1 -0
- package/dist/vega/{p-ad858290.entry.js → p-99c4559e.entry.js} +1 -1
- package/dist/vega/{p-4ab3df00.js → p-9d6003ef.js} +1 -1
- package/dist/vega/{p-f3ec4ae6.entry.js → p-a1e50e6c.entry.js} +1 -1
- package/dist/vega/{p-f17c9093.entry.js → p-a2ef3429.entry.js} +1 -1
- package/dist/vega/p-a33c6652.entry.js +1 -0
- package/dist/vega/p-a4670e23.js +1 -0
- package/dist/vega/{p-8270bb8f.entry.js → p-a92a8172.entry.js} +1 -1
- package/dist/vega/{p-f9cf7e36.js → p-aed3320d.js} +1 -1
- package/dist/vega/{p-c7e2a155.entry.js → p-b449fe9a.entry.js} +1 -1
- package/dist/vega/{p-cce253c2.entry.js → p-b44ebc84.entry.js} +2 -2
- package/dist/vega/{p-5e530257.js → p-b8d7d4a9.js} +1 -1
- package/dist/vega/{p-d5f1794e.js → p-bcdb235d.js} +1 -1
- package/dist/vega/{p-36827489.entry.js → p-bd84b7b9.entry.js} +1 -1
- package/dist/vega/p-bdaf1143.entry.js +1 -0
- package/dist/vega/{p-ac3a2d9c.entry.js → p-c42ec0ac.entry.js} +1 -1
- package/dist/vega/{p-9dc9fcf3.js → p-cd3d468c.js} +1 -1
- package/dist/vega/{p-9c0cda62.js → p-ce14af16.js} +1 -1
- package/dist/vega/{p-1d41f551.entry.js → p-d5ab867e.entry.js} +1 -1
- package/dist/vega/{p-6b7dca3e.js → p-d789b291.js} +1 -1
- package/dist/vega/{p-9a9766cc.entry.js → p-d82ceacf.entry.js} +1 -1
- package/dist/vega/p-d849e0f5.js +1 -0
- package/dist/vega/{p-7a40e033.js → p-db8cdba6.js} +1 -1
- package/dist/vega/{p-586139ce.entry.js → p-dc16e6ba.entry.js} +1 -1
- package/dist/vega/{p-c9f544bd.entry.js → p-e277ea73.entry.js} +1 -1
- package/dist/vega/{p-201a78a2.entry.js → p-e28fcf04.entry.js} +1 -1
- package/dist/vega/{p-1e4b6f0a.entry.js → p-e32efc2e.entry.js} +1 -1
- package/dist/vega/{p-5a6b8846.entry.js → p-e5196440.entry.js} +1 -1
- package/dist/vega/{p-4d793cb0.js → p-e77a83e4.js} +1 -1
- package/dist/vega/{p-c990e249.js → p-e940bc37.js} +1 -1
- package/dist/vega/{p-138fcf6e.js → p-ecd032fc.js} +1 -1
- package/dist/vega/{p-c9b9322b.js → p-f08a4adf.js} +1 -1
- package/dist/vega/{p-151dec6a.entry.js → p-f3bd26a1.entry.js} +1 -1
- package/dist/vega/p-f3f7d059.entry.js +1 -0
- package/dist/vega/{p-56dc1345.entry.js → p-f4546425.entry.js} +1 -1
- package/dist/vega/{p-7704a608.entry.js → p-f4a7acff.entry.js} +1 -1
- package/dist/vega/{p-cae183fd.entry.js → p-f79c82c7.entry.js} +1 -1
- package/dist/vega/{p-4df90a1b.entry.js → p-f8e0e4f0.entry.js} +1 -1
- package/dist/vega/p-f8f8e7d2.entry.js +1 -0
- package/dist/vega/{p-73821eba.entry.js → p-f940b7f7.entry.js} +1 -1
- package/dist/vega/{p-327be043.js → p-fb8c99c5.js} +1 -1
- package/dist/vega/p-fcb04960.js +1 -0
- package/dist/vega/{p-822cd8e5.js → p-fd2f699b.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +6 -2
- package/dist/vega/p-063d0bee.entry.js +0 -1
- package/dist/vega/p-2205ee4c.js +0 -1
- package/dist/vega/p-23064067.entry.js +0 -1
- package/dist/vega/p-37b05e0b.js +0 -1
- package/dist/vega/p-3eb2d433.js +0 -1
- package/dist/vega/p-3fa7d356.js +0 -1
- package/dist/vega/p-425ba7d6.js +0 -1
- package/dist/vega/p-4387d550.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-7cb11f3f.entry.js +0 -1
- package/dist/vega/p-c10b4f47.entry.js +0 -1
- package/dist/vega/p-ca91268b.entry.js +0 -1
- package/dist/vega/p-d64b20c2.js +0 -1
- package/dist/vega/p-ec3495de.entry.js +0 -1
- package/dist/vega/p-f4a13f3f.js +0 -1
- package/dist/vega/p-fecb4044.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BlockDeleteNodeContentStrategy, R as RemoveChildAction, a as RTEImageNode, A as ActionHandleStrategy, b as ReplaceChildNodesAction, I as InsertBlocksAfterAction, c as AppendChildNodesAction, d as RTETextBlock, e as InsertBlocksBeforeAction, S as SplitBlockWithNodeAction, M as ModifyContentAction, f as ModifyContentActionType, g as RTETextNode, h as BlockReplaceNodeWithNodesStrategy, i as RTEBlock, j as ActionHandleStrategyRegistry, k as BlockMergeNodesStrategy, l as BlockRemoveNodeStrategy, m as BlockAppendNodesStrategy, n as BlockReplaceNodesStrategy, o as BlockInsertNodesBeforeNodeStrategy, p as BlockDeleteTextContentStrategy, N as NodeAnnotationTypeEnum, q as BlockInsertLineBreakStrategy, r as BlockInsertLineBreakWithBlocksStrategy, s as BlockSplitWithTextNodeStrategy, t as SyncUpSelectionAction, u as RTECodeBlock } from './code-block-
|
|
2
|
-
import { i as isNonNullable } from './type-guard-
|
|
3
|
-
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-
|
|
1
|
+
import { B as BlockDeleteNodeContentStrategy, R as RemoveChildAction, a as RTEImageNode, A as ActionHandleStrategy, b as ReplaceChildNodesAction, I as InsertBlocksAfterAction, c as AppendChildNodesAction, d as RTETextBlock, e as InsertBlocksBeforeAction, S as SplitBlockWithNodeAction, M as ModifyContentAction, f as ModifyContentActionType, g as RTETextNode, h as BlockReplaceNodeWithNodesStrategy, i as RTEBlock, j as ActionHandleStrategyRegistry, k as BlockMergeNodesStrategy, l as BlockRemoveNodeStrategy, m as BlockAppendNodesStrategy, n as BlockReplaceNodesStrategy, o as BlockInsertNodesBeforeNodeStrategy, p as BlockDeleteTextContentStrategy, N as NodeAnnotationTypeEnum, q as BlockInsertLineBreakStrategy, r as BlockInsertLineBreakWithBlocksStrategy, s as BlockSplitWithTextNodeStrategy, t as SyncUpSelectionAction, u as RTECodeBlock } from './code-block-73869a3c.js';
|
|
2
|
+
import { i as isNonNullable } from './type-guard-84b1f192.js';
|
|
3
|
+
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-bedf3a1e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* The image block delete the image node strategy.
|
|
@@ -28,7 +28,7 @@ class BlockDeleteImageStrategy extends BlockDeleteNodeContentStrategy {
|
|
|
28
28
|
if (this.isContentFirstNode(startContainerNode)) {
|
|
29
29
|
nextNode = this.getNextNode(startContainerNode);
|
|
30
30
|
}
|
|
31
|
-
if (parentBlock.
|
|
31
|
+
if (parentBlock.children.length === 1) {
|
|
32
32
|
parentBlock.parent.apply(new RemoveChildAction(parentBlock));
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
@@ -39,7 +39,7 @@ class BlockDeleteImageStrategy extends BlockDeleteNodeContentStrategy {
|
|
|
39
39
|
const shouldRemoveNode = previousNode;
|
|
40
40
|
if (shouldRemoveNode && shouldRemoveNode instanceof RTEImageNode) {
|
|
41
41
|
previousNode = this.getPreviousNode(shouldRemoveNode);
|
|
42
|
-
shouldRemoveNode.
|
|
42
|
+
shouldRemoveNode.parent.apply(new RemoveChildAction(shouldRemoveNode));
|
|
43
43
|
if (!previousNode) {
|
|
44
44
|
action.nextNode = startContainerNode;
|
|
45
45
|
}
|
|
@@ -74,10 +74,10 @@ class BlockSplitWithImageNodeStrategy extends ActionHandleStrategy {
|
|
|
74
74
|
* @returns {Nullable<RTEBlock>} The new block after split
|
|
75
75
|
*/
|
|
76
76
|
splitImageNodes(imageNode, imageOffset, target) {
|
|
77
|
-
const nodesSplitIndex = target.
|
|
77
|
+
const nodesSplitIndex = target.children.indexOf(imageNode);
|
|
78
78
|
if (nodesSplitIndex > -1) {
|
|
79
|
-
const beforeNodes = target.
|
|
80
|
-
const afterNodes = target.
|
|
79
|
+
const beforeNodes = target.children.slice(0, nodesSplitIndex + imageOffset);
|
|
80
|
+
const afterNodes = target.children.slice(nodesSplitIndex + imageOffset);
|
|
81
81
|
target.apply(new ReplaceChildNodesAction(beforeNodes));
|
|
82
82
|
const newBlock = this.cloneWithNodes(afterNodes, target);
|
|
83
83
|
target.parent.apply(new InsertBlocksAfterAction(target, newBlock));
|
|
@@ -93,7 +93,7 @@ class BlockSplitWithImageNodeStrategy extends ActionHandleStrategy {
|
|
|
93
93
|
*/
|
|
94
94
|
cloneWithNodes(nodes, target) {
|
|
95
95
|
const block = target.createNewImageBlock();
|
|
96
|
-
block.
|
|
96
|
+
block.children = [];
|
|
97
97
|
block.apply(new AppendChildNodesAction(nodes));
|
|
98
98
|
return block;
|
|
99
99
|
}
|
|
@@ -169,7 +169,7 @@ class ImageInsertLineBreakStrategy extends ActionHandleStrategy {
|
|
|
169
169
|
target.apply(insertNewParagraphAction);
|
|
170
170
|
const newBlock = insertNewParagraphAction.newBlock;
|
|
171
171
|
if (newBlock) {
|
|
172
|
-
action.lineBreakNode = newBlock.
|
|
172
|
+
action.lineBreakNode = newBlock.children[0];
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -203,7 +203,7 @@ class ImageInsertLineBreakWithBlocksStrategy extends ActionHandleStrategy {
|
|
|
203
203
|
afterNodes.push(new RTETextNode(generateUUID(), '\n', newParagraph));
|
|
204
204
|
}
|
|
205
205
|
newParagraph.apply(new AppendChildNodesAction(afterNodes));
|
|
206
|
-
return newParagraph['
|
|
206
|
+
return newParagraph['children'][0];
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
209
|
* Concat the child nodes of multiple RTEBlocks if both are not images.
|
|
@@ -215,7 +215,7 @@ class ImageInsertLineBreakWithBlocksStrategy extends ActionHandleStrategy {
|
|
|
215
215
|
const nodes = [];
|
|
216
216
|
blocks.map((block) => {
|
|
217
217
|
if (block.type !== 'image') {
|
|
218
|
-
nodes.push(...block
|
|
218
|
+
nodes.push(...block.children);
|
|
219
219
|
block.parent.apply(new RemoveChildAction(block));
|
|
220
220
|
}
|
|
221
221
|
});
|
|
@@ -234,8 +234,8 @@ class ImageBlockInsertImageStrategy extends ActionHandleStrategy {
|
|
|
234
234
|
const splitNode = action.splitPointNode;
|
|
235
235
|
const startOffsetOfNode = action.startOffsetOfNode;
|
|
236
236
|
const newImageBlock = action.imageBlockToBeInserted;
|
|
237
|
-
const newImageNodes = newImageBlock.
|
|
238
|
-
if (target.
|
|
237
|
+
const newImageNodes = newImageBlock.children;
|
|
238
|
+
if (target.children.length < 1) {
|
|
239
239
|
target.apply(new AppendChildNodesAction(newImageNodes));
|
|
240
240
|
}
|
|
241
241
|
else if (this.isCaretPositionAtImageBlockEnd(target, splitNode, startOffsetOfNode)) {
|
|
@@ -272,7 +272,7 @@ class RTEImageBlock extends RTEBlock {
|
|
|
272
272
|
constructor(id) {
|
|
273
273
|
super(id);
|
|
274
274
|
this.type = 'image';
|
|
275
|
-
this.
|
|
275
|
+
this.children = [];
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
278
278
|
* Converts a VegaRTEImageBlock object into an RTEImageBlock object by mapping nodes and creating annotations.
|
|
@@ -283,7 +283,7 @@ class RTEImageBlock extends RTEBlock {
|
|
|
283
283
|
static from(block) {
|
|
284
284
|
const imageBlock = new RTEImageBlock(block.id);
|
|
285
285
|
const { annotations } = block;
|
|
286
|
-
imageBlock.
|
|
286
|
+
imageBlock.children = block.nodes.map((image) => RTEImageNode.from(image, imageBlock));
|
|
287
287
|
if (annotations) {
|
|
288
288
|
Object.entries(annotations).forEach(([type, value]) => {
|
|
289
289
|
const item = this.createAnnotationEntity(type, value);
|
|
@@ -298,19 +298,19 @@ class RTEImageBlock extends RTEBlock {
|
|
|
298
298
|
* @inheritDoc
|
|
299
299
|
*/
|
|
300
300
|
toJSON() {
|
|
301
|
-
return Object.assign(Object.assign({}, super.toJSON()), { type: 'image', nodes: this.
|
|
301
|
+
return Object.assign(Object.assign({}, super.toJSON()), { type: 'image', nodes: this.children.map((node) => node.toJSON()) });
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
304
|
* @inheritDoc
|
|
305
305
|
*/
|
|
306
306
|
isNotEmpty() {
|
|
307
|
-
return this.
|
|
307
|
+
return this.children.length > 0 && this.children.some((node) => node.url.length > 0);
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
310
|
* @inheritDoc
|
|
311
311
|
*/
|
|
312
312
|
getLastNode() {
|
|
313
|
-
return this.
|
|
313
|
+
return this.children[this.children.length - 1];
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
316
|
* Create a new image block.
|
|
@@ -325,9 +325,9 @@ class RTEImageBlock extends RTEBlock {
|
|
|
325
325
|
*/
|
|
326
326
|
clone() {
|
|
327
327
|
const clonedBlock = new RTEImageBlock(this.id);
|
|
328
|
-
clonedBlock.
|
|
328
|
+
clonedBlock.children = this.children.map((node) => {
|
|
329
329
|
const clonedNode = node.clone();
|
|
330
|
-
clonedNode.
|
|
330
|
+
clonedNode.parent = clonedBlock;
|
|
331
331
|
return clonedNode;
|
|
332
332
|
});
|
|
333
333
|
clonedBlock.annotationMap = super.cloneAnnotations();
|
|
@@ -363,7 +363,7 @@ class ListItemDeleteTextContentStrategy extends BlockDeleteTextContentStrategy {
|
|
|
363
363
|
handleAction(action, target) {
|
|
364
364
|
const listBlock = target.parent;
|
|
365
365
|
this.deleteNodeContent(action, target);
|
|
366
|
-
if (listBlock.
|
|
366
|
+
if (listBlock.children.length === 0) {
|
|
367
367
|
listBlock.parent.apply(new RemoveChildAction(listBlock));
|
|
368
368
|
}
|
|
369
369
|
}
|
|
@@ -380,8 +380,8 @@ class ListItemRemoveNodeStrategy extends ActionHandleStrategy {
|
|
|
380
380
|
* @param {RTEListItemBlock} target - The list item block.
|
|
381
381
|
*/
|
|
382
382
|
handleAction(action, target) {
|
|
383
|
-
target.
|
|
384
|
-
if (target.
|
|
383
|
+
target.children = target.children.filter((node) => node !== action.entityToBeRemoved);
|
|
384
|
+
if (target.children.length === 0 && (!target.nestList || !target.nestList.length)) {
|
|
385
385
|
target.parent.apply(new RemoveChildAction(target));
|
|
386
386
|
}
|
|
387
387
|
}
|
|
@@ -398,12 +398,12 @@ class ListItemRemoveNestListStrategy extends ActionHandleStrategy {
|
|
|
398
398
|
* @param {RTEListItemBlock} target - The list item block.
|
|
399
399
|
*/
|
|
400
400
|
handleAction(action, target) {
|
|
401
|
-
if (target.
|
|
402
|
-
if (target.
|
|
403
|
-
target.
|
|
401
|
+
if (target.nestList) {
|
|
402
|
+
if (target.nestList.length > 1) {
|
|
403
|
+
target.nestList = target.nestList.filter((child) => child !== action.nestListBlockToBeRemoved);
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
406
|
-
target.
|
|
406
|
+
target.nestList = undefined;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
}
|
|
@@ -420,7 +420,7 @@ class ListItemReplaceNestListStrategy extends ActionHandleStrategy {
|
|
|
420
420
|
action.newList.forEach((listBlock) => {
|
|
421
421
|
listBlock.parent = target;
|
|
422
422
|
});
|
|
423
|
-
target.
|
|
423
|
+
target.nestList = action.newList;
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
|
|
@@ -469,8 +469,8 @@ class ListItemInsertNewParagraphStrategy extends ActionHandleStrategy {
|
|
|
469
469
|
* @returns {RTEBlock} Returns a `RTEBlock`.
|
|
470
470
|
*/
|
|
471
471
|
breakListItemAtEnd(newListItem, target) {
|
|
472
|
-
const lastItem = target.parent.
|
|
473
|
-
const currentItemIsEmpty = target.
|
|
472
|
+
const lastItem = target.parent.children[target.parent.children.length - 1];
|
|
473
|
+
const currentItemIsEmpty = target.children.length === 1 && target.children[0].isEmpty();
|
|
474
474
|
if (target === lastItem && currentItemIsEmpty) {
|
|
475
475
|
const parentParent = target.parent.parent;
|
|
476
476
|
if (parentParent['type'] !== 'list-item') {
|
|
@@ -479,7 +479,7 @@ class ListItemInsertNewParagraphStrategy extends ActionHandleStrategy {
|
|
|
479
479
|
type: 'paragraph',
|
|
480
480
|
nodes: [],
|
|
481
481
|
});
|
|
482
|
-
newParagraph.apply(new AppendChildNodesAction(newListItem.
|
|
482
|
+
newParagraph.apply(new AppendChildNodesAction(newListItem.children));
|
|
483
483
|
parentParent.apply(new InsertBlocksAfterAction(target.parent, newParagraph));
|
|
484
484
|
target.parent.apply(new RemoveChildAction(target));
|
|
485
485
|
return newParagraph;
|
|
@@ -527,10 +527,16 @@ class ListItemInsertImageStrategy extends ActionHandleStrategy {
|
|
|
527
527
|
* List item block
|
|
528
528
|
*/
|
|
529
529
|
class RTEListItemBlock extends RTETextBlock {
|
|
530
|
-
constructor(id,
|
|
530
|
+
constructor(id, nestList) {
|
|
531
531
|
super(id, 'list-item');
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
/**
|
|
533
|
+
* TODO: Refactor the list item properties children and nestList, merge two properties together.
|
|
534
|
+
*
|
|
535
|
+
* 1. Update the type of `children` to include `RTEListBlock` as a possible type.
|
|
536
|
+
* 2. The list block children should text block array and nest list block array, The text block should wrap a `li` tag when rendering.
|
|
537
|
+
*/
|
|
538
|
+
this.nestList = [];
|
|
539
|
+
this.nestList = nestList;
|
|
534
540
|
}
|
|
535
541
|
/**
|
|
536
542
|
* Converts a VegaRTEListItemBlock object to an RTEListItemBlock
|
|
@@ -540,9 +546,9 @@ class RTEListItemBlock extends RTETextBlock {
|
|
|
540
546
|
*/
|
|
541
547
|
static from(block) {
|
|
542
548
|
const listItemBlock = new RTEListItemBlock(block.id);
|
|
543
|
-
listItemBlock.
|
|
549
|
+
listItemBlock.children = block.nodes.map((richText) => RTETextNode.from(richText, listItemBlock));
|
|
544
550
|
if (block.children) {
|
|
545
|
-
listItemBlock.
|
|
551
|
+
listItemBlock.nestList = block.children.map((child) => {
|
|
546
552
|
const listBlock = RTEListBlock.from(child);
|
|
547
553
|
listBlock.parent = listItemBlock;
|
|
548
554
|
return listBlock;
|
|
@@ -564,14 +570,14 @@ class RTEListItemBlock extends RTETextBlock {
|
|
|
564
570
|
*/
|
|
565
571
|
toJSON() {
|
|
566
572
|
var _a;
|
|
567
|
-
return Object.assign(Object.assign({}, super.toJSON()), { type: 'list-item', children: (_a = this.
|
|
573
|
+
return Object.assign(Object.assign({}, super.toJSON()), { type: 'list-item', children: (_a = this.nestList) === null || _a === void 0 ? void 0 : _a.map((block) => block.toJSON()) });
|
|
568
574
|
}
|
|
569
575
|
/**
|
|
570
576
|
* @inheritDoc
|
|
571
577
|
*/
|
|
572
578
|
cloneWithNodes(nodes) {
|
|
573
579
|
const block = new RTEListItemBlock(generateUUID());
|
|
574
|
-
block.
|
|
580
|
+
block.children = [];
|
|
575
581
|
block.apply(new AppendChildNodesAction(nodes));
|
|
576
582
|
return block;
|
|
577
583
|
}
|
|
@@ -579,8 +585,8 @@ class RTEListItemBlock extends RTETextBlock {
|
|
|
579
585
|
* @inheritDoc
|
|
580
586
|
*/
|
|
581
587
|
getLastNode() {
|
|
582
|
-
if (this.
|
|
583
|
-
const childListBlock = this.
|
|
588
|
+
if (this.nestList && this.nestList.length > 0) {
|
|
589
|
+
const childListBlock = this.nestList[this.nestList.length - 1];
|
|
584
590
|
return childListBlock.getLastNode();
|
|
585
591
|
}
|
|
586
592
|
return super.getLastNode();
|
|
@@ -599,13 +605,13 @@ class RTEListItemBlock extends RTETextBlock {
|
|
|
599
605
|
clone() {
|
|
600
606
|
var _a;
|
|
601
607
|
const block = new RTEListItemBlock(this.id);
|
|
602
|
-
block.
|
|
608
|
+
block.children = this.children.map((node) => {
|
|
603
609
|
const clonedNode = node.clone();
|
|
604
|
-
clonedNode.
|
|
610
|
+
clonedNode.parent = block;
|
|
605
611
|
return clonedNode;
|
|
606
612
|
});
|
|
607
613
|
block.annotationMap = super.cloneAnnotations();
|
|
608
|
-
block.
|
|
614
|
+
block.nestList = (_a = this.nestList) === null || _a === void 0 ? void 0 : _a.map((child) => {
|
|
609
615
|
const clonedChild = child.clone();
|
|
610
616
|
clonedChild.parent = block;
|
|
611
617
|
return clonedChild;
|
|
@@ -651,12 +657,12 @@ class BlockInsertBlocksBeforeStrategy extends ActionHandleStrategy {
|
|
|
651
657
|
* @param {RTEBlock[]} blocks - An array of RTEBlock objects that you want to replace the `referBlock` with in the `blocks` array.
|
|
652
658
|
*/
|
|
653
659
|
replaceBlockWithBlocks(target, referBlock, blocks) {
|
|
654
|
-
if (target.
|
|
660
|
+
if (target.children) {
|
|
655
661
|
blocks.forEach((block) => {
|
|
656
662
|
block.parent = target;
|
|
657
663
|
});
|
|
658
|
-
const arrayFixed = target.
|
|
659
|
-
target.
|
|
664
|
+
const arrayFixed = target.children;
|
|
665
|
+
target.children = arrayFixed.flatMap((block) => {
|
|
660
666
|
if (block === referBlock) {
|
|
661
667
|
return blocks;
|
|
662
668
|
}
|
|
@@ -692,12 +698,12 @@ class BlockAppendBlocksStrategy extends ActionHandleStrategy {
|
|
|
692
698
|
*/
|
|
693
699
|
handleAction(action, target) {
|
|
694
700
|
const newBlocks = action.entityToBeAppended;
|
|
695
|
-
if (target.
|
|
701
|
+
if (target.children) {
|
|
696
702
|
newBlocks.forEach((block) => {
|
|
697
703
|
block.parent = target;
|
|
698
704
|
});
|
|
699
|
-
const arrayFixed = target.
|
|
700
|
-
target.
|
|
705
|
+
const arrayFixed = target.children;
|
|
706
|
+
target.children = arrayFixed.concat(newBlocks);
|
|
701
707
|
}
|
|
702
708
|
}
|
|
703
709
|
}
|
|
@@ -724,8 +730,8 @@ class BlockRemoveChildBlockStrategy extends ActionHandleStrategy {
|
|
|
724
730
|
*/
|
|
725
731
|
handleAction(action, target) {
|
|
726
732
|
const blockToBeRemoved = action.entityToBeRemoved;
|
|
727
|
-
if (target.
|
|
728
|
-
target.
|
|
733
|
+
if (target.children) {
|
|
734
|
+
target.children = target.children.filter((block) => block !== blockToBeRemoved);
|
|
729
735
|
}
|
|
730
736
|
}
|
|
731
737
|
}
|
|
@@ -743,7 +749,7 @@ class ListRemoveListItemStrategy extends BlockRemoveChildBlockStrategy {
|
|
|
743
749
|
handleAction(action, target) {
|
|
744
750
|
super.handleAction(action, target);
|
|
745
751
|
const parent = target.parent;
|
|
746
|
-
if (target.
|
|
752
|
+
if (target.children.length === 0 && parent) {
|
|
747
753
|
// The parent is a list item mean the current block is a nest list, so we need to use RemoveNestListAction to remove the item
|
|
748
754
|
if (parent['type'] === 'list-item') {
|
|
749
755
|
parent.apply(new RemoveNestListAction(target));
|
|
@@ -768,10 +774,10 @@ class ListTransformToListStrategy extends ActionHandleStrategy {
|
|
|
768
774
|
const isSameList = selectedBlocks.every((block) => block.parent === target);
|
|
769
775
|
if (isSameList) {
|
|
770
776
|
// Select one or more list items belonging to the same list, and all items in this list should be updated
|
|
771
|
-
bulletList.apply(new AppendChildNodesAction(target.
|
|
777
|
+
bulletList.apply(new AppendChildNodesAction(target.children));
|
|
772
778
|
target.parent.apply(new InsertBlocksAfterAction(target, bulletList));
|
|
773
779
|
target.parent.apply(new RemoveChildAction(target));
|
|
774
|
-
selectedBlocks.forEach((block) => block.
|
|
780
|
+
selectedBlocks.forEach((block) => block.children.map((node) => node.apply(new SyncUpSelectionAction())));
|
|
775
781
|
}
|
|
776
782
|
else {
|
|
777
783
|
const listItems = action.selectedBlocks.map((block) => target.parent.toListItem(block));
|
|
@@ -780,7 +786,7 @@ class ListTransformToListStrategy extends ActionHandleStrategy {
|
|
|
780
786
|
action.selectedBlocks.forEach((block) => {
|
|
781
787
|
block.parent.apply(new RemoveChildAction(block));
|
|
782
788
|
});
|
|
783
|
-
if (target.
|
|
789
|
+
if (target.children.length === 0) {
|
|
784
790
|
target.parent.apply(new RemoveChildAction(target));
|
|
785
791
|
}
|
|
786
792
|
}
|
|
@@ -799,10 +805,10 @@ class ListTransformToParagraphStrategy extends ActionHandleStrategy {
|
|
|
799
805
|
let isSelectedLastBlock = false;
|
|
800
806
|
const selectedBlocks = action.selectedBlocks;
|
|
801
807
|
const currentParagraph = selectedBlocks.map((block) => {
|
|
802
|
-
block.
|
|
803
|
-
if (block === target.
|
|
808
|
+
block.children.map((node) => node.apply(new SyncUpSelectionAction()));
|
|
809
|
+
if (block === target.children[0])
|
|
804
810
|
isSelectedFirstBlock = true;
|
|
805
|
-
if (block === target.
|
|
811
|
+
if (block === target.children[target.children.length - 1])
|
|
806
812
|
isSelectedLastBlock = true;
|
|
807
813
|
return this.toParagraph(block);
|
|
808
814
|
});
|
|
@@ -813,19 +819,19 @@ class ListTransformToParagraphStrategy extends ActionHandleStrategy {
|
|
|
813
819
|
target.parent.apply(new InsertBlocksAfterAction(target, ...currentParagraph));
|
|
814
820
|
}
|
|
815
821
|
else {
|
|
816
|
-
const startIndex = target.
|
|
817
|
-
const lastIndex = target.
|
|
822
|
+
const startIndex = target.children.indexOf(selectedBlocks[0]);
|
|
823
|
+
const lastIndex = target.children.indexOf(selectedBlocks[selectedBlocks.length - 1]);
|
|
818
824
|
const firstBulletList = target.parent.createList(target.type);
|
|
819
|
-
firstBulletList.apply(new AppendChildNodesAction(target.
|
|
825
|
+
firstBulletList.apply(new AppendChildNodesAction(target.children.slice(0, startIndex)));
|
|
820
826
|
const lastBulletList = target.parent.createList(target.type);
|
|
821
|
-
lastBulletList.apply(new AppendChildNodesAction(target.
|
|
827
|
+
lastBulletList.apply(new AppendChildNodesAction(target.children.slice(lastIndex + 1)));
|
|
822
828
|
target.parent.apply(new InsertBlocksBeforeAction(target, firstBulletList, ...currentParagraph, lastBulletList));
|
|
823
829
|
target.parent.apply(new RemoveChildAction(target));
|
|
824
830
|
}
|
|
825
831
|
selectedBlocks.map((block) => {
|
|
826
832
|
target.apply(new RemoveChildAction(block));
|
|
827
833
|
});
|
|
828
|
-
if (target.
|
|
834
|
+
if (target.children.length === 0) {
|
|
829
835
|
target.parent.apply(new RemoveChildAction(target));
|
|
830
836
|
}
|
|
831
837
|
}
|
|
@@ -837,7 +843,7 @@ class ListTransformToParagraphStrategy extends ActionHandleStrategy {
|
|
|
837
843
|
*/
|
|
838
844
|
toParagraph(block) {
|
|
839
845
|
const textBlock = new RTETextBlock(generateUUID(), 'paragraph');
|
|
840
|
-
textBlock.apply(new AppendChildNodesAction(block['
|
|
846
|
+
textBlock.apply(new AppendChildNodesAction(block['children']));
|
|
841
847
|
textBlock['annotationMap'] = block['annotationMap'];
|
|
842
848
|
return textBlock;
|
|
843
849
|
}
|
|
@@ -871,7 +877,7 @@ class RTEListBlock extends RTEBlock {
|
|
|
871
877
|
constructor(id, type) {
|
|
872
878
|
super(id);
|
|
873
879
|
this.type = 'bullet-list';
|
|
874
|
-
this.
|
|
880
|
+
this.children = [];
|
|
875
881
|
this.type = type;
|
|
876
882
|
}
|
|
877
883
|
/**
|
|
@@ -882,7 +888,7 @@ class RTEListBlock extends RTEBlock {
|
|
|
882
888
|
*/
|
|
883
889
|
static from(block) {
|
|
884
890
|
const listBlock = new RTEListBlock(block.id, block.type);
|
|
885
|
-
listBlock.
|
|
891
|
+
listBlock.children = block.blocks.map((item) => {
|
|
886
892
|
const listItemBlock = RTEListItemBlock.from(item);
|
|
887
893
|
listItemBlock.parent = listBlock;
|
|
888
894
|
return listItemBlock;
|
|
@@ -893,26 +899,26 @@ class RTEListBlock extends RTEBlock {
|
|
|
893
899
|
* @inheritDoc
|
|
894
900
|
*/
|
|
895
901
|
toJSON() {
|
|
896
|
-
return Object.assign(Object.assign({}, super.toJSON()), { id: this.id, type: this.type, blocks: this.
|
|
902
|
+
return Object.assign(Object.assign({}, super.toJSON()), { id: this.id, type: this.type, blocks: this.children.map((block) => block.toJSON()) });
|
|
897
903
|
}
|
|
898
904
|
/**
|
|
899
905
|
* @inheritDoc
|
|
900
906
|
*/
|
|
901
907
|
isNotEmpty() {
|
|
902
|
-
return this.
|
|
908
|
+
return this.children.length > 0;
|
|
903
909
|
}
|
|
904
910
|
/**
|
|
905
911
|
* @inheritDoc
|
|
906
912
|
*/
|
|
907
913
|
getLastNode() {
|
|
908
|
-
return this.
|
|
914
|
+
return this.children[this.children.length - 1].getLastNode();
|
|
909
915
|
}
|
|
910
916
|
/**
|
|
911
917
|
* @inheritDoc
|
|
912
918
|
*/
|
|
913
919
|
clone() {
|
|
914
920
|
const clonedListBlock = new RTEListBlock(this.id, this.type);
|
|
915
|
-
clonedListBlock.
|
|
921
|
+
clonedListBlock.children = this.children.map((item) => {
|
|
916
922
|
const clonedListItemBlock = item.clone();
|
|
917
923
|
clonedListItemBlock.parent = clonedListBlock;
|
|
918
924
|
return clonedListItemBlock;
|
|
@@ -959,7 +965,7 @@ class BlockTransformToCodeBlockStrategy extends ActionHandleStrategy {
|
|
|
959
965
|
const selectedTextBlocks = selectedBlocks.filter((item) => item.type !== 'image' && item.type !== 'list-item');
|
|
960
966
|
return selectedTextBlocks
|
|
961
967
|
.map((block) => {
|
|
962
|
-
return block.
|
|
968
|
+
return block.children.map((node) => node.text).join('');
|
|
963
969
|
})
|
|
964
970
|
.join('\n');
|
|
965
971
|
}
|
|
@@ -984,7 +990,7 @@ class VegaRTEContent {
|
|
|
984
990
|
blocks.forEach((block) => {
|
|
985
991
|
block.parent = this;
|
|
986
992
|
});
|
|
987
|
-
this.
|
|
993
|
+
this.children = blocks;
|
|
988
994
|
}
|
|
989
995
|
/**
|
|
990
996
|
* Converts a JSON array of blocks to a class array of RTEContentBlock.
|
|
@@ -1045,8 +1051,8 @@ class VegaRTEContent {
|
|
|
1045
1051
|
*/
|
|
1046
1052
|
clone(deep = false) {
|
|
1047
1053
|
return deep
|
|
1048
|
-
? new VegaRTEContent(this.
|
|
1049
|
-
: new VegaRTEContent([...this.
|
|
1054
|
+
? new VegaRTEContent(this.children.map((block) => block.clone()))
|
|
1055
|
+
: new VegaRTEContent([...this.children]);
|
|
1050
1056
|
}
|
|
1051
1057
|
/**
|
|
1052
1058
|
* Converts the content state to a JSON array of blocks.
|
|
@@ -1054,7 +1060,7 @@ class VegaRTEContent {
|
|
|
1054
1060
|
* @returns {VegaRTEContentBlock[]} The JSON array of blocks.
|
|
1055
1061
|
*/
|
|
1056
1062
|
toJSON() {
|
|
1057
|
-
return this.
|
|
1063
|
+
return this.children.map((block) => block.toJSON());
|
|
1058
1064
|
}
|
|
1059
1065
|
/**
|
|
1060
1066
|
* Internal method to add the block item, remove the block item
|
|
@@ -1071,9 +1077,9 @@ class VegaRTEContent {
|
|
|
1071
1077
|
* @returns {RTEListItemBlock} list item block dto.
|
|
1072
1078
|
*/
|
|
1073
1079
|
toListItem(block) {
|
|
1074
|
-
block.
|
|
1080
|
+
block.children.map((node) => node.apply(new SyncUpSelectionAction()));
|
|
1075
1081
|
const listItemBlock = new RTEListItemBlock(generateUUID());
|
|
1076
|
-
listItemBlock.apply(new AppendChildNodesAction(block['
|
|
1082
|
+
listItemBlock.apply(new AppendChildNodesAction(block['children']));
|
|
1077
1083
|
listItemBlock['annotationMap'] = block['annotationMap'];
|
|
1078
1084
|
return listItemBlock;
|
|
1079
1085
|
}
|
|
@@ -1093,7 +1099,7 @@ class VegaRTEContent {
|
|
|
1093
1099
|
* @returns {Nullable<RTENode>} The found node or null if not found.
|
|
1094
1100
|
*/
|
|
1095
1101
|
findNodeById(id) {
|
|
1096
|
-
return this.findNodeInBlocksById(id, this.
|
|
1102
|
+
return this.findNodeInBlocksById(id, this.children);
|
|
1097
1103
|
}
|
|
1098
1104
|
/**
|
|
1099
1105
|
* Recursively searches for a node by its ID in the given blocks.
|
|
@@ -1104,23 +1110,23 @@ class VegaRTEContent {
|
|
|
1104
1110
|
*/
|
|
1105
1111
|
findNodeInBlocksById(id, blocks) {
|
|
1106
1112
|
for (const block of blocks) {
|
|
1107
|
-
if ('
|
|
1108
|
-
for (const node of block.
|
|
1113
|
+
if ('children' in block) {
|
|
1114
|
+
for (const node of block.children) {
|
|
1109
1115
|
if (node.id === id) {
|
|
1110
1116
|
return node;
|
|
1111
1117
|
}
|
|
1112
1118
|
}
|
|
1113
1119
|
}
|
|
1114
|
-
if (block instanceof RTEListItemBlock && block.
|
|
1115
|
-
for (const cBlock of block.
|
|
1116
|
-
const foundNode = this.findNodeInBlocksById(id, cBlock.
|
|
1120
|
+
if (block instanceof RTEListItemBlock && block.nestList) {
|
|
1121
|
+
for (const cBlock of block.nestList) {
|
|
1122
|
+
const foundNode = this.findNodeInBlocksById(id, cBlock.children);
|
|
1117
1123
|
if (foundNode) {
|
|
1118
1124
|
return foundNode;
|
|
1119
1125
|
}
|
|
1120
1126
|
}
|
|
1121
1127
|
}
|
|
1122
|
-
if (block instanceof RTEListBlock && block.
|
|
1123
|
-
const foundNode = this.findNodeInBlocksById(id, block.
|
|
1128
|
+
if (block instanceof RTEListBlock && block.children) {
|
|
1129
|
+
const foundNode = this.findNodeInBlocksById(id, block.children);
|
|
1124
1130
|
if (foundNode) {
|
|
1125
1131
|
return foundNode;
|
|
1126
1132
|
}
|
|
@@ -136,7 +136,7 @@ class VegaPublicAPIRuntimeMetricsSlimmerBase extends VegaSlimmer {
|
|
|
136
136
|
const publicAPIMetricsPayload = this.getPublicAPIMetricsPayload(args);
|
|
137
137
|
if (publicAPIMetricsPayload) {
|
|
138
138
|
// eslint-disable-next-line spellcheck/spell-checker
|
|
139
|
-
void import('./index-
|
|
139
|
+
void import('./index-e9da316f.js').then((
|
|
140
140
|
// eslint-disable-next-line spellcheck/spell-checker
|
|
141
141
|
module) => {
|
|
142
142
|
module['default']['emit']('publicAPIMetrics', publicAPIMetricsPayload);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as isBorderColorTokenType, b as BorderColors, e as BorderColorMap, k as isShadowsTokenType, f as Shadows, g as ShadowMap, l as isBorderTokenType, m as Borders, n as BorderMap, o as isSpacingTokenType, p as isBorderRadiusTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, h as Spacing, t as isBorderStyleType, B as BorderRadius, C as Colors, u as isTypographyTokenType } from './type-guard-
|
|
1
|
+
import { j as isBorderColorTokenType, b as BorderColors, e as BorderColorMap, k as isShadowsTokenType, f as Shadows, g as ShadowMap, l as isBorderTokenType, m as Borders, n as BorderMap, o as isSpacingTokenType, p as isBorderRadiusTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, h as Spacing, t as isBorderStyleType, B as BorderRadius, C as Colors, u as isTypographyTokenType } from './type-guard-84b1f192.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-60731164.js';
|
|
5
5
|
import { a as TypographyKeys } from './typography-396de03f.js';
|
|
6
|
-
import { S as StateVariantFormatter, s as stateBackgroundColorFormatter } from './state-background-color-formatter-
|
|
6
|
+
import { S as StateVariantFormatter, s as stateBackgroundColorFormatter } from './state-background-color-formatter-da5e76e8.js';
|
|
7
7
|
import { a as BorderStyle } from './ui-8424715a.js';
|
|
8
8
|
|
|
9
9
|
/**
|
package/dist/esm/{element-appender-slimmer-8652e8d7.js → element-appender-slimmer-7b9f4a8e.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as MapToComponentField, I as InjectVegaSlimmer, V as VegaSlimmer, L as LogUtility, M as MapToComponentMethod } from './global-slimmer-registry-17c4efd4.js';
|
|
2
2
|
import { f as findParent, c as isElementVisible, i as isParent } from './ui-7d177fb0.js';
|
|
3
|
-
import { I as InternalVegaZIndexManager } from './vega-skeleton-loader-controller-
|
|
3
|
+
import { I as InternalVegaZIndexManager } from './vega-skeleton-loader-controller-3f6faa17.js';
|
|
4
4
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
5
5
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-0bf7fbf3.js';
|
|
6
6
|
import { P as Placements, A as Alignments } from './ui-8424715a.js';
|
|
7
|
-
import { A as isTranslocationType } from './type-guard-
|
|
8
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
7
|
+
import { A as isTranslocationType } from './type-guard-84b1f192.js';
|
|
8
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-60731164.js';
|
|
9
9
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
10
10
|
import { S as SHADOW_ROOT_ELEMENT_SCROLLING } from './static-subject-title-ca83d6b6.js';
|
|
11
11
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
12
12
|
import { d as domNodeSubjectFactory } from './dom-node-subject-factory-6374611f.js';
|
|
13
|
-
import { q as VegaInternalNestEAHierarchyTreeChange } from './vega-internal-event-id-
|
|
13
|
+
import { q as VegaInternalNestEAHierarchyTreeChange } from './vega-internal-event-id-f0ea2bab.js';
|
|
14
14
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
15
15
|
|
|
16
16
|
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
package/dist/esm/{feature-flag-controller-0fbe8fb0.js → feature-flag-controller-51659753.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import
|
|
2
|
+
import k from './index-e9da316f.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The concrete feature flag map that we are going to use to determine if a feature is enabled or not.
|
|
@@ -313,7 +313,7 @@ class FeatureFlagController {
|
|
|
313
313
|
*/
|
|
314
314
|
sendFeatureFlagKeyToTelemetry(featureFlagName, featureFlagValue) {
|
|
315
315
|
if (this.canSendFeatureFlagsToTelemetry(featureFlagName, featureFlagValue)) {
|
|
316
|
-
|
|
316
|
+
k.emit('featureFlagOverridden', {
|
|
317
317
|
featureFlagName: featureFlagName,
|
|
318
318
|
featureFlagOverriddenValue: featureFlagValue,
|
|
319
319
|
});
|
|
@@ -4,18 +4,18 @@ import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
|
4
4
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
5
5
|
import { U as UPDATE_TRANSLATION, c as FORM_FIELD_PENDING_VALID_CHANGE, d as FORM_FIELD_ELEMENT_DISCONNECTED, b as FORM_ELEMENT_VALUE_CHANGE, e as FORM_RESET_OPERATION_TRIGGERED, F as FORM_SUBMIT, f as FIELD_ERROR_MESSAGE_CHANGE, g as FORM_ELEMENT_VALIDATE } from './static-subject-title-ca83d6b6.js';
|
|
6
6
|
import { f as findParent, c as isElementVisible } from './ui-7d177fb0.js';
|
|
7
|
-
import { i as isAsyncFunction, g as generateUUID } from './create-public-api-runtime-metrics-slimmer-
|
|
7
|
+
import { i as isAsyncFunction, g as generateUUID } from './create-public-api-runtime-metrics-slimmer-bedf3a1e.js';
|
|
8
8
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
9
9
|
import { d as domNodeSubjectFactory } from './dom-node-subject-factory-6374611f.js';
|
|
10
|
-
import { c as VegaInternalFieldErrorStateChange, d as VegaInternalValid } from './vega-internal-event-id-
|
|
11
|
-
import { V as VegaInternalTranslation } from './translation-
|
|
10
|
+
import { c as VegaInternalFieldErrorStateChange, d as VegaInternalValid } from './vega-internal-event-id-f0ea2bab.js';
|
|
11
|
+
import { V as VegaInternalTranslation } from './translation-a6eacb5f.js';
|
|
12
12
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-0bf7fbf3.js';
|
|
13
13
|
import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
14
14
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
15
15
|
import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-58ebc13c.js';
|
|
16
16
|
import { A as AttributeOldValueMutationFilter } from './mutation-observer-filters-1a054fb0.js';
|
|
17
17
|
import { i as isArrayEqual } from './array-7888f339.js';
|
|
18
|
-
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-
|
|
18
|
+
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-1e9af9ec.js';
|
|
19
19
|
|
|
20
20
|
/** The `FormFieldValidationRuleHandler` class is responsible for handling the validation rules for a form field. */
|
|
21
21
|
class FormFieldValidationRuleHandler {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { I as InjectVegaTelemetrySlimmer, c as createPublicAPIRuntimeMetricsSlimmer } from './create-public-api-runtime-metrics-slimmer-
|
|
2
|
+
import { I as InjectVegaTelemetrySlimmer, c as createPublicAPIRuntimeMetricsSlimmer } from './create-public-api-runtime-metrics-slimmer-bedf3a1e.js';
|
|
3
3
|
|
|
4
4
|
const VegaIconManagerRuntimeMetricsPayloadDefinition = [
|
|
5
5
|
{
|
package/dist/esm/{image-annotation-action-1497f70e.js → image-annotation-action-5bfda07c.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { h } from './index-d0a47531.js';
|
|
|
2
2
|
import { c as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
3
3
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-c345ca2e.js';
|
|
4
4
|
import { a as VegaClick, M as VegaPopoverShow, N as VegaPopoverHide, f as VegaChange } from './dom-node-subject-factory-6374611f.js';
|
|
5
|
-
import { V as VegaInternalIconManager } from './internal-icon-manager-
|
|
6
|
-
import { T as TextSplittableAction, E as TextColorAnnotation, F as RTE_TEXT_COLORS, g as RTETextNode, G as RTECodeBlockNode, N as NodeAnnotationTypeEnum, H as AnnotationAction, C as ImageAnnotation } from './code-block-
|
|
5
|
+
import { V as VegaInternalIconManager } from './internal-icon-manager-7eac52c8.js';
|
|
6
|
+
import { T as TextSplittableAction, E as TextColorAnnotation, F as RTE_TEXT_COLORS, g as RTETextNode, G as RTECodeBlockNode, N as NodeAnnotationTypeEnum, H as AnnotationAction, C as ImageAnnotation } from './code-block-73869a3c.js';
|
|
7
7
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-ea798fc8.js';
|
|
8
8
|
|
|
9
9
|
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { W as WaitForVega } from './wait-for-vega-handler-
|
|
1
|
+
import { W as WaitForVega } from './wait-for-vega-handler-c2c07ac3.js';
|
|
2
2
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
3
3
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
4
4
|
import { d as domNodeSubjectFactory } from './dom-node-subject-factory-6374611f.js';
|
|
5
|
-
import { V as VegaInternalComponentDidRender } from './vega-internal-event-id-
|
|
5
|
+
import { V as VegaInternalComponentDidRender } from './vega-internal-event-id-f0ea2bab.js';
|
|
6
6
|
|
|
7
7
|
/* istanbul ignore next */
|
|
8
8
|
/**
|