@globalpayments/vega 2.48.0 → 2.49.1
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-22798708.js → app-globals-65622aeb.js} +3 -3
- package/dist/cjs/{array-3aa164ce.js → array-249289f2.js} +18 -15
- package/dist/cjs/{child-nodes-event-prevent-slimmer-37870b2e.js → child-nodes-event-prevent-slimmer-cc193ee1.js} +1 -1
- package/dist/cjs/{content-state-54d94562.js → content-state-6a48bcb5.js} +20 -1
- package/dist/cjs/{design-token-1abb655a.js → design-token-cba4222e.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-2d4c8c18.js → element-appender-slimmer-4a26ecb2.js} +1 -1
- package/dist/cjs/{feature-flag-controller-075fa683.js → feature-flag-controller-5e58aae4.js} +6 -0
- package/dist/cjs/{form-field-controller-slimmer-527c25a0.js → form-field-controller-slimmer-4b0af5bc.js} +5 -3
- package/dist/cjs/{image-annotation-action-b78404b8.js → image-annotation-action-9c2b9c8e.js} +1 -1
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{legend-input-processor-b071654c.js → legend-input-processor-8bcce3bf.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{mutation-observer-filters-1f8c32a3.js → mutation-observer-filters-38cebc6d.js} +1 -1
- package/dist/cjs/{public-rules-c4d2df9d.js → public-rules-10ec636d.js} +2 -2
- package/dist/cjs/{responsive-format-facade-38f3763e.js → responsive-format-facade-263d49f6.js} +3 -3
- package/dist/cjs/{rich-text-editor-required-rule-e73f2c4f.js → rich-text-editor-required-rule-5faded94.js} +1 -1
- package/dist/cjs/{style-formatter-ecb4d49c.js → style-formatter-ae0ef7fc.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +5 -5
- package/dist/cjs/vega-app-header-button.cjs.entry.js +6 -6
- package/dist/cjs/vega-banner.cjs.entry.js +1 -1
- package/dist/cjs/vega-bar-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +6 -6
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/vega-button-circle.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-group_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-button-link.cjs.entry.js +2 -2
- package/dist/cjs/vega-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-calendar_3.cjs.entry.js +3 -3
- package/dist/cjs/vega-card.cjs.entry.js +5 -5
- package/dist/cjs/vega-carousel.cjs.entry.js +4 -4
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-chip.cjs.entry.js +6 -6
- package/dist/cjs/vega-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/vega-combo-box.cjs.entry.js +5 -5
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-dialog_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-divider.cjs.entry.js +5 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +6 -6
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-flex.cjs.entry.js +6 -6
- package/dist/cjs/vega-font.cjs.entry.js +5 -5
- package/dist/cjs/vega-form.cjs.entry.js +5 -5
- package/dist/cjs/vega-grid.cjs.entry.js +5 -5
- package/dist/cjs/vega-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-image-uploader.cjs.entry.js +7 -7
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-numeric.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +21 -13
- package/dist/cjs/vega-input-range.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-select.cjs.entry.js +7 -7
- package/dist/cjs/vega-input.cjs.entry.js +16 -5
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +5 -5
- package/dist/cjs/vega-line-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +5 -5
- package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -3
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +57 -29
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +4 -4
- package/dist/cjs/vega-signature-capture.cjs.entry.js +7 -7
- package/dist/cjs/vega-stepper.cjs.entry.js +5 -5
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +57 -21
- package/dist/cjs/vega-table_8.cjs.entry.js +6 -6
- package/dist/cjs/vega-textarea.cjs.entry.js +5 -5
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -4
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/vega.cjs.js +4 -4
- package/dist/cjs/{y-axis-input-processor-72684c57.js → y-axis-input-processor-e371c142.js} +2 -2
- package/dist/collection/components/vega-input/vega-input.js +13 -2
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +2 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +3 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +9 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.js +28 -18
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +4 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.js +16 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.js +1 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +22 -12
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +6 -2
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +20 -4
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +16 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +32 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +8 -2
- package/dist/collection/helpers/feature-control/feature-flags-map.js +6 -0
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +3 -1
- package/dist/collection/utils/array.js +18 -15
- package/dist/collection/utils/test/array.test.js +78 -16
- package/dist/esm/{app-globals-1bb57f5e.js → app-globals-1f8c30e9.js} +3 -3
- package/dist/esm/{array-3113609f.js → array-7888f339.js} +18 -15
- package/dist/esm/{child-nodes-event-prevent-slimmer-d3a94ef2.js → child-nodes-event-prevent-slimmer-5d45361e.js} +1 -1
- package/dist/esm/{content-state-6dba6625.js → content-state-dbc9f635.js} +20 -1
- package/dist/esm/{design-token-070b7326.js → design-token-0699f0ca.js} +1 -1
- package/dist/esm/{element-appender-slimmer-d196dd21.js → element-appender-slimmer-96cb54e2.js} +1 -1
- package/dist/esm/{feature-flag-controller-690eac1d.js → feature-flag-controller-0fbe8fb0.js} +6 -0
- package/dist/esm/{form-field-controller-slimmer-e7dc3db1.js → form-field-controller-slimmer-89a72ee7.js} +5 -3
- package/dist/esm/{image-annotation-action-0b661259.js → image-annotation-action-1aa938ab.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/{legend-input-processor-8bcd5c5a.js → legend-input-processor-8f76ce8a.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{mutation-observer-filters-7ee2b410.js → mutation-observer-filters-1a054fb0.js} +1 -1
- package/dist/esm/{public-rules-f9aaa527.js → public-rules-5cf6aa95.js} +2 -2
- package/dist/esm/{responsive-format-facade-dfed6d94.js → responsive-format-facade-42f3fcfa.js} +3 -3
- package/dist/esm/{rich-text-editor-required-rule-42b796eb.js → rich-text-editor-required-rule-6a7cd3ee.js} +1 -1
- package/dist/esm/{style-formatter-788dbacf.js → style-formatter-cb00c709.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +5 -5
- package/dist/esm/vega-app-header-button.entry.js +6 -6
- package/dist/esm/vega-banner.entry.js +1 -1
- package/dist/esm/vega-bar-chart.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +6 -6
- package/dist/esm/vega-breadcrumb.entry.js +2 -2
- package/dist/esm/vega-button-circle.entry.js +6 -6
- package/dist/esm/vega-button-group_2.entry.js +2 -2
- package/dist/esm/vega-button-link.entry.js +2 -2
- package/dist/esm/vega-button.entry.js +5 -5
- package/dist/esm/vega-calendar_3.entry.js +3 -3
- package/dist/esm/vega-card.entry.js +5 -5
- package/dist/esm/vega-carousel.entry.js +4 -4
- package/dist/esm/vega-checkbox_2.entry.js +5 -5
- package/dist/esm/vega-chip.entry.js +6 -6
- package/dist/esm/vega-color-picker.entry.js +3 -3
- package/dist/esm/vega-combo-box.entry.js +5 -5
- package/dist/esm/vega-date-picker_2.entry.js +8 -8
- package/dist/esm/vega-dialog_2.entry.js +6 -6
- package/dist/esm/vega-divider.entry.js +5 -5
- package/dist/esm/vega-dropdown_5.entry.js +6 -6
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-file-uploader.entry.js +3 -3
- package/dist/esm/vega-flag-icon.entry.js +5 -5
- package/dist/esm/vega-flex.entry.js +6 -6
- package/dist/esm/vega-font.entry.js +5 -5
- package/dist/esm/vega-form.entry.js +5 -5
- package/dist/esm/vega-grid.entry.js +5 -5
- package/dist/esm/vega-icon.entry.js +5 -5
- package/dist/esm/vega-image-uploader.entry.js +7 -7
- package/dist/esm/vega-input-credit-card.entry.js +5 -5
- package/dist/esm/vega-input-numeric.entry.js +5 -5
- package/dist/esm/vega-input-phone-number.entry.js +21 -13
- package/dist/esm/vega-input-range.entry.js +5 -5
- package/dist/esm/vega-input-select.entry.js +7 -7
- package/dist/esm/vega-input.entry.js +16 -5
- package/dist/esm/vega-left-nav_5.entry.js +5 -5
- package/dist/esm/vega-line-chart.entry.js +3 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +4 -4
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +5 -5
- package/dist/esm/vega-pie-chart.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +5 -5
- package/dist/esm/vega-radio_2.entry.js +5 -5
- package/dist/esm/vega-rich-text-content.entry.js +9 -3
- package/dist/esm/vega-rich-text-editor_4.entry.js +57 -29
- package/dist/esm/vega-selection-chip_2.entry.js +7 -7
- package/dist/esm/vega-selection-tile_2.entry.js +5 -5
- package/dist/esm/vega-sidenav_3.entry.js +4 -4
- package/dist/esm/vega-signature-capture.entry.js +7 -7
- package/dist/esm/vega-stepper.entry.js +5 -5
- package/dist/esm/vega-tab-group_2.entry.js +57 -21
- package/dist/esm/vega-table_8.entry.js +6 -6
- package/dist/esm/vega-textarea.entry.js +5 -5
- package/dist/esm/vega-time-picker_2.entry.js +8 -8
- package/dist/esm/vega-toggle-switch.entry.js +10 -4
- package/dist/esm/vega-tooltip_2.entry.js +5 -5
- package/dist/esm/vega.js +4 -4
- package/dist/esm/{y-axis-input-processor-26fab110.js → y-axis-input-processor-e090b01c.js} +2 -2
- package/dist/types/components/vega-input/vega-input.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +7 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.d.ts +11 -10
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +3 -0
- package/dist/types/components/vega-tab-group/types.d.ts +2 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +7 -1
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +1 -0
- package/dist/types/components.d.ts +13 -3
- package/dist/types/helpers/feature-control/feature-flag.d.ts +2 -1
- package/dist/types/types/components.type.d.ts +1 -1
- package/dist/types/utils/array.d.ts +6 -5
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-f7423232.entry.js → p-0079088b.entry.js} +1 -1
- package/dist/vega/p-02d7d948.entry.js +1 -0
- package/dist/vega/{p-27e3825f.entry.js → p-06adb37e.entry.js} +1 -1
- package/dist/vega/{p-575ca599.entry.js → p-06c5fe97.entry.js} +1 -1
- package/dist/vega/{p-84298e28.entry.js → p-0ed7a098.entry.js} +1 -1
- package/dist/vega/p-0f6b3a89.entry.js +1 -0
- package/dist/vega/p-136f665b.entry.js +1 -0
- package/dist/vega/{p-472727a4.entry.js → p-147e3cbd.entry.js} +1 -1
- package/dist/vega/p-16fd7c32.js +1 -0
- package/dist/vega/p-1971d980.entry.js +1 -0
- package/dist/vega/{p-371cc8e8.entry.js → p-1a263af1.entry.js} +1 -1
- package/dist/vega/{p-d033ed44.entry.js → p-1af4771a.entry.js} +1 -1
- package/dist/vega/{p-32c68611.entry.js → p-1c63afd2.entry.js} +1 -1
- package/dist/vega/{p-024cccab.entry.js → p-1e05b7b4.entry.js} +1 -1
- package/dist/vega/{p-dd33bc71.entry.js → p-1ea863a6.entry.js} +1 -1
- package/dist/vega/{p-2198de3e.entry.js → p-252e42c7.entry.js} +1 -1
- package/dist/vega/{p-2491d18f.entry.js → p-271b30b9.entry.js} +1 -1
- package/dist/vega/{p-c6a3fe8a.entry.js → p-2d1d4f33.entry.js} +1 -1
- package/dist/vega/p-2da83c2a.js +1 -0
- package/dist/vega/{p-07d1c3e1.entry.js → p-353b3ded.entry.js} +1 -1
- package/dist/vega/p-44b0a005.js +1 -0
- package/dist/vega/{p-3220920f.js → p-45e28b9b.js} +1 -1
- package/dist/vega/{p-431ab4dd.js → p-45f696b4.js} +1 -1
- package/dist/vega/{p-50355e06.entry.js → p-46714da3.entry.js} +1 -1
- package/dist/vega/{p-1d0cf3ae.entry.js → p-47ff95ba.entry.js} +1 -1
- package/dist/vega/{p-d6591d70.entry.js → p-4a32a6c0.entry.js} +1 -1
- package/dist/vega/{p-1e940ce8.js → p-4d793cb0.js} +1 -1
- package/dist/vega/p-4e76904e.entry.js +1 -0
- package/dist/vega/{p-b1f9fca8.entry.js → p-4ec0d36f.entry.js} +1 -1
- package/dist/vega/{p-ff41dc6a.entry.js → p-5160a6b9.entry.js} +1 -1
- package/dist/vega/p-52b8f2d2.js +1 -0
- package/dist/vega/{p-75c68f51.js → p-54add0d2.js} +1 -1
- package/dist/vega/{p-57e813f2.entry.js → p-54f17c2e.entry.js} +1 -1
- package/dist/vega/{p-38fa38dc.entry.js → p-5c954088.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-8bc4c015.entry.js → p-61eb7f32.entry.js} +1 -1
- package/dist/vega/{p-10f1429e.entry.js → p-646a9198.entry.js} +1 -1
- package/dist/vega/{p-a8e9bfae.entry.js → p-647025dd.entry.js} +1 -1
- package/dist/vega/{p-ccdd49be.entry.js → p-6a830bc5.entry.js} +1 -1
- package/dist/vega/{p-32ca74b1.js → p-6d7d923b.js} +1 -1
- package/dist/vega/{p-0a18f5f6.entry.js → p-7088ead9.entry.js} +1 -1
- package/dist/vega/{p-6cc32ffa.entry.js → p-77492977.entry.js} +1 -1
- package/dist/vega/{p-6cd8e6f4.entry.js → p-81fbfb6d.entry.js} +1 -1
- package/dist/vega/{p-28b7d6ba.entry.js → p-83ef9e7d.entry.js} +1 -1
- package/dist/vega/{p-09c13382.entry.js → p-8789d34d.entry.js} +1 -1
- package/dist/vega/{p-e8f16f1d.entry.js → p-8813c0ac.entry.js} +1 -1
- package/dist/vega/{p-db4112af.js → p-89ab72e3.js} +1 -1
- package/dist/vega/{p-5c3da7ed.entry.js → p-8a85c7af.entry.js} +1 -1
- package/dist/vega/{p-292b421a.entry.js → p-8c388b58.entry.js} +1 -1
- package/dist/vega/p-9803042f.entry.js +1 -0
- package/dist/vega/{p-baca6dfc.entry.js → p-98c64d77.entry.js} +1 -1
- package/dist/vega/{p-65a76f19.entry.js → p-9f3539a4.entry.js} +1 -1
- package/dist/vega/{p-1cd2d7b8.entry.js → p-a46bc9f1.entry.js} +1 -1
- package/dist/vega/{p-7f6702f7.js → p-a7dcb2a3.js} +1 -1
- package/dist/vega/{p-353d32c0.entry.js → p-b351ace3.entry.js} +1 -1
- package/dist/vega/{p-ed6cc75b.entry.js → p-b42aea55.entry.js} +1 -1
- package/dist/vega/{p-09f7f841.entry.js → p-b5d70ee0.entry.js} +1 -1
- package/dist/vega/{p-5a8f129f.entry.js → p-b649e86e.entry.js} +1 -1
- package/dist/vega/{p-4fa94b35.entry.js → p-b847a143.entry.js} +1 -1
- package/dist/vega/{p-50e80afa.js → p-bc2dd43d.js} +1 -1
- package/dist/vega/{p-fda0c179.entry.js → p-bfb344e1.entry.js} +1 -1
- package/dist/vega/{p-2ecae9fe.entry.js → p-c9a4e79a.entry.js} +1 -1
- package/dist/vega/{p-700da800.entry.js → p-cfda64fd.entry.js} +1 -1
- package/dist/vega/p-d27ae9ff.js +1 -0
- package/dist/vega/{p-48b7f20d.js → p-dbc82247.js} +1 -1
- package/dist/vega/{p-1b3f492f.entry.js → p-e2e36d2b.entry.js} +1 -1
- package/dist/vega/{p-7db32dc0.entry.js → p-ec1f2d21.entry.js} +1 -1
- package/dist/vega/{p-a25939ad.js → p-eda5b7fd.js} +1 -1
- package/dist/vega/{p-7581d242.entry.js → p-ef8272b5.entry.js} +1 -1
- package/dist/vega/p-f4c1d961.js +1 -0
- package/dist/vega/{p-f5b19d4f.entry.js → p-f5279deb.entry.js} +1 -1
- package/dist/vega/{p-9dba10f7.entry.js → p-f8033cd3.entry.js} +1 -1
- package/dist/vega/{p-31ec679b.entry.js → p-fe63bd50.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-0d355793.js +0 -1
- package/dist/vega/p-24e0cdcc.entry.js +0 -1
- package/dist/vega/p-3647d61d.js +0 -1
- package/dist/vega/p-5c1eedc5.js +0 -1
- package/dist/vega/p-971f7d3c.entry.js +0 -1
- package/dist/vega/p-b3e1dc86.entry.js +0 -1
- package/dist/vega/p-b5f5a5e0.js +0 -1
- package/dist/vega/p-c5f8b3a3.entry.js +0 -1
- package/dist/vega/p-cc43a4ca.js +0 -1
- package/dist/vega/p-db7a6878.entry.js +0 -1
- package/dist/vega/p-f4d3387c.entry.js +0 -1
- package/dist/vega/p-fba4bae5.js +0 -1
|
@@ -4,24 +4,24 @@ import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
|
4
4
|
import { P as PageResizeObserverSlimmer, g as getCurrentBreakpoint } from './page-resize-observer-slimmer-15a84d26.js';
|
|
5
5
|
import { c as MapToComponentField, V as VegaSlimmer, M as MapToComponentMethod, L as LogUtility, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
6
6
|
import { a as arrayToClassString } from './ui-ed1283bb.js';
|
|
7
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
7
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-42f3fcfa.js';
|
|
8
8
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
9
9
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
10
10
|
import { m as VegaDropdownShow, n as VegaDropdownHide, b as VegaDropdownClick, p as VegaDropdownSearch, q as VegaSearchTrigger, o as VegaReset, d as domNodeSubjectFactory, f as VegaChange, l as VegaSearch, D as VegaShow, E as VegaHide } from './dom-node-subject-factory-f77cf9cc.js';
|
|
11
11
|
import { g as VegaInternalDropdownTemplateItemsChange, i as VegaInternalVirtualScrollToBottom, j as VegaInputSelectRenderPrefixIconInternalOverridden } from './vega-internal-event-id-85ad403f.js';
|
|
12
|
-
import { i as isArrayEqual } from './array-
|
|
12
|
+
import { i as isArrayEqual } from './array-7888f339.js';
|
|
13
13
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
14
14
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
15
15
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
16
16
|
import { c as chevronUp } from './chevron-up-b1989751.js';
|
|
17
17
|
import { c as chevronDown } from './chevron-down-4a75d28e.js';
|
|
18
18
|
import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.js';
|
|
19
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
19
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-89a72ee7.js';
|
|
20
20
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
21
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
21
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
22
22
|
import { N as isArrayOfType, P as isSelectSourceItemType } from './type-guard-158f6d7a.js';
|
|
23
23
|
import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-6cef9549.js';
|
|
24
|
-
import { T as TagNameMutationFilter } from './mutation-observer-filters-
|
|
24
|
+
import { T as TagNameMutationFilter } from './mutation-observer-filters-1a054fb0.js';
|
|
25
25
|
import { T as TranslationSlimmer } from './translation-slimmer-88966d5c.js';
|
|
26
26
|
import { r as remoteInvocationRegistry } from './remote-invocation-registry-d69245c2.js';
|
|
27
27
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
@@ -37,12 +37,12 @@ import './dark-mode-style-controller-2ada8e22.js';
|
|
|
37
37
|
import './observer-3959f9dd.js';
|
|
38
38
|
import './_commonjsHelpers-9943807e.js';
|
|
39
39
|
import './internal-vega-event-manager-87dc436c.js';
|
|
40
|
-
import './feature-flag-controller-
|
|
40
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
41
41
|
import './index-44c794b4.js';
|
|
42
42
|
import './icon-manager-638dd4d4.js';
|
|
43
43
|
import './wait-for-vega-handler-b18eb955.js';
|
|
44
44
|
import './translation-cf7f020a.js';
|
|
45
|
-
import './content-state-
|
|
45
|
+
import './content-state-dbc9f635.js';
|
|
46
46
|
import './string-be824360.js';
|
|
47
47
|
import './sub-state-observer-slimmer-be7a6ce3.js';
|
|
48
48
|
import './regex-dfe11abf.js';
|
|
@@ -9,7 +9,7 @@ import { C as ComponentLoadRequired } from './component-load-required-db42032a.j
|
|
|
9
9
|
import { c as MapToComponentField, V as VegaSlimmer, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
10
10
|
import { s as slotPlaceholder } from './placeholder-bf562081.js';
|
|
11
11
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
12
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
12
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-89a72ee7.js';
|
|
13
13
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
14
14
|
import { f as VegaChange, A as VegaFocus, B as VegaBlur, r as VegaLabelButtonClick } from './dom-node-subject-factory-f77cf9cc.js';
|
|
15
15
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
@@ -19,7 +19,8 @@ import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
|
19
19
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
20
20
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-15a84d26.js';
|
|
21
21
|
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-be7a6ce3.js';
|
|
22
|
-
import { i as isArrayEqual } from './array-
|
|
22
|
+
import { i as isArrayEqual } from './array-7888f339.js';
|
|
23
|
+
import { d as deepEqual } from './object-261e7344.js';
|
|
23
24
|
import './number-4398f2e1.js';
|
|
24
25
|
import './string-be824360.js';
|
|
25
26
|
import './observer-3959f9dd.js';
|
|
@@ -29,7 +30,7 @@ import './dynamic-slimmer-90b8af32.js';
|
|
|
29
30
|
import './vega-internal-event-id-85ad403f.js';
|
|
30
31
|
import './translation-cf7f020a.js';
|
|
31
32
|
import './mutation-observer-slimmer-6cef9549.js';
|
|
32
|
-
import './mutation-observer-filters-
|
|
33
|
+
import './mutation-observer-filters-1a054fb0.js';
|
|
33
34
|
import './internal-vega-event-manager-87dc436c.js';
|
|
34
35
|
import './index-4aa167d6.js';
|
|
35
36
|
import './wait-for-vega-handler-b18eb955.js';
|
|
@@ -1132,9 +1133,8 @@ const VegaInput = class {
|
|
|
1132
1133
|
*/
|
|
1133
1134
|
/* istanbul ignore next */
|
|
1134
1135
|
watchMaskChange(newValue, oldValue) {
|
|
1135
|
-
if (
|
|
1136
|
+
if (this.areMaskConfigsEqual(newValue, oldValue))
|
|
1136
1137
|
return;
|
|
1137
|
-
}
|
|
1138
1138
|
this.maskConfigController.setupStringFormatter(this.inputRef);
|
|
1139
1139
|
}
|
|
1140
1140
|
/**
|
|
@@ -1189,6 +1189,17 @@ const VegaInput = class {
|
|
|
1189
1189
|
renderHintDom() {
|
|
1190
1190
|
return this.hint !== '' ? (h("div", { class: "vega-hint" }, h("label", null, this.hint))) : null;
|
|
1191
1191
|
}
|
|
1192
|
+
/**
|
|
1193
|
+
* Compares two MaskConfigType objects or arrays for equality.
|
|
1194
|
+
*/
|
|
1195
|
+
/* istanbul ignore next */
|
|
1196
|
+
areMaskConfigsEqual(a, b) {
|
|
1197
|
+
const arrA = Array.isArray(a) ? a : [a];
|
|
1198
|
+
const arrB = Array.isArray(b) ? b : [b];
|
|
1199
|
+
return isArrayEqual(arrA, arrB, true, (a, b) => {
|
|
1200
|
+
return deepEqual(a, b) ? 0 : -1;
|
|
1201
|
+
});
|
|
1202
|
+
}
|
|
1192
1203
|
get host() { return getElement(this); }
|
|
1193
1204
|
static get watchers() { return {
|
|
1194
1205
|
"suffixText": ["watchSuffixText"],
|
|
@@ -5,7 +5,7 @@ import { s as slotPlaceholder } from './placeholder-bf562081.js';
|
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
6
6
|
import { P as PageResizeObserverSlimmer, g as getCurrentBreakpoint } from './page-resize-observer-slimmer-15a84d26.js';
|
|
7
7
|
import { e as executeAfterTransition } from './effect-8efd2c3c.js';
|
|
8
|
-
import { F as FeatureFlag } from './feature-flag-controller-
|
|
8
|
+
import { F as FeatureFlag } from './feature-flag-controller-0fbe8fb0.js';
|
|
9
9
|
import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.js';
|
|
10
10
|
import { I as InternalVegaZIndexManager } from './vega-skeleton-loader-controller-c2a8bd27.js';
|
|
11
11
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
@@ -24,7 +24,7 @@ import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-be7a6
|
|
|
24
24
|
import { f as findParent } from './ui-ed1283bb.js';
|
|
25
25
|
import { L as LEFT_NAV_LINK_SELECTED_TOPIC } from './static-subject-title-ca83d6b6.js';
|
|
26
26
|
import { c as createDeprecatedPropertySlimmer } from './deprecated-property-slimmer-32575f02.js';
|
|
27
|
-
import { f as formatAndValidResponsiveToken } from './design-token-
|
|
27
|
+
import { f as formatAndValidResponsiveToken } from './design-token-0699f0ca.js';
|
|
28
28
|
import './ui-8424715a.js';
|
|
29
29
|
import './breakpoints-d9faf11c.js';
|
|
30
30
|
import './index-44c794b4.js';
|
|
@@ -38,13 +38,13 @@ import './object-261e7344.js';
|
|
|
38
38
|
import './type-guard-158f6d7a.js';
|
|
39
39
|
import './regex-dfe11abf.js';
|
|
40
40
|
import './typography-396de03f.js';
|
|
41
|
-
import './responsive-format-facade-
|
|
41
|
+
import './responsive-format-facade-42f3fcfa.js';
|
|
42
42
|
import './pixel-f32c07ce.js';
|
|
43
|
-
import './array-
|
|
43
|
+
import './array-7888f339.js';
|
|
44
44
|
import './vega-env-manager-8f8dc473.js';
|
|
45
45
|
import './wait-for-vega-handler-b18eb955.js';
|
|
46
46
|
import './translation-cf7f020a.js';
|
|
47
|
-
import './content-state-
|
|
47
|
+
import './content-state-dbc9f635.js';
|
|
48
48
|
import './state-background-color-formatter-121ae7d3.js';
|
|
49
49
|
|
|
50
50
|
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, H as Host } from './index-187f71d1.js';
|
|
2
|
-
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-
|
|
3
|
-
import { t as timeParse, a as timeFormat, s as second, b as timeMinute, c as timeHour, d as timeDay, e as timeMonth, f as timeSunday, g as timeYear, X as XAxisInputProcessor, Y as YAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './y-axis-input-processor-
|
|
4
|
-
import { f as flatNestedArray, c as convertArrayToNestedArray, s as sortAsExistArray, a as sortArrayOrNestedArray } from './array-
|
|
2
|
+
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-8f76ce8a.js';
|
|
3
|
+
import { t as timeParse, a as timeFormat, s as second, b as timeMinute, c as timeHour, d as timeDay, e as timeMonth, f as timeSunday, g as timeYear, X as XAxisInputProcessor, Y as YAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './y-axis-input-processor-e090b01c.js';
|
|
4
|
+
import { f as flatNestedArray, c as convertArrayToNestedArray, s as sortAsExistArray, a as sortArrayOrNestedArray } from './array-7888f339.js';
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
6
6
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
7
7
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
@@ -4,7 +4,7 @@ import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlim
|
|
|
4
4
|
import { I as InternalVegaZIndexManager } from './vega-skeleton-loader-controller-c2a8bd27.js';
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
6
6
|
import { a as arrayToClassString } from './ui-ed1283bb.js';
|
|
7
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
7
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-42f3fcfa.js';
|
|
8
8
|
import { P as PageResizeObserverSlimmer, g as getCurrentBreakpoint } from './page-resize-observer-slimmer-15a84d26.js';
|
|
9
9
|
import './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
10
10
|
import './dynamic-slimmer-90b8af32.js';
|
|
@@ -22,14 +22,14 @@ import './ui-8424715a.js';
|
|
|
22
22
|
import './regex-dfe11abf.js';
|
|
23
23
|
import './typography-396de03f.js';
|
|
24
24
|
import './pixel-f32c07ce.js';
|
|
25
|
-
import './array-
|
|
25
|
+
import './array-7888f339.js';
|
|
26
26
|
import './vega-env-manager-8f8dc473.js';
|
|
27
|
-
import './feature-flag-controller-
|
|
27
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
28
28
|
import './index-44c794b4.js';
|
|
29
29
|
import './icon-manager-638dd4d4.js';
|
|
30
30
|
import './wait-for-vega-handler-b18eb955.js';
|
|
31
31
|
import './translation-cf7f020a.js';
|
|
32
|
-
import './content-state-
|
|
32
|
+
import './content-state-dbc9f635.js';
|
|
33
33
|
import './vega-internal-event-id-85ad403f.js';
|
|
34
34
|
|
|
35
35
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -8,11 +8,11 @@ import { n as normalizeNumberByRanger, c as convertToNumber } from './number-439
|
|
|
8
8
|
import { f as findParent } from './ui-ed1283bb.js';
|
|
9
9
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
10
10
|
import { l as VegaInternalPaginationCurrentChange } from './vega-internal-event-id-85ad403f.js';
|
|
11
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
11
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
12
12
|
import './observer-3959f9dd.js';
|
|
13
13
|
import './internal-vega-event-manager-87dc436c.js';
|
|
14
14
|
import './vega-env-manager-8f8dc473.js';
|
|
15
|
-
import './feature-flag-controller-
|
|
15
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
16
16
|
import './index-44c794b4.js';
|
|
17
17
|
import './_commonjsHelpers-9943807e.js';
|
|
18
18
|
|
|
@@ -4,21 +4,21 @@ import { n as normalizeNumberByRanger, c as convertToNumber } from './number-439
|
|
|
4
4
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
5
5
|
import { w as VegaFormSubmit, B as VegaBlur, f as VegaChange, a as VegaClick, L as VegaPageSizeChange } from './dom-node-subject-factory-f77cf9cc.js';
|
|
6
6
|
import { a as arrayToClassString } from './ui-ed1283bb.js';
|
|
7
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
7
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
8
8
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
9
9
|
import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
10
10
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
11
11
|
import { T as TranslationSlimmer } from './translation-slimmer-88966d5c.js';
|
|
12
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
12
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-42f3fcfa.js';
|
|
13
13
|
import { P as PageResizeObserverSlimmer, g as getCurrentBreakpoint } from './page-resize-observer-slimmer-15a84d26.js';
|
|
14
14
|
import { k as VegaInternalPaginationPageSizeChange, l as VegaInternalPaginationCurrentChange } from './vega-internal-event-id-85ad403f.js';
|
|
15
15
|
import './vega-env-manager-8f8dc473.js';
|
|
16
16
|
import './vega-skeleton-loader-controller-c2a8bd27.js';
|
|
17
|
-
import { F as FeatureFlag } from './feature-flag-controller-
|
|
17
|
+
import { F as FeatureFlag } from './feature-flag-controller-0fbe8fb0.js';
|
|
18
18
|
import './icon-manager-638dd4d4.js';
|
|
19
19
|
import './wait-for-vega-handler-b18eb955.js';
|
|
20
20
|
import './translation-cf7f020a.js';
|
|
21
|
-
import './content-state-
|
|
21
|
+
import './content-state-dbc9f635.js';
|
|
22
22
|
import './change-manager-6a7eb88c.js';
|
|
23
23
|
import './observer-3959f9dd.js';
|
|
24
24
|
import './internal-vega-event-manager-87dc436c.js';
|
|
@@ -29,7 +29,7 @@ import './ui-8424715a.js';
|
|
|
29
29
|
import './regex-dfe11abf.js';
|
|
30
30
|
import './typography-396de03f.js';
|
|
31
31
|
import './pixel-f32c07ce.js';
|
|
32
|
-
import './array-
|
|
32
|
+
import './array-7888f339.js';
|
|
33
33
|
import './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
34
34
|
import './dark-mode-style-controller-2ada8e22.js';
|
|
35
35
|
import './static-subject-title-ca83d6b6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, H as Host } from './index-187f71d1.js';
|
|
2
|
-
import { h as array, t as tau, j as constant, I as InteractingEntryGenerator, k as d3Select, B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-
|
|
2
|
+
import { h as array, t as tau, j as constant, I as InteractingEntryGenerator, k as d3Select, B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-8f76ce8a.js';
|
|
3
3
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
4
4
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
6
|
-
import './array-
|
|
6
|
+
import './array-7888f339.js';
|
|
7
7
|
import './number-4398f2e1.js';
|
|
8
8
|
import './typography-396de03f.js';
|
|
9
9
|
import './pixel-f32c07ce.js';
|
|
@@ -5,7 +5,7 @@ import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer,
|
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
6
6
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
7
7
|
import { d as domNodeSubjectFactory, M as VegaPopoverShow, N as VegaPopoverHide } from './dom-node-subject-factory-f77cf9cc.js';
|
|
8
|
-
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-
|
|
8
|
+
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-96cb54e2.js';
|
|
9
9
|
import { r as remoteInvocationRegistry } from './remote-invocation-registry-d69245c2.js';
|
|
10
10
|
import { q as VegaInternalPopoverUpdateTarget } from './vega-internal-event-id-85ad403f.js';
|
|
11
11
|
import './keyboard-manager-262be5ce.js';
|
|
@@ -27,16 +27,16 @@ import './dark-mode-style-controller-2ada8e22.js';
|
|
|
27
27
|
import './static-subject-title-ca83d6b6.js';
|
|
28
28
|
import './_commonjsHelpers-9943807e.js';
|
|
29
29
|
import './number-4398f2e1.js';
|
|
30
|
-
import './responsive-format-facade-
|
|
30
|
+
import './responsive-format-facade-42f3fcfa.js';
|
|
31
31
|
import './pixel-f32c07ce.js';
|
|
32
|
-
import './array-
|
|
32
|
+
import './array-7888f339.js';
|
|
33
33
|
import './vega-env-manager-8f8dc473.js';
|
|
34
|
-
import './feature-flag-controller-
|
|
34
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
35
35
|
import './index-44c794b4.js';
|
|
36
36
|
import './icon-manager-638dd4d4.js';
|
|
37
37
|
import './wait-for-vega-handler-b18eb955.js';
|
|
38
38
|
import './translation-cf7f020a.js';
|
|
39
|
-
import './content-state-
|
|
39
|
+
import './content-state-dbc9f635.js';
|
|
40
40
|
|
|
41
41
|
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
42
42
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -12,12 +12,12 @@ import { d as domNodeSubjectFactory, f as VegaChange, A as VegaFocus, B as VegaB
|
|
|
12
12
|
import { c as VegaInternalFieldErrorStateChange } from './vega-internal-event-id-85ad403f.js';
|
|
13
13
|
import { R as RequiredFieldRule } from './required-field-rule-ab4bdc47.js';
|
|
14
14
|
import { C as ComponentLoadRequired } from './component-load-required-db42032a.js';
|
|
15
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
15
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-89a72ee7.js';
|
|
16
16
|
import { C as ChildNodesNotifyObserverSlimmer } from './child-nodes-notify-observer-slimmer-ddaad39a.js';
|
|
17
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
17
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
18
18
|
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-42bf9773.js';
|
|
19
19
|
import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-6cef9549.js';
|
|
20
|
-
import { T as TagNameMutationFilter } from './mutation-observer-filters-
|
|
20
|
+
import { T as TagNameMutationFilter } from './mutation-observer-filters-1a054fb0.js';
|
|
21
21
|
import './dynamic-slimmer-90b8af32.js';
|
|
22
22
|
import './dom-node-subject-observer-factory-715dccf9.js';
|
|
23
23
|
import './internal-vega-event-manager-87dc436c.js';
|
|
@@ -28,11 +28,11 @@ import './translation-cf7f020a.js';
|
|
|
28
28
|
import './page-resize-observer-slimmer-15a84d26.js';
|
|
29
29
|
import './ui-8424715a.js';
|
|
30
30
|
import './breakpoints-d9faf11c.js';
|
|
31
|
-
import './array-
|
|
31
|
+
import './array-7888f339.js';
|
|
32
32
|
import './number-4398f2e1.js';
|
|
33
33
|
import './sub-state-observer-slimmer-be7a6ce3.js';
|
|
34
34
|
import './vega-env-manager-8f8dc473.js';
|
|
35
|
-
import './feature-flag-controller-
|
|
35
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
36
36
|
import './index-44c794b4.js';
|
|
37
37
|
import './_commonjsHelpers-9943807e.js';
|
|
38
38
|
import './keyboard-manager-262be5ce.js';
|
|
@@ -3,8 +3,8 @@ import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer,
|
|
|
3
3
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
4
4
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
5
5
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-2ada8e22.js';
|
|
6
|
-
import { T as TextNodeRenderingRegistry, I as ImageAnnotationAction, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-
|
|
7
|
-
import { s as stateEntityRenderingRegistry, B as BlockAnnotation, N as NodeAnnotation, h as NodeAnnotationTypeEnum, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, L as LinkAnnotationAction, R as RTETextBlock, i as ImageAnnotation, a as RTEImageBlock, c as RTEListBlock, V as VegaRTEContent } from './content-state-
|
|
6
|
+
import { T as TextNodeRenderingRegistry, I as ImageAnnotationAction, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-1aa938ab.js';
|
|
7
|
+
import { s as stateEntityRenderingRegistry, B as BlockAnnotation, N as NodeAnnotation, h as NodeAnnotationTypeEnum, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, L as LinkAnnotationAction, R as RTETextBlock, i as ImageAnnotation, a as RTEImageBlock, c as RTEListBlock, V as VegaRTEContent } from './content-state-dbc9f635.js';
|
|
8
8
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
9
9
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
10
10
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
@@ -228,6 +228,12 @@ class RTETextBlockRenderer extends RTEBlockTextNodesRenderer {
|
|
|
228
228
|
return `h2`;
|
|
229
229
|
case 'heading-3':
|
|
230
230
|
return `h3`;
|
|
231
|
+
case 'heading-4':
|
|
232
|
+
return `h4`;
|
|
233
|
+
case 'heading-5':
|
|
234
|
+
return `h5`;
|
|
235
|
+
case 'heading-6':
|
|
236
|
+
return `h6`;
|
|
231
237
|
case 'paragraph':
|
|
232
238
|
return 'p';
|
|
233
239
|
}
|
|
@@ -436,7 +442,7 @@ __decorate$1([
|
|
|
436
442
|
MapToComponentField({ writable: true })
|
|
437
443
|
], VegaRichTextContentStateController.prototype, "contentEditable", void 0);
|
|
438
444
|
|
|
439
|
-
const vegaRichTextContentCss = ":host{display:flex;flex-direction:column;width:100%}:host .rich-text-content{position:relative;height:100%;outline:2px solid transparent;outline-offset:2px;font-family:\"Inter\", sans-serif;font-weight:500;color:var(--v-rich-text-editor-black, #111128);overflow-wrap:break-word;white-space:pre-wrap}:host .rich-text-content.showPlaceholder::before{position:absolute;content:attr(data-placeholder);font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .rich-text-content h1,:host .rich-text-content h2,:host .rich-text-content h3,:host .rich-text-content p{margin:0}:host .rich-text-content a.v-rte--link{color:rgba(var(--v-text-link, 19, 98, 226, 1));outline:none}:host .rich-text-content a.v-rte--link:visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host .rich-text-content a.v-rte--link:hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host .rich-text-content a.v-rte--link:active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host .rich-text-content a.v-rte--link:focus-visible{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));border-radius:8px}:host .rich-text-content .v-rte--underline{text-decoration:underline}:host .rich-text-content .v-rte--strikethrough{text-decoration:line-through}:host .rich-text-content .v-rte--underline.v-rte--strikethrough{text-decoration:underline line-through}:host .rich-text-content .v-rte--horizontal-alignment-right{text-align:right}:host .rich-text-content .v-rte--horizontal-alignment-left{text-align:left}:host .rich-text-content .v-rte--horizontal-alignment-center{text-align:center}:host .rich-text-content .v-rte--horizontal-alignment-justify{text-align:justify}:host .rich-text-content .v-rte--code{font-family:\"Roboto Mono\";white-space:pre-wrap}:host .rich-text-content img{vertical-align:bottom;cursor:pointer}:host .rich-text-content ul{padding-left:8px;margin-left:16px}:host .rich-text-content ol{padding-left:8px;list-style-position:inside}:host .rich-text-content .link-editor-wrapper{position:relative;outline:2px solid transparent;outline-offset:2px}:host .rich-text-content .link-editor-wrapper vega-rich-text-link-editor{position:absolute;bottom:0;left:0;right:0}";
|
|
445
|
+
const vegaRichTextContentCss = ":host{display:flex;flex-direction:column;width:100%}:host .rich-text-content{position:relative;height:100%;outline:2px solid transparent;outline-offset:2px;font-family:\"Inter\", sans-serif;font-weight:500;color:var(--v-rich-text-editor-black, #111128);overflow-wrap:break-word;white-space:pre-wrap}:host .rich-text-content.showPlaceholder::before{position:absolute;content:attr(data-placeholder);font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .rich-text-content.showPlaceholder::before{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .rich-text-content h1,:host .rich-text-content h2,:host .rich-text-content h3,:host .rich-text-content h4,:host .rich-text-content h5,:host .rich-text-content h6,:host .rich-text-content p{margin:0}:host .rich-text-content a.v-rte--link{color:rgba(var(--v-text-link, 19, 98, 226, 1));outline:none}:host .rich-text-content a.v-rte--link:visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host .rich-text-content a.v-rte--link:hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host .rich-text-content a.v-rte--link:active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host .rich-text-content a.v-rte--link:focus-visible{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));border-radius:8px}:host .rich-text-content .v-rte--underline{text-decoration:underline}:host .rich-text-content .v-rte--strikethrough{text-decoration:line-through}:host .rich-text-content .v-rte--underline.v-rte--strikethrough{text-decoration:underline line-through}:host .rich-text-content .v-rte--horizontal-alignment-right{text-align:right}:host .rich-text-content .v-rte--horizontal-alignment-left{text-align:left}:host .rich-text-content .v-rte--horizontal-alignment-center{text-align:center}:host .rich-text-content .v-rte--horizontal-alignment-justify{text-align:justify}:host .rich-text-content .v-rte--code{font-family:\"Roboto Mono\";white-space:pre-wrap}:host .rich-text-content img{vertical-align:bottom;cursor:pointer}:host .rich-text-content ul{padding-left:8px;margin-left:16px}:host .rich-text-content ol{padding-left:8px;list-style-position:inside}:host .rich-text-content .link-editor-wrapper{position:relative;outline:2px solid transparent;outline-offset:2px}:host .rich-text-content .link-editor-wrapper vega-rich-text-link-editor{position:absolute;bottom:0;left:0;right:0}";
|
|
440
446
|
|
|
441
447
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
442
448
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -6,13 +6,13 @@ import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0f
|
|
|
6
6
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
7
7
|
import { d as domNodeSubjectFactory, b as VegaDropdownClick, f as VegaChange, P as VegaImageInserted, a as VegaClick, M as VegaPopoverShow, N as VegaPopoverHide } from './dom-node-subject-factory-f77cf9cc.js';
|
|
8
8
|
import { V as VegaInternalComponentDidRender, b as VegaInternalRichTextEditorSelectionRangeChange, a as VegaInternalRichTextEditorFlushChanges, u as VegaInternalRichTextEditDeleteSelectedNodes, v as VegaInternalRichTextImageClick, w as VegaInternalRichTextImageDeleteButtonClicked, q as VegaInternalPopoverUpdateTarget } from './vega-internal-event-id-85ad403f.js';
|
|
9
|
-
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-
|
|
9
|
+
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-1aa938ab.js';
|
|
10
10
|
import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.js';
|
|
11
|
-
import { f as RTETextNode, l as BoldAnnotationAction, h as NodeAnnotationTypeEnum, T as TextSplittableAction, m as ItalicAnnotation, U as UnderlineAnnotation, R as RTETextBlock, n as TextStyleAnnotationAction, o as TextStyleAnnotation, p as BoldAnnotation, q as BlockAnnotationTypeEnum, C as ClearFormattingAnnotationAction, r as CodeAnnotationAction, S as StrikethroughAnnotation, A as AnnotationAction, t as SelectionRangeAnnotation, L as LinkAnnotationAction, u as IndentAnnotation, e as RTEImageNode, M as ModifyContentAction, v as ModifyContentActionType, b as RTEListItemBlock, H as HorizontalAlignmentAnnotation, g as RTENode, s as stateEntityRenderingRegistry, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, V as VegaRTEContent, w as AppendChildNodesAction, x as UpdateTextAction, y as MergeTwoBlocksNodesAction, z as SplitBlockWithNodeAction, D as BreakSingleBlockAction, E as RemoveChildAction, F as ReplaceChildNodesAction, G as InsertBlocksBeforeAction, k as RTE_TEXT_COLORS, c as RTEListBlock, a as RTEImageBlock, J as InsertBlocksAfterAction } from './content-state-
|
|
11
|
+
import { f as RTETextNode, l as BoldAnnotationAction, h as NodeAnnotationTypeEnum, T as TextSplittableAction, m as ItalicAnnotation, U as UnderlineAnnotation, R as RTETextBlock, n as TextStyleAnnotationAction, o as TextStyleAnnotation, p as BoldAnnotation, q as BlockAnnotationTypeEnum, C as ClearFormattingAnnotationAction, r as CodeAnnotationAction, S as StrikethroughAnnotation, A as AnnotationAction, t as SelectionRangeAnnotation, L as LinkAnnotationAction, u as IndentAnnotation, e as RTEImageNode, M as ModifyContentAction, v as ModifyContentActionType, b as RTEListItemBlock, H as HorizontalAlignmentAnnotation, g as RTENode, s as stateEntityRenderingRegistry, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, V as VegaRTEContent, w as AppendChildNodesAction, x as UpdateTextAction, y as MergeTwoBlocksNodesAction, z as SplitBlockWithNodeAction, D as BreakSingleBlockAction, E as RemoveChildAction, F as ReplaceChildNodesAction, G as InsertBlocksBeforeAction, k as RTE_TEXT_COLORS, c as RTEListBlock, a as RTEImageBlock, J as InsertBlocksAfterAction } from './content-state-dbc9f635.js';
|
|
12
12
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
13
13
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
14
14
|
import { a as waitForComponentDidRender } from './index-4aa167d6.js';
|
|
15
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
15
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-89a72ee7.js';
|
|
16
16
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
17
17
|
import { c as createSubStateNotifySlimmer } from './sub-state-notify-slimmer-4e3cf09d.js';
|
|
18
18
|
import { d as debounce } from './timer-9321173b.js';
|
|
@@ -22,8 +22,8 @@ import { f as findParent, r as rgbToHex } from './ui-ed1283bb.js';
|
|
|
22
22
|
import { b as FORM_ELEMENT_VALUE_CHANGE, D as DARK_MODE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
23
23
|
import { D as DarkModeStateControllerSlimmer } from './dark-mode-state-controller-slimmer-f1c2c299.js';
|
|
24
24
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
25
|
-
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
26
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
25
|
+
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-6a7cd3ee.js';
|
|
26
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
27
27
|
import { T as TranslationSlimmer } from './translation-slimmer-88966d5c.js';
|
|
28
28
|
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-2ada8e22.js';
|
|
29
29
|
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-42bf9773.js';
|
|
@@ -40,15 +40,15 @@ import './ui-8424715a.js';
|
|
|
40
40
|
import './breakpoints-d9faf11c.js';
|
|
41
41
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
42
42
|
import './mutation-observer-slimmer-6cef9549.js';
|
|
43
|
-
import './mutation-observer-filters-
|
|
44
|
-
import './array-
|
|
43
|
+
import './mutation-observer-filters-1a054fb0.js';
|
|
44
|
+
import './array-7888f339.js';
|
|
45
45
|
import './number-4398f2e1.js';
|
|
46
46
|
import './sub-state-observer-slimmer-be7a6ce3.js';
|
|
47
47
|
import './internal-vega-event-manager-87dc436c.js';
|
|
48
48
|
import './regex-dfe11abf.js';
|
|
49
49
|
import './typography-396de03f.js';
|
|
50
50
|
import './vega-env-manager-8f8dc473.js';
|
|
51
|
-
import './feature-flag-controller-
|
|
51
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
52
52
|
import './index-44c794b4.js';
|
|
53
53
|
import './_commonjsHelpers-9943807e.js';
|
|
54
54
|
import './keyboard-manager-262be5ce.js';
|
|
@@ -2961,7 +2961,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
2961
2961
|
* </li>
|
|
2962
2962
|
*
|
|
2963
2963
|
* @param {HTMLElement[]} elements - Child elements.
|
|
2964
|
-
* @param {
|
|
2964
|
+
* @param {VegaRTETextAnnotations | VegaRTECodeAnnotations} annotations - Parent annotations.
|
|
2965
2965
|
* @returns {VegaRTETextNode[]} - Text node DTO.
|
|
2966
2966
|
*/
|
|
2967
2967
|
generateChildNodes(elements, annotations = {}) {
|
|
@@ -2978,7 +2978,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
2978
2978
|
});
|
|
2979
2979
|
}
|
|
2980
2980
|
else {
|
|
2981
|
-
childNodes.push(...this.generateChildNodes(Array.from(child.childNodes), Object.assign({}, annotations, this.generateTextNodeAnnotations(child))));
|
|
2981
|
+
childNodes.push(...this.generateChildNodes(Array.from(child.childNodes), Object.assign({}, annotations, this.generateTextNodeAnnotations(child, annotations))));
|
|
2982
2982
|
}
|
|
2983
2983
|
});
|
|
2984
2984
|
return childNodes;
|
|
@@ -2999,27 +2999,14 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
2999
2999
|
annotations.indent = indent;
|
|
3000
3000
|
return annotations;
|
|
3001
3001
|
}
|
|
3002
|
-
/**
|
|
3003
|
-
* Check is a invalid text node.
|
|
3004
|
-
*
|
|
3005
|
-
* @param {HTMLElement} element - Current node element.
|
|
3006
|
-
* @returns {boolean} - boolean.
|
|
3007
|
-
*/
|
|
3008
|
-
isInvalidTextNode(element) {
|
|
3009
|
-
if (element.nodeValue && element.nodeValue.includes('\t')) {
|
|
3010
|
-
const value = element.nodeValue.replace(/\n|\t/gm, '');
|
|
3011
|
-
if (value.length === 0)
|
|
3012
|
-
return true;
|
|
3013
|
-
}
|
|
3014
|
-
return false;
|
|
3015
|
-
}
|
|
3016
3002
|
/**
|
|
3017
3003
|
* Generate annotations map for text node element.
|
|
3018
3004
|
*
|
|
3019
3005
|
* @param {HTMLElement} element - current element.
|
|
3006
|
+
* @param {VegaRTETextAnnotations | VegaRTECodeAnnotations} parentAnnotations - parent annotations
|
|
3020
3007
|
* @returns {VegaRTETextAnnotations | VegaRTECodeAnnotations} - Text node annotations.
|
|
3021
3008
|
*/
|
|
3022
|
-
generateTextNodeAnnotations(element) {
|
|
3009
|
+
generateTextNodeAnnotations(element, parentAnnotations = {}) {
|
|
3023
3010
|
if (this.isCode(element))
|
|
3024
3011
|
return { code: true };
|
|
3025
3012
|
const annotations = {
|
|
@@ -3028,6 +3015,10 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3028
3015
|
underline: this.isUnderline(element),
|
|
3029
3016
|
strikethrough: this.isStrikethrough(element),
|
|
3030
3017
|
};
|
|
3018
|
+
parentAnnotations.bold && (annotations.bold = true);
|
|
3019
|
+
parentAnnotations.underline && (annotations.underline = true);
|
|
3020
|
+
parentAnnotations.italic && (annotations.italic = true);
|
|
3021
|
+
parentAnnotations.strikethrough && (annotations.strikethrough = true);
|
|
3031
3022
|
const color = this.getColor(element);
|
|
3032
3023
|
const link = this.getLink(element);
|
|
3033
3024
|
if (color)
|
|
@@ -3036,6 +3027,20 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3036
3027
|
annotations.link = link;
|
|
3037
3028
|
return annotations;
|
|
3038
3029
|
}
|
|
3030
|
+
/**
|
|
3031
|
+
* Check is a invalid text node.
|
|
3032
|
+
*
|
|
3033
|
+
* @param {HTMLElement} element - Current node element.
|
|
3034
|
+
* @returns {boolean} - boolean.
|
|
3035
|
+
*/
|
|
3036
|
+
isInvalidTextNode(element) {
|
|
3037
|
+
if (element.nodeValue && element.nodeValue.includes('\t')) {
|
|
3038
|
+
const value = element.nodeValue.replace(/\n|\t/gm, '');
|
|
3039
|
+
if (value.length === 0)
|
|
3040
|
+
return true;
|
|
3041
|
+
}
|
|
3042
|
+
return false;
|
|
3043
|
+
}
|
|
3039
3044
|
/**
|
|
3040
3045
|
* Is code element.
|
|
3041
3046
|
*
|
|
@@ -3043,7 +3048,9 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3043
3048
|
* @returns {boolean} - boolean.
|
|
3044
3049
|
*/
|
|
3045
3050
|
isCode(element) {
|
|
3046
|
-
return element.classList.contains('v-rte--code') ||
|
|
3051
|
+
return (element.classList.contains('v-rte--code') ||
|
|
3052
|
+
element.nodeName === 'CODE' ||
|
|
3053
|
+
element.style.fontFamily === 'monospace');
|
|
3047
3054
|
}
|
|
3048
3055
|
/**
|
|
3049
3056
|
* Is bold element.
|
|
@@ -3053,6 +3060,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3053
3060
|
*/
|
|
3054
3061
|
isBold(element) {
|
|
3055
3062
|
return (element.nodeName === 'STRONG' ||
|
|
3063
|
+
element.nodeName === 'B' ||
|
|
3056
3064
|
element.style.fontWeight === 'bold' ||
|
|
3057
3065
|
element.style.fontWeight === '700');
|
|
3058
3066
|
}
|
|
@@ -3074,6 +3082,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3074
3082
|
isUnderline(element) {
|
|
3075
3083
|
return (element.style.textDecoration.includes('underline') ||
|
|
3076
3084
|
element.nodeName === 'U' ||
|
|
3085
|
+
element.nodeName === 'INS' ||
|
|
3077
3086
|
element.classList.contains('v-rte--underline'));
|
|
3078
3087
|
}
|
|
3079
3088
|
/**
|
|
@@ -3085,6 +3094,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3085
3094
|
isStrikethrough(element) {
|
|
3086
3095
|
return (element.style.textDecoration.includes('line-through') ||
|
|
3087
3096
|
element.nodeName === 'S' ||
|
|
3097
|
+
element.nodeName === 'DEL' ||
|
|
3088
3098
|
element.classList.contains('v-rte--strikethrough'));
|
|
3089
3099
|
}
|
|
3090
3100
|
/**
|
|
@@ -3228,7 +3238,7 @@ class ContinueInlineToRTETextBlockStrategy extends BlockToRTEBlockStrategyAbstra
|
|
|
3228
3238
|
*/
|
|
3229
3239
|
handle(elementsArray) {
|
|
3230
3240
|
const parent = elementsArray[0].parentElement;
|
|
3231
|
-
const nodes = this.generateChildNodes(elementsArray);
|
|
3241
|
+
const nodes = this.generateChildNodes(elementsArray, this.generateTextNodeAnnotations(parent));
|
|
3232
3242
|
if (nodes.length === 0)
|
|
3233
3243
|
return null;
|
|
3234
3244
|
return RTETextBlock.from({
|
|
@@ -3263,6 +3273,9 @@ ContinueInlineToRTETextBlockStrategy.canHandleTags = [
|
|
|
3263
3273
|
'U',
|
|
3264
3274
|
'A',
|
|
3265
3275
|
'VEGA-RICH-TEXT-LINK-EDITOR',
|
|
3276
|
+
'B',
|
|
3277
|
+
'INS',
|
|
3278
|
+
'DEL',
|
|
3266
3279
|
];
|
|
3267
3280
|
|
|
3268
3281
|
/** Transform ul element to list block DTO */
|
|
@@ -3337,7 +3350,7 @@ class LiToRTEListItemBlockStrategy extends BlockToRTEBlockStrategyAbstract {
|
|
|
3337
3350
|
return RTEListItemBlock.from({
|
|
3338
3351
|
id: generateUUID(),
|
|
3339
3352
|
type: 'list-item',
|
|
3340
|
-
nodes: this.generateChildNodes(Array.from(elementsArray[0].childNodes).filter((item) => !['UL', 'OL'].includes(item.nodeName))),
|
|
3353
|
+
nodes: this.generateChildNodes(Array.from(elementsArray[0].childNodes).filter((item) => !['UL', 'OL'].includes(item.nodeName)), this.generateTextNodeAnnotations(elementsArray[0])),
|
|
3341
3354
|
annotations: this.generateBlockAnnotations(elementsArray[0]),
|
|
3342
3355
|
});
|
|
3343
3356
|
}
|
|
@@ -3370,7 +3383,16 @@ class InlineBlockToRTETextBlockStrategy extends BlockToRTEBlockStrategyAbstract
|
|
|
3370
3383
|
* @returns {number} - can be handled element count.
|
|
3371
3384
|
*/
|
|
3372
3385
|
canHandle(elementsArray, currentIndex) {
|
|
3373
|
-
return [
|
|
3386
|
+
return [
|
|
3387
|
+
'heading-1',
|
|
3388
|
+
'heading-2',
|
|
3389
|
+
'heading-3',
|
|
3390
|
+
'heading-4',
|
|
3391
|
+
'heading-5',
|
|
3392
|
+
'heading-6',
|
|
3393
|
+
'title',
|
|
3394
|
+
'subtitle',
|
|
3395
|
+
].includes(this.getElementType(elementsArray[currentIndex]))
|
|
3374
3396
|
? 1
|
|
3375
3397
|
: 0;
|
|
3376
3398
|
}
|
|
@@ -3435,6 +3457,12 @@ class InlineBlockToRTETextBlockStrategy extends BlockToRTEBlockStrategyAbstract
|
|
|
3435
3457
|
return 'heading-2';
|
|
3436
3458
|
case 'H3':
|
|
3437
3459
|
return 'heading-3';
|
|
3460
|
+
case 'H4':
|
|
3461
|
+
return 'heading-4';
|
|
3462
|
+
case 'H5':
|
|
3463
|
+
return 'heading-5';
|
|
3464
|
+
case 'H6':
|
|
3465
|
+
return 'heading-6';
|
|
3438
3466
|
default:
|
|
3439
3467
|
return '';
|
|
3440
3468
|
}
|
|
@@ -2,7 +2,7 @@ import { h, H as Host, r as registerInstance, c as createEvent, g as getElement
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
3
3
|
import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer, L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
4
4
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
5
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
5
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-42f3fcfa.js';
|
|
6
6
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
7
7
|
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-be7a6ce3.js';
|
|
8
8
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
@@ -14,11 +14,11 @@ import { P as PageResizeObserverSlimmer, g as getCurrentBreakpoint } from './pag
|
|
|
14
14
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
15
15
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
16
16
|
import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-6cef9549.js';
|
|
17
|
-
import { a as TagNameAndAttributeMutationFilter } from './mutation-observer-filters-
|
|
18
|
-
import { i as isArrayEqual } from './array-
|
|
17
|
+
import { a as TagNameAndAttributeMutationFilter } from './mutation-observer-filters-1a054fb0.js';
|
|
18
|
+
import { i as isArrayEqual } from './array-7888f339.js';
|
|
19
19
|
import { c as createSubStateNotifySlimmer } from './sub-state-notify-slimmer-4e3cf09d.js';
|
|
20
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
21
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
20
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-5d45361e.js';
|
|
21
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-89a72ee7.js';
|
|
22
22
|
import { R as RequiredFieldRule } from './required-field-rule-ab4bdc47.js';
|
|
23
23
|
import './type-guard-158f6d7a.js';
|
|
24
24
|
import './breakpoints-d9faf11c.js';
|
|
@@ -34,12 +34,12 @@ import './dynamic-slimmer-90b8af32.js';
|
|
|
34
34
|
import './dark-mode-style-controller-2ada8e22.js';
|
|
35
35
|
import './_commonjsHelpers-9943807e.js';
|
|
36
36
|
import './internal-vega-event-manager-87dc436c.js';
|
|
37
|
-
import './feature-flag-controller-
|
|
37
|
+
import './feature-flag-controller-0fbe8fb0.js';
|
|
38
38
|
import './index-44c794b4.js';
|
|
39
39
|
import './icon-manager-638dd4d4.js';
|
|
40
40
|
import './wait-for-vega-handler-b18eb955.js';
|
|
41
41
|
import './translation-cf7f020a.js';
|
|
42
|
-
import './content-state-
|
|
42
|
+
import './content-state-dbc9f635.js';
|
|
43
43
|
import './dom-node-subject-observer-factory-715dccf9.js';
|
|
44
44
|
import './string-be824360.js';
|
|
45
45
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|