@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
|
@@ -79,7 +79,7 @@ describe('bullet list', () => {
|
|
|
79
79
|
],
|
|
80
80
|
});
|
|
81
81
|
expect(bulletListBlock.isNotEmpty()).toEqual(true);
|
|
82
|
-
bulletListBlock.
|
|
82
|
+
bulletListBlock.children[0].children[0].text = '';
|
|
83
83
|
expect(bulletListBlock.isNotEmpty()).toEqual(true);
|
|
84
84
|
const childrenListBlock = RTEListBlock.from({
|
|
85
85
|
id: '1-1-2',
|
|
@@ -98,9 +98,9 @@ describe('bullet list', () => {
|
|
|
98
98
|
},
|
|
99
99
|
],
|
|
100
100
|
});
|
|
101
|
-
bulletListBlock.
|
|
101
|
+
bulletListBlock.children[0].nestList = [childrenListBlock];
|
|
102
102
|
expect(bulletListBlock.isNotEmpty()).toEqual(true);
|
|
103
|
-
childrenListBlock.
|
|
103
|
+
childrenListBlock.children[0].children[0].text = '';
|
|
104
104
|
expect(bulletListBlock.isNotEmpty()).toEqual(true);
|
|
105
105
|
});
|
|
106
106
|
});
|
|
@@ -124,7 +124,7 @@ describe('number list', () => {
|
|
|
124
124
|
],
|
|
125
125
|
});
|
|
126
126
|
expect(listBlock.isNotEmpty()).toEqual(true);
|
|
127
|
-
listBlock.
|
|
127
|
+
listBlock.children[0].children[0].text = '';
|
|
128
128
|
expect(listBlock.isNotEmpty()).toEqual(true);
|
|
129
129
|
const childrenListBlock = RTEListBlock.from({
|
|
130
130
|
id: '1-1-2',
|
|
@@ -143,9 +143,9 @@ describe('number list', () => {
|
|
|
143
143
|
},
|
|
144
144
|
],
|
|
145
145
|
});
|
|
146
|
-
listBlock.
|
|
146
|
+
listBlock.children[0].nestList = [childrenListBlock];
|
|
147
147
|
expect(listBlock.isNotEmpty()).toEqual(true);
|
|
148
|
-
childrenListBlock.
|
|
148
|
+
childrenListBlock.children[0].children[0].text = '';
|
|
149
149
|
expect(listBlock.isNotEmpty()).toEqual(true);
|
|
150
150
|
});
|
|
151
151
|
it('getLastNode should work as expect', () => {
|
|
@@ -171,6 +171,6 @@ describe('number list', () => {
|
|
|
171
171
|
},
|
|
172
172
|
],
|
|
173
173
|
});
|
|
174
|
-
expect(listBlock.getLastNode()).toEqual(listBlock.
|
|
174
|
+
expect(listBlock.getLastNode()).toEqual(listBlock.children[0].children[1]);
|
|
175
175
|
});
|
|
176
176
|
});
|
|
@@ -4,7 +4,7 @@ describe('bullet list item', () => {
|
|
|
4
4
|
it('new RTEBulletListItemBlock should work as expect', () => {
|
|
5
5
|
const bulletListItemBlock = new RTEListItemBlock('1');
|
|
6
6
|
const textNode = new RTETextNode('1', 'This is a text.', bulletListItemBlock);
|
|
7
|
-
bulletListItemBlock.
|
|
7
|
+
bulletListItemBlock.children = [textNode];
|
|
8
8
|
expect(bulletListItemBlock).toBeDefined();
|
|
9
9
|
});
|
|
10
10
|
it('from method should work as expect', () => {
|
|
@@ -145,7 +145,7 @@ describe('bullet list item', () => {
|
|
|
145
145
|
},
|
|
146
146
|
],
|
|
147
147
|
});
|
|
148
|
-
expect(listItemBlock.getLastNode()).toEqual(listItemBlock.
|
|
148
|
+
expect(listItemBlock.getLastNode()).toEqual(listItemBlock.children[1]);
|
|
149
149
|
});
|
|
150
150
|
it('getLastNode should work as expect with children', () => {
|
|
151
151
|
const listItemBlock = RTEListItemBlock.from({
|
|
@@ -183,6 +183,6 @@ describe('bullet list item', () => {
|
|
|
183
183
|
},
|
|
184
184
|
],
|
|
185
185
|
});
|
|
186
|
-
expect(listItemBlock.getLastNode()).toEqual(listItemBlock.
|
|
186
|
+
expect(listItemBlock.getLastNode()).toEqual(listItemBlock.nestList[0].children[0].children[1]);
|
|
187
187
|
});
|
|
188
188
|
});
|
|
@@ -6,7 +6,7 @@ describe('text block', () => {
|
|
|
6
6
|
it('new RTETextBlock should work as expect', () => {
|
|
7
7
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
8
8
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
9
|
-
textBlock.
|
|
9
|
+
textBlock.children = [textNode];
|
|
10
10
|
expect(textBlock.toJSON()).toEqual({
|
|
11
11
|
id: 'block-1',
|
|
12
12
|
type: 'paragraph',
|
|
@@ -82,7 +82,7 @@ describe('text block', () => {
|
|
|
82
82
|
it('apply method should work as expect', () => {
|
|
83
83
|
const titleBlock = new RTETextBlock('block-1', 'title');
|
|
84
84
|
const textNode = new RTETextNode('1', 'This is a text.', titleBlock);
|
|
85
|
-
titleBlock.
|
|
85
|
+
titleBlock.children = [textNode];
|
|
86
86
|
const mockDiv = document.createElement('div');
|
|
87
87
|
const mockHost = document.createElement('div');
|
|
88
88
|
const mockSpan = document.createElement('span');
|
|
@@ -126,7 +126,7 @@ describe('text block', () => {
|
|
|
126
126
|
it('isNotEmpty should work as expect', () => {
|
|
127
127
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
128
128
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
129
|
-
textBlock.
|
|
129
|
+
textBlock.children = [textNode];
|
|
130
130
|
expect(textBlock.isNotEmpty()).toEqual(true);
|
|
131
131
|
textNode.text = '';
|
|
132
132
|
expect(textBlock.isNotEmpty()).toEqual(false);
|
|
@@ -19,45 +19,45 @@ describe('content state', () => {
|
|
|
19
19
|
type: 'paragraph',
|
|
20
20
|
nodes: [{ id: '1-1', type: 'text', text: 'This is a paragraph' }],
|
|
21
21
|
},
|
|
22
|
-
]).
|
|
22
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
23
23
|
expect(VegaRTEContent.fromJSON([
|
|
24
24
|
{ id: '2', type: 'title', nodes: [{ id: '2-1', type: 'text', text: 'This is a title' }] },
|
|
25
|
-
]).
|
|
25
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
26
26
|
expect(VegaRTEContent.fromJSON([
|
|
27
27
|
{
|
|
28
28
|
id: '3',
|
|
29
29
|
type: 'subtitle',
|
|
30
30
|
nodes: [{ id: '3-1', type: 'text', text: 'This is a subtitle' }],
|
|
31
31
|
},
|
|
32
|
-
]).
|
|
32
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
33
33
|
expect(VegaRTEContent.fromJSON([
|
|
34
34
|
{
|
|
35
35
|
id: '4',
|
|
36
36
|
type: 'heading-1',
|
|
37
37
|
nodes: [{ id: '4-1', type: 'text', text: 'This is a heading-1' }],
|
|
38
38
|
},
|
|
39
|
-
]).
|
|
39
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
40
40
|
expect(VegaRTEContent.fromJSON([
|
|
41
41
|
{
|
|
42
42
|
id: '5',
|
|
43
43
|
type: 'heading-2',
|
|
44
44
|
nodes: [{ id: '5-1', type: 'text', text: 'This is a heading-2' }],
|
|
45
45
|
},
|
|
46
|
-
]).
|
|
46
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
47
47
|
expect(VegaRTEContent.fromJSON([
|
|
48
48
|
{
|
|
49
49
|
id: '6',
|
|
50
50
|
type: 'heading-3',
|
|
51
51
|
nodes: [{ id: '6-1', type: 'text', text: 'This is a heading-3' }],
|
|
52
52
|
},
|
|
53
|
-
]).
|
|
53
|
+
]).children[0] instanceof RTETextBlock).toBeTruthy();
|
|
54
54
|
expect(VegaRTEContent.fromJSON([
|
|
55
55
|
{
|
|
56
56
|
id: '7',
|
|
57
57
|
type: 'image',
|
|
58
58
|
nodes: [{ id: '7-1', type: 'image', url: 'mock-url' }],
|
|
59
59
|
},
|
|
60
|
-
]).
|
|
60
|
+
]).children[0] instanceof RTEImageBlock).toBeTruthy();
|
|
61
61
|
expect(VegaRTEContent.fromJSON([
|
|
62
62
|
{
|
|
63
63
|
id: '8',
|
|
@@ -76,7 +76,7 @@ describe('content state', () => {
|
|
|
76
76
|
},
|
|
77
77
|
],
|
|
78
78
|
},
|
|
79
|
-
]).
|
|
79
|
+
]).children[0] instanceof RTEListBlock).toBeTruthy();
|
|
80
80
|
});
|
|
81
81
|
it('toJSON method should work as expect', () => {
|
|
82
82
|
expect(VegaRTEContent.fromJSON([
|
|
@@ -143,12 +143,12 @@ describe('content state', () => {
|
|
|
143
143
|
const clonedContentState = contentState.clone(true);
|
|
144
144
|
expect(clonedContentState).not.toBe(contentState);
|
|
145
145
|
expect(clonedContentState).toEqual(contentState);
|
|
146
|
-
const block = contentState.
|
|
147
|
-
const clonedBlock = clonedContentState.
|
|
146
|
+
const block = contentState.children[0];
|
|
147
|
+
const clonedBlock = clonedContentState.children[0];
|
|
148
148
|
expect(clonedBlock).toEqual(block);
|
|
149
149
|
expect(clonedBlock).not.toBe(block);
|
|
150
|
-
const node = block.
|
|
151
|
-
const clonedNode = clonedBlock.
|
|
150
|
+
const node = block.children[0];
|
|
151
|
+
const clonedNode = clonedBlock.children[0];
|
|
152
152
|
expect(clonedNode).toEqual(node);
|
|
153
153
|
expect(clonedNode).not.toBe(node);
|
|
154
154
|
const blockAnnotations = block.annotationMap;
|
|
@@ -195,12 +195,12 @@ describe('content state', () => {
|
|
|
195
195
|
],
|
|
196
196
|
},
|
|
197
197
|
]);
|
|
198
|
-
const paragraphBlock = contentState.
|
|
199
|
-
const imageBlock = contentState.
|
|
200
|
-
const listBlock = contentState.
|
|
201
|
-
const listItemBlock = listBlock.
|
|
202
|
-
const nestedListBlock = listItemBlock.
|
|
203
|
-
const nestedListItemBlock = nestedListBlock.
|
|
198
|
+
const paragraphBlock = contentState.children[0];
|
|
199
|
+
const imageBlock = contentState.children[1];
|
|
200
|
+
const listBlock = contentState.children[2];
|
|
201
|
+
const listItemBlock = listBlock.children[0];
|
|
202
|
+
const nestedListBlock = listItemBlock.nestList[0];
|
|
203
|
+
const nestedListItemBlock = nestedListBlock.children[0];
|
|
204
204
|
expect(paragraphBlock.parent).toEqual(contentState);
|
|
205
205
|
expect(imageBlock.parent).toEqual(contentState);
|
|
206
206
|
expect(listBlock.parent).toEqual(contentState);
|
|
@@ -20,9 +20,9 @@ describe('text node', () => {
|
|
|
20
20
|
it('new RTETextNode should work as expect', () => {
|
|
21
21
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
22
22
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
23
|
-
textBlock.
|
|
23
|
+
textBlock.children = [textNode];
|
|
24
24
|
expect(textNode.toJSON()).toEqual({ id: '1', text: 'This is a text.', type: 'text' });
|
|
25
|
-
expect(textNode.
|
|
25
|
+
expect(textNode.parent).toBe(textBlock);
|
|
26
26
|
});
|
|
27
27
|
it('from method should work as expect', () => {
|
|
28
28
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
@@ -131,7 +131,7 @@ describe('text node', () => {
|
|
|
131
131
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
132
132
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
133
133
|
const textNode2 = new RTETextNode('2', 'This is a text 2.', textBlock);
|
|
134
|
-
textBlock.
|
|
134
|
+
textBlock.children = [textNode, textNode2];
|
|
135
135
|
stateEntityRenderingRegistry.register(mockSpan, textNode);
|
|
136
136
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
137
137
|
textNode.apply(new SelectionChangeAction(range));
|
|
@@ -182,7 +182,7 @@ describe('text node', () => {
|
|
|
182
182
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
183
183
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
184
184
|
const textNode2 = new RTETextNode('2', 'This is a text 2.', textBlock);
|
|
185
|
-
textBlock.
|
|
185
|
+
textBlock.children = [textNode, textNode2];
|
|
186
186
|
stateEntityRenderingRegistry.register(mockSpan, textNode);
|
|
187
187
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
188
188
|
textNode.apply(new SelectionChangeAction(range));
|
|
@@ -221,7 +221,7 @@ describe('text node', () => {
|
|
|
221
221
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
222
222
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
223
223
|
const textNode2 = new RTETextNode('2', 'This is a text 2.', textBlock);
|
|
224
|
-
textBlock.
|
|
224
|
+
textBlock.children = [textNode, textNode2];
|
|
225
225
|
stateEntityRenderingRegistry.register(mockSpan, textNode);
|
|
226
226
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
227
227
|
textNode.apply(new SelectionChangeAction(range));
|
|
@@ -263,7 +263,7 @@ describe('text node', () => {
|
|
|
263
263
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
264
264
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
265
265
|
const textNode2 = new RTETextNode('2', '', textBlock);
|
|
266
|
-
textBlock.
|
|
266
|
+
textBlock.children = [textNode, textNode2];
|
|
267
267
|
stateEntityRenderingRegistry.register(mockSpan, textNode);
|
|
268
268
|
stateEntityRenderingRegistry.register(mockSpan2, textNode2);
|
|
269
269
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
@@ -303,7 +303,7 @@ describe('text node', () => {
|
|
|
303
303
|
const textBlock = new RTETextBlock('block-1', 'paragraph');
|
|
304
304
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
305
305
|
const textNode2 = new RTETextNode('2', 'This is a text 2.', textBlock);
|
|
306
|
-
textBlock.
|
|
306
|
+
textBlock.children = [textNode, textNode2];
|
|
307
307
|
stateEntityRenderingRegistry.register(mockSpan, textNode);
|
|
308
308
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
309
309
|
textNode.apply(new SelectionChangeAction(range));
|
|
@@ -348,12 +348,12 @@ describe('text node', () => {
|
|
|
348
348
|
const textNode = new RTETextNode('1', 'This is a text.', textBlock);
|
|
349
349
|
const textNode2 = new RTETextNode('2', 'This is a text 2.', textBlock);
|
|
350
350
|
const textNode3 = new RTETextNode('3', 'This is a text 3.', textBlock);
|
|
351
|
-
textBlock.
|
|
351
|
+
textBlock.children = [textNode, textNode2, textNode3];
|
|
352
352
|
stateEntityRenderingRegistry.register(mockSpan1, textNode);
|
|
353
353
|
stateEntityRenderingRegistry.register(mockSpan2, textNode2);
|
|
354
354
|
stateEntityRenderingRegistry.register(mockSpan3, textNode3);
|
|
355
355
|
stateEntityRenderingRegistry.register(mockDiv, textBlock);
|
|
356
|
-
textBlock.
|
|
356
|
+
textBlock.children.forEach((node) => {
|
|
357
357
|
node.apply(new SelectionChangeAction(range));
|
|
358
358
|
node.apply(new BoldAnnotationAction(true));
|
|
359
359
|
});
|
package/dist/collection/components/vega-table/slimmers/controllers/dto/column-render-input-model.js
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ColumnRenderInputModel
|
|
3
|
+
*
|
|
4
|
+
* Render-time representation of a column or group node used by header/body renderers.
|
|
5
|
+
* Built from a ColumnStructureModel tree, it carries computed layout metadata required
|
|
6
|
+
* for rendering and pinned/sticky calculations (colSpan, rowSpan, pinned boundaries, etc).
|
|
7
|
+
*
|
|
8
|
+
* Instances form a forest (root-level nodes in an array) that mirrors the structure model
|
|
9
|
+
* but contains additional render-specific properties and parent/child links for renderers.
|
|
10
|
+
*/
|
|
11
|
+
export class ColumnRenderInputModel {
|
|
12
|
+
/**
|
|
13
|
+
* Create a new render input node.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} key - Unique key (matches ColumnStructureModel.key).
|
|
16
|
+
* @param {string} label - Optional display label (from structure model).
|
|
17
|
+
* @param {VegaTablePinnedType} pinned - Pinned type for this node ('left' | 'right' | null).
|
|
18
|
+
* @param {Nullable<number>} colSpan - Number of visual columns spanned by this node's subtree.
|
|
19
|
+
* @param {Nullable<number>} rowSpan - Number of header rows this node should span.
|
|
20
|
+
* @param {boolean} isViewStart - True when this node is the start of a visible view range.
|
|
21
|
+
* @param {boolean} isViewEnd - True when this node is the end of a visible view range.
|
|
22
|
+
* @param {boolean} isLeftEndPinned - True when node is last left-pinned sibling.
|
|
23
|
+
* @param {boolean} isRightStartPinned - True when node is first right-pinned sibling.
|
|
24
|
+
* @param {boolean} isNoPinnedEnd - True when node is last non-pinned sibling.
|
|
25
|
+
* @param {boolean} headHasGroupColumn - Header contains group columns (affects rowSpan).
|
|
26
|
+
* @param {boolean} headHasPinnedColumn - Header contains pinned columns.
|
|
27
|
+
* @param {number} headMaxDepth - Maximum header depth (number of header rows).
|
|
28
|
+
* @param {number} level - Level/index of this node within header rows (0-based).
|
|
29
|
+
* @param {number} columnIndex - Sequential leaf index (used for ordering).
|
|
30
|
+
* @param {Nullable<ColumnRenderInputModel>} parent - Parent render input node (null for root-level).
|
|
31
|
+
* @param {ColumnRenderInputModel[]} children - Child render input nodes.
|
|
32
|
+
*/
|
|
33
|
+
constructor(key, label, pinned, colSpan, rowSpan, isViewStart, isViewEnd, isLeftEndPinned, isRightStartPinned, isNoPinnedEnd, headHasGroupColumn, headHasPinnedColumn, headMaxDepth, level, columnIndex, parent, children = []) {
|
|
34
|
+
this.key = key;
|
|
35
|
+
this.label = label;
|
|
36
|
+
this.pinned = pinned;
|
|
37
|
+
this.colSpan = colSpan;
|
|
38
|
+
this.rowSpan = rowSpan;
|
|
39
|
+
this.isViewStart = isViewStart;
|
|
40
|
+
this.isViewEnd = isViewEnd;
|
|
41
|
+
this.isLeftEndPinned = isLeftEndPinned;
|
|
42
|
+
this.isRightStartPinned = isRightStartPinned;
|
|
43
|
+
this.isNoPinnedEnd = isNoPinnedEnd;
|
|
44
|
+
this.headHasGroupColumn = headHasGroupColumn;
|
|
45
|
+
this.headHasPinnedColumn = headHasPinnedColumn;
|
|
46
|
+
this.headMaxDepth = headMaxDepth;
|
|
47
|
+
this.level = level;
|
|
48
|
+
this.columnIndex = columnIndex;
|
|
49
|
+
this.parent = parent;
|
|
50
|
+
this.children = children;
|
|
51
|
+
this.iteratorCacheMap = new Map();
|
|
52
|
+
this.leaves = [];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Build a forest of ColumnRenderInputModel nodes from a ColumnStructureModel root.
|
|
56
|
+
*
|
|
57
|
+
* @param {ColumnStructureModel} rootModel - Root ColumnStructureModel that supplies tree and level data.
|
|
58
|
+
* @returns {ColumnRenderInputModel[]} Array of root-level ColumnRenderInputModel nodes (the render forest).
|
|
59
|
+
*/
|
|
60
|
+
static from(rootModel) {
|
|
61
|
+
const renderInputs = [];
|
|
62
|
+
const parentStack = [];
|
|
63
|
+
const maxLevel = rootModel.getMaxDepth();
|
|
64
|
+
const hasGroupColumn = rootModel.hasGroupColumn();
|
|
65
|
+
const hasPinnedColumn = rootModel.hasLeftPinnedColumn() || rootModel.hasRightPinnedColumn();
|
|
66
|
+
let columnIndex = 0;
|
|
67
|
+
// Iterate structure model (DFS by default) and construct render nodes.
|
|
68
|
+
rootModel.iterator().forEach((model) => {
|
|
69
|
+
const parent = model.level > 0 ? parentStack[model.level - 1] : null;
|
|
70
|
+
const isParentStart = hasGroupColumn && this.isParentStart(model);
|
|
71
|
+
const isParentEnd = hasGroupColumn && this.isParentEnd(model);
|
|
72
|
+
const renderInput = new ColumnRenderInputModel(model.key, model.label, parent ? parent.pinned : model.pinned, hasGroupColumn ? this.getColSpan(model) : null, hasGroupColumn ? (model.isLeaf() ? maxLevel - model.level : 1) : null, parent ? parent.isViewStart && isParentStart : isParentStart, parent ? parent.isViewEnd && isParentEnd : isParentEnd, parent
|
|
73
|
+
? parent.isLeftEndPinned && isParentEnd
|
|
74
|
+
: hasPinnedColumn && this.isLeftEndPinned(model), parent
|
|
75
|
+
? parent.isRightStartPinned && isParentStart
|
|
76
|
+
: hasPinnedColumn && this.isRightStartPinned(model), parent ? parent.isNoPinnedEnd && isParentEnd : hasPinnedColumn && this.isNoPinnedEnd(model), hasGroupColumn, hasPinnedColumn, maxLevel, model.level, columnIndex, parent);
|
|
77
|
+
// Attach to parent if present, otherwise add to root-level array.
|
|
78
|
+
parent ? parent.children.push(renderInput) : renderInputs.push(renderInput);
|
|
79
|
+
// Maintain parent stack keyed by level to allow next nodes to find their parent.
|
|
80
|
+
parentStack[model.level] = renderInput;
|
|
81
|
+
parentStack.length = model.level + 1;
|
|
82
|
+
// Increment leaf index when encountering a leaf structure node.
|
|
83
|
+
if (model.isLeaf())
|
|
84
|
+
columnIndex++;
|
|
85
|
+
});
|
|
86
|
+
return renderInputs;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* True when the provided structure model is the last left-pinned sibling in its parent's children.
|
|
90
|
+
* Used to mark boundary nodes for left-pinned groups.
|
|
91
|
+
*
|
|
92
|
+
* @param {ColumnStructureModel} model - Structure model to check.
|
|
93
|
+
* @returns {boolean} True when model is the last left-pinned sibling.
|
|
94
|
+
*/
|
|
95
|
+
static isLeftEndPinned(model) {
|
|
96
|
+
const siblings = model.parent
|
|
97
|
+
.getOrderedChildren()
|
|
98
|
+
.filter((child) => child.pinned === 'left');
|
|
99
|
+
return siblings[siblings.length - 1] === model;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* True when the provided structure model is the first right-pinned sibling in its parent's children.
|
|
103
|
+
* Used to mark boundary nodes for right-pinned groups.
|
|
104
|
+
*
|
|
105
|
+
* @param {ColumnStructureModel} model - Structure model to check.
|
|
106
|
+
* @returns {boolean} True when model is the first right-pinned sibling.
|
|
107
|
+
*/
|
|
108
|
+
static isRightStartPinned(model) {
|
|
109
|
+
const siblings = model.parent
|
|
110
|
+
.getOrderedChildren()
|
|
111
|
+
.filter((child) => child.pinned === 'right');
|
|
112
|
+
return siblings[0] === model;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* True when the provided structure model is the last non-pinned sibling in its parent's children.
|
|
116
|
+
* Useful to handle the 'no-pinned-end' condition.
|
|
117
|
+
*
|
|
118
|
+
* @param {ColumnStructureModel} model - Structure model to check.
|
|
119
|
+
* @returns {boolean} True when model is the last non-pinned sibling.
|
|
120
|
+
*/
|
|
121
|
+
static isNoPinnedEnd(model) {
|
|
122
|
+
const siblings = model.parent
|
|
123
|
+
.getOrderedChildren()
|
|
124
|
+
.filter((child) => !child.pinned);
|
|
125
|
+
return siblings[siblings.length - 1] === model;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* True when the provided model is the first child of its parent.
|
|
129
|
+
*
|
|
130
|
+
* @param {ColumnStructureModel} model - Structure model to check.
|
|
131
|
+
* @returns {boolean} True when model is the first child.
|
|
132
|
+
*/
|
|
133
|
+
static isParentStart(model) {
|
|
134
|
+
return model.parent.getOrderedChildren()[0] === model;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* True when the provided model is the last child of its parent.
|
|
138
|
+
*
|
|
139
|
+
* @param {ColumnStructureModel} model - Structure model to check.
|
|
140
|
+
* @returns {boolean} True when model is the last child.
|
|
141
|
+
*/
|
|
142
|
+
static isParentEnd(model) {
|
|
143
|
+
const parentChildren = model.parent.getOrderedChildren();
|
|
144
|
+
return parentChildren[parentChildren.length - 1] === model;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Compute a node's colSpan by iterating its subtree and counting the maximum number
|
|
148
|
+
* of nodes present at any single level (visual column span).
|
|
149
|
+
*
|
|
150
|
+
* @param {ColumnStructureModel} mode - ColumnStructureModel node to examine.
|
|
151
|
+
* @returns {number} Number of visual columns spanned by the node.
|
|
152
|
+
*/
|
|
153
|
+
static getColSpan(mode) {
|
|
154
|
+
const children = mode.iterator();
|
|
155
|
+
const rowMap = {};
|
|
156
|
+
children.forEach((node) => {
|
|
157
|
+
rowMap[node.level] = (rowMap[node.level] || 0) + 1;
|
|
158
|
+
});
|
|
159
|
+
return Math.max(...Object.values(rowMap));
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Return cached leaf render nodes for this subtree.
|
|
163
|
+
* Caches the result on first call and returns cached array on subsequent calls.
|
|
164
|
+
*
|
|
165
|
+
* @returns {ColumnRenderInputModel[]} Array of leaf render input nodes.
|
|
166
|
+
*/
|
|
167
|
+
getLeaves() {
|
|
168
|
+
if (this.leaves.length > 0) {
|
|
169
|
+
return this.leaves;
|
|
170
|
+
}
|
|
171
|
+
const leaves = this.iterator().filter((model) => model.isLeaf());
|
|
172
|
+
this.leaves = leaves;
|
|
173
|
+
return leaves;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Generic iterator that supports traversal modes ('dfs' currently implemented).
|
|
177
|
+
*
|
|
178
|
+
* @param {IteratorMode} [mode='dfs'] - Iterator mode ('dfs' | 'bfs').
|
|
179
|
+
* @returns {ColumnRenderInputModel[]} Traversal-ordered array of nodes.
|
|
180
|
+
*/
|
|
181
|
+
iterator(mode = 'dfs') {
|
|
182
|
+
if (mode === 'dfs') {
|
|
183
|
+
return this.dfsIterator();
|
|
184
|
+
}
|
|
185
|
+
// Future: implement BFS mode here.
|
|
186
|
+
return [];
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Depth-first pre-order traversal of this node and its descendants.
|
|
190
|
+
* Caches the result for the 'dfs' mode to avoid repeated recursion.
|
|
191
|
+
*
|
|
192
|
+
* @returns {ColumnRenderInputModel[]} Array of nodes in DFS order (includes this node).
|
|
193
|
+
*/
|
|
194
|
+
dfsIterator() {
|
|
195
|
+
if (this.iteratorCacheMap.has('dfs')) {
|
|
196
|
+
return this.iteratorCacheMap.get('dfs');
|
|
197
|
+
}
|
|
198
|
+
const localResult = [];
|
|
199
|
+
localResult.push(this);
|
|
200
|
+
if (this.children && this.children.length > 0) {
|
|
201
|
+
this.children.forEach((child) => {
|
|
202
|
+
localResult.push(...child.dfsIterator());
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
this.iteratorCacheMap.set('dfs', localResult);
|
|
206
|
+
return localResult;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* True when this render node has no children (visual leaf).
|
|
210
|
+
*
|
|
211
|
+
* @returns {boolean} True when node is a leaf.
|
|
212
|
+
*/
|
|
213
|
+
isLeaf() {
|
|
214
|
+
return !this.children || this.children.length === 0;
|
|
215
|
+
}
|
|
216
|
+
}
|