@heartlandone/vega 2.79.0 → 2.80.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-e9fdfbf9.js → app-globals-7a48292d.js} +6 -6
- package/dist/cjs/{aria-dialog-focusable-trap-slimmer-6faafc3e.js → aria-dialog-focusable-trap-slimmer-5a0a78fe.js} +60 -6
- package/dist/cjs/{child-nodes-notify-observer-slimmer-06c78f97.js → child-nodes-notify-observer-slimmer-a8d13f4c.js} +1 -1
- package/dist/cjs/{code-block-847534e3.js → code-block-71a330a1.js} +124 -56
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-d7f9812a.js → component-value-history-controller-slimmer.abstract-fd077a6c.js} +6 -6
- package/dist/cjs/{content-state-99be18a3.js → content-state-afa26456.js} +401 -18
- package/dist/cjs/{date-required-rule-3823d506.js → date-required-rule-9f0e3e99.js} +1 -1
- package/dist/cjs/{design-token-b497bb6e.js → design-token-3f9589eb.js} +2 -2
- package/dist/cjs/{dom-node-subject-observer-factory-f7ed3bdc.js → dom-node-subject-observer-factory-a3a60da4.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-eba4f3a2.js → element-appender-slimmer-7a66229b.js} +5 -5
- package/dist/cjs/{event-emit-slimmer-83f8e2bd.js → event-emit-slimmer-024e26bb.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-93ca7239.js → form-field-controller-slimmer-c487cf2b.js} +4 -4
- package/dist/cjs/{image-annotation-action-9d6af380.js → image-annotation-action-4e72af4b.js} +3 -3
- package/dist/cjs/index.cjs.js +15 -15
- package/dist/cjs/{inject-keyboard-manager-23d07d87.js → inject-keyboard-manager-d1a82089.js} +1 -1
- package/dist/cjs/{keyboard-manager-3923e29b.js → keyboard-manager-9dbbb0d4.js} +13 -5
- package/dist/cjs/{keyboard-manager-slimmer-f602725d.js → keyboard-manager-slimmer-68cff676.js} +1 -1
- package/dist/cjs/loader.cjs.js +10 -10
- package/dist/cjs/{month-view-generator-aa8e8e74.js → month-view-generator-65a2f883.js} +2 -3
- package/dist/cjs/{public-rules-1dbda124.js → public-rules-36f202b3.js} +9 -9
- package/dist/cjs/{range-60fb9dd2.js → range-fa15d524.js} +2 -2
- package/dist/cjs/{responsive-format-facade-a32cdb67.js → responsive-format-facade-4419b4ae.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-b4aab68d.js → rich-text-editor-required-rule-7d4c2973.js} +1 -1
- package/dist/cjs/{split-cell-operation-190d4a87.js → split-cell-operation-19f98afb.js} +4 -4
- package/dist/cjs/{string-format-strategy.abstract-730088ee.js → string-format-strategy.abstract-c65d9861.js} +5 -2
- package/dist/cjs/{string-input-formatter-slimmer-9d6df58b.js → string-input-formatter-slimmer-c2e04acc.js} +4 -4
- package/dist/cjs/{string-mask-strategy-b69e3b9e.js → string-mask-strategy-418fc0b8.js} +40 -9
- package/dist/cjs/{style-formatter-9d8a4ad2.js → style-formatter-3c9ce0e5.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-c80b9d21.js → sub-state-notify-slimmer-7a4c6061.js} +2 -2
- package/dist/cjs/{sub-state-observer-slimmer-15740c97.js → sub-state-observer-slimmer-f728e068.js} +3 -3
- package/dist/cjs/{time-required-rule-6524b650.js → time-required-rule-ad091302.js} +1 -1
- package/dist/cjs/{token-extension-b7c4ea17.js → token-extension-90396de7.js} +7 -7
- package/dist/cjs/{type-guard-2a46bca5.js → type-guard-d760850a.js} +11 -0
- package/dist/cjs/{ui-b3db0122.js → ui-9e8c9732.js} +8 -2
- package/dist/cjs/{valid-credit-card-number-rule-8eb02ea7.js → valid-credit-card-number-rule-5ce8e973.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-header-button.cjs.entry.js +6 -6
- package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +5 -5
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/vega-button-circle.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
- package/dist/cjs/vega-button.cjs.entry.js +6 -6
- package/dist/cjs/vega-calendar_4.cjs.entry.js +30 -17
- package/dist/cjs/vega-card.cjs.entry.js +4 -4
- package/dist/cjs/vega-carousel.cjs.entry.js +5 -5
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-chip.cjs.entry.js +6 -6
- package/dist/cjs/vega-code-block.cjs.entry.js +10 -10
- package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
- package/dist/cjs/vega-combo-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
- package/dist/cjs/vega-dialog_2.cjs.entry.js +8 -7
- package/dist/cjs/vega-divider.cjs.entry.js +3 -3
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +12 -12
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +6 -6
- package/dist/cjs/vega-flag-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-flex.cjs.entry.js +5 -5
- package/dist/cjs/vega-font.cjs.entry.js +4 -4
- package/dist/cjs/vega-form.cjs.entry.js +9 -9
- package/dist/cjs/vega-grid.cjs.entry.js +4 -4
- package/dist/cjs/vega-icon.cjs.entry.js +4 -4
- package/dist/cjs/vega-image-uploader.cjs.entry.js +8 -8
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-numeric.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +8 -8
- package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-select.cjs.entry.js +8 -8
- package/dist/cjs/vega-input.cjs.entry.js +37 -27
- package/dist/cjs/{vega-internal-event-id-67bb91c1.js → vega-internal-event-id-a1837fa2.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +9 -9
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +6 -6
- package/dist/cjs/vega-popover_2.cjs.entry.js +48 -12
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +17 -17
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +9 -9
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +8 -8
- package/dist/cjs/vega-signature-capture.cjs.entry.js +9 -9
- package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-table_11.cjs.entry.js +8 -8
- package/dist/cjs/vega-text.cjs.entry.js +1 -1
- package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +8 -8
- package/dist/cjs/vega.cjs.js +10 -10
- package/dist/cjs/{wait-for-component-did-render-9e41b39e.js → wait-for-component-did-render-b6aba2de.js} +2 -2
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +4 -4
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +15 -12
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +17 -3
- package/dist/collection/components/vega-calendar/vega-calendar.css +1 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +5 -5
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +13 -12
- package/dist/collection/components/vega-input/vega-input.js +1 -1
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +25 -1
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +6 -1
- package/dist/collection/components/vega-popover/vega-popover.js +7 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +13 -6
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +18 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +12 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/list-annotation.js +12 -4
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.js +22 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +43 -32
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +31 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.js +39 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.js +30 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.js +89 -0
- package/dist/collection/components/vega-rich-text-editor/dto/setup.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +40 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +2 -1
- package/dist/collection/helpers/calendar/calendar-date.js +10 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +2 -2
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +3 -2
- package/dist/collection/helpers/formatter/string-formatter/string-format-strategy.abstract.js +4 -1
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +38 -7
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +4 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +11 -3
- package/dist/collection/helpers/slimmers/aria-dialog-focusable-trap-slimmer.js +59 -5
- package/dist/collection/utils/ui.js +8 -2
- package/dist/esm/{app-globals-776ccaa3.js → app-globals-e77015e3.js} +6 -6
- package/dist/esm/{aria-dialog-focusable-trap-slimmer-cc98a7a4.js → aria-dialog-focusable-trap-slimmer-5a2f92be.js} +60 -6
- package/dist/esm/{child-nodes-notify-observer-slimmer-c7297b9f.js → child-nodes-notify-observer-slimmer-b7f0e419.js} +1 -1
- package/dist/esm/{code-block-58d1dbe5.js → code-block-7d6f231b.js} +117 -57
- package/dist/esm/{component-value-history-controller-slimmer.abstract-5beb8acb.js → component-value-history-controller-slimmer.abstract-acf65b17.js} +6 -6
- package/dist/esm/{content-state-dad1fd71.js → content-state-084cd705.js} +401 -18
- package/dist/esm/{date-required-rule-4c40a4eb.js → date-required-rule-29608215.js} +1 -1
- package/dist/esm/{design-token-9c4eb6b1.js → design-token-edcd787b.js} +2 -2
- package/dist/esm/{dom-node-subject-observer-factory-94b2e2c3.js → dom-node-subject-observer-factory-cea9248d.js} +1 -1
- package/dist/esm/{element-appender-slimmer-fde815dc.js → element-appender-slimmer-08ec429b.js} +5 -5
- package/dist/esm/{event-emit-slimmer-b236945b.js → event-emit-slimmer-4fba1b35.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-00fa3678.js → form-field-controller-slimmer-8dd39707.js} +4 -4
- package/dist/esm/{image-annotation-action-1ec7b461.js → image-annotation-action-a6b33a81.js} +3 -3
- package/dist/esm/index.js +15 -15
- package/dist/esm/{inject-keyboard-manager-784b1364.js → inject-keyboard-manager-7557816f.js} +1 -1
- package/dist/esm/{keyboard-manager-e020039f.js → keyboard-manager-1846c6a5.js} +13 -5
- package/dist/esm/{keyboard-manager-slimmer-4722d20c.js → keyboard-manager-slimmer-1ae0aa4d.js} +1 -1
- package/dist/esm/loader.js +10 -10
- package/dist/esm/{month-view-generator-6fe1f491.js → month-view-generator-b700ed08.js} +2 -3
- package/dist/esm/{public-rules-1626fb0d.js → public-rules-fe2c7934.js} +9 -9
- package/dist/esm/{range-4f9bf69d.js → range-00afe462.js} +2 -2
- package/dist/esm/{responsive-format-facade-e8534e59.js → responsive-format-facade-37d4d850.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-c391aeb6.js → rich-text-editor-required-rule-6487ec94.js} +1 -1
- package/dist/esm/{split-cell-operation-55cd9fae.js → split-cell-operation-9445e642.js} +4 -4
- package/dist/esm/{string-format-strategy.abstract-8c48e515.js → string-format-strategy.abstract-ec6d627b.js} +5 -2
- package/dist/esm/{string-input-formatter-slimmer-519480ce.js → string-input-formatter-slimmer-959dff7a.js} +4 -4
- package/dist/esm/{string-mask-strategy-8070817e.js → string-mask-strategy-49be41f0.js} +40 -9
- package/dist/esm/{style-formatter-7afd0680.js → style-formatter-ad0b2bac.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-54531808.js → sub-state-notify-slimmer-ee8c417b.js} +2 -2
- package/dist/esm/{sub-state-observer-slimmer-b3a773c5.js → sub-state-observer-slimmer-4d30fa5c.js} +3 -3
- package/dist/esm/{time-required-rule-2569e5ad.js → time-required-rule-414b1590.js} +1 -1
- package/dist/esm/{token-extension-612575cb.js → token-extension-600b1c88.js} +7 -7
- package/dist/esm/{type-guard-c20cbbff.js → type-guard-23a08026.js} +11 -1
- package/dist/esm/{ui-ac244bf0.js → ui-ba5a4758.js} +8 -2
- package/dist/esm/{valid-credit-card-number-rule-b9c3c2f8.js → valid-credit-card-number-rule-60abddac.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-header-button.entry.js +6 -6
- package/dist/esm/vega-backdrop.entry.js +1 -1
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +5 -5
- package/dist/esm/vega-breadcrumb.entry.js +3 -3
- package/dist/esm/vega-button-circle.entry.js +7 -7
- package/dist/esm/vega-button-group_2.entry.js +6 -6
- package/dist/esm/vega-button-link.entry.js +3 -3
- package/dist/esm/vega-button.entry.js +6 -6
- package/dist/esm/vega-calendar_4.entry.js +30 -17
- package/dist/esm/vega-card.entry.js +4 -4
- package/dist/esm/vega-carousel.entry.js +5 -5
- package/dist/esm/vega-checkbox_2.entry.js +7 -7
- package/dist/esm/vega-chip.entry.js +6 -6
- package/dist/esm/vega-code-block.entry.js +10 -10
- package/dist/esm/vega-color-picker.entry.js +6 -6
- package/dist/esm/vega-combo-box.entry.js +9 -9
- package/dist/esm/vega-date-picker_2.entry.js +23 -23
- package/dist/esm/vega-dialog_2.entry.js +8 -7
- package/dist/esm/vega-divider.entry.js +3 -3
- package/dist/esm/vega-dropdown_5.entry.js +12 -12
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +6 -6
- package/dist/esm/vega-flag-icon.entry.js +3 -3
- package/dist/esm/vega-flex.entry.js +5 -5
- package/dist/esm/vega-font.entry.js +4 -4
- package/dist/esm/vega-form.entry.js +9 -9
- package/dist/esm/vega-grid.entry.js +4 -4
- package/dist/esm/vega-icon.entry.js +4 -4
- package/dist/esm/vega-image-uploader.entry.js +8 -8
- package/dist/esm/vega-input-credit-card.entry.js +10 -10
- package/dist/esm/vega-input-numeric.entry.js +10 -10
- package/dist/esm/vega-input-passcode.entry.js +9 -9
- package/dist/esm/vega-input-phone-number.entry.js +8 -8
- package/dist/esm/vega-input-range.entry.js +6 -6
- package/dist/esm/vega-input-select.entry.js +8 -8
- package/dist/esm/vega-input.entry.js +37 -27
- package/dist/esm/{vega-internal-event-id-8002b179.js → vega-internal-event-id-70bd893d.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +9 -9
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-page-notification_2.entry.js +2 -2
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination.entry.js +6 -6
- package/dist/esm/vega-popover_2.entry.js +48 -12
- package/dist/esm/vega-progress-tracker_2.entry.js +8 -8
- package/dist/esm/vega-radio_2.entry.js +10 -10
- package/dist/esm/vega-rich-text-content.entry.js +9 -9
- package/dist/esm/vega-rich-text-editor_4.entry.js +17 -17
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +9 -9
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-chip_2.entry.js +9 -9
- package/dist/esm/vega-selection-tile_2.entry.js +8 -8
- package/dist/esm/vega-sidenav_3.entry.js +8 -8
- package/dist/esm/vega-signature-capture.entry.js +9 -9
- package/dist/esm/vega-stepper.entry.js +6 -6
- package/dist/esm/vega-tab-group_2.entry.js +3 -3
- package/dist/esm/vega-table_11.entry.js +8 -8
- package/dist/esm/vega-text.entry.js +1 -1
- package/dist/esm/vega-textarea.entry.js +6 -6
- package/dist/esm/vega-time-picker_2.entry.js +12 -12
- package/dist/esm/vega-toggle-switch.entry.js +6 -6
- package/dist/esm/vega-tooltip_2.entry.js +8 -8
- package/dist/esm/vega.js +10 -10
- package/dist/esm/{wait-for-component-did-render-1e62d6f7.js → wait-for-component-did-render-03e7ccb2.js} +2 -2
- package/dist/sri/vega-sri-manifest.json +346 -346
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +5 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +1 -0
- package/dist/types/components/vega-input/types.d.ts +30 -1
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/list-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.d.ts +41 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +10 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +7 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +0 -1
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.abstract.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +32 -4
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +1 -0
- package/dist/types/helpers/slimmers/aria-dialog-focusable-trap-slimmer.d.ts +19 -0
- package/dist/types/utils/ui.d.ts +3 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-8cd70b3b.js → p-010b5e74.js} +1 -1
- package/dist/vega/{p-33cacbd6.entry.js → p-01883ffc.entry.js} +1 -1
- package/dist/vega/{p-7f68abf7.js → p-02578a59.js} +1 -1
- package/dist/vega/{p-916ef5dd.entry.js → p-0313393d.entry.js} +1 -1
- package/dist/vega/p-043e685a.entry.js +1 -0
- package/dist/vega/{p-972c594b.entry.js → p-04e56b0c.entry.js} +1 -1
- package/dist/vega/p-07a2b42a.js +1 -0
- package/dist/vega/{p-fb92092b.entry.js → p-08780df0.entry.js} +1 -1
- package/dist/vega/p-10fa4eac.js +1 -0
- package/dist/vega/{p-19adff1f.entry.js → p-1557ed92.entry.js} +1 -1
- package/dist/vega/{p-405ab757.js → p-18619467.js} +1 -1
- package/dist/vega/{p-a5543b6a.entry.js → p-19ad4f15.entry.js} +1 -1
- package/dist/vega/{p-46c7763f.entry.js → p-1a2f92a3.entry.js} +1 -1
- package/dist/vega/{p-085d45c9.js → p-1c45565d.js} +1 -1
- package/dist/vega/{p-b91aff06.entry.js → p-1feb4f2a.entry.js} +1 -1
- package/dist/vega/{p-14dfdba3.entry.js → p-203bc4db.entry.js} +1 -1
- package/dist/vega/{p-6e13e2fc.js → p-204c7d41.js} +1 -1
- package/dist/vega/{p-833b79ad.entry.js → p-21c9e1ca.entry.js} +1 -1
- package/dist/vega/p-22336063.js +1 -0
- package/dist/vega/{p-1784724a.entry.js → p-224b67ff.entry.js} +1 -1
- package/dist/vega/{p-dccda3d1.js → p-2c2df248.js} +1 -1
- package/dist/vega/{p-667d5b80.entry.js → p-2d917e2d.entry.js} +1 -1
- package/dist/vega/{p-02bab5ea.entry.js → p-2e73582d.entry.js} +1 -1
- package/dist/vega/{p-b7dd3ef2.entry.js → p-334e3b02.entry.js} +1 -1
- package/dist/vega/{p-6554a801.js → p-33860e54.js} +1 -1
- package/dist/vega/{p-dba91c23.entry.js → p-35386999.entry.js} +1 -1
- package/dist/vega/{p-bc142c5c.entry.js → p-365d21ac.entry.js} +1 -1
- package/dist/vega/{p-fadeb5a2.entry.js → p-367d44d9.entry.js} +1 -1
- package/dist/vega/{p-a6ad6515.entry.js → p-382b71a3.entry.js} +1 -1
- package/dist/vega/{p-b67672ae.entry.js → p-434fc427.entry.js} +1 -1
- package/dist/vega/p-44c5cbb7.js +1 -0
- package/dist/vega/{p-408a1baa.entry.js → p-47ca1f69.entry.js} +1 -1
- package/dist/vega/{p-5d397ee0.entry.js → p-4eb282ef.entry.js} +1 -1
- package/dist/vega/{p-b589cafd.entry.js → p-517434d4.entry.js} +1 -1
- package/dist/vega/p-559197f8.js +1 -0
- package/dist/vega/{p-6e05fc55.js → p-576fe408.js} +1 -1
- package/dist/vega/p-5ae4ea20.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-b15a2d4b.js → p-60cf2a68.js} +1 -1
- package/dist/vega/p-612e3ded.js +1 -0
- package/dist/vega/{p-679a4046.entry.js → p-65900dbf.entry.js} +1 -1
- package/dist/vega/p-68124bc5.js +1 -0
- package/dist/vega/{p-28ed34b3.entry.js → p-6af55f1c.entry.js} +1 -1
- package/dist/vega/{p-5b90bbfe.js → p-6c5250b3.js} +1 -1
- package/dist/vega/p-6f2e5bc6.js +1 -0
- package/dist/vega/{p-439c7c13.entry.js → p-70f1cf4e.entry.js} +1 -1
- package/dist/vega/{p-a02f77c7.js → p-716c71e6.js} +1 -1
- package/dist/vega/{p-d862195c.entry.js → p-7362723e.entry.js} +1 -1
- package/dist/vega/{p-28c8ffb4.js → p-7618dde4.js} +1 -1
- package/dist/vega/p-76b80a0c.js +1 -0
- package/dist/vega/{p-937d5317.entry.js → p-7912741f.entry.js} +1 -1
- package/dist/vega/{p-6b19d33a.entry.js → p-7942c042.entry.js} +1 -1
- package/dist/vega/{p-820906b8.entry.js → p-7c2fecfd.entry.js} +1 -1
- package/dist/vega/{p-02fec68b.entry.js → p-7ceab8c7.entry.js} +1 -1
- package/dist/vega/p-8327635d.js +1 -0
- package/dist/vega/{p-db29681a.entry.js → p-840ad046.entry.js} +1 -1
- package/dist/vega/{p-4068e7de.js → p-878851f6.js} +1 -1
- package/dist/vega/{p-a2161e9d.js → p-89e56502.js} +1 -1
- package/dist/vega/{p-9e6e76b2.entry.js → p-8adf9732.entry.js} +1 -1
- package/dist/vega/{p-18378017.entry.js → p-90137c68.entry.js} +1 -1
- package/dist/vega/p-9341c1a9.js +1 -0
- package/dist/vega/{p-cb0324e7.entry.js → p-9390a94b.entry.js} +1 -1
- package/dist/vega/p-9551da9c.entry.js +1 -0
- package/dist/vega/p-9862d1a8.entry.js +1 -0
- package/dist/vega/{p-2bbbdf87.entry.js → p-9dc23325.entry.js} +1 -1
- package/dist/vega/p-a4dbf2cc.js +1 -0
- package/dist/vega/{p-561e9097.entry.js → p-a99e75a1.entry.js} +1 -1
- package/dist/vega/{p-b4d72eff.entry.js → p-ab21fdf6.entry.js} +1 -1
- package/dist/vega/{p-fc3d6d9d.js → p-b3e40faf.js} +1 -1
- package/dist/vega/{p-4ea3cf5f.entry.js → p-b5a6bd0f.entry.js} +1 -1
- package/dist/vega/{p-5dfd36d3.entry.js → p-b5c2fff3.entry.js} +1 -1
- package/dist/vega/{p-a0a39ec3.js → p-b696a861.js} +1 -1
- package/dist/vega/{p-076c6445.entry.js → p-ba415db6.entry.js} +1 -1
- package/dist/vega/{p-814c37be.entry.js → p-be3517be.entry.js} +1 -1
- package/dist/vega/{p-615bc3de.entry.js → p-c045e4c1.entry.js} +1 -1
- package/dist/vega/{p-4e76a84d.entry.js → p-c4e32125.entry.js} +1 -1
- package/dist/vega/{p-20981b17.entry.js → p-c5b698f6.entry.js} +1 -1
- package/dist/vega/{p-71720290.entry.js → p-c61279a7.entry.js} +1 -1
- package/dist/vega/p-c6d62f0d.js +1 -0
- package/dist/vega/{p-4e15958f.js → p-c9201bf4.js} +1 -1
- package/dist/vega/{p-ace7aa6c.entry.js → p-cc055723.entry.js} +1 -1
- package/dist/vega/{p-fc93b467.entry.js → p-cca5042b.entry.js} +1 -1
- package/dist/vega/{p-c58c3e7e.entry.js → p-cda45d2a.entry.js} +1 -1
- package/dist/vega/p-cdf5b2f0.entry.js +1 -0
- package/dist/vega/p-cf70c57d.js +1 -0
- package/dist/vega/{p-441fd2b3.entry.js → p-d1494c7c.entry.js} +1 -1
- package/dist/vega/{p-a6fb81c5.js → p-d1ca70a1.js} +1 -1
- package/dist/vega/p-d202e69d.entry.js +1 -0
- package/dist/vega/{p-dd4c3d9b.entry.js → p-dc9b5063.entry.js} +1 -1
- package/dist/vega/{p-d6875e49.js → p-dcd18ab1.js} +1 -1
- package/dist/vega/p-df5bfbc4.entry.js +1 -0
- package/dist/vega/{p-d5a8bb62.entry.js → p-e4726dcd.entry.js} +1 -1
- package/dist/vega/{p-76f2e0f5.js → p-e84b95d4.js} +1 -1
- package/dist/vega/p-ea21462f.js +1 -0
- package/dist/vega/{p-905cf163.entry.js → p-ec1d76c6.entry.js} +1 -1
- package/dist/vega/{p-04f9b0d4.entry.js → p-f3456993.entry.js} +1 -1
- package/dist/vega/{p-32a0eed4.entry.js → p-f4190826.entry.js} +1 -1
- package/dist/vega/{p-558a707e.entry.js → p-f48c43f4.entry.js} +1 -1
- package/dist/vega/{p-1665d4b8.entry.js → p-fdac91c4.entry.js} +1 -1
- package/dist/vega/{p-5395faac.entry.js → p-ffa2e3a6.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +0 -195
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +0 -94
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +0 -72
- package/dist/collection/components/vega-code-block/test/code-block-range.test.js +0 -81
- package/dist/collection/components/vega-dropdown/test/share.js +0 -13
- package/dist/collection/components/vega-input-credit-card/test/share.js +0 -21
- package/dist/collection/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.js +0 -147
- package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +0 -21
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.js +0 -69
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.js +0 -24
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.js +0 -15
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.js +0 -16
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.js +0 -87
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.js +0 -17
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.js +0 -77
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.js +0 -23
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +0 -381
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/code-block.test.js +0 -54
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/html-block.test.js +0 -167
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +0 -90
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +0 -176
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +0 -188
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +0 -193
- package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +0 -3375
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +0 -108
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +0 -510
- package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +0 -53
- package/dist/collection/components/vega-rich-text-editor/test/e2e-utils.js +0 -182
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.js +0 -49
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.js +0 -38
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.js +0 -61
- package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +0 -43
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.js +0 -164
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.js +0 -298
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.js +0 -316
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.js +0 -411
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.js +0 -99
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.js +0 -181
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.js +0 -84
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.js +0 -331
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-dto.test.js +0 -1094
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.js +0 -1590
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-test-utils.js +0 -172
- package/dist/collection/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.js +0 -129
- package/dist/collection/components/vega-rich-text-editor/test/fixture.js +0 -257
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.js +0 -186
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/spec-utils.js +0 -35
- package/dist/collection/components/vega-sidenav/test/test.helper.js +0 -68
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.js +0 -83
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.js +0 -147
- package/dist/collection/components/vega-table/test/utils.js +0 -22
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +0 -508
- package/dist/collection/constants/tests/validator.test.js +0 -24
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +0 -114
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +0 -237
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +0 -91
- package/dist/collection/global/tests/before-vega-load.test.js +0 -62
- package/dist/collection/helpers/calendar/test/calendar-date-time.test.js +0 -27
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +0 -172
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +0 -263
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +0 -118
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +0 -144
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +0 -114
- package/dist/collection/helpers/calendar/test/calendar-time.test.js +0 -45
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +0 -19
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +0 -123
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +0 -43
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +0 -9
- package/dist/collection/helpers/calendar/test/index.test.js +0 -13
- package/dist/collection/helpers/calendar/test/utils.test.js +0 -62
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +0 -30
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +0 -38
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +0 -63
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +0 -55
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +0 -94
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +0 -21
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +0 -78
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +0 -38
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +0 -44
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +0 -17
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +0 -62
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +0 -45
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +0 -80
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +0 -40
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +0 -16
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +0 -20
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +0 -48
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +0 -53
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +0 -78
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +0 -109
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +0 -39
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +0 -55
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +0 -11
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +0 -25
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +0 -48
- package/dist/collection/helpers/chart/test/line-chart.test.js +0 -96
- package/dist/collection/helpers/chart/test/pie-chart.test.js +0 -38
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +0 -31
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +0 -99
- package/dist/collection/helpers/code-format/test/code-formatter.test.js +0 -410
- package/dist/collection/helpers/common/test/common.test.js +0 -7
- package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +0 -67
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +0 -17
- package/dist/collection/helpers/csp/test/styles-preservator.test.js +0 -207
- package/dist/collection/helpers/csp/test/vega-nonce-manager.test.js +0 -177
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +0 -114
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +0 -209
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +0 -81
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +0 -144
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +0 -70
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +0 -131
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +0 -97
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +0 -69
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +0 -64
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.js +0 -32
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +0 -31
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +0 -17
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +0 -29
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +0 -51
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +0 -20
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +0 -18
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +0 -27
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +0 -101
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +0 -40
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +0 -147
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +0 -21
- package/dist/collection/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.js +0 -43
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +0 -16
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +0 -101
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +0 -18
- package/dist/collection/helpers/immutable/test/immutable-array.test.js +0 -78
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +0 -83
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +0 -87
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +0 -241
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +0 -33
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +0 -192
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +0 -165
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +0 -15
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +0 -76
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +0 -17
- package/dist/collection/helpers/rte-manager/rte.manager.test.js +0 -94
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +0 -194
- package/dist/collection/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.js +0 -66
- package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +0 -621
- package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +0 -248
- package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +0 -120
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +0 -182
- package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +0 -399
- package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +0 -383
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +0 -96
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +0 -228
- package/dist/collection/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.js +0 -375
- package/dist/collection/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.js +0 -46
- package/dist/collection/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.js +0 -75
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +0 -104
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +0 -72
- package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +0 -65
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +0 -36
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +0 -55
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +0 -106
- package/dist/collection/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.js +0 -64
- package/dist/collection/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.js +0 -89
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +0 -101
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +0 -90
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +0 -220
- package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +0 -89
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +0 -614
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +0 -122
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +0 -288
- package/dist/collection/helpers/translation/tests/translation.test.js +0 -46
- package/dist/collection/helpers/ui/test/element-appender.test.js +0 -530
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +0 -88
- package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +0 -56
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +0 -120
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +0 -69
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +0 -105
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +0 -146
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/input-select-value-in-source-rule.test.js +0 -99
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +0 -174
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/public-rules.test.js +0 -80
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +0 -126
- package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +0 -360
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +0 -116
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +0 -72
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +0 -135
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +0 -95
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +0 -65
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +0 -82
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +0 -205
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +0 -14
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +0 -176
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +0 -46
- package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +0 -72
- package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +0 -171
- package/dist/collection/polyfill/d3/test/d3-integration.test.js +0 -137
- package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +0 -382
- package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +0 -239
- package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +0 -225
- package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +0 -162
- package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +0 -76
- package/dist/collection/polyfill/d3/test/index.test.js +0 -78
- package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +0 -309
- package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +0 -192
- package/dist/collection/polyfill/libphonenumber/test/index.test.js +0 -16
- package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +0 -196
- package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +0 -218
- package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +0 -56
- package/dist/collection/polyfill/prism/test/css.test.js +0 -61
- package/dist/collection/polyfill/prism/test/javascript.test.js +0 -113
- package/dist/collection/polyfill/prism/test/jsx.test.js +0 -48
- package/dist/collection/polyfill/prism/test/language-registry.test.js +0 -77
- package/dist/collection/polyfill/prism/test/markup.test.js +0 -57
- package/dist/collection/polyfill/prism/test/test-utils.js +0 -22
- package/dist/collection/polyfill/prism/test/tokenizer.test.js +0 -180
- package/dist/collection/polyfill/prism/test/tsx.test.js +0 -87
- package/dist/collection/polyfill/prism/test/typescript.test.js +0 -86
- package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +0 -234
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +0 -42
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +0 -31
- package/dist/collection/polyfill/test-polyfill/unit/events.js +0 -100
- package/dist/collection/polyfill/test-polyfill/unit/index.js +0 -3
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +0 -47
- package/dist/collection/polyfill/test-polyfill/unit/range.js +0 -15
- package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +0 -17
- package/dist/collection/polyfill/tinycolor/tinycolor-polyfill.test.js +0 -361
- package/dist/collection/test-assets/test-icons.js +0 -5
- package/dist/collection/types/test/type-guard.test.js +0 -46
- package/dist/collection/utils/e2e-utils.js +0 -389
- package/dist/collection/utils/sanitize/test/empty-strategy.test.js +0 -12
- package/dist/collection/utils/sanitize/test/html-sanitizer.test.js +0 -57
- package/dist/collection/utils/sanitize/test/label-strategy.test.js +0 -56
- package/dist/collection/utils/sanitize/test/sanitize-strategy.test.js +0 -85
- package/dist/collection/utils/sanitize/test/sanitize.test.js +0 -22
- package/dist/collection/utils/sanitize/test/serialize-fragment.test.js +0 -25
- package/dist/collection/utils/sanitize/test/style-strategy.test.js +0 -45
- package/dist/collection/utils/spec-utils.js +0 -226
- package/dist/collection/utils/test/accessibility.test.js +0 -40
- package/dist/collection/utils/test/api.test.js +0 -34
- package/dist/collection/utils/test/array.test.js +0 -260
- package/dist/collection/utils/test/breakpoint.test.js +0 -37
- package/dist/collection/utils/test/component.test.js +0 -59
- package/dist/collection/utils/test/date.test.js +0 -104
- package/dist/collection/utils/test/design-token.test.js +0 -91
- package/dist/collection/utils/test/effect.test.js +0 -64
- package/dist/collection/utils/test/local-storage.test.js +0 -38
- package/dist/collection/utils/test/log.test.js +0 -49
- package/dist/collection/utils/test/misc.test.js +0 -40
- package/dist/collection/utils/test/number.test.js +0 -18
- package/dist/collection/utils/test/object.test.js +0 -77
- package/dist/collection/utils/test/pagination.test.js +0 -40
- package/dist/collection/utils/test/pixel.test.js +0 -29
- package/dist/collection/utils/test/safe-document.test.js +0 -13
- package/dist/collection/utils/test/spec-utils.test.js +0 -73
- package/dist/collection/utils/test/string.test.js +0 -8
- package/dist/collection/utils/test/test-utils.test.js +0 -70
- package/dist/collection/utils/test/timer.test.js +0 -16
- package/dist/collection/utils/test/ui.test.js +0 -301
- package/dist/collection/utils/test-utils.js +0 -156
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-code-block/test/code-block-range.test.d.ts +0 -1
- package/dist/types/components/vega-dropdown/test/share.d.ts +0 -12
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +0 -18
- package/dist/types/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.d.ts +0 -4
- package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-style.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/code-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/html-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/e2e-utils.d.ts +0 -67
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +0 -21
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.d.ts +0 -8
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-dto.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-test-utils.d.ts +0 -11
- package/dist/types/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/fixture.d.ts +0 -19
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/spec-utils.d.ts +0 -19
- package/dist/types/components/vega-sidenav/test/test.helper.d.ts +0 -6
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/test/utils.d.ts +0 -9
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +0 -1
- package/dist/types/constants/tests/validator.test.d.ts +0 -1
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +0 -1
- package/dist/types/global/tests/before-vega-load.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/index.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/utils.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +0 -1
- package/dist/types/helpers/code-format/test/code-formatter.test.d.ts +0 -1
- package/dist/types/helpers/common/test/common.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/styles-preservator.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/vega-nonce-manager.test.d.ts +0 -1
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-array.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +0 -1
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +0 -1
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +0 -1
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +0 -1
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +0 -1
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +0 -1
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +0 -1
- package/dist/types/helpers/rte-manager/rte.manager.test.d.ts +0 -1
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/element-appender/test/element-appender-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +0 -15
- package/dist/types/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/translation.test.d.ts +0 -1
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-select-value-in-source-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/public-rules.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +0 -1
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/css.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/javascript.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/jsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/language-registry.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/markup.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/test-utils.d.ts +0 -10
- package/dist/types/polyfill/prism/test/tokenizer.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/tsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/typescript.test.d.ts +0 -1
- package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +0 -8
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +0 -11
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +0 -3
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/range.d.ts +0 -7
- package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
- package/dist/types/polyfill/tinycolor/tinycolor-polyfill.test.d.ts +0 -1
- package/dist/types/test-assets/test-icons.d.ts +0 -4
- package/dist/types/types/test/type-guard.test.d.ts +0 -1
- package/dist/types/utils/e2e-utils.d.ts +0 -160
- package/dist/types/utils/sanitize/test/empty-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/html-sanitizer.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/label-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/serialize-fragment.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/style-strategy.test.d.ts +0 -1
- package/dist/types/utils/spec-utils.d.ts +0 -109
- package/dist/types/utils/test/accessibility.test.d.ts +0 -1
- package/dist/types/utils/test/api.test.d.ts +0 -1
- package/dist/types/utils/test/array.test.d.ts +0 -1
- package/dist/types/utils/test/breakpoint.test.d.ts +0 -1
- package/dist/types/utils/test/component.test.d.ts +0 -1
- package/dist/types/utils/test/date.test.d.ts +0 -1
- package/dist/types/utils/test/design-token.test.d.ts +0 -1
- package/dist/types/utils/test/effect.test.d.ts +0 -1
- package/dist/types/utils/test/local-storage.test.d.ts +0 -1
- package/dist/types/utils/test/log.test.d.ts +0 -1
- package/dist/types/utils/test/misc.test.d.ts +0 -1
- package/dist/types/utils/test/number.test.d.ts +0 -1
- package/dist/types/utils/test/object.test.d.ts +0 -1
- package/dist/types/utils/test/pagination.test.d.ts +0 -1
- package/dist/types/utils/test/pixel.test.d.ts +0 -1
- package/dist/types/utils/test/safe-document.test.d.ts +0 -1
- package/dist/types/utils/test/spec-utils.test.d.ts +0 -1
- package/dist/types/utils/test/string.test.d.ts +0 -1
- package/dist/types/utils/test/test-utils.test.d.ts +0 -1
- package/dist/types/utils/test/timer.test.d.ts +0 -1
- package/dist/types/utils/test/ui.test.d.ts +0 -1
- package/dist/types/utils/test-utils.d.ts +0 -61
- package/dist/vega/p-0ac91609.entry.js +0 -1
- package/dist/vega/p-10e9438e.js +0 -1
- package/dist/vega/p-2697b52b.js +0 -1
- package/dist/vega/p-2fd266fa.js +0 -1
- package/dist/vega/p-31945d6c.js +0 -1
- package/dist/vega/p-33475bcf.entry.js +0 -1
- package/dist/vega/p-3a0b3fed.entry.js +0 -1
- package/dist/vega/p-4a9be903.js +0 -1
- package/dist/vega/p-541ae774.entry.js +0 -1
- package/dist/vega/p-603b851c.js +0 -1
- package/dist/vega/p-6d6ea8b4.js +0 -1
- package/dist/vega/p-6db0556d.js +0 -1
- package/dist/vega/p-79df30e3.entry.js +0 -1
- package/dist/vega/p-8f88fb57.js +0 -1
- package/dist/vega/p-a01ef160.entry.js +0 -1
- package/dist/vega/p-c962cf5b.js +0 -1
- package/dist/vega/p-d94d785a.entry.js +0 -1
- package/dist/vega/p-dce9349e.js +0 -1
- package/dist/vega/p-e2268eef.js +0 -1
- package/dist/vega/p-e5da9f66.js +0 -1
- package/dist/vega/p-f7505267.js +0 -1
- package/dist/vega/p-fef22245.js +0 -1
|
@@ -1,1590 +0,0 @@
|
|
|
1
|
-
import '../../../../../polyfill/test-polyfill/unit/index';
|
|
2
|
-
import { VegaRTEContent } from '../../../dto/content-state';
|
|
3
|
-
import { RTETableBlock } from '../../../extensions/table/dto/table-block';
|
|
4
|
-
import { RTETableCaptionBlock, } from '../../../extensions/table/dto/table-caption-block';
|
|
5
|
-
import { RTETableHeadBlock } from '../../../extensions/table/dto/table-head-block';
|
|
6
|
-
import { RTETableBodyBlock } from '../../../extensions/table/dto/table-body-block';
|
|
7
|
-
import { RTETableHeadCellBlock } from '../../../extensions/table/dto/table-head-cell-block';
|
|
8
|
-
import { RTETableRowBlock } from '../../../extensions/table/dto/table-row-block';
|
|
9
|
-
import { RTETableCellBlock } from '../../../extensions/table/dto/table-cell-block';
|
|
10
|
-
import { RTEHtmlBlock } from '../../../dto/blocks/html-block';
|
|
11
|
-
import { VegaRTETableExtension } from '../../../extensions/table/table-extension';
|
|
12
|
-
import { VegaInternalThemeManager } from '../../../../../helpers/theme/internal-theme-manager';
|
|
13
|
-
describe('table element to dto strategies', () => {
|
|
14
|
-
beforeAll(() => {
|
|
15
|
-
new VegaRTETableExtension().initialExtension(null);
|
|
16
|
-
});
|
|
17
|
-
it('should convert the table with children elements to extension table DTOs', () => {
|
|
18
|
-
const html = `<table>
|
|
19
|
-
<caption>Table Caption</caption>
|
|
20
|
-
<thead>
|
|
21
|
-
<tr>
|
|
22
|
-
<th>Header 1</th>
|
|
23
|
-
<th>Header 2</th>
|
|
24
|
-
</tr>
|
|
25
|
-
</thead>
|
|
26
|
-
<tbody>
|
|
27
|
-
<tr>
|
|
28
|
-
<td>Cell 1</td>
|
|
29
|
-
<td>Cell 2</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>Cell 3</td>
|
|
33
|
-
<td>Cell 4</td>
|
|
34
|
-
</tr>
|
|
35
|
-
</tbody>
|
|
36
|
-
</table>`;
|
|
37
|
-
const value = VegaRTEContent.fromHtml(html);
|
|
38
|
-
const table = value.children[0];
|
|
39
|
-
const caption = table.children[0];
|
|
40
|
-
const thead = table.children[1];
|
|
41
|
-
const tbody = table.children[2];
|
|
42
|
-
const theadRow = thead.children[0];
|
|
43
|
-
const theadCell = theadRow.children[0];
|
|
44
|
-
const tbodyRow = tbody.children[0];
|
|
45
|
-
const tbodyCell = tbodyRow.children[0];
|
|
46
|
-
expect(table).toBeInstanceOf(RTETableBlock);
|
|
47
|
-
expect(caption).toBeInstanceOf(RTETableCaptionBlock);
|
|
48
|
-
expect(thead).toBeInstanceOf(RTETableHeadBlock);
|
|
49
|
-
expect(theadRow).toBeInstanceOf(RTETableRowBlock);
|
|
50
|
-
expect(theadCell).toBeInstanceOf(RTETableHeadCellBlock);
|
|
51
|
-
expect(tbody).toBeInstanceOf(RTETableBodyBlock);
|
|
52
|
-
expect(tbodyRow).toBeInstanceOf(RTETableRowBlock);
|
|
53
|
-
expect(tbodyCell).toBeInstanceOf(RTETableCellBlock);
|
|
54
|
-
expect(VegaRTEContent.fromHtml(html).toJSON()).toEqual([
|
|
55
|
-
{
|
|
56
|
-
id: expect.anything(),
|
|
57
|
-
annotations: {
|
|
58
|
-
table: {
|
|
59
|
-
alignment: 'center',
|
|
60
|
-
borderCollapse: 'collapse',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
type: 'table-block',
|
|
64
|
-
children: [
|
|
65
|
-
{
|
|
66
|
-
id: expect.anything(),
|
|
67
|
-
type: 'table-caption',
|
|
68
|
-
annotations: {
|
|
69
|
-
caption: {
|
|
70
|
-
backgroundColor: '#F0F3F7',
|
|
71
|
-
border: '1px solid #ddd',
|
|
72
|
-
borderBottom: 'none',
|
|
73
|
-
minHeight: '22px',
|
|
74
|
-
padding: '8px 12px',
|
|
75
|
-
position: 'relative',
|
|
76
|
-
textAlign: 'center',
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
children: [
|
|
80
|
-
{
|
|
81
|
-
id: expect.anything(),
|
|
82
|
-
annotations: {
|
|
83
|
-
textStyle: 'paragraph',
|
|
84
|
-
},
|
|
85
|
-
type: 'paragraph',
|
|
86
|
-
nodes: [
|
|
87
|
-
{
|
|
88
|
-
id: expect.anything(),
|
|
89
|
-
type: 'text',
|
|
90
|
-
text: 'Table Caption',
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
id: expect.anything(),
|
|
98
|
-
type: 'table-head',
|
|
99
|
-
children: [
|
|
100
|
-
{
|
|
101
|
-
id: expect.anything(),
|
|
102
|
-
type: 'table-row',
|
|
103
|
-
children: [
|
|
104
|
-
{
|
|
105
|
-
id: expect.anything(),
|
|
106
|
-
annotations: {
|
|
107
|
-
tableCell: {
|
|
108
|
-
padding: '12px',
|
|
109
|
-
border: {
|
|
110
|
-
style: 'solid',
|
|
111
|
-
width: '1px',
|
|
112
|
-
color: '#ddd',
|
|
113
|
-
},
|
|
114
|
-
textAlign: 'left',
|
|
115
|
-
verticalAlign: 'middle',
|
|
116
|
-
minWidth: '55px',
|
|
117
|
-
boxSizing: 'border-box',
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
type: 'table-head-cell',
|
|
121
|
-
children: [
|
|
122
|
-
{
|
|
123
|
-
id: expect.anything(),
|
|
124
|
-
annotations: {
|
|
125
|
-
textStyle: 'paragraph',
|
|
126
|
-
},
|
|
127
|
-
type: 'paragraph',
|
|
128
|
-
nodes: [
|
|
129
|
-
{
|
|
130
|
-
id: expect.anything(),
|
|
131
|
-
type: 'text',
|
|
132
|
-
text: 'Header 1',
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
id: expect.anything(),
|
|
140
|
-
annotations: {
|
|
141
|
-
tableCell: {
|
|
142
|
-
padding: '12px',
|
|
143
|
-
border: {
|
|
144
|
-
style: 'solid',
|
|
145
|
-
width: '1px',
|
|
146
|
-
color: '#ddd',
|
|
147
|
-
},
|
|
148
|
-
textAlign: 'left',
|
|
149
|
-
verticalAlign: 'middle',
|
|
150
|
-
minWidth: '55px',
|
|
151
|
-
boxSizing: 'border-box',
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
type: 'table-head-cell',
|
|
155
|
-
children: [
|
|
156
|
-
{
|
|
157
|
-
id: expect.anything(),
|
|
158
|
-
annotations: {
|
|
159
|
-
textStyle: 'paragraph',
|
|
160
|
-
},
|
|
161
|
-
type: 'paragraph',
|
|
162
|
-
nodes: [
|
|
163
|
-
{
|
|
164
|
-
id: expect.anything(),
|
|
165
|
-
type: 'text',
|
|
166
|
-
text: 'Header 2',
|
|
167
|
-
},
|
|
168
|
-
],
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: expect.anything(),
|
|
178
|
-
type: 'table-body',
|
|
179
|
-
children: [
|
|
180
|
-
{
|
|
181
|
-
id: expect.anything(),
|
|
182
|
-
type: 'table-row',
|
|
183
|
-
children: [
|
|
184
|
-
{
|
|
185
|
-
id: expect.anything(),
|
|
186
|
-
annotations: {
|
|
187
|
-
tableCell: {
|
|
188
|
-
padding: '12px',
|
|
189
|
-
border: {
|
|
190
|
-
style: 'solid',
|
|
191
|
-
width: '1px',
|
|
192
|
-
color: '#ddd',
|
|
193
|
-
},
|
|
194
|
-
textAlign: 'left',
|
|
195
|
-
verticalAlign: 'middle',
|
|
196
|
-
minWidth: '55px',
|
|
197
|
-
boxSizing: 'border-box',
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
type: 'table-cell',
|
|
201
|
-
children: [
|
|
202
|
-
{
|
|
203
|
-
id: expect.anything(),
|
|
204
|
-
annotations: {
|
|
205
|
-
textStyle: 'paragraph',
|
|
206
|
-
},
|
|
207
|
-
type: 'paragraph',
|
|
208
|
-
nodes: [
|
|
209
|
-
{
|
|
210
|
-
id: expect.anything(),
|
|
211
|
-
type: 'text',
|
|
212
|
-
text: 'Cell 1',
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
id: expect.anything(),
|
|
220
|
-
annotations: {
|
|
221
|
-
tableCell: {
|
|
222
|
-
padding: '12px',
|
|
223
|
-
border: {
|
|
224
|
-
style: 'solid',
|
|
225
|
-
width: '1px',
|
|
226
|
-
color: '#ddd',
|
|
227
|
-
},
|
|
228
|
-
textAlign: 'left',
|
|
229
|
-
verticalAlign: 'middle',
|
|
230
|
-
minWidth: '55px',
|
|
231
|
-
boxSizing: 'border-box',
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
type: 'table-cell',
|
|
235
|
-
children: [
|
|
236
|
-
{
|
|
237
|
-
id: expect.anything(),
|
|
238
|
-
annotations: {
|
|
239
|
-
textStyle: 'paragraph',
|
|
240
|
-
},
|
|
241
|
-
type: 'paragraph',
|
|
242
|
-
nodes: [
|
|
243
|
-
{
|
|
244
|
-
id: expect.anything(),
|
|
245
|
-
type: 'text',
|
|
246
|
-
text: 'Cell 2',
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
},
|
|
252
|
-
],
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
id: expect.anything(),
|
|
256
|
-
type: 'table-row',
|
|
257
|
-
children: [
|
|
258
|
-
{
|
|
259
|
-
id: expect.anything(),
|
|
260
|
-
annotations: {
|
|
261
|
-
tableCell: {
|
|
262
|
-
padding: '12px',
|
|
263
|
-
border: {
|
|
264
|
-
style: 'solid',
|
|
265
|
-
width: '1px',
|
|
266
|
-
color: '#ddd',
|
|
267
|
-
},
|
|
268
|
-
textAlign: 'left',
|
|
269
|
-
verticalAlign: 'middle',
|
|
270
|
-
minWidth: '55px',
|
|
271
|
-
boxSizing: 'border-box',
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
type: 'table-cell',
|
|
275
|
-
children: [
|
|
276
|
-
{
|
|
277
|
-
id: expect.anything(),
|
|
278
|
-
annotations: {
|
|
279
|
-
textStyle: 'paragraph',
|
|
280
|
-
},
|
|
281
|
-
type: 'paragraph',
|
|
282
|
-
nodes: [
|
|
283
|
-
{
|
|
284
|
-
id: expect.anything(),
|
|
285
|
-
type: 'text',
|
|
286
|
-
text: 'Cell 3',
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
},
|
|
290
|
-
],
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
id: expect.anything(),
|
|
294
|
-
annotations: {
|
|
295
|
-
tableCell: {
|
|
296
|
-
padding: '12px',
|
|
297
|
-
border: {
|
|
298
|
-
style: 'solid',
|
|
299
|
-
width: '1px',
|
|
300
|
-
color: '#ddd',
|
|
301
|
-
},
|
|
302
|
-
textAlign: 'left',
|
|
303
|
-
verticalAlign: 'middle',
|
|
304
|
-
minWidth: '55px',
|
|
305
|
-
boxSizing: 'border-box',
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
type: 'table-cell',
|
|
309
|
-
children: [
|
|
310
|
-
{
|
|
311
|
-
id: expect.anything(),
|
|
312
|
-
annotations: {
|
|
313
|
-
textStyle: 'paragraph',
|
|
314
|
-
},
|
|
315
|
-
type: 'paragraph',
|
|
316
|
-
nodes: [
|
|
317
|
-
{
|
|
318
|
-
id: expect.anything(),
|
|
319
|
-
type: 'text',
|
|
320
|
-
text: 'Cell 4',
|
|
321
|
-
},
|
|
322
|
-
],
|
|
323
|
-
},
|
|
324
|
-
],
|
|
325
|
-
},
|
|
326
|
-
],
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
]);
|
|
333
|
-
expect(VegaRTEContent.fromHtml(html, { autoMatchFormat: false }).toJSON()).toEqual([
|
|
334
|
-
{
|
|
335
|
-
id: expect.anything(),
|
|
336
|
-
type: 'table-block',
|
|
337
|
-
children: [
|
|
338
|
-
{
|
|
339
|
-
id: expect.anything(),
|
|
340
|
-
type: 'table-caption',
|
|
341
|
-
children: [
|
|
342
|
-
{
|
|
343
|
-
id: expect.anything(),
|
|
344
|
-
type: 'paragraph',
|
|
345
|
-
annotations: {
|
|
346
|
-
internalWrapper: true,
|
|
347
|
-
},
|
|
348
|
-
nodes: [
|
|
349
|
-
{
|
|
350
|
-
id: expect.anything(),
|
|
351
|
-
type: 'text',
|
|
352
|
-
text: 'Table Caption',
|
|
353
|
-
annotations: {
|
|
354
|
-
plainText: true,
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
],
|
|
358
|
-
},
|
|
359
|
-
],
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
id: expect.anything(),
|
|
363
|
-
type: 'table-head',
|
|
364
|
-
children: [
|
|
365
|
-
{
|
|
366
|
-
id: expect.anything(),
|
|
367
|
-
type: 'table-row',
|
|
368
|
-
children: [
|
|
369
|
-
{
|
|
370
|
-
id: expect.anything(),
|
|
371
|
-
type: 'table-head-cell',
|
|
372
|
-
children: [
|
|
373
|
-
{
|
|
374
|
-
id: expect.anything(),
|
|
375
|
-
annotations: {
|
|
376
|
-
internalWrapper: true,
|
|
377
|
-
},
|
|
378
|
-
type: 'paragraph',
|
|
379
|
-
nodes: [
|
|
380
|
-
{
|
|
381
|
-
id: expect.anything(),
|
|
382
|
-
annotations: {
|
|
383
|
-
plainText: true,
|
|
384
|
-
},
|
|
385
|
-
type: 'text',
|
|
386
|
-
text: 'Header 1',
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
},
|
|
390
|
-
],
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
id: expect.anything(),
|
|
394
|
-
type: 'table-head-cell',
|
|
395
|
-
children: [
|
|
396
|
-
{
|
|
397
|
-
id: expect.anything(),
|
|
398
|
-
annotations: {
|
|
399
|
-
internalWrapper: true,
|
|
400
|
-
},
|
|
401
|
-
type: 'paragraph',
|
|
402
|
-
nodes: [
|
|
403
|
-
{
|
|
404
|
-
id: expect.anything(),
|
|
405
|
-
annotations: {
|
|
406
|
-
plainText: true,
|
|
407
|
-
},
|
|
408
|
-
type: 'text',
|
|
409
|
-
text: 'Header 2',
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
},
|
|
413
|
-
],
|
|
414
|
-
},
|
|
415
|
-
],
|
|
416
|
-
},
|
|
417
|
-
],
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
id: expect.anything(),
|
|
421
|
-
type: 'table-body',
|
|
422
|
-
children: [
|
|
423
|
-
{
|
|
424
|
-
id: expect.anything(),
|
|
425
|
-
type: 'table-row',
|
|
426
|
-
children: [
|
|
427
|
-
{
|
|
428
|
-
id: expect.anything(),
|
|
429
|
-
type: 'table-cell',
|
|
430
|
-
children: [
|
|
431
|
-
{
|
|
432
|
-
id: expect.anything(),
|
|
433
|
-
annotations: {
|
|
434
|
-
internalWrapper: true,
|
|
435
|
-
},
|
|
436
|
-
type: 'paragraph',
|
|
437
|
-
nodes: [
|
|
438
|
-
{
|
|
439
|
-
id: expect.anything(),
|
|
440
|
-
annotations: {
|
|
441
|
-
plainText: true,
|
|
442
|
-
},
|
|
443
|
-
type: 'text',
|
|
444
|
-
text: 'Cell 1',
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
id: expect.anything(),
|
|
452
|
-
type: 'table-cell',
|
|
453
|
-
children: [
|
|
454
|
-
{
|
|
455
|
-
id: expect.anything(),
|
|
456
|
-
annotations: {
|
|
457
|
-
internalWrapper: true,
|
|
458
|
-
},
|
|
459
|
-
type: 'paragraph',
|
|
460
|
-
nodes: [
|
|
461
|
-
{
|
|
462
|
-
id: expect.anything(),
|
|
463
|
-
annotations: {
|
|
464
|
-
plainText: true,
|
|
465
|
-
},
|
|
466
|
-
type: 'text',
|
|
467
|
-
text: 'Cell 2',
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
},
|
|
471
|
-
],
|
|
472
|
-
},
|
|
473
|
-
],
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
id: expect.anything(),
|
|
477
|
-
type: 'table-row',
|
|
478
|
-
children: [
|
|
479
|
-
{
|
|
480
|
-
id: expect.anything(),
|
|
481
|
-
type: 'table-cell',
|
|
482
|
-
children: [
|
|
483
|
-
{
|
|
484
|
-
id: expect.anything(),
|
|
485
|
-
annotations: {
|
|
486
|
-
internalWrapper: true,
|
|
487
|
-
},
|
|
488
|
-
type: 'paragraph',
|
|
489
|
-
nodes: [
|
|
490
|
-
{
|
|
491
|
-
id: expect.anything(),
|
|
492
|
-
annotations: {
|
|
493
|
-
plainText: true,
|
|
494
|
-
},
|
|
495
|
-
type: 'text',
|
|
496
|
-
text: 'Cell 3',
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
},
|
|
500
|
-
],
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
id: expect.anything(),
|
|
504
|
-
type: 'table-cell',
|
|
505
|
-
children: [
|
|
506
|
-
{
|
|
507
|
-
id: expect.anything(),
|
|
508
|
-
annotations: {
|
|
509
|
-
internalWrapper: true,
|
|
510
|
-
},
|
|
511
|
-
type: 'paragraph',
|
|
512
|
-
nodes: [
|
|
513
|
-
{
|
|
514
|
-
id: expect.anything(),
|
|
515
|
-
annotations: {
|
|
516
|
-
plainText: true,
|
|
517
|
-
},
|
|
518
|
-
type: 'text',
|
|
519
|
-
text: 'Cell 4',
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
},
|
|
523
|
-
],
|
|
524
|
-
},
|
|
525
|
-
],
|
|
526
|
-
},
|
|
527
|
-
],
|
|
528
|
-
},
|
|
529
|
-
],
|
|
530
|
-
},
|
|
531
|
-
]);
|
|
532
|
-
});
|
|
533
|
-
it('should convert the not defined table children elements to html block DTOs', () => {
|
|
534
|
-
const html = `
|
|
535
|
-
<table>
|
|
536
|
-
<caption>
|
|
537
|
-
Front-end web developer course 2021
|
|
538
|
-
</caption>
|
|
539
|
-
<colgroup>
|
|
540
|
-
<col />
|
|
541
|
-
<col span="2" class="batman" />
|
|
542
|
-
<col span="2" class="flash" />
|
|
543
|
-
</colgroup>
|
|
544
|
-
<thead>
|
|
545
|
-
<tr>
|
|
546
|
-
<th scope="col">Person</th>
|
|
547
|
-
<th scope="col">Most interest in</th>
|
|
548
|
-
<th scope="col">Age</th>
|
|
549
|
-
</tr>
|
|
550
|
-
</thead>
|
|
551
|
-
<tbody>
|
|
552
|
-
<tr>
|
|
553
|
-
<th scope="row">Chris</th>
|
|
554
|
-
<td>HTML tables</td>
|
|
555
|
-
<td>22</td>
|
|
556
|
-
</tr>
|
|
557
|
-
<tr>
|
|
558
|
-
<th scope="row">Dennis</th>
|
|
559
|
-
<td>Web accessibility</td>
|
|
560
|
-
<td>45</td>
|
|
561
|
-
</tr>
|
|
562
|
-
<tr>
|
|
563
|
-
<th scope="row">Sarah</th>
|
|
564
|
-
<td>JavaScript frameworks</td>
|
|
565
|
-
<td>29</td>
|
|
566
|
-
</tr>
|
|
567
|
-
<tr>
|
|
568
|
-
<th scope="row">Karen</th>
|
|
569
|
-
<td>Web performance</td>
|
|
570
|
-
<td>36</td>
|
|
571
|
-
</tr>
|
|
572
|
-
</tbody>
|
|
573
|
-
<tfoot>
|
|
574
|
-
<tr>
|
|
575
|
-
<th scope="row" colspan="2">Average age</th>
|
|
576
|
-
<td>33</td>
|
|
577
|
-
</tr>
|
|
578
|
-
</tfoot>
|
|
579
|
-
</table>
|
|
580
|
-
`;
|
|
581
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
582
|
-
const table = value.children[0];
|
|
583
|
-
const caption = table.children[0];
|
|
584
|
-
const colgroup = table.children[1];
|
|
585
|
-
const thead = table.children[2];
|
|
586
|
-
const tbody = table.children[3];
|
|
587
|
-
const tfoot = table.children[4];
|
|
588
|
-
const theadRow = thead.children[0];
|
|
589
|
-
const theadCell = theadRow.children[0];
|
|
590
|
-
const tbodyRow = tbody.children[0];
|
|
591
|
-
const tbodyCell = tbodyRow.children[0];
|
|
592
|
-
expect(table).toBeInstanceOf(RTETableBlock);
|
|
593
|
-
expect(caption).toBeInstanceOf(RTETableCaptionBlock);
|
|
594
|
-
expect(thead).toBeInstanceOf(RTETableHeadBlock);
|
|
595
|
-
expect(theadRow).toBeInstanceOf(RTETableRowBlock);
|
|
596
|
-
expect(theadCell).toBeInstanceOf(RTETableHeadCellBlock);
|
|
597
|
-
expect(tbody).toBeInstanceOf(RTETableBodyBlock);
|
|
598
|
-
expect(tbodyRow).toBeInstanceOf(RTETableRowBlock);
|
|
599
|
-
expect(tbodyCell).toBeInstanceOf(RTETableCellBlock);
|
|
600
|
-
// colgroup and tfoot are not defined in the custom table extension dto
|
|
601
|
-
expect(colgroup).toBeInstanceOf(RTEHtmlBlock);
|
|
602
|
-
expect(tfoot).toBeInstanceOf(RTEHtmlBlock);
|
|
603
|
-
expect(value.toHtml()).toEqualHtml(html);
|
|
604
|
-
});
|
|
605
|
-
it('should convert the table with children DTOs to table html elements', () => {
|
|
606
|
-
const html = `<table>
|
|
607
|
-
<caption>Table Caption</caption>
|
|
608
|
-
<thead>
|
|
609
|
-
<tr>
|
|
610
|
-
<th>Header 1</th>
|
|
611
|
-
<th>Header 2</th>
|
|
612
|
-
</tr>
|
|
613
|
-
</thead>
|
|
614
|
-
<tbody>
|
|
615
|
-
<tr>
|
|
616
|
-
<td>Cell 1</td>
|
|
617
|
-
<td>Cell 2</td>
|
|
618
|
-
</tr>
|
|
619
|
-
<tr>
|
|
620
|
-
<td>Cell 3</td>
|
|
621
|
-
<td>Cell 4</td>
|
|
622
|
-
</tr>
|
|
623
|
-
</tbody>
|
|
624
|
-
</table>`;
|
|
625
|
-
expect(VegaRTEContent.fromHtml(html).toHtml()).toEqualHtml(`
|
|
626
|
-
<table style="border-collapse: collapse; margin: 0 auto;">
|
|
627
|
-
<caption style="padding: 8px; border: 1px solid #ddd; border-bottom: none; background-color: #F0F3F7; position: relative; text-align: center; min-height: 22px;">
|
|
628
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
629
|
-
<span>
|
|
630
|
-
Table Caption
|
|
631
|
-
</span>
|
|
632
|
-
</p>
|
|
633
|
-
</caption>
|
|
634
|
-
<thead>
|
|
635
|
-
<tr>
|
|
636
|
-
<th style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7;">
|
|
637
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
638
|
-
<span>
|
|
639
|
-
Header 1
|
|
640
|
-
</span>
|
|
641
|
-
</p>
|
|
642
|
-
</th>
|
|
643
|
-
<th style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7;">
|
|
644
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
645
|
-
<span>
|
|
646
|
-
Header 2
|
|
647
|
-
</span>
|
|
648
|
-
</p>
|
|
649
|
-
</th>
|
|
650
|
-
</tr>
|
|
651
|
-
</thead>
|
|
652
|
-
<tbody>
|
|
653
|
-
<tr>
|
|
654
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
655
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
656
|
-
<span>
|
|
657
|
-
Cell 1
|
|
658
|
-
</span>
|
|
659
|
-
</p>
|
|
660
|
-
</td>
|
|
661
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
662
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
663
|
-
<span>
|
|
664
|
-
Cell 2
|
|
665
|
-
</span>
|
|
666
|
-
</p>
|
|
667
|
-
</td>
|
|
668
|
-
</tr>
|
|
669
|
-
<tr>
|
|
670
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
671
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
672
|
-
<span>
|
|
673
|
-
Cell 3
|
|
674
|
-
</span>
|
|
675
|
-
</p>
|
|
676
|
-
</td>
|
|
677
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
678
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
679
|
-
<span>
|
|
680
|
-
Cell 4
|
|
681
|
-
</span>
|
|
682
|
-
</p>
|
|
683
|
-
</td>
|
|
684
|
-
</tr>
|
|
685
|
-
</tbody>
|
|
686
|
-
</table>`);
|
|
687
|
-
expect(VegaRTEContent.fromHtml(html, { autoMatchFormat: false }).toHtml()).toEqualHtml(html);
|
|
688
|
-
});
|
|
689
|
-
it('should convert custom annotations as expect', () => {
|
|
690
|
-
const html = `<table id='table' style='background: blue' class='table'>
|
|
691
|
-
<caption id='caption' style='color: yellow' class='caption'>Table Caption</caption>
|
|
692
|
-
<thead id='head' style='background: red' class='thead'>
|
|
693
|
-
<tr id='row-1' style='background: purple' class='tr'>
|
|
694
|
-
<th id='head-cell-1' style='background: pink' class='th'>Header 1</th>
|
|
695
|
-
<th>Header 2</th>
|
|
696
|
-
</tr>
|
|
697
|
-
</thead>
|
|
698
|
-
<tbody id='body' style='background: green' class='tbody'>
|
|
699
|
-
<tr>
|
|
700
|
-
<td id='cell-1' style='background: yellow' class='td'>Cell 1</td>
|
|
701
|
-
<td>Cell 2</td>
|
|
702
|
-
</tr>
|
|
703
|
-
<tr>
|
|
704
|
-
<td>Cell 3</td>
|
|
705
|
-
<td>Cell 4</td>
|
|
706
|
-
</tr>
|
|
707
|
-
</tbody>
|
|
708
|
-
</table>`;
|
|
709
|
-
expect(VegaRTEContent.fromHtml(html, { autoMatchFormat: false }).toJSON()).toEqual([
|
|
710
|
-
{
|
|
711
|
-
id: expect.anything(),
|
|
712
|
-
annotations: {
|
|
713
|
-
customAttribute: {
|
|
714
|
-
id: 'table',
|
|
715
|
-
},
|
|
716
|
-
customClass: ['table'],
|
|
717
|
-
customStyle: {
|
|
718
|
-
background: 'blue',
|
|
719
|
-
},
|
|
720
|
-
},
|
|
721
|
-
type: 'table-block',
|
|
722
|
-
children: [
|
|
723
|
-
{
|
|
724
|
-
id: expect.anything(),
|
|
725
|
-
annotations: {
|
|
726
|
-
customAttribute: {
|
|
727
|
-
id: 'caption',
|
|
728
|
-
},
|
|
729
|
-
customClass: ['caption'],
|
|
730
|
-
customStyle: {
|
|
731
|
-
color: 'yellow',
|
|
732
|
-
},
|
|
733
|
-
},
|
|
734
|
-
type: 'table-caption',
|
|
735
|
-
children: [
|
|
736
|
-
{
|
|
737
|
-
id: expect.anything(),
|
|
738
|
-
annotations: {
|
|
739
|
-
internalWrapper: true,
|
|
740
|
-
},
|
|
741
|
-
type: 'paragraph',
|
|
742
|
-
nodes: [
|
|
743
|
-
{
|
|
744
|
-
id: expect.anything(),
|
|
745
|
-
annotations: {
|
|
746
|
-
plainText: true,
|
|
747
|
-
},
|
|
748
|
-
type: 'text',
|
|
749
|
-
text: 'Table Caption',
|
|
750
|
-
},
|
|
751
|
-
],
|
|
752
|
-
},
|
|
753
|
-
],
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
id: expect.anything(),
|
|
757
|
-
annotations: {
|
|
758
|
-
customAttribute: {
|
|
759
|
-
id: 'head',
|
|
760
|
-
},
|
|
761
|
-
customClass: ['thead'],
|
|
762
|
-
customStyle: {
|
|
763
|
-
background: 'red',
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
type: 'table-head',
|
|
767
|
-
children: [
|
|
768
|
-
{
|
|
769
|
-
id: expect.anything(),
|
|
770
|
-
annotations: {
|
|
771
|
-
customAttribute: {
|
|
772
|
-
id: 'row-1',
|
|
773
|
-
},
|
|
774
|
-
customClass: ['tr'],
|
|
775
|
-
customStyle: {
|
|
776
|
-
background: 'purple',
|
|
777
|
-
},
|
|
778
|
-
},
|
|
779
|
-
type: 'table-row',
|
|
780
|
-
children: [
|
|
781
|
-
{
|
|
782
|
-
id: expect.anything(),
|
|
783
|
-
annotations: {
|
|
784
|
-
customAttribute: {
|
|
785
|
-
id: 'head-cell-1',
|
|
786
|
-
},
|
|
787
|
-
customClass: ['th'],
|
|
788
|
-
customStyle: {
|
|
789
|
-
background: 'pink',
|
|
790
|
-
},
|
|
791
|
-
},
|
|
792
|
-
type: 'table-head-cell',
|
|
793
|
-
children: [
|
|
794
|
-
{
|
|
795
|
-
id: expect.anything(),
|
|
796
|
-
annotations: {
|
|
797
|
-
internalWrapper: true,
|
|
798
|
-
},
|
|
799
|
-
type: 'paragraph',
|
|
800
|
-
nodes: [
|
|
801
|
-
{
|
|
802
|
-
id: expect.anything(),
|
|
803
|
-
annotations: {
|
|
804
|
-
plainText: true,
|
|
805
|
-
},
|
|
806
|
-
type: 'text',
|
|
807
|
-
text: 'Header 1',
|
|
808
|
-
},
|
|
809
|
-
],
|
|
810
|
-
},
|
|
811
|
-
],
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
id: expect.anything(),
|
|
815
|
-
type: 'table-head-cell',
|
|
816
|
-
children: [
|
|
817
|
-
{
|
|
818
|
-
id: expect.anything(),
|
|
819
|
-
annotations: {
|
|
820
|
-
internalWrapper: true,
|
|
821
|
-
},
|
|
822
|
-
type: 'paragraph',
|
|
823
|
-
nodes: [
|
|
824
|
-
{
|
|
825
|
-
id: expect.anything(),
|
|
826
|
-
annotations: {
|
|
827
|
-
plainText: true,
|
|
828
|
-
},
|
|
829
|
-
type: 'text',
|
|
830
|
-
text: 'Header 2',
|
|
831
|
-
},
|
|
832
|
-
],
|
|
833
|
-
},
|
|
834
|
-
],
|
|
835
|
-
},
|
|
836
|
-
],
|
|
837
|
-
},
|
|
838
|
-
],
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
id: expect.anything(),
|
|
842
|
-
annotations: {
|
|
843
|
-
customAttribute: {
|
|
844
|
-
id: 'body',
|
|
845
|
-
},
|
|
846
|
-
customClass: ['tbody'],
|
|
847
|
-
customStyle: {
|
|
848
|
-
background: 'green',
|
|
849
|
-
},
|
|
850
|
-
},
|
|
851
|
-
type: 'table-body',
|
|
852
|
-
children: [
|
|
853
|
-
{
|
|
854
|
-
id: expect.anything(),
|
|
855
|
-
type: 'table-row',
|
|
856
|
-
children: [
|
|
857
|
-
{
|
|
858
|
-
id: expect.anything(),
|
|
859
|
-
annotations: {
|
|
860
|
-
customAttribute: {
|
|
861
|
-
id: 'cell-1',
|
|
862
|
-
},
|
|
863
|
-
customClass: ['td'],
|
|
864
|
-
customStyle: {
|
|
865
|
-
background: 'yellow',
|
|
866
|
-
},
|
|
867
|
-
},
|
|
868
|
-
type: 'table-cell',
|
|
869
|
-
children: [
|
|
870
|
-
{
|
|
871
|
-
id: expect.anything(),
|
|
872
|
-
annotations: {
|
|
873
|
-
internalWrapper: true,
|
|
874
|
-
},
|
|
875
|
-
type: 'paragraph',
|
|
876
|
-
nodes: [
|
|
877
|
-
{
|
|
878
|
-
id: expect.anything(),
|
|
879
|
-
annotations: {
|
|
880
|
-
plainText: true,
|
|
881
|
-
},
|
|
882
|
-
type: 'text',
|
|
883
|
-
text: 'Cell 1',
|
|
884
|
-
},
|
|
885
|
-
],
|
|
886
|
-
},
|
|
887
|
-
],
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
id: expect.anything(),
|
|
891
|
-
type: 'table-cell',
|
|
892
|
-
children: [
|
|
893
|
-
{
|
|
894
|
-
id: expect.anything(),
|
|
895
|
-
annotations: {
|
|
896
|
-
internalWrapper: true,
|
|
897
|
-
},
|
|
898
|
-
type: 'paragraph',
|
|
899
|
-
nodes: [
|
|
900
|
-
{
|
|
901
|
-
id: expect.anything(),
|
|
902
|
-
annotations: {
|
|
903
|
-
plainText: true,
|
|
904
|
-
},
|
|
905
|
-
type: 'text',
|
|
906
|
-
text: 'Cell 2',
|
|
907
|
-
},
|
|
908
|
-
],
|
|
909
|
-
},
|
|
910
|
-
],
|
|
911
|
-
},
|
|
912
|
-
],
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
id: expect.anything(),
|
|
916
|
-
type: 'table-row',
|
|
917
|
-
children: [
|
|
918
|
-
{
|
|
919
|
-
id: expect.anything(),
|
|
920
|
-
type: 'table-cell',
|
|
921
|
-
children: [
|
|
922
|
-
{
|
|
923
|
-
id: expect.anything(),
|
|
924
|
-
annotations: {
|
|
925
|
-
internalWrapper: true,
|
|
926
|
-
},
|
|
927
|
-
type: 'paragraph',
|
|
928
|
-
nodes: [
|
|
929
|
-
{
|
|
930
|
-
id: expect.anything(),
|
|
931
|
-
annotations: {
|
|
932
|
-
plainText: true,
|
|
933
|
-
},
|
|
934
|
-
type: 'text',
|
|
935
|
-
text: 'Cell 3',
|
|
936
|
-
},
|
|
937
|
-
],
|
|
938
|
-
},
|
|
939
|
-
],
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
id: expect.anything(),
|
|
943
|
-
type: 'table-cell',
|
|
944
|
-
children: [
|
|
945
|
-
{
|
|
946
|
-
id: expect.anything(),
|
|
947
|
-
annotations: {
|
|
948
|
-
internalWrapper: true,
|
|
949
|
-
},
|
|
950
|
-
type: 'paragraph',
|
|
951
|
-
nodes: [
|
|
952
|
-
{
|
|
953
|
-
id: expect.anything(),
|
|
954
|
-
annotations: {
|
|
955
|
-
plainText: true,
|
|
956
|
-
},
|
|
957
|
-
type: 'text',
|
|
958
|
-
text: 'Cell 4',
|
|
959
|
-
},
|
|
960
|
-
],
|
|
961
|
-
},
|
|
962
|
-
],
|
|
963
|
-
},
|
|
964
|
-
],
|
|
965
|
-
},
|
|
966
|
-
],
|
|
967
|
-
},
|
|
968
|
-
],
|
|
969
|
-
},
|
|
970
|
-
]);
|
|
971
|
-
expect(VegaRTEContent.fromHtml(html).toJSON()).toEqual([
|
|
972
|
-
{
|
|
973
|
-
id: expect.anything(),
|
|
974
|
-
annotations: {
|
|
975
|
-
table: {
|
|
976
|
-
alignment: 'center',
|
|
977
|
-
borderCollapse: 'collapse',
|
|
978
|
-
},
|
|
979
|
-
customAttribute: {
|
|
980
|
-
id: 'table',
|
|
981
|
-
},
|
|
982
|
-
customClass: ['table'],
|
|
983
|
-
customStyle: {
|
|
984
|
-
background: 'blue',
|
|
985
|
-
},
|
|
986
|
-
},
|
|
987
|
-
type: 'table-block',
|
|
988
|
-
children: [
|
|
989
|
-
{
|
|
990
|
-
id: expect.anything(),
|
|
991
|
-
annotations: {
|
|
992
|
-
caption: {
|
|
993
|
-
padding: '8px 12px',
|
|
994
|
-
border: '1px solid #ddd',
|
|
995
|
-
borderBottom: 'none',
|
|
996
|
-
backgroundColor: '#F0F3F7',
|
|
997
|
-
position: 'relative',
|
|
998
|
-
textAlign: 'center',
|
|
999
|
-
minHeight: '22px',
|
|
1000
|
-
},
|
|
1001
|
-
customAttribute: {
|
|
1002
|
-
id: 'caption',
|
|
1003
|
-
},
|
|
1004
|
-
customClass: ['caption'],
|
|
1005
|
-
customStyle: {
|
|
1006
|
-
color: 'yellow',
|
|
1007
|
-
},
|
|
1008
|
-
},
|
|
1009
|
-
type: 'table-caption',
|
|
1010
|
-
children: [
|
|
1011
|
-
{
|
|
1012
|
-
id: expect.anything(),
|
|
1013
|
-
annotations: {
|
|
1014
|
-
textStyle: 'paragraph',
|
|
1015
|
-
customAttribute: {
|
|
1016
|
-
id: 'caption',
|
|
1017
|
-
},
|
|
1018
|
-
customClass: ['caption'],
|
|
1019
|
-
customStyle: {
|
|
1020
|
-
color: 'yellow',
|
|
1021
|
-
},
|
|
1022
|
-
},
|
|
1023
|
-
type: 'paragraph',
|
|
1024
|
-
nodes: [
|
|
1025
|
-
{
|
|
1026
|
-
id: expect.anything(),
|
|
1027
|
-
type: 'text',
|
|
1028
|
-
text: 'Table Caption',
|
|
1029
|
-
},
|
|
1030
|
-
],
|
|
1031
|
-
},
|
|
1032
|
-
],
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
id: expect.anything(),
|
|
1036
|
-
annotations: {
|
|
1037
|
-
customAttribute: {
|
|
1038
|
-
id: 'head',
|
|
1039
|
-
},
|
|
1040
|
-
customClass: ['thead'],
|
|
1041
|
-
customStyle: {
|
|
1042
|
-
background: 'red',
|
|
1043
|
-
},
|
|
1044
|
-
},
|
|
1045
|
-
type: 'table-head',
|
|
1046
|
-
children: [
|
|
1047
|
-
{
|
|
1048
|
-
id: expect.anything(),
|
|
1049
|
-
annotations: {
|
|
1050
|
-
customAttribute: {
|
|
1051
|
-
id: 'row-1',
|
|
1052
|
-
},
|
|
1053
|
-
customClass: ['tr'],
|
|
1054
|
-
customStyle: {
|
|
1055
|
-
background: 'purple',
|
|
1056
|
-
},
|
|
1057
|
-
},
|
|
1058
|
-
type: 'table-row',
|
|
1059
|
-
children: [
|
|
1060
|
-
{
|
|
1061
|
-
id: expect.anything(),
|
|
1062
|
-
annotations: {
|
|
1063
|
-
tableCell: {
|
|
1064
|
-
padding: '12px',
|
|
1065
|
-
border: {
|
|
1066
|
-
style: 'solid',
|
|
1067
|
-
width: '1px',
|
|
1068
|
-
color: '#ddd',
|
|
1069
|
-
},
|
|
1070
|
-
textAlign: 'left',
|
|
1071
|
-
verticalAlign: 'middle',
|
|
1072
|
-
minWidth: '55px',
|
|
1073
|
-
boxSizing: 'border-box',
|
|
1074
|
-
},
|
|
1075
|
-
customAttribute: {
|
|
1076
|
-
id: 'head-cell-1',
|
|
1077
|
-
},
|
|
1078
|
-
customClass: ['th'],
|
|
1079
|
-
customStyle: {
|
|
1080
|
-
background: 'pink',
|
|
1081
|
-
},
|
|
1082
|
-
},
|
|
1083
|
-
type: 'table-head-cell',
|
|
1084
|
-
children: [
|
|
1085
|
-
{
|
|
1086
|
-
id: expect.anything(),
|
|
1087
|
-
annotations: {
|
|
1088
|
-
textStyle: 'paragraph',
|
|
1089
|
-
customAttribute: {
|
|
1090
|
-
id: 'head-cell-1',
|
|
1091
|
-
},
|
|
1092
|
-
customClass: ['th'],
|
|
1093
|
-
customStyle: {
|
|
1094
|
-
background: 'pink',
|
|
1095
|
-
},
|
|
1096
|
-
},
|
|
1097
|
-
type: 'paragraph',
|
|
1098
|
-
nodes: [
|
|
1099
|
-
{
|
|
1100
|
-
id: expect.anything(),
|
|
1101
|
-
type: 'text',
|
|
1102
|
-
text: 'Header 1',
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
1105
|
-
},
|
|
1106
|
-
],
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
id: expect.anything(),
|
|
1110
|
-
annotations: {
|
|
1111
|
-
tableCell: {
|
|
1112
|
-
padding: '12px',
|
|
1113
|
-
border: {
|
|
1114
|
-
style: 'solid',
|
|
1115
|
-
width: '1px',
|
|
1116
|
-
color: '#ddd',
|
|
1117
|
-
},
|
|
1118
|
-
textAlign: 'left',
|
|
1119
|
-
verticalAlign: 'middle',
|
|
1120
|
-
minWidth: '55px',
|
|
1121
|
-
boxSizing: 'border-box',
|
|
1122
|
-
},
|
|
1123
|
-
},
|
|
1124
|
-
type: 'table-head-cell',
|
|
1125
|
-
children: [
|
|
1126
|
-
{
|
|
1127
|
-
id: expect.anything(),
|
|
1128
|
-
annotations: {
|
|
1129
|
-
textStyle: 'paragraph',
|
|
1130
|
-
},
|
|
1131
|
-
type: 'paragraph',
|
|
1132
|
-
nodes: [
|
|
1133
|
-
{
|
|
1134
|
-
id: expect.anything(),
|
|
1135
|
-
type: 'text',
|
|
1136
|
-
text: 'Header 2',
|
|
1137
|
-
},
|
|
1138
|
-
],
|
|
1139
|
-
},
|
|
1140
|
-
],
|
|
1141
|
-
},
|
|
1142
|
-
],
|
|
1143
|
-
},
|
|
1144
|
-
],
|
|
1145
|
-
},
|
|
1146
|
-
{
|
|
1147
|
-
id: expect.anything(),
|
|
1148
|
-
annotations: {
|
|
1149
|
-
customAttribute: {
|
|
1150
|
-
id: 'body',
|
|
1151
|
-
},
|
|
1152
|
-
customClass: ['tbody'],
|
|
1153
|
-
customStyle: {
|
|
1154
|
-
background: 'green',
|
|
1155
|
-
},
|
|
1156
|
-
},
|
|
1157
|
-
type: 'table-body',
|
|
1158
|
-
children: [
|
|
1159
|
-
{
|
|
1160
|
-
id: expect.anything(),
|
|
1161
|
-
type: 'table-row',
|
|
1162
|
-
children: [
|
|
1163
|
-
{
|
|
1164
|
-
id: expect.anything(),
|
|
1165
|
-
annotations: {
|
|
1166
|
-
tableCell: {
|
|
1167
|
-
padding: '12px',
|
|
1168
|
-
border: {
|
|
1169
|
-
style: 'solid',
|
|
1170
|
-
width: '1px',
|
|
1171
|
-
color: '#ddd',
|
|
1172
|
-
},
|
|
1173
|
-
textAlign: 'left',
|
|
1174
|
-
verticalAlign: 'middle',
|
|
1175
|
-
minWidth: '55px',
|
|
1176
|
-
boxSizing: 'border-box',
|
|
1177
|
-
},
|
|
1178
|
-
customAttribute: {
|
|
1179
|
-
id: 'cell-1',
|
|
1180
|
-
},
|
|
1181
|
-
customClass: ['td'],
|
|
1182
|
-
customStyle: {
|
|
1183
|
-
background: 'yellow',
|
|
1184
|
-
},
|
|
1185
|
-
},
|
|
1186
|
-
type: 'table-cell',
|
|
1187
|
-
children: [
|
|
1188
|
-
{
|
|
1189
|
-
id: expect.anything(),
|
|
1190
|
-
annotations: {
|
|
1191
|
-
textStyle: 'paragraph',
|
|
1192
|
-
customAttribute: {
|
|
1193
|
-
id: 'cell-1',
|
|
1194
|
-
},
|
|
1195
|
-
customClass: ['td'],
|
|
1196
|
-
customStyle: {
|
|
1197
|
-
background: 'yellow',
|
|
1198
|
-
},
|
|
1199
|
-
},
|
|
1200
|
-
type: 'paragraph',
|
|
1201
|
-
nodes: [
|
|
1202
|
-
{
|
|
1203
|
-
id: expect.anything(),
|
|
1204
|
-
type: 'text',
|
|
1205
|
-
text: 'Cell 1',
|
|
1206
|
-
},
|
|
1207
|
-
],
|
|
1208
|
-
},
|
|
1209
|
-
],
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
id: expect.anything(),
|
|
1213
|
-
annotations: {
|
|
1214
|
-
tableCell: {
|
|
1215
|
-
padding: '12px',
|
|
1216
|
-
border: {
|
|
1217
|
-
style: 'solid',
|
|
1218
|
-
width: '1px',
|
|
1219
|
-
color: '#ddd',
|
|
1220
|
-
},
|
|
1221
|
-
textAlign: 'left',
|
|
1222
|
-
verticalAlign: 'middle',
|
|
1223
|
-
minWidth: '55px',
|
|
1224
|
-
boxSizing: 'border-box',
|
|
1225
|
-
},
|
|
1226
|
-
},
|
|
1227
|
-
type: 'table-cell',
|
|
1228
|
-
children: [
|
|
1229
|
-
{
|
|
1230
|
-
id: expect.anything(),
|
|
1231
|
-
annotations: {
|
|
1232
|
-
textStyle: 'paragraph',
|
|
1233
|
-
},
|
|
1234
|
-
type: 'paragraph',
|
|
1235
|
-
nodes: [
|
|
1236
|
-
{
|
|
1237
|
-
id: expect.anything(),
|
|
1238
|
-
type: 'text',
|
|
1239
|
-
text: 'Cell 2',
|
|
1240
|
-
},
|
|
1241
|
-
],
|
|
1242
|
-
},
|
|
1243
|
-
],
|
|
1244
|
-
},
|
|
1245
|
-
],
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
id: expect.anything(),
|
|
1249
|
-
type: 'table-row',
|
|
1250
|
-
children: [
|
|
1251
|
-
{
|
|
1252
|
-
id: expect.anything(),
|
|
1253
|
-
annotations: {
|
|
1254
|
-
tableCell: {
|
|
1255
|
-
padding: '12px',
|
|
1256
|
-
border: {
|
|
1257
|
-
style: 'solid',
|
|
1258
|
-
width: '1px',
|
|
1259
|
-
color: '#ddd',
|
|
1260
|
-
},
|
|
1261
|
-
textAlign: 'left',
|
|
1262
|
-
verticalAlign: 'middle',
|
|
1263
|
-
minWidth: '55px',
|
|
1264
|
-
boxSizing: 'border-box',
|
|
1265
|
-
},
|
|
1266
|
-
},
|
|
1267
|
-
type: 'table-cell',
|
|
1268
|
-
children: [
|
|
1269
|
-
{
|
|
1270
|
-
id: expect.anything(),
|
|
1271
|
-
annotations: {
|
|
1272
|
-
textStyle: 'paragraph',
|
|
1273
|
-
},
|
|
1274
|
-
type: 'paragraph',
|
|
1275
|
-
nodes: [
|
|
1276
|
-
{
|
|
1277
|
-
id: expect.anything(),
|
|
1278
|
-
type: 'text',
|
|
1279
|
-
text: 'Cell 3',
|
|
1280
|
-
},
|
|
1281
|
-
],
|
|
1282
|
-
},
|
|
1283
|
-
],
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
id: expect.anything(),
|
|
1287
|
-
annotations: {
|
|
1288
|
-
tableCell: {
|
|
1289
|
-
padding: '12px',
|
|
1290
|
-
border: {
|
|
1291
|
-
style: 'solid',
|
|
1292
|
-
width: '1px',
|
|
1293
|
-
color: '#ddd',
|
|
1294
|
-
},
|
|
1295
|
-
textAlign: 'left',
|
|
1296
|
-
verticalAlign: 'middle',
|
|
1297
|
-
minWidth: '55px',
|
|
1298
|
-
boxSizing: 'border-box',
|
|
1299
|
-
},
|
|
1300
|
-
},
|
|
1301
|
-
type: 'table-cell',
|
|
1302
|
-
children: [
|
|
1303
|
-
{
|
|
1304
|
-
id: expect.anything(),
|
|
1305
|
-
annotations: {
|
|
1306
|
-
textStyle: 'paragraph',
|
|
1307
|
-
},
|
|
1308
|
-
type: 'paragraph',
|
|
1309
|
-
nodes: [
|
|
1310
|
-
{
|
|
1311
|
-
id: expect.anything(),
|
|
1312
|
-
type: 'text',
|
|
1313
|
-
text: 'Cell 4',
|
|
1314
|
-
},
|
|
1315
|
-
],
|
|
1316
|
-
},
|
|
1317
|
-
],
|
|
1318
|
-
},
|
|
1319
|
-
],
|
|
1320
|
-
},
|
|
1321
|
-
],
|
|
1322
|
-
},
|
|
1323
|
-
],
|
|
1324
|
-
},
|
|
1325
|
-
]);
|
|
1326
|
-
expect(VegaRTEContent.fromHtml(html, { autoMatchFormat: false }).toHtml()).toEqualHtml(html);
|
|
1327
|
-
expect(VegaRTEContent.fromHtml(html).toHtml())
|
|
1328
|
-
.toEqualHtml(`<table class="table" id="table" style="border-collapse: collapse; margin: 0 auto; background: blue;">
|
|
1329
|
-
<caption class="caption" id="caption" style="padding: 8px; border: 1px solid #ddd; border-bottom: none; background-color: #F0F3F7; position: relative; text-align: center; min-height: 22px; color: yellow;">
|
|
1330
|
-
<p class="caption" id="caption" style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px; color: yellow;">
|
|
1331
|
-
<span>
|
|
1332
|
-
Table Caption
|
|
1333
|
-
</span>
|
|
1334
|
-
</p>
|
|
1335
|
-
</caption>
|
|
1336
|
-
<thead class="thead" id="head" style="background: red;">
|
|
1337
|
-
<tr class="tr" id="row-1" style="background: purple;">
|
|
1338
|
-
<th class="th" id="head-cell-1" style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7; background: pink;">
|
|
1339
|
-
<p class="th" id="head-cell-1" style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px; background: pink;">
|
|
1340
|
-
<span>
|
|
1341
|
-
Header 1
|
|
1342
|
-
</span>
|
|
1343
|
-
</p>
|
|
1344
|
-
</th>
|
|
1345
|
-
<th style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background-color: #F0F3F7;">
|
|
1346
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
1347
|
-
<span>
|
|
1348
|
-
Header 2
|
|
1349
|
-
</span>
|
|
1350
|
-
</p>
|
|
1351
|
-
</th>
|
|
1352
|
-
</tr>
|
|
1353
|
-
</thead>
|
|
1354
|
-
<tbody class="tbody" id="body" style="background: green;">
|
|
1355
|
-
<tr>
|
|
1356
|
-
<td class="td" id="cell-1" style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box; background: yellow;">
|
|
1357
|
-
<p class="td" id="cell-1" style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px; background: yellow;">
|
|
1358
|
-
<span>
|
|
1359
|
-
Cell 1
|
|
1360
|
-
</span>
|
|
1361
|
-
</p>
|
|
1362
|
-
</td>
|
|
1363
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
1364
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
1365
|
-
<span>
|
|
1366
|
-
Cell 2
|
|
1367
|
-
</span>
|
|
1368
|
-
</p>
|
|
1369
|
-
</td>
|
|
1370
|
-
</tr>
|
|
1371
|
-
<tr>
|
|
1372
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
1373
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
1374
|
-
<span>
|
|
1375
|
-
Cell 3
|
|
1376
|
-
</span>
|
|
1377
|
-
</p>
|
|
1378
|
-
</td>
|
|
1379
|
-
<td style="padding: 12px; border: solid 1px #ddd; text-align: left; vertical-align: middle; min-width: 55px; box-sizing: border-box;">
|
|
1380
|
-
<p style="font-family: Inter; font-size: 16px; line-height: 22px; min-height: 22px; font-weight: 500; margin-top: 0px; margin-bottom: 0px;">
|
|
1381
|
-
<span>
|
|
1382
|
-
Cell 4
|
|
1383
|
-
</span>
|
|
1384
|
-
</p>
|
|
1385
|
-
</td>
|
|
1386
|
-
</tr>
|
|
1387
|
-
</tbody>
|
|
1388
|
-
</table>`);
|
|
1389
|
-
});
|
|
1390
|
-
it('should convert empty cell with default paragraph if autoMatchFormat is not false', () => {
|
|
1391
|
-
const html = `<table>
|
|
1392
|
-
<thead>
|
|
1393
|
-
<tr>
|
|
1394
|
-
<th></th>
|
|
1395
|
-
<th>Header 2</th>
|
|
1396
|
-
</tr>
|
|
1397
|
-
</thead>
|
|
1398
|
-
<tbody>
|
|
1399
|
-
<tr>
|
|
1400
|
-
<td></td>
|
|
1401
|
-
<td>Cell 2</td>
|
|
1402
|
-
</tr>
|
|
1403
|
-
</tbody>
|
|
1404
|
-
</table>`;
|
|
1405
|
-
const value = VegaRTEContent.fromHtml(html);
|
|
1406
|
-
const table = value.children[0];
|
|
1407
|
-
const thead = table.children[0];
|
|
1408
|
-
const tbody = table.children[1];
|
|
1409
|
-
const theadRow = thead.children[0];
|
|
1410
|
-
const theadCell = theadRow.children[0];
|
|
1411
|
-
const tbodyRow = tbody.children[0];
|
|
1412
|
-
const tbodyCell = tbodyRow.children[0];
|
|
1413
|
-
expect(theadCell.children.length).toBe(1);
|
|
1414
|
-
expect(theadCell.children[0].toJSON()).toEqual({
|
|
1415
|
-
id: expect.anything(),
|
|
1416
|
-
type: 'paragraph',
|
|
1417
|
-
annotations: { textStyle: 'paragraph' },
|
|
1418
|
-
nodes: [{ id: expect.anything(), text: '', type: 'text' }],
|
|
1419
|
-
});
|
|
1420
|
-
expect(tbodyCell.children.length).toBe(1);
|
|
1421
|
-
expect(tbodyCell.children[0].toJSON()).toEqual({
|
|
1422
|
-
id: expect.anything(),
|
|
1423
|
-
type: 'paragraph',
|
|
1424
|
-
annotations: { textStyle: 'paragraph' },
|
|
1425
|
-
nodes: [{ id: expect.anything(), text: '', type: 'text' }],
|
|
1426
|
-
});
|
|
1427
|
-
});
|
|
1428
|
-
it('should convert empty cell with default paragraph wrapper if autoMatchFormat is false', () => {
|
|
1429
|
-
const html = `<table>
|
|
1430
|
-
<thead>
|
|
1431
|
-
<tr>
|
|
1432
|
-
<th></th>
|
|
1433
|
-
<th>Header 2</th>
|
|
1434
|
-
</tr>
|
|
1435
|
-
</thead>
|
|
1436
|
-
<tbody>
|
|
1437
|
-
<tr>
|
|
1438
|
-
<td></td>
|
|
1439
|
-
<td>Cell 2</td>
|
|
1440
|
-
</tr>
|
|
1441
|
-
</tbody>
|
|
1442
|
-
</table>`;
|
|
1443
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
1444
|
-
const table = value.children[0];
|
|
1445
|
-
const thead = table.children[0];
|
|
1446
|
-
const tbody = table.children[1];
|
|
1447
|
-
const theadRow = thead.children[0];
|
|
1448
|
-
const theadCell = theadRow.children[0];
|
|
1449
|
-
const tbodyRow = tbody.children[0];
|
|
1450
|
-
const tbodyCell = tbodyRow.children[0];
|
|
1451
|
-
expect(theadCell.children.length).toBe(1);
|
|
1452
|
-
expect(theadCell.children[0].toJSON()).toEqual({
|
|
1453
|
-
id: expect.anything(),
|
|
1454
|
-
type: 'paragraph',
|
|
1455
|
-
annotations: { internalWrapper: true },
|
|
1456
|
-
nodes: [{ id: expect.anything(), annotations: { plainText: true }, text: '', type: 'text' }],
|
|
1457
|
-
});
|
|
1458
|
-
expect(tbodyCell.children.length).toBe(1);
|
|
1459
|
-
expect(tbodyCell.children[0].toJSON()).toEqual({
|
|
1460
|
-
id: expect.anything(),
|
|
1461
|
-
type: 'paragraph',
|
|
1462
|
-
annotations: { internalWrapper: true },
|
|
1463
|
-
nodes: [{ id: expect.anything(), annotations: { plainText: true }, text: '', type: 'text' }],
|
|
1464
|
-
});
|
|
1465
|
-
});
|
|
1466
|
-
it('should convert changed minWidth and boxSizing', () => {
|
|
1467
|
-
const html = `<table style="border-collapse: collapse;margin: 0 auto;">
|
|
1468
|
-
<tbody>
|
|
1469
|
-
<tr>
|
|
1470
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 100px;box-sizing: border-box;">
|
|
1471
|
-
<p style="font-family: Inter;font-size: 16px;line-height: 22px;min-height: 22px;font-weight: 500;margin-top: 0px;margin-bottom: 0px;">
|
|
1472
|
-
<span>A</span>
|
|
1473
|
-
</p>
|
|
1474
|
-
</td>
|
|
1475
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: content-box;">
|
|
1476
|
-
<p style="font-family: Inter;font-size: 16px;line-height: 22px;min-height: 22px;font-weight: 500;margin-top: 0px;margin-bottom: 0px;">
|
|
1477
|
-
<span>B</span>
|
|
1478
|
-
</p>
|
|
1479
|
-
</td>
|
|
1480
|
-
</tr>
|
|
1481
|
-
<tr>
|
|
1482
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: border-box;">
|
|
1483
|
-
<p style="font-family: Inter;font-size: 16px;line-height: 22px;min-height: 22px;font-weight: 500;margin-top: 0px;margin-bottom: 0px;">
|
|
1484
|
-
<span>C</span>
|
|
1485
|
-
</p>
|
|
1486
|
-
</td>
|
|
1487
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: border-box;">
|
|
1488
|
-
<p style="font-family: Inter;font-size: 16px;line-height: 22px;min-height: 22px;font-weight: 500;margin-top: 0px;margin-bottom: 0px;">
|
|
1489
|
-
<span>D</span>
|
|
1490
|
-
</p>
|
|
1491
|
-
</td>
|
|
1492
|
-
</tr>
|
|
1493
|
-
</tbody>
|
|
1494
|
-
</table>`;
|
|
1495
|
-
const value = VegaRTEContent.fromHtml(html);
|
|
1496
|
-
const jsonValue = value.toJSON()[0];
|
|
1497
|
-
const tbody = jsonValue.children[0];
|
|
1498
|
-
const firstRow = tbody.children[0];
|
|
1499
|
-
const firstCell = firstRow.children[0];
|
|
1500
|
-
const secondCell = firstRow.children[1];
|
|
1501
|
-
expect(firstCell.annotations.tableCell.minWidth).toBe('100px');
|
|
1502
|
-
expect(secondCell.annotations.tableCell.boxSizing).toBe('content-box');
|
|
1503
|
-
expect(firstCell.annotations.customStyle.minWidth).toBe('100px');
|
|
1504
|
-
expect(secondCell.annotations.customStyle.boxSizing).toBe('content-box');
|
|
1505
|
-
expect(value.toHtml()).toEqualHtml(html);
|
|
1506
|
-
});
|
|
1507
|
-
it('should convert changed minWidth and boxSizing when autoMatchFormat is false', () => {
|
|
1508
|
-
const html = `<table style="border-collapse: collapse;margin: 0 auto;">
|
|
1509
|
-
<tbody>
|
|
1510
|
-
<tr>
|
|
1511
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 100px;box-sizing: border-box;">
|
|
1512
|
-
<p><span>A</span></p>
|
|
1513
|
-
</td>
|
|
1514
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: content-box;">
|
|
1515
|
-
<p><span>B</span></p>
|
|
1516
|
-
</td>
|
|
1517
|
-
</tr>
|
|
1518
|
-
<tr>
|
|
1519
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: border-box;">
|
|
1520
|
-
<p><span>C</span></p>
|
|
1521
|
-
</td>
|
|
1522
|
-
<td style="padding: 12px;border: solid 1px #ddd;text-align: left;vertical-align: middle;min-width: 55px;box-sizing: border-box;">
|
|
1523
|
-
<p><span>D</span></p>
|
|
1524
|
-
</td>
|
|
1525
|
-
</tr>
|
|
1526
|
-
</tbody>
|
|
1527
|
-
</table>`;
|
|
1528
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
1529
|
-
const jsonValue = value.toJSON()[0];
|
|
1530
|
-
const tbody = jsonValue.children[0];
|
|
1531
|
-
const firstRow = tbody.children[0];
|
|
1532
|
-
const firstCell = firstRow.children[0];
|
|
1533
|
-
const secondCell = firstRow.children[1];
|
|
1534
|
-
expect(firstCell.annotations.tableCell.minWidth).toBe('100px');
|
|
1535
|
-
expect(secondCell.annotations.tableCell.boxSizing).toBe('content-box');
|
|
1536
|
-
expect(firstCell.annotations.customStyle.minWidth).toBe('100px');
|
|
1537
|
-
expect(secondCell.annotations.customStyle.boxSizing).toBe('content-box');
|
|
1538
|
-
expect(value.toHtml()).toEqualHtml(html);
|
|
1539
|
-
});
|
|
1540
|
-
it('should convert table head cell background color to default when it matches the default', () => {
|
|
1541
|
-
var _a, _b, _c, _d;
|
|
1542
|
-
const html = `<table style="border-collapse: collapse;margin: 0 auto;">
|
|
1543
|
-
<thead>
|
|
1544
|
-
<tr>
|
|
1545
|
-
<th style="background-color: rgb(240, 243, 247)">
|
|
1546
|
-
<p><span>A</span></p>
|
|
1547
|
-
</th>
|
|
1548
|
-
</tr>
|
|
1549
|
-
</thead>
|
|
1550
|
-
</table>`;
|
|
1551
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
1552
|
-
const jsonValue = value.toJSON()[0];
|
|
1553
|
-
const thead = jsonValue.children[0];
|
|
1554
|
-
const firstRow = thead.children[0];
|
|
1555
|
-
const firstCell = firstRow.children[0];
|
|
1556
|
-
expect((_b = (_a = firstCell.annotations) === null || _a === void 0 ? void 0 : _a.tableCell) === null || _b === void 0 ? void 0 : _b.backgroundColor).toBeUndefined();
|
|
1557
|
-
expect((_d = (_c = firstCell.annotations) === null || _c === void 0 ? void 0 : _c.customStyle) === null || _d === void 0 ? void 0 : _d.backgroundColor).toBeUndefined();
|
|
1558
|
-
});
|
|
1559
|
-
it('should convert table head cell background color to default when it matches the default in dark mode', () => {
|
|
1560
|
-
var _a, _b, _c, _d;
|
|
1561
|
-
VegaInternalThemeManager.toggleDarkMode(true);
|
|
1562
|
-
const html = `<table style="border-collapse: collapse;margin: 0 auto;">
|
|
1563
|
-
<thead>
|
|
1564
|
-
<tr>
|
|
1565
|
-
<th style="background-color: rgb(24, 24, 48)">
|
|
1566
|
-
<p><span>A</span></p>
|
|
1567
|
-
</th>
|
|
1568
|
-
</tr>
|
|
1569
|
-
</thead>
|
|
1570
|
-
</table>`;
|
|
1571
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
1572
|
-
const jsonValue = value.toJSON()[0];
|
|
1573
|
-
const thead = jsonValue.children[0];
|
|
1574
|
-
const firstRow = thead.children[0];
|
|
1575
|
-
const firstCell = firstRow.children[0];
|
|
1576
|
-
expect((_b = (_a = firstCell.annotations) === null || _a === void 0 ? void 0 : _a.tableCell) === null || _b === void 0 ? void 0 : _b.backgroundColor).toBeUndefined();
|
|
1577
|
-
expect((_d = (_c = firstCell.annotations) === null || _c === void 0 ? void 0 : _c.customStyle) === null || _d === void 0 ? void 0 : _d.backgroundColor).toBeUndefined();
|
|
1578
|
-
VegaInternalThemeManager.toggleDarkMode(false);
|
|
1579
|
-
});
|
|
1580
|
-
it('should convert table caption background color to default when it matches the default', () => {
|
|
1581
|
-
var _a, _b;
|
|
1582
|
-
const html = `<table style="border-collapse: collapse;margin: 0 auto;">
|
|
1583
|
-
<caption style="background-color: rgb(240, 243, 247)"></caption>
|
|
1584
|
-
</table>`;
|
|
1585
|
-
const value = VegaRTEContent.fromHtml(html, { autoMatchFormat: false });
|
|
1586
|
-
const jsonValue = value.toJSON()[0];
|
|
1587
|
-
const caption = jsonValue.children[0];
|
|
1588
|
-
expect((_b = (_a = caption.annotations) === null || _a === void 0 ? void 0 : _a.customStyle) === null || _b === void 0 ? void 0 : _b.backgroundColor).toBeUndefined();
|
|
1589
|
-
});
|
|
1590
|
-
});
|