@globalpayments/vega 2.34.0 → 2.35.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-4e819773.js → app-globals-fb3693cc.js} +22 -21
- package/dist/cjs/{change-manager-bda1d107.js → change-manager-a297e4d2.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-e1a6e5ad.js → child-nodes-event-prevent-slimmer-96c3c4ae.js} +3 -3
- package/dist/cjs/{child-nodes-notify-observer-slimmer-03a3f79e.js → child-nodes-notify-observer-slimmer-be92f366.js} +5 -5
- package/dist/cjs/{component-63af66ea.js → component-73a88c4e.js} +1 -1
- package/dist/cjs/{component-global-style-slimmer-6b64a26c.js → component-global-style-slimmer-6749808c.js} +1 -1
- package/dist/cjs/{component-usage-runtime-metrics-019d3c00.js → component-usage-runtime-metrics-dcb32c24.js} +1 -1
- package/dist/cjs/content-state-3e4467a3.js +134 -0
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-8c6a8fb7.js → create-public-api-runtime-metrics-slimmer-54c3f73b.js} +2 -2
- package/dist/cjs/{date-ffe382a4.js → date-0a6bb035.js} +1 -1
- package/dist/cjs/{deprecated-property-slimmer-f36e3779.js → deprecated-property-slimmer-fc729fd9.js} +2 -2
- package/dist/cjs/{design-token-908e3f69.js → design-token-30c069c1.js} +3 -3
- package/dist/cjs/{dom-node-subject-observer-factory-093462f1.js → dom-node-subject-factory-3ec114b8.js} +1 -41
- package/dist/cjs/dom-node-subject-observer-factory-5f0eae19.js +44 -0
- package/dist/cjs/{dynamic-slimmer-dc30600a.js → dynamic-slimmer-f31fdfd7.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-0dd70e61.js → element-appender-slimmer-700b7004.js} +6 -6
- package/dist/cjs/{event-emit-slimmer-a46bb411.js → event-emit-slimmer-9c223f73.js} +7 -6
- package/dist/cjs/{feature-flag-controller-e97b5f29.js → feature-flag-controller-7b22e598.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-9aeabcdc.js → form-field-controller-slimmer-dbb321ad.js} +61 -37
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/{icon-manager-36dcfb65.js → icon-manager-edc2400b.js} +2 -2
- package/dist/cjs/{text-color-toolbar-button-slimmer-b1c9f40e.js → image-annotation-action-d3e1699c.js} +78 -27
- package/dist/cjs/{global-slimmer-registry-dd2691b8.js → index-09acd3c9.js} +282 -296
- package/dist/cjs/index.cjs.js +27 -28
- package/dist/cjs/{inject-keyboard-manager-af37c861.js → inject-keyboard-manager-4a5c27a2.js} +1 -1
- package/dist/cjs/{internal-icon-manager-2282a62f.js → internal-icon-manager-5ccb9443.js} +1 -1
- package/dist/cjs/{internal-vega-event-manager-d7643ec6.js → internal-vega-event-manager-e5e4bcf4.js} +72 -72
- package/dist/cjs/{internal-vega-z-index-manager-e24e4309.js → internal-vega-z-index-manager-f03ddb37.js} +1 -1
- package/dist/cjs/{keyboard-manager-5afbc8f1.js → keyboard-manager-2df53b2f.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-9be2a880.js → keyboard-manager-slimmer-feba3a83.js} +2 -2
- package/dist/cjs/{content-state-3a2724f6.js → list-block-91116257.js} +1393 -679
- package/dist/cjs/loader.cjs.js +21 -21
- package/dist/cjs/{mutation-observer-slimmer-98bbbdf0.js → mutation-observer-slimmer-895b3d3e.js} +1 -1
- package/dist/cjs/{node.abstract-f8075f84.js → node-annotation.abstract-e5d3a859.js} +37 -48
- package/dist/cjs/{page-resize-observer-slimmer-e54fa9d4.js → page-resize-observer-slimmer-bb1eaebe.js} +1 -1
- package/dist/cjs/{remote-invocation-registry-71a45468.js → remote-invocation-registry-ff9af278.js} +3 -3
- package/dist/cjs/{responsive-format-facade-74079f1b.js → responsive-format-facade-4363a00d.js} +1 -1
- package/dist/cjs/{state-background-color-formatter-d32a1098.js → state-background-color-formatter-e585a027.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-297765c0.js → string-input-formatter-slimmer-6155c9f5.js} +1 -1
- package/dist/cjs/{style-formatter-5deb065f.js → style-formatter-63218b76.js} +1 -1
- package/dist/cjs/{sub-state-notify-slimmer-73201c53.js → sub-state-notify-slimmer-c2e08e06.js} +8 -8
- package/dist/cjs/{sub-state-observer-slimmer-10c0d402.js → sub-state-observer-slimmer-b97e46b5.js} +8 -8
- package/dist/cjs/{translation-f6b7ee84.js → translation-b9be41e0.js} +3 -3
- package/dist/cjs/{translation-slimmer-90f9f71f.js → translation-slimmer-ec76c5a2.js} +2 -2
- package/dist/cjs/{ui-b5906704.js → ui-5fd9b267.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +41 -39
- package/dist/cjs/vega-app-footer.cjs.entry.js +13 -12
- package/dist/cjs/vega-app-header-button.cjs.entry.js +42 -40
- package/dist/cjs/vega-backdrop.cjs.entry.js +9 -8
- package/dist/cjs/vega-banner.cjs.entry.js +36 -34
- package/dist/cjs/vega-bar-chart.cjs.entry.js +6 -5
- package/dist/cjs/vega-box.cjs.entry.js +13 -12
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +34 -32
- package/dist/cjs/vega-button-circle.cjs.entry.js +25 -23
- package/dist/cjs/vega-button-group_2.cjs.entry.js +32 -30
- package/dist/cjs/vega-button-link.cjs.entry.js +26 -24
- package/dist/cjs/vega-button.cjs.entry.js +26 -24
- package/dist/cjs/vega-calendar_3.cjs.entry.js +135 -133
- package/dist/cjs/vega-card.cjs.entry.js +11 -10
- package/dist/cjs/vega-carousel.cjs.entry.js +25 -23
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +46 -44
- package/dist/cjs/vega-chip.cjs.entry.js +36 -34
- package/dist/cjs/vega-color-picker.cjs.entry.js +26 -24
- package/dist/cjs/vega-combo-box.cjs.entry.js +46 -44
- package/dist/cjs/vega-counter-badge.cjs.entry.js +10 -9
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +92 -54
- package/dist/cjs/{vega-dialog-controller-aaf1f43e.js → vega-dialog-controller-fe610705.js} +2 -2
- package/dist/cjs/vega-dialog_2.cjs.entry.js +47 -45
- package/dist/cjs/vega-divider.cjs.entry.js +11 -10
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +132 -130
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-error.cjs.entry.js +8 -7
- package/dist/cjs/vega-field-label.cjs.entry.js +22 -20
- package/dist/cjs/vega-file-uploader.cjs.entry.js +67 -65
- package/dist/cjs/vega-flex.cjs.entry.js +14 -13
- package/dist/cjs/vega-font.cjs.entry.js +14 -13
- package/dist/cjs/vega-form.cjs.entry.js +47 -40
- package/dist/cjs/vega-grid.cjs.entry.js +11 -10
- package/dist/cjs/vega-hint.cjs.entry.js +7 -6
- package/dist/cjs/vega-icon.cjs.entry.js +16 -15
- package/dist/cjs/vega-image-uploader.cjs.entry.js +51 -49
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +37 -35
- package/dist/cjs/vega-input-numeric.cjs.entry.js +30 -28
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +98 -50
- package/dist/cjs/vega-input-range.cjs.entry.js +40 -38
- package/dist/cjs/vega-input-select.cjs.entry.js +62 -60
- package/dist/cjs/vega-input.cjs.entry.js +46 -44
- package/dist/cjs/vega-item-toggle.cjs.entry.js +21 -19
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +102 -100
- package/dist/cjs/vega-line-chart.cjs.entry.js +7 -6
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +16 -15
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +20 -18
- package/dist/cjs/vega-pagination.cjs.entry.js +57 -52
- package/dist/cjs/vega-pie-chart.cjs.entry.js +7 -6
- package/dist/cjs/vega-popover_2.cjs.entry.js +34 -32
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +29 -27
- package/dist/cjs/vega-radio_2.cjs.entry.js +50 -48
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +323 -23
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +999 -736
- package/dist/cjs/vega-section-title.cjs.entry.js +15 -14
- package/dist/cjs/vega-segment-control.cjs.entry.js +24 -22
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +49 -47
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +61 -59
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +46 -44
- package/dist/cjs/vega-signature-capture.cjs.entry.js +40 -38
- package/dist/cjs/{block-annotation.abstract-4d88b939.js → vega-skeleton-loader-controller-7dac484f.js} +7 -21
- package/dist/cjs/vega-skeleton.cjs.entry.js +26 -25
- package/dist/cjs/vega-slot-container.cjs.entry.js +6 -5
- package/dist/cjs/vega-stepper.cjs.entry.js +34 -32
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +88 -75
- package/dist/cjs/vega-table_8.cjs.entry.js +185 -183
- package/dist/cjs/vega-text.cjs.entry.js +9 -8
- package/dist/cjs/vega-textarea.cjs.entry.js +34 -32
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +83 -81
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +23 -21
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +20 -19
- package/dist/cjs/vega.cjs.js +21 -21
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +37 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +20 -0
- package/dist/collection/components/vega-form/vega-form.js +13 -4
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +38 -3
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +35 -0
- package/dist/collection/components/vega-pagination/vega-pagination.js +5 -2
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +18 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +0 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +0 -44
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/indent-annotation.js +0 -42
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +0 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-annotation.js +0 -14
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +0 -90
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +0 -44
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +0 -42
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +67 -26
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +45 -31
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +68 -35
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +113 -50
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +23 -60
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +0 -25
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +95 -51
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.js +35 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.js +104 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +28 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.js +35 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +24 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.js +258 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +71 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.js +72 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy.abstract.js +37 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/img-to-rte-image-block-strategy.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.js +85 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ol-to-rte-list-block-strategy.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/span-img-to-rte-image-block-strategy.js +60 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-not-li-child-to-rte-list-item-block.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-to-rte-list-block-strategy.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/vega-image-to-rte-image-block-strategy.js +56 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +7 -3
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +0 -48
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +0 -40
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +0 -14
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +0 -34
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +22 -22
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +9 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +4 -1
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +3 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +10 -16
- package/dist/collection/helpers/slimmers/form-field-message-translator.js +17 -0
- package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +6 -3
- package/dist/collection/helpers/validator/form-field-controller.js +9 -3
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +7 -2
- package/dist/esm/{app-globals-9971ccfd.js → app-globals-5b154b6d.js} +13 -12
- package/dist/esm/{change-manager-8f5b72c2.js → change-manager-6a7eb88c.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-8ceabe63.js → child-nodes-event-prevent-slimmer-97aae8a8.js} +3 -3
- package/dist/esm/{child-nodes-notify-observer-slimmer-afc15e00.js → child-nodes-notify-observer-slimmer-289caacc.js} +4 -4
- package/dist/esm/{component-051a594c.js → component-cae24190.js} +1 -1
- package/dist/esm/{component-global-style-slimmer-631f956f.js → component-global-style-slimmer-000e0c11.js} +1 -1
- package/dist/esm/{component-usage-runtime-metrics-21813c36.js → component-usage-runtime-metrics-385c7124.js} +1 -1
- package/dist/esm/content-state-f39c4bbf.js +132 -0
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-14cb4599.js → create-public-api-runtime-metrics-slimmer-9ab05523.js} +2 -2
- package/dist/esm/{date-655c0af8.js → date-732bc749.js} +1 -1
- package/dist/esm/{deprecated-property-slimmer-9ea5019c.js → deprecated-property-slimmer-43d184b3.js} +2 -2
- package/dist/esm/{design-token-20fdba82.js → design-token-d06bc718.js} +3 -3
- package/dist/esm/{dom-node-subject-observer-factory-80358591.js → dom-node-subject-factory-5831cdd4.js} +2 -41
- package/dist/esm/dom-node-subject-observer-factory-dc486a8b.js +42 -0
- package/dist/esm/{dynamic-slimmer-85746483.js → dynamic-slimmer-90b8af32.js} +1 -1
- package/dist/esm/{element-appender-slimmer-4dfa326d.js → element-appender-slimmer-d71e3109.js} +6 -6
- package/dist/esm/{event-emit-slimmer-c03cf145.js → event-emit-slimmer-f285e3ac.js} +6 -5
- package/dist/esm/{feature-flag-controller-dfde0cfa.js → feature-flag-controller-4b3fe6f8.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-de5fe574.js → form-field-controller-slimmer-add614f1.js} +55 -31
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/{icon-manager-3cef32e7.js → icon-manager-b889176b.js} +2 -2
- package/dist/esm/{text-color-toolbar-button-slimmer-d0255b98.js → image-annotation-action-a8e00f28.js} +55 -6
- package/dist/esm/{global-slimmer-registry-6887a59f.js → index-187f71d1.js} +283 -284
- package/dist/esm/index.js +20 -21
- package/dist/esm/{inject-keyboard-manager-45309420.js → inject-keyboard-manager-b0135018.js} +1 -1
- package/dist/esm/{internal-icon-manager-7fc7535a.js → internal-icon-manager-900a5bb4.js} +1 -1
- package/dist/esm/{internal-vega-event-manager-3a3815d3.js → internal-vega-event-manager-07e1b3d9.js} +2 -2
- package/dist/esm/{internal-vega-z-index-manager-89e8b6f5.js → internal-vega-z-index-manager-7d2b54c3.js} +1 -1
- package/dist/esm/{keyboard-manager-2c06eafe.js → keyboard-manager-4c898a0d.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-fd177285.js → keyboard-manager-slimmer-f80d6835.js} +2 -2
- package/dist/esm/{content-state-acf55eb0.js → list-block-ba82c846.js} +1273 -577
- package/dist/esm/loader.js +20 -20
- package/dist/esm/{mutation-observer-slimmer-ca2cb2e8.js → mutation-observer-slimmer-6cef9549.js} +1 -1
- package/dist/esm/{node.abstract-93746055.js → node-annotation.abstract-d7d52bce.js} +35 -47
- package/dist/esm/{page-resize-observer-slimmer-8589ebc8.js → page-resize-observer-slimmer-beb7b0bd.js} +1 -1
- package/dist/esm/{remote-invocation-registry-2ec6936d.js → remote-invocation-registry-d97fa3bc.js} +2 -2
- package/dist/esm/{responsive-format-facade-559ec469.js → responsive-format-facade-c2ab9c87.js} +1 -1
- package/dist/esm/{state-background-color-formatter-16031a43.js → state-background-color-formatter-121ae7d3.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-c9fb1fa1.js → string-input-formatter-slimmer-73fa06e6.js} +1 -1
- package/dist/esm/{style-formatter-51845b6d.js → style-formatter-f91471e8.js} +1 -1
- package/dist/esm/{sub-state-notify-slimmer-6e97a58a.js → sub-state-notify-slimmer-48bad548.js} +4 -4
- package/dist/esm/{sub-state-observer-slimmer-0968ce04.js → sub-state-observer-slimmer-403cc4e7.js} +4 -4
- package/dist/esm/{translation-b3fe8e74.js → translation-a98970d8.js} +3 -3
- package/dist/esm/{translation-slimmer-860cd766.js → translation-slimmer-5ee9912b.js} +2 -2
- package/dist/esm/{ui-5600b48f.js → ui-62e4be97.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +17 -15
- package/dist/esm/vega-app-footer.entry.js +4 -3
- package/dist/esm/vega-app-header-button.entry.js +20 -18
- package/dist/esm/vega-backdrop.entry.js +5 -4
- package/dist/esm/vega-banner.entry.js +15 -13
- package/dist/esm/vega-bar-chart.entry.js +3 -2
- package/dist/esm/vega-box.entry.js +10 -9
- package/dist/esm/vega-breadcrumb.entry.js +13 -11
- package/dist/esm/vega-button-circle.entry.js +16 -14
- package/dist/esm/vega-button-group_2.entry.js +15 -13
- package/dist/esm/vega-button-link.entry.js +13 -11
- package/dist/esm/vega-button.entry.js +15 -13
- package/dist/esm/vega-calendar_3.entry.js +23 -21
- package/dist/esm/vega-card.entry.js +8 -7
- package/dist/esm/vega-carousel.entry.js +14 -12
- package/dist/esm/vega-checkbox_2.entry.js +19 -17
- package/dist/esm/vega-chip.entry.js +17 -15
- package/dist/esm/vega-color-picker.entry.js +16 -14
- package/dist/esm/vega-combo-box.entry.js +20 -18
- package/dist/esm/vega-counter-badge.entry.js +4 -3
- package/dist/esm/vega-date-picker_2.entry.js +67 -29
- package/dist/esm/{vega-dialog-controller-5b23f68c.js → vega-dialog-controller-34eb8967.js} +2 -2
- package/dist/esm/vega-dialog_2.entry.js +20 -18
- package/dist/esm/vega-divider.entry.js +8 -7
- package/dist/esm/vega-dropdown_5.entry.js +27 -25
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-error.entry.js +5 -4
- package/dist/esm/vega-field-label.entry.js +11 -9
- package/dist/esm/vega-file-uploader.entry.js +19 -17
- package/dist/esm/vega-flex.entry.js +11 -10
- package/dist/esm/vega-font.entry.js +9 -8
- package/dist/esm/vega-form.entry.js +28 -21
- package/dist/esm/vega-grid.entry.js +8 -7
- package/dist/esm/vega-hint.entry.js +4 -3
- package/dist/esm/vega-icon.entry.js +11 -10
- package/dist/esm/vega-image-uploader.entry.js +21 -19
- package/dist/esm/vega-input-credit-card.entry.js +20 -18
- package/dist/esm/vega-input-numeric.entry.js +21 -19
- package/dist/esm/vega-input-phone-number.entry.js +70 -22
- package/dist/esm/vega-input-range.entry.js +19 -17
- package/dist/esm/vega-input-select.entry.js +22 -20
- package/dist/esm/vega-input.entry.js +18 -16
- package/dist/esm/vega-item-toggle.entry.js +12 -10
- package/dist/esm/vega-left-nav_5.entry.js +24 -22
- package/dist/esm/vega-line-chart.entry.js +4 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +7 -6
- package/dist/esm/vega-page-notification_2.entry.js +8 -6
- package/dist/esm/vega-pagination.entry.js +21 -16
- package/dist/esm/vega-pie-chart.entry.js +4 -3
- package/dist/esm/vega-popover_2.entry.js +18 -16
- package/dist/esm/vega-progress-tracker.entry.js +12 -10
- package/dist/esm/vega-radio_2.entry.js +21 -19
- package/dist/esm/vega-rich-text-content.entry.js +317 -17
- package/dist/esm/vega-rich-text-editor_4.entry.js +704 -441
- package/dist/esm/vega-section-title.entry.js +4 -3
- package/dist/esm/vega-segment-control.entry.js +12 -10
- package/dist/esm/vega-selection-chip_2.entry.js +21 -19
- package/dist/esm/vega-selection-tile_2.entry.js +21 -19
- package/dist/esm/vega-sidenav_3.entry.js +19 -17
- package/dist/esm/vega-signature-capture.entry.js +22 -20
- package/dist/esm/{block-annotation.abstract-b0554e2b.js → vega-skeleton-loader-controller-0aaaf1fa.js} +8 -21
- package/dist/esm/vega-skeleton.entry.js +4 -3
- package/dist/esm/vega-slot-container.entry.js +3 -2
- package/dist/esm/vega-stepper.entry.js +18 -16
- package/dist/esm/vega-tab-group_2.entry.js +49 -36
- package/dist/esm/vega-table_8.entry.js +26 -24
- package/dist/esm/vega-text.entry.js +5 -4
- package/dist/esm/vega-textarea.entry.js +18 -16
- package/dist/esm/vega-time-picker_2.entry.js +25 -23
- package/dist/esm/vega-toggle-switch.entry.js +16 -14
- package/dist/esm/vega-tooltip_2.entry.js +13 -12
- package/dist/esm/vega.js +20 -20
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +3 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +9 -0
- package/dist/types/components/vega-form/types.d.ts +1 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +19 -0
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +9 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +1 -0
- package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +0 -8
- package/dist/types/components/vega-rich-text-editor/dto/annotations/indent-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +0 -6
- package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +0 -14
- package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +2 -23
- package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +68 -5
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +45 -4
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +68 -4
- package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +110 -6
- package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +21 -6
- package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +1 -14
- package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +86 -4
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-renderer.abstract.d.ts +28 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/block-text-nodes-renderer.abstract.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/image-block-renderer.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-block-renderer.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/list-item-block-renderer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/node-renderer.abstract.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.d.ts +111 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.d.ts +32 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy-processor.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/element-to-dto-strategy.abstract.d.ts +32 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/img-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.d.ts +38 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/li-to-rte-list-item-block-strategy.d.ts +35 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ol-to-rte-list-block-strategy.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/span-img-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-not-li-child-to-rte-list-item-block.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/ul-to-rte-list-block-strategy.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/vega-image-to-rte-image-block-strategy.d.ts +31 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +6 -6
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +1 -0
- package/dist/types/components.d.ts +21 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +2 -7
- package/dist/types/helpers/slimmers/form-field-message-translator.d.ts +12 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +5 -2
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +2 -2
- package/dist/types/helpers/validator/validator.d.ts +1 -1
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-000b3ab0.js +1 -0
- package/dist/vega/p-00738ae9.entry.js +1 -0
- package/dist/vega/p-01d0dbe6.entry.js +1 -0
- package/dist/vega/p-032df16f.js +1 -0
- package/dist/vega/p-05f5e22b.entry.js +1 -0
- package/dist/vega/p-0634f06b.entry.js +1 -0
- package/dist/vega/p-0945a58d.entry.js +1 -0
- package/dist/vega/p-09c5de7f.entry.js +1 -0
- package/dist/vega/p-0a8b91f5.entry.js +1 -0
- package/dist/vega/{p-f763e2eb.js → p-0af4bda9.js} +1 -1
- package/dist/vega/p-0be711b6.entry.js +1 -0
- package/dist/vega/p-0c2eb135.entry.js +1 -0
- package/dist/vega/p-0ee10fd7.js +1 -0
- package/dist/vega/p-12ad8ada.entry.js +1 -0
- package/dist/vega/p-14514252.entry.js +1 -0
- package/dist/vega/{p-11a19ca0.js → p-149d2801.js} +1 -1
- package/dist/vega/p-14f85e30.entry.js +1 -0
- package/dist/vega/p-193d2c51.entry.js +1 -0
- package/dist/vega/p-1a64716b.entry.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1d805cc0.entry.js +1 -0
- package/dist/vega/p-211df22a.entry.js +1 -0
- package/dist/vega/p-21d59593.entry.js +1 -0
- package/dist/vega/p-2205ee4c.js +1 -0
- package/dist/vega/p-29b09aad.js +1 -0
- package/dist/vega/p-2bbcb1ca.entry.js +1 -0
- package/dist/vega/{p-443ad3b3.js → p-2d0d575f.js} +1 -1
- package/dist/vega/{p-368d0060.js → p-2fbda931.js} +1 -1
- package/dist/vega/p-3126edd6.entry.js +1 -0
- package/dist/vega/p-33b62194.js +1 -0
- package/dist/vega/p-42df8a42.js +1 -0
- package/dist/vega/{p-8f93242a.js → p-4387d550.js} +1 -1
- package/dist/vega/p-45dd4698.entry.js +1 -0
- package/dist/vega/p-4873be94.entry.js +1 -0
- package/dist/vega/{p-3b4bde3e.js → p-4b500240.js} +1 -1
- package/dist/vega/{p-e0b25eaf.js → p-4f0b56fc.js} +1 -1
- package/dist/vega/p-5298fd92.entry.js +1 -0
- package/dist/vega/p-5760619c.entry.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-5dd923e0.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-70151c27.js → p-5f589974.js} +1 -1
- package/dist/vega/p-61116634.entry.js +1 -0
- package/dist/vega/p-618b35e4.entry.js +1 -0
- package/dist/vega/p-625771d7.entry.js +1 -0
- package/dist/vega/{p-62774231.js → p-6705c68a.js} +1 -1
- package/dist/vega/p-68f0aa72.entry.js +1 -0
- package/dist/vega/{p-59bdf9b8.js → p-6a334573.js} +1 -1
- package/dist/vega/p-6a3989dd.js +1 -0
- package/dist/vega/{p-0e0c47ad.js → p-6a5a5c7b.js} +1 -1
- package/dist/vega/p-6c09b79a.entry.js +1 -0
- package/dist/vega/p-6d23c08b.entry.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-71eeb279.entry.js +1 -0
- package/dist/vega/p-7258cb9c.entry.js +1 -0
- package/dist/vega/p-72eee5e2.js +1 -0
- package/dist/vega/{p-eac38d87.js → p-781fd6e0.js} +1 -1
- package/dist/vega/{p-1995e98e.js → p-79ec5d69.js} +1 -1
- package/dist/vega/p-7ecbf764.entry.js +1 -0
- package/dist/vega/{p-3f1b542a.js → p-81dbada7.js} +1 -1
- package/dist/vega/{p-a6a7d0c9.js → p-8284a445.js} +1 -1
- package/dist/vega/p-84f2f342.js +1 -0
- package/dist/vega/p-85365f8b.js +1 -0
- package/dist/vega/p-8ab356e8.entry.js +1 -0
- package/dist/vega/p-8ba43640.entry.js +1 -0
- package/dist/vega/p-8d69f9ef.entry.js +1 -0
- package/dist/vega/p-8fc170d9.entry.js +1 -0
- package/dist/vega/p-91aa058f.entry.js +1 -0
- package/dist/vega/{p-8c26227e.js → p-926596cc.js} +1 -1
- package/dist/vega/p-92707b74.entry.js +1 -0
- package/dist/vega/p-97453cd8.entry.js +1 -0
- package/dist/vega/{p-843a0c1c.js → p-987fbbd0.js} +1 -1
- package/dist/vega/{p-296cc56b.js → p-9b797118.js} +1 -1
- package/dist/vega/p-a01f149d.entry.js +1 -0
- package/dist/vega/{p-3953c705.js → p-af7a3154.js} +1 -1
- package/dist/vega/p-b0e824df.entry.js +13 -0
- package/dist/vega/p-b2bca332.entry.js +1 -0
- package/dist/vega/p-b57792b7.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b6815874.js +1 -0
- package/dist/vega/p-b688a71b.js +1 -0
- package/dist/vega/p-b6f09c98.entry.js +1 -0
- package/dist/vega/p-b9a09a76.js +1 -0
- package/dist/vega/p-bcb10ae3.entry.js +1 -0
- package/dist/vega/{p-39836361.js → p-be12fa36.js} +1 -1
- package/dist/vega/p-c016c3b2.entry.js +1 -0
- package/dist/vega/p-c02f650e.entry.js +1 -0
- package/dist/vega/p-c2b276f7.entry.js +1 -0
- package/dist/vega/p-c51a3e3c.entry.js +1 -0
- package/dist/vega/p-c56965fc.entry.js +1 -0
- package/dist/vega/p-c6f544fe.entry.js +1 -0
- package/dist/vega/p-c88acd87.entry.js +1 -0
- package/dist/vega/p-cb8f8458.entry.js +1 -0
- package/dist/vega/p-cda26bdf.entry.js +1 -0
- package/dist/vega/p-d09d153f.entry.js +1 -0
- package/dist/vega/p-d994874a.entry.js +1 -0
- package/dist/vega/p-dcdac4d0.entry.js +1 -0
- package/dist/vega/p-de25326f.js +1 -0
- package/dist/vega/{p-e1e1fcf0.js → p-de664bdd.js} +1 -1
- package/dist/vega/p-e04d4ba3.entry.js +1 -0
- package/dist/vega/p-e093b2c5.entry.js +1 -0
- package/dist/vega/p-e480babd.entry.js +1 -0
- package/dist/vega/p-e8f540d8.js +1 -0
- package/dist/vega/p-eaf6c3d8.entry.js +1 -0
- package/dist/vega/p-efbea85a.entry.js +1 -0
- package/dist/vega/p-f2cc36ae.entry.js +1 -0
- package/dist/vega/{p-81ead59a.js → p-f31bb1fd.js} +1 -1
- package/dist/vega/p-f48711fa.entry.js +1 -0
- package/dist/vega/p-f690539e.entry.js +1 -0
- package/dist/vega/p-f6b89936.entry.js +1 -0
- package/dist/vega/p-f84fd31c.js +1 -0
- package/dist/vega/p-fc6ea557.entry.js +1 -0
- package/dist/vega/{p-acf7f903.js → p-ff4bafa3.js} +1 -1
- package/dist/vega/p-ff50c204.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/text-node-0d12da5a.js +0 -1077
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.js +0 -135
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.js +0 -74
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.js +0 -47
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.js +0 -50
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.js +0 -41
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.js +0 -57
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.js +0 -56
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.js +0 -77
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.js +0 -44
- package/dist/esm/text-node-6f7d736c.js +0 -1055
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.d.ts +0 -67
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.d.ts +0 -29
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.d.ts +0 -37
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.d.ts +0 -35
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.d.ts +0 -37
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.d.ts +0 -36
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.d.ts +0 -39
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.d.ts +0 -39
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.d.ts +0 -46
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.d.ts +0 -37
- package/dist/vega/p-034e6348.entry.js +0 -1
- package/dist/vega/p-0cd2b50f.entry.js +0 -1
- package/dist/vega/p-109a00cf.entry.js +0 -1
- package/dist/vega/p-11cb477b.js +0 -1
- package/dist/vega/p-1564cc4d.entry.js +0 -1
- package/dist/vega/p-18886765.entry.js +0 -1
- package/dist/vega/p-19b26168.entry.js +0 -1
- package/dist/vega/p-21992602.entry.js +0 -1
- package/dist/vega/p-22563151.entry.js +0 -1
- package/dist/vega/p-23795da1.entry.js +0 -1
- package/dist/vega/p-29277e41.entry.js +0 -1
- package/dist/vega/p-2a7e9422.entry.js +0 -1
- package/dist/vega/p-2ca6d977.entry.js +0 -1
- package/dist/vega/p-2e419309.entry.js +0 -1
- package/dist/vega/p-2fc3af2f.js +0 -1
- package/dist/vega/p-3039bef8.js +0 -1
- package/dist/vega/p-315667f1.js +0 -1
- package/dist/vega/p-34939c97.entry.js +0 -1
- package/dist/vega/p-3897bb2d.entry.js +0 -1
- package/dist/vega/p-390c5236.entry.js +0 -1
- package/dist/vega/p-3ce31dc3.js +0 -1
- package/dist/vega/p-452e284a.js +0 -1
- package/dist/vega/p-49f4a666.js +0 -1
- package/dist/vega/p-4c41dd64.js +0 -1
- package/dist/vega/p-55beac7f.entry.js +0 -1
- package/dist/vega/p-57405834.entry.js +0 -1
- package/dist/vega/p-589e6041.entry.js +0 -1
- package/dist/vega/p-5e95402a.entry.js +0 -1
- package/dist/vega/p-5eee21b4.entry.js +0 -1
- package/dist/vega/p-62cea2e7.entry.js +0 -1
- package/dist/vega/p-65b79fd7.js +0 -1
- package/dist/vega/p-6741e2b9.entry.js +0 -1
- package/dist/vega/p-6a084fe1.entry.js +0 -1
- package/dist/vega/p-6b286226.entry.js +0 -1
- package/dist/vega/p-6b722905.entry.js +0 -1
- package/dist/vega/p-6e4b2752.entry.js +0 -1
- package/dist/vega/p-7209d03b.js +0 -1
- package/dist/vega/p-728b029a.entry.js +0 -1
- package/dist/vega/p-76fc408e.entry.js +0 -1
- package/dist/vega/p-7a9f453e.entry.js +0 -1
- package/dist/vega/p-80ccd894.entry.js +0 -1
- package/dist/vega/p-84c597c8.entry.js +0 -1
- package/dist/vega/p-8b78c6a3.entry.js +0 -1
- package/dist/vega/p-8be45a45.entry.js +0 -1
- package/dist/vega/p-8d7b45f7.entry.js +0 -1
- package/dist/vega/p-8e17b9dd.entry.js +0 -1
- package/dist/vega/p-925a2137.js +0 -1
- package/dist/vega/p-92f88033.entry.js +0 -1
- package/dist/vega/p-94de7a02.entry.js +0 -1
- package/dist/vega/p-9968e71d.entry.js +0 -1
- package/dist/vega/p-9c1eeff2.js +0 -2
- package/dist/vega/p-9d1b9e70.entry.js +0 -1
- package/dist/vega/p-a5ffe912.js +0 -1
- package/dist/vega/p-a6104aa7.js +0 -1
- package/dist/vega/p-a6169ad6.entry.js +0 -1
- package/dist/vega/p-a8bf559a.js +0 -1
- package/dist/vega/p-afec17ad.entry.js +0 -1
- package/dist/vega/p-b3f9cc3a.entry.js +0 -13
- package/dist/vega/p-b693c1ac.entry.js +0 -1
- package/dist/vega/p-b6af0fc1.entry.js +0 -1
- package/dist/vega/p-b9e2add4.entry.js +0 -1
- package/dist/vega/p-bd894860.entry.js +0 -1
- package/dist/vega/p-c0d6a587.entry.js +0 -1
- package/dist/vega/p-c1d97d12.entry.js +0 -1
- package/dist/vega/p-c26e6820.entry.js +0 -1
- package/dist/vega/p-c34487e1.entry.js +0 -1
- package/dist/vega/p-c532b132.entry.js +0 -1
- package/dist/vega/p-ca2fb711.js +0 -1
- package/dist/vega/p-cebf93f1.entry.js +0 -1
- package/dist/vega/p-cfdc148a.entry.js +0 -1
- package/dist/vega/p-d0351d71.entry.js +0 -1
- package/dist/vega/p-d2ab6096.entry.js +0 -1
- package/dist/vega/p-d302f052.entry.js +0 -1
- package/dist/vega/p-d35643c5.entry.js +0 -1
- package/dist/vega/p-d400a1d9.entry.js +0 -1
- package/dist/vega/p-d6732a72.entry.js +0 -1
- package/dist/vega/p-d720b06a.entry.js +0 -1
- package/dist/vega/p-d987e404.entry.js +0 -1
- package/dist/vega/p-d9b86108.entry.js +0 -1
- package/dist/vega/p-e27e115d.entry.js +0 -1
- package/dist/vega/p-e43c2a27.js +0 -1
- package/dist/vega/p-e65c8ac7.entry.js +0 -1
- package/dist/vega/p-e79057cc.js +0 -1
- package/dist/vega/p-e89e9769.entry.js +0 -1
- package/dist/vega/p-ecd64c7f.entry.js +0 -1
- package/dist/vega/p-f5b2e72a.entry.js +0 -1
- package/dist/vega/p-f6af3749.js +0 -1
- package/dist/vega/p-fc622a75.js +0 -1
|
@@ -13,10 +13,15 @@ export declare class VegaInputPhoneNumberValueController extends VegaSlimmer {
|
|
|
13
13
|
protected countrySelectController: VegaInputPhoneNumber['countrySelectController'];
|
|
14
14
|
protected changeEventEmitter: VegaInputPhoneNumber['changeEventEmitter'];
|
|
15
15
|
protected phoneNumberInputValue: VegaInputPhoneNumber['phoneNumberInputValue'];
|
|
16
|
+
protected emptyValueEnabled: VegaInputPhoneNumber['emptyValueEnabled'];
|
|
16
17
|
/**
|
|
17
18
|
* componentWillLoad
|
|
18
19
|
*/
|
|
19
20
|
componentWillLoad(): void;
|
|
21
|
+
/**
|
|
22
|
+
* watch emptyValueEnabled change
|
|
23
|
+
*/
|
|
24
|
+
watchEmptyValueEnabled(): void;
|
|
20
25
|
/**
|
|
21
26
|
* The `watchValue` function updates a value and emits change events based on certain conditions.
|
|
22
27
|
*
|
|
@@ -77,4 +82,18 @@ export declare class VegaInputPhoneNumberValueController extends VegaSlimmer {
|
|
|
77
82
|
* starting from the length of the calling code prefix for the specified `country`.
|
|
78
83
|
*/
|
|
79
84
|
private removeCallingCodePrefix;
|
|
85
|
+
/**
|
|
86
|
+
* Set value
|
|
87
|
+
*
|
|
88
|
+
* @param {string} inputValue - The value of phone number input.
|
|
89
|
+
* @param {Function} formatValue - Format value callback
|
|
90
|
+
*/
|
|
91
|
+
private trySetValue;
|
|
92
|
+
/**
|
|
93
|
+
* Should set value of phone number to empty string
|
|
94
|
+
*
|
|
95
|
+
* @param {string} inputValue - The value of phone number input
|
|
96
|
+
* @returns {boolean} -
|
|
97
|
+
*/
|
|
98
|
+
private shouldSetEmptyValue;
|
|
80
99
|
}
|
|
@@ -70,6 +70,15 @@ export declare class VegaInputPhoneNumber {
|
|
|
70
70
|
* @vegaVersion 2.18.0
|
|
71
71
|
*/
|
|
72
72
|
allowedCountryCodes: VegaCountryCode[];
|
|
73
|
+
/**
|
|
74
|
+
* Specifies whether the phone number input field can be set to an empty value.
|
|
75
|
+
* When set to true, the value of phoneNumber is cleared when the input field is empty.
|
|
76
|
+
* When set to false, the value of phoneNumber is always composed of the country code and phone number, even if the input field is empty.
|
|
77
|
+
*
|
|
78
|
+
* @vegaVersion 2.35.0
|
|
79
|
+
*/
|
|
80
|
+
emptyValueEnabled: boolean;
|
|
81
|
+
watchEmptyValueEnabled(): void;
|
|
73
82
|
/**
|
|
74
83
|
* Specifies the value of the phone number input in [E.164]{@link https://en.wikipedia.org/wiki/E.164} format.
|
|
75
84
|
*
|
|
@@ -6,6 +6,7 @@ export declare class VegaRichTextContentRenderer extends VegaSlimmer {
|
|
|
6
6
|
contentEditable: VegaRichTextContent['contentEditable'];
|
|
7
7
|
content: VegaRichTextContent['content'];
|
|
8
8
|
private richTextContentRef;
|
|
9
|
+
private readonly blockRenderers;
|
|
9
10
|
constructor();
|
|
10
11
|
/**
|
|
11
12
|
* Get the rich text content element
|
|
@@ -16,5 +17,6 @@ export declare class VegaRichTextContentRenderer extends VegaSlimmer {
|
|
|
16
17
|
render(): VegaRichTextContent;
|
|
17
18
|
private renderRichTextContent;
|
|
18
19
|
private renderContent;
|
|
20
|
+
private getBlockRenderer;
|
|
19
21
|
private shouldShowPlaceholder;
|
|
20
22
|
}
|
|
@@ -15,13 +15,6 @@ export declare class BoldAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.BOLD, BoldAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(bold: boolean): [NodeAnnotationTypeEnum.BOLD, BoldAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.BOLD, BoldAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [NodeAnnotationTypeEnum.BOLD, BoldAnnotation];
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
|
@@ -15,13 +15,6 @@ export declare class CodeAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.CODE, CodeAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(code: boolean): [NodeAnnotationTypeEnum.CODE, CodeAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.CODE, CodeAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [NodeAnnotationTypeEnum.CODE, CodeAnnotation];
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
|
@@ -15,20 +15,6 @@ export declare class HorizontalAlignmentAnnotation extends BlockAnnotation {
|
|
|
15
15
|
* @returns {[BlockAnnotationTypeEnum.ALIGNMENT, HorizontalAlignmentAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(textAlign: VegaRTEBlockAlignment): [BlockAnnotationTypeEnum.ALIGNMENT, HorizontalAlignmentAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[BlockAnnotationTypeEnum.ALIGNMENT, HorizontalAlignmentAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): Nullable<[BlockAnnotationTypeEnum.ALIGNMENT, HorizontalAlignmentAnnotation]>;
|
|
25
|
-
/**
|
|
26
|
-
* Get the text alignment of an HTML element.
|
|
27
|
-
*
|
|
28
|
-
* @param {HTMLElement} node - An HTMLElement.
|
|
29
|
-
* @returns {Nullable<VegaRTEBlockAlignment>} text alignment.
|
|
30
|
-
*/
|
|
31
|
-
private static getTextAlign;
|
|
32
18
|
/**
|
|
33
19
|
* Generate the JSON item of the annotation
|
|
34
20
|
*
|
|
@@ -18,14 +18,6 @@ export declare class ImageAnnotation extends NodeAnnotation {
|
|
|
18
18
|
* @returns {[NodeAnnotationTypeEnum.IMAGE, ImageAnnotation]} Map item for the annotation
|
|
19
19
|
*/
|
|
20
20
|
static from(size: VegaRichTextImageEditorSizeType, alt: string): [NodeAnnotationTypeEnum.IMAGE, ImageAnnotation];
|
|
21
|
-
/**
|
|
22
|
-
* Generate the map item for the annotation
|
|
23
|
-
*
|
|
24
|
-
* @param {VegaRichTextImageEditorSizeType} size - size.
|
|
25
|
-
* @param {string} alt - alt.
|
|
26
|
-
* @returns {[NodeAnnotationTypeEnum.IMAGE, ImageAnnotation]} Map item for the annotation
|
|
27
|
-
*/
|
|
28
|
-
static fromHTML(size: VegaRichTextImageEditorSizeType, alt: string): [NodeAnnotationTypeEnum.IMAGE, ImageAnnotation];
|
|
29
21
|
/**
|
|
30
22
|
* Generate the JSON representation of the annotation
|
|
31
23
|
*
|
|
@@ -15,20 +15,6 @@ export declare class IndentAnnotation extends BlockAnnotation {
|
|
|
15
15
|
* @returns {[BlockAnnotationTypeEnum.INDENT, IndentAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(indent: number): [BlockAnnotationTypeEnum.INDENT, IndentAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[BlockAnnotationTypeEnum.INDENT, IndentAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): Nullable<[BlockAnnotationTypeEnum.INDENT, IndentAnnotation]>;
|
|
25
|
-
/**
|
|
26
|
-
* Retrieves the left margin value of an HTML element.
|
|
27
|
-
*
|
|
28
|
-
* @param {HTMLElement} node - An html element.
|
|
29
|
-
* @returns {number} margin left.
|
|
30
|
-
*/
|
|
31
|
-
private static getMarginLeft;
|
|
32
18
|
/**
|
|
33
19
|
* Generate the JSON item of the annotation
|
|
34
20
|
*
|
|
@@ -15,13 +15,6 @@ export declare class ItalicAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {Nullable<[NodeAnnotationTypeEnum.ITALIC, ItalicAnnotation]>} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(italic: boolean): [NodeAnnotationTypeEnum.ITALIC, ItalicAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.ITALIC, ItalicAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [NodeAnnotationTypeEnum.ITALIC, ItalicAnnotation];
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
|
@@ -15,13 +15,6 @@ export declare class LinkAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.LINK, LinkAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(link: VegaRTELink): [NodeAnnotationTypeEnum.LINK, LinkAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.LINK, LinkAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): Nullable<[NodeAnnotationTypeEnum.LINK, LinkAnnotation]>;
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Annotation, InternalAnnotationTypeEnum } from './annotation.abstract';
|
|
2
2
|
import { RTETextNode } from '../nodes/text-node';
|
|
3
|
-
import { RTERenderContext } from '../../interface';
|
|
4
3
|
/**
|
|
5
4
|
* Annotation to represent a link of grouped nodes
|
|
6
5
|
*/
|
|
@@ -8,9 +7,4 @@ export declare class LinkGroupAnnotation extends Annotation {
|
|
|
8
7
|
readonly type: InternalAnnotationTypeEnum;
|
|
9
8
|
linkGroups: Map<string, RTETextNode[]>;
|
|
10
9
|
constructor(groupKey: string);
|
|
11
|
-
renderNodes(nodes: RTETextNode[], { editable }: RTERenderContext): HTMLElement[];
|
|
12
|
-
private renderLinkEditorWrapper;
|
|
13
|
-
private renderLink;
|
|
14
|
-
private isLinkGroup;
|
|
15
|
-
private groupNodesByLink;
|
|
16
10
|
}
|
package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts
CHANGED
|
@@ -15,13 +15,6 @@ export declare class StrikethroughAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.STRIKETHROUGH, StrikethroughAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(strikethrough: boolean): [NodeAnnotationTypeEnum.STRIKETHROUGH, StrikethroughAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.STRIKETHROUGH, StrikethroughAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [NodeAnnotationTypeEnum.STRIKETHROUGH, StrikethroughAnnotation];
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts
CHANGED
|
@@ -15,13 +15,6 @@ export declare class TextColorAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.TEXT_COLOR, TextColorAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(textColor: string): [NodeAnnotationTypeEnum.TEXT_COLOR, TextColorAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.TEXT_COLOR, TextColorAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): Nullable<[NodeAnnotationTypeEnum.TEXT_COLOR, TextColorAnnotation]>;
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts
CHANGED
|
@@ -15,20 +15,6 @@ export declare class TextStyleAnnotation extends BlockAnnotation {
|
|
|
15
15
|
* @returns {[BlockAnnotationTypeEnum.TEXT_STYLE, TextStyleAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(textStyle: VegaRTETextStyleType): [BlockAnnotationTypeEnum.TEXT_STYLE, TextStyleAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[BlockAnnotationTypeEnum.TEXT_STYLE, TextStyleAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [BlockAnnotationTypeEnum.TEXT_STYLE, TextStyleAnnotation];
|
|
25
|
-
/**
|
|
26
|
-
* Get the type of block.
|
|
27
|
-
*
|
|
28
|
-
* @param {HTMLElement} node - An HTMLElement.
|
|
29
|
-
* @returns {VegaRTETextStyleType} text style type.
|
|
30
|
-
*/
|
|
31
|
-
private static getTextStyle;
|
|
32
18
|
/**
|
|
33
19
|
* Generate the JSON representation of the annotation
|
|
34
20
|
*
|
package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts
CHANGED
|
@@ -15,13 +15,6 @@ export declare class UnderlineAnnotation extends NodeAnnotation {
|
|
|
15
15
|
* @returns {[NodeAnnotationTypeEnum.UNDERLINE, UnderlineAnnotation]} Map item for the annotation
|
|
16
16
|
*/
|
|
17
17
|
static from(underline: boolean): [NodeAnnotationTypeEnum.UNDERLINE, UnderlineAnnotation];
|
|
18
|
-
/**
|
|
19
|
-
* Generate the map item for the annotation by html element
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} node - An html element.
|
|
22
|
-
* @returns {[NodeAnnotationTypeEnum.UNDERLINE, UnderlineAnnotation]} Map item for the annotation
|
|
23
|
-
*/
|
|
24
|
-
static fromHTML(node: HTMLElement): [NodeAnnotationTypeEnum.UNDERLINE, UnderlineAnnotation];
|
|
25
18
|
/**
|
|
26
19
|
* Generate the JSON representation of the annotation
|
|
27
20
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RTEBlockType, VegaRTEBlockAnnotations, VegaRTEBlockBase } from '../../interface';
|
|
2
2
|
import { BlockAnnotation, BlockAnnotationTypeEnum } from '../annotations/block-annotation.abstract';
|
|
3
3
|
import { AnnotationAction } from '../actions/annotation-action.abstract';
|
|
4
4
|
import { Nullable } from '../../../../types/general';
|
|
@@ -13,7 +13,7 @@ import { BlockBaseOperator } from '../helper/block-base-operator';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare abstract class RTEBlock extends BlockBaseOperator {
|
|
15
15
|
id: string;
|
|
16
|
-
|
|
16
|
+
annotationMap: Map<keyof typeof BlockAnnotationTypeEnum | InternalAnnotationTypeEnum.LINK_GROUP, BlockAnnotation | LinkGroupAnnotation>;
|
|
17
17
|
abstract type: RTEBlockType;
|
|
18
18
|
abstract parent: VegaRTEContent | RTEBlock;
|
|
19
19
|
protected constructor(id: string);
|
|
@@ -30,14 +30,6 @@ export declare abstract class RTEBlock extends BlockBaseOperator {
|
|
|
30
30
|
* `BlockAnnotationTypeEnum` and a `BlockAnnotation` object.
|
|
31
31
|
*/
|
|
32
32
|
protected static createAnnotationEntity(type: keyof VegaRTEBlockAnnotations, value: unknown): Nullable<[BlockAnnotationTypeEnum, BlockAnnotation]>;
|
|
33
|
-
/**
|
|
34
|
-
* Create annotations for block element.
|
|
35
|
-
*
|
|
36
|
-
* @param {string} type - Annotations type.
|
|
37
|
-
* @param {HTMLElement} node - current node.
|
|
38
|
-
* @returns {Nullable<[BlockAnnotationTypeEnum, BlockAnnotation]>} - result.
|
|
39
|
-
*/
|
|
40
|
-
protected static createAnnotationEntityFromHTML(type: string, node: HTMLElement): Nullable<[BlockAnnotationTypeEnum, BlockAnnotation]>;
|
|
41
33
|
/**
|
|
42
34
|
* Class to JSON object
|
|
43
35
|
*
|
|
@@ -57,7 +49,6 @@ export declare abstract class RTEBlock extends BlockBaseOperator {
|
|
|
57
49
|
* @param {AnnotationAction} action - Annotation action
|
|
58
50
|
*/
|
|
59
51
|
apply(action: AnnotationAction | ModifyContentAction): void;
|
|
60
|
-
abstract render(renderContext?: RTERenderContext): HTMLElement;
|
|
61
52
|
/**
|
|
62
53
|
* Apply action to block
|
|
63
54
|
*
|
|
@@ -70,18 +61,6 @@ export declare abstract class RTEBlock extends BlockBaseOperator {
|
|
|
70
61
|
* @param {AnnotationAction} action - Annotation action
|
|
71
62
|
*/
|
|
72
63
|
protected applyAnnotationAction(action: AnnotationAction): void;
|
|
73
|
-
/**
|
|
74
|
-
* Get styles from annotations
|
|
75
|
-
*
|
|
76
|
-
* @returns {AnnotationStyle} - Annotation style
|
|
77
|
-
*/
|
|
78
|
-
protected getStyles(): AnnotationStyle;
|
|
79
|
-
/**
|
|
80
|
-
* Get classes from annotations
|
|
81
|
-
*
|
|
82
|
-
* @returns {AnnotationStyle} - Annotation style
|
|
83
|
-
*/
|
|
84
|
-
protected getClasses(): string;
|
|
85
64
|
/**
|
|
86
65
|
* Appends a list of RTENode objects to the current node's child nodes and sets the parent block of each node to the current node.
|
|
87
66
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RTEBlockType, VegaRTEImageBlock
|
|
1
|
+
import { RTEBlockType, VegaRTEImageBlock } from '../../interface';
|
|
2
2
|
import { RTEBlock } from './block.abstract';
|
|
3
3
|
import { RTEImageNode } from '../nodes/image-node';
|
|
4
4
|
import { ModifyContentAction } from '../actions/modify-content-action.abstract';
|
|
@@ -11,19 +11,36 @@ export declare class RTEImageBlock extends RTEBlock {
|
|
|
11
11
|
nodes: RTEImageNode[];
|
|
12
12
|
parent: VegaRTEContent;
|
|
13
13
|
constructor(id: string);
|
|
14
|
+
/**
|
|
15
|
+
* Converts a VegaRTEImageBlock object into an RTEImageBlock object by mapping nodes and creating annotations.
|
|
16
|
+
*
|
|
17
|
+
* @param {VegaRTEImageBlock} block - The block object to be converted.
|
|
18
|
+
* @returns {RTEImageBlock} An instance of `RTEImageBlock`
|
|
19
|
+
*/
|
|
14
20
|
static from(block: VegaRTEImageBlock): RTEImageBlock;
|
|
15
|
-
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
16
24
|
toJSON(): VegaRTEImageBlock;
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
17
28
|
isNotEmpty(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
18
32
|
getLastNode(): RTEImageNode;
|
|
19
|
-
render(renderContext?: RTERenderContext): HTMLElement;
|
|
20
33
|
/**
|
|
21
|
-
* Apply modify action to block
|
|
34
|
+
* Apply a modify action to block
|
|
22
35
|
*
|
|
23
36
|
* @param {ModifyContentAction} action - Modify action
|
|
24
37
|
*/
|
|
25
38
|
protected doModifyActionApply(action: ModifyContentAction): void;
|
|
26
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Removes a specified child node from a list of nodes and triggers a parent action if the list becomes empty.
|
|
41
|
+
*
|
|
42
|
+
* @param {RemoveChildAction} action - Action to be performed when removing a child node from the list of nodes.
|
|
43
|
+
*/
|
|
27
44
|
private removeChildNode;
|
|
28
45
|
/**
|
|
29
46
|
* The image offset should be 0 or 1
|
|
@@ -31,14 +48,60 @@ export declare class RTEImageBlock extends RTEBlock {
|
|
|
31
48
|
*
|
|
32
49
|
* @param {RTEImageNode} imageNode The split point image node
|
|
33
50
|
* @param {number} imageOffset The cursor point 0 | 1
|
|
51
|
+
* @returns {Nullable<RTEBlock>} The new block after split
|
|
34
52
|
*/
|
|
35
53
|
private splitImageNodes;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a new RTEImageBlock instance with the provided RTEImageNode instances appended to it.
|
|
56
|
+
*
|
|
57
|
+
* @param {RTEImageNode[]} nodes - An array of RTEImageNode objects that will be used to create a new RTEImageBlock instance.
|
|
58
|
+
* @returns {RTEImageBlock} A new `RTEImageBlock` object with the provided `nodes` appended to it.
|
|
59
|
+
*/
|
|
36
60
|
private cloneWithNodes;
|
|
61
|
+
/**
|
|
62
|
+
* Used to split a block of text at a specific position and insert a new paragraph block.
|
|
63
|
+
*
|
|
64
|
+
* @param {RTEImageNode} splitNode - The node that needs to be split into separate blocks.
|
|
65
|
+
* @param {number} startOffsetOfNode - The index or position within the `splitNode` where the block should be broken or split.
|
|
66
|
+
* @returns {Nullable<RTEBlock>} Returns either a new paragraph block or the new block created after splitting the original block.
|
|
67
|
+
*/
|
|
37
68
|
private breakSingleBlock;
|
|
69
|
+
/**
|
|
70
|
+
* Breaks a single block of text at a specified offset and returns the first node of the new paragraph if created.
|
|
71
|
+
*
|
|
72
|
+
* @param {RTEImageNode} splitNode - It represents a node in a rich text editor that contains an image.
|
|
73
|
+
* @param {number} startOffset - The index at which the line break should occur within the `RTEImageNode` block.
|
|
74
|
+
* @returns {Nullable<RTETextNode>} Returning the first node of the `newParagraph` block if `newParagraph` is not null.
|
|
75
|
+
*/
|
|
38
76
|
private lineBreakSingleBlock;
|
|
77
|
+
/**
|
|
78
|
+
* Checks if the caret position is at the start of a specified RTEImageNode.
|
|
79
|
+
*
|
|
80
|
+
* @param {RTEImageNode} node - `RTEImageNode` - a node representing an image in a rich text editor.
|
|
81
|
+
* @param {number} startOffset - The position within the text node where the caret is located.
|
|
82
|
+
* @returns {boolean} a boolean value, which indicates whether the caret position is at the start of the RTEImageNode.
|
|
83
|
+
*/
|
|
39
84
|
private isCaretPositionAtStart;
|
|
85
|
+
/**
|
|
86
|
+
* Checks if the caret position is at the end of a given RTEImageNode.
|
|
87
|
+
*
|
|
88
|
+
* @param {RTEImageNode} node - `node` is a RTEImageNode
|
|
89
|
+
* @param {number} startOffset - The position within the `RTEImageNode` where the caret is located.
|
|
90
|
+
* @returns {boolean}Returns a boolean value indicating whether the caret position is at the end of the `RTEImageNode`.
|
|
91
|
+
*/
|
|
40
92
|
private isCaretPositionAtEnd;
|
|
93
|
+
/**
|
|
94
|
+
* Inserts a new paragraph block with a line break after a selected block of text in a rich text editor.
|
|
95
|
+
*
|
|
96
|
+
* @param {RTEBlock[]} selectedBlocks - An array of RTEBlock objects that represent the blocks that have been selected for a specific action in the Rich Text Editor.
|
|
97
|
+
* @returns {Nullable<RTETextNode>} Returns a Nullable RTETextNode.
|
|
98
|
+
*/
|
|
41
99
|
private lineBreakMultipleBlocks;
|
|
100
|
+
/**
|
|
101
|
+
* Deletes content from a block node based on specific conditions.
|
|
102
|
+
*
|
|
103
|
+
* @param {DeleteBlockContentAction} action - Delete block content action
|
|
104
|
+
*/
|
|
42
105
|
private deleteNodeContent;
|
|
43
106
|
/**
|
|
44
107
|
* Image will always create new image block
|
|
@@ -1,30 +1,71 @@
|
|
|
1
1
|
import { RTEBlock } from './block.abstract';
|
|
2
|
-
import {
|
|
2
|
+
import { VegaRTEListBlock, VegaRTEListBlockType } from '../../interface';
|
|
3
3
|
import { RTEListItemBlock } from './list-item-block';
|
|
4
4
|
import { ModifyContentAction } from '../actions/modify-content-action.abstract';
|
|
5
5
|
import { VegaRTEContent } from '../content-state';
|
|
6
6
|
import { RTETextNode } from '../nodes/text-node';
|
|
7
|
+
/**
|
|
8
|
+
* List block
|
|
9
|
+
*/
|
|
7
10
|
export declare class RTEListBlock extends RTEBlock {
|
|
8
11
|
type: VegaRTEListBlockType;
|
|
9
12
|
blocks: RTEListItemBlock[];
|
|
10
13
|
parent: RTEListItemBlock | VegaRTEContent;
|
|
11
14
|
constructor(id: string, type: VegaRTEListBlockType);
|
|
15
|
+
/**
|
|
16
|
+
* Converts a VegaRTEListBlock object to an RTEListBlock
|
|
17
|
+
*
|
|
18
|
+
* @param {VegaRTEListBlock} block - Converts a `VegaRTEListBlock` object into an `RTEListBlock`.
|
|
19
|
+
* @returns {RTEListBlock} Return an instance of `RTEListBlock`
|
|
20
|
+
*/
|
|
12
21
|
static from(block: VegaRTEListBlock): RTEListBlock;
|
|
13
|
-
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
14
25
|
toJSON(): VegaRTEListBlock;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
15
29
|
isNotEmpty(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
16
33
|
getLastNode(): RTETextNode;
|
|
17
|
-
render(renderContext?: RTERenderContext): HTMLElement;
|
|
18
34
|
/**
|
|
19
35
|
* Apply a modify action to block
|
|
20
36
|
*
|
|
21
37
|
* @param {ModifyContentAction} action - Modify action
|
|
22
38
|
*/
|
|
23
39
|
protected doModifyActionApply(action: ModifyContentAction): void;
|
|
40
|
+
/**
|
|
41
|
+
* Converts a RTEListItemBlock to a RTETextBlock representing a paragraph.
|
|
42
|
+
*
|
|
43
|
+
* @param {RTEListItemBlock} block - The block that will be covered
|
|
44
|
+
* @returns {RTETextBlock} Returns a `RTETextBlock`.
|
|
45
|
+
*/
|
|
24
46
|
private toParagraph;
|
|
25
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Covert block to List
|
|
49
|
+
*
|
|
50
|
+
* @param {TransformListAction} action - Modify action
|
|
51
|
+
*/
|
|
26
52
|
private convertToList;
|
|
53
|
+
/**
|
|
54
|
+
* Covert block to paragraph
|
|
55
|
+
*
|
|
56
|
+
* @param {TransformListAction} action - Modify action
|
|
57
|
+
*/
|
|
27
58
|
private convertToParagraph;
|
|
59
|
+
/**
|
|
60
|
+
* Inserts an image block into a rich text editor block based on the parent block type.
|
|
61
|
+
*
|
|
62
|
+
* @param {InsertImageToBlockAction} action - Modify action
|
|
63
|
+
*/
|
|
28
64
|
private insertImage;
|
|
65
|
+
/**
|
|
66
|
+
* Removes a specified block and handles the removal of nested lists if necessary.
|
|
67
|
+
*
|
|
68
|
+
* @param {RTEBlock} blockToBeRemoved - block that will be removed
|
|
69
|
+
*/
|
|
29
70
|
private removeListItemBlock;
|
|
30
71
|
}
|
|
@@ -1,33 +1,97 @@
|
|
|
1
|
-
import { VegaRTEListItemBlock
|
|
1
|
+
import { VegaRTEListItemBlock } from '../../interface';
|
|
2
2
|
import { RTETextNode } from '../nodes/text-node';
|
|
3
3
|
import { RTEListBlock } from './list-block';
|
|
4
4
|
import { ModifyContentAction } from '../actions/modify-content-action.abstract';
|
|
5
5
|
import { RTETextBlock } from './text-block';
|
|
6
6
|
import { RTEBlock } from './block.abstract';
|
|
7
|
+
/**
|
|
8
|
+
* List item block
|
|
9
|
+
*/
|
|
7
10
|
export declare class RTEListItemBlock extends RTETextBlock {
|
|
8
11
|
children?: RTEListBlock[];
|
|
9
12
|
parent: RTEListBlock;
|
|
10
13
|
constructor(id: string, children?: RTEListBlock[]);
|
|
14
|
+
/**
|
|
15
|
+
* Converts a VegaRTEListItemBlock object to an RTEListItemBlock
|
|
16
|
+
*
|
|
17
|
+
* @param {VegaRTEListBlock} block - Converts a `VegaRTEListItemBlock` object into an `RTEListItemBlock`.
|
|
18
|
+
* @returns {RTEListBlock} Return an instance of `RTEListItemBlock`
|
|
19
|
+
*/
|
|
11
20
|
static from(block: VegaRTEListItemBlock): RTEListItemBlock;
|
|
12
|
-
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
13
24
|
toJSON(): VegaRTEListItemBlock;
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
14
28
|
cloneWithNodes(nodes: RTETextNode[]): RTEBlock;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
15
32
|
isNotEmpty(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @inheritDoc
|
|
35
|
+
*/
|
|
16
36
|
getLastNode(): RTETextNode;
|
|
17
|
-
render(renderContext?: RTERenderContext): HTMLElement;
|
|
18
37
|
/**
|
|
19
38
|
* Apply a modify action to block
|
|
20
39
|
*
|
|
21
40
|
* @param {ModifyContentAction} action - Modify action
|
|
22
41
|
*/
|
|
23
42
|
protected doModifyActionApply(action: ModifyContentAction): void;
|
|
24
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Remove the list child node
|
|
45
|
+
*
|
|
46
|
+
* @param {RemoveChildAction} action - Modify action
|
|
47
|
+
*/
|
|
25
48
|
private removeListChildNode;
|
|
49
|
+
/**
|
|
50
|
+
* Remove the nest list
|
|
51
|
+
*
|
|
52
|
+
* @param {RemoveNestListAction} action - Modify action
|
|
53
|
+
*/
|
|
26
54
|
private removeNestList;
|
|
55
|
+
/**
|
|
56
|
+
* Iterates through a list of RTEListBlock and sets their parent property to the current object, then replaces the children property with the new list.
|
|
57
|
+
*
|
|
58
|
+
* @param {RTEListBlock[]} newList - new list that you want to replace the existing children of the current object with.
|
|
59
|
+
*/
|
|
27
60
|
private replaceNestList;
|
|
61
|
+
/**
|
|
62
|
+
* Split list item block
|
|
63
|
+
*
|
|
64
|
+
* @param {SplitBlockWithNodeAction} action - Modify action
|
|
65
|
+
*/
|
|
28
66
|
private splitListItemBlock;
|
|
67
|
+
/**
|
|
68
|
+
* Breaks a single list item block at a specific position.
|
|
69
|
+
*
|
|
70
|
+
* @param {RTETextNode} splitNode - The node that needs to be split within a list item block.
|
|
71
|
+
* @param {number} startOffsetOfNode - The index within the `splitNode` where the break operation should occur.
|
|
72
|
+
* @returns {Nullable<RTEBlock>} Returns either a new `RTEListItemBlock` if the caret
|
|
73
|
+
* position is at the end of the `splitNode`, or it returns the result of splitting the block at the
|
|
74
|
+
* caret position if it is neither at the start nor at the end.
|
|
75
|
+
*/
|
|
29
76
|
private breakSingleListItemBlock;
|
|
77
|
+
/**
|
|
78
|
+
* Breaks a list item at the end and handles the insertion of a new list item or paragraph accordingly.
|
|
79
|
+
*
|
|
80
|
+
* @param {RTEListItemBlock} newListItem - Item that represents a new list item to be added to the existing list.
|
|
81
|
+
* @returns {RTEBlock} Returns a `RTEBlock`.
|
|
82
|
+
*/
|
|
30
83
|
private breakListItemAtEnd;
|
|
84
|
+
/**
|
|
85
|
+
* Delete list node content
|
|
86
|
+
*
|
|
87
|
+
* @param {DeleteBlockContentAction} action - Modify action
|
|
88
|
+
*/
|
|
31
89
|
private deleteListNodeContent;
|
|
90
|
+
/**
|
|
91
|
+
* Copy the inline style to new node
|
|
92
|
+
*
|
|
93
|
+
* @param {RTETextNode} needCopedNode - The node that needed to be copied to
|
|
94
|
+
* @returns {RTETextNode} Returns a `RTETextNode`.
|
|
95
|
+
*/
|
|
32
96
|
private copyInlineStyleToNewNode;
|
|
33
97
|
}
|