@heartlandone/vega 2.77.1 → 2.78.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-1021e33e.js → app-globals-55e26945.js} +6 -6
- package/dist/cjs/{breakpoints-751d433a.js → breakpoints-a8ff22f0.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-cc6d2919.js → child-nodes-event-prevent-slimmer-dd0bb8b6.js} +1 -1
- package/dist/cjs/{code-block-f9b86a25.js → code-block-1a5fafed.js} +2 -2
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-6bcff70b.js → component-value-history-controller-slimmer.abstract-42683f23.js} +4 -4
- package/dist/cjs/{date-required-rule-d3c2d088.js → date-required-rule-ad536cb5.js} +1 -1
- package/dist/cjs/{design-token-b21879b6.js → design-token-45ebd5e4.js} +3 -3
- package/dist/cjs/{dto-renderer-manager-e2823eb8.js → dto-renderer-manager-7557d562.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-40d39bba.js → element-appender-slimmer-16ec8591.js} +5 -5
- package/dist/cjs/{event-emit-slimmer-062cdcb8.js → event-emit-slimmer-c84121c8.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-1b3a1388.js → form-field-controller-slimmer-73f5849e.js} +4 -4
- package/dist/cjs/{image-annotation-action-b83283d4.js → image-annotation-action-f275863e.js} +3 -3
- package/dist/cjs/index.cjs.js +18 -18
- package/dist/cjs/{inject-keyboard-manager-ea5c598e.js → inject-keyboard-manager-6667c0f1.js} +1 -1
- package/dist/cjs/{internal-translation-controller-1f84ab0a.js → internal-translation-controller-24df468f.js} +1 -0
- package/dist/cjs/{internal-vega-event-manager-f7ecf3d4.js → internal-vega-event-manager-cc0f511c.js} +2 -2
- package/dist/cjs/{keyboard-manager-16494c34.js → keyboard-manager-7de7ecfd.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-5b8fa209.js → keyboard-manager-slimmer-b44f0dc9.js} +1 -1
- package/dist/cjs/loader.cjs.js +13 -13
- package/dist/cjs/{month-view-generator-1a57578d.js → month-view-generator-36c42772.js} +1 -1
- package/dist/cjs/{page-resize-observer-slimmer-7f065ee1.js → page-resize-observer-slimmer-e050cd26.js} +1 -1
- package/dist/cjs/{public-rules-5bd1624d.js → public-rules-6c6cb4ac.js} +9 -9
- package/dist/cjs/{range-7a038973.js → range-e298d4aa.js} +1 -1
- package/dist/cjs/{responsive-format-facade-0b65ce4a.js → responsive-format-facade-bddac47c.js} +3 -3
- package/dist/cjs/{rich-text-editor-required-rule-d984c0b6.js → rich-text-editor-required-rule-6346a888.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-714bfad2.js → string-format-strategy.abstract-814d66c4.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-9ef2ec7a.js → string-input-formatter-slimmer-749e3cfe.js} +3 -3
- package/dist/cjs/{string-mask-strategy-bd2c18df.js → string-mask-strategy-d00871c2.js} +2 -2
- package/dist/cjs/{style-formatter-7a4e9811.js → style-formatter-94c1a1ff.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-58121111.js → sub-state-notify-slimmer-ac1dae32.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-1dfbc4c3.js → sub-state-observer-slimmer-e692d849.js} +1 -1
- package/dist/cjs/{time-required-rule-50784b9f.js → time-required-rule-f1f3c8c2.js} +1 -1
- package/dist/cjs/{token-extension-5a1c473e.js → token-extension-1e98ddf3.js} +7 -7
- package/dist/cjs/{translation-slimmer-2c207e34.js → translation-slimmer-3fa03d81.js} +1 -1
- package/dist/cjs/{type-guard-cd0376d4.js → type-guard-a0d9ff1f.js} +2 -2
- package/dist/cjs/{ui-32e69595.js → ui-024696c0.js} +8 -1
- package/dist/cjs/{valid-credit-card-number-rule-3f8dc897.js → valid-credit-card-number-rule-cba7d66a.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +9 -9
- package/dist/cjs/vega-app-header-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +11 -11
- package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-calendar_4.cjs.entry.js +14 -14
- package/dist/cjs/vega-card.cjs.entry.js +6 -6
- package/dist/cjs/vega-carousel.cjs.entry.js +9 -9
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-chip.cjs.entry.js +11 -11
- package/dist/cjs/vega-code-block.cjs.entry.js +16 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +10 -10
- package/dist/cjs/vega-combo-box.cjs.entry.js +14 -14
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
- package/dist/cjs/vega-dialog_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-divider.cjs.entry.js +7 -7
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/{vega-event-id-ee01d8dd.js → vega-event-id-c08ce3d3.js} +2 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +11 -11
- package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
- package/dist/cjs/vega-flex.cjs.entry.js +9 -9
- package/dist/cjs/vega-font.cjs.entry.js +7 -7
- package/dist/cjs/vega-form.cjs.entry.js +13 -13
- package/dist/cjs/vega-grid.cjs.entry.js +6 -6
- package/dist/cjs/vega-icon.cjs.entry.js +6 -6
- package/dist/cjs/vega-image-uploader.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +16 -16
- package/dist/cjs/vega-input-numeric.cjs.entry.js +102 -42
- package/dist/cjs/vega-input-passcode.cjs.entry.js +77 -34
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +91 -41
- package/dist/cjs/vega-input-range.cjs.entry.js +27 -12
- package/dist/cjs/vega-input-select.cjs.entry.js +17 -17
- package/dist/cjs/vega-input.cjs.entry.js +201 -69
- package/dist/cjs/{vega-internal-event-id-f2465f1b.js → vega-internal-event-id-e0aeac45.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -4
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +13 -13
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination.cjs.entry.js +12 -12
- package/dist/cjs/vega-popover_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +474 -379
- package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +12 -12
- package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -14
- package/dist/cjs/vega-stepper.cjs.entry.js +12 -12
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-table_11.cjs.entry.js +14 -14
- package/dist/cjs/vega-text.cjs.entry.js +3 -3
- package/dist/cjs/vega-textarea.cjs.entry.js +110 -42
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -18
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -10
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +10 -10
- package/dist/cjs/vega.cjs.js +13 -13
- package/dist/cjs/{wait-for-component-did-render-70a01bf9.js → wait-for-component-did-render-cbebfc33.js} +1 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
- package/dist/collection/components/vega-code-block/slimmers/renderers/vega-code-block-content-renderer.js +4 -0
- package/dist/collection/components/vega-flex/vega-flex.css +32 -0
- package/dist/collection/components/vega-flex/vega-flex.js +1 -1
- package/dist/collection/components/vega-grid/vega-grid.js +2 -2
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -1
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +1 -1
- package/dist/collection/components/vega-input/vega-input.js +358 -100
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
- package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +175 -49
- package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +123 -35
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +145 -56
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +15 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +6 -5
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +4 -17
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +102 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +49 -1
- package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
- package/dist/collection/components/vega-textarea/vega-textarea.js +183 -52
- package/dist/collection/constants/ui.js +9 -1
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +2 -2
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
- package/dist/collection/helpers/translation/locales/en.js +1 -0
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +2 -0
- package/dist/collection/helpers/translation/tests/translation.test.js +14 -0
- package/dist/esm/{app-globals-0b3b7111.js → app-globals-3b97bb20.js} +6 -6
- package/dist/esm/{breakpoints-56e5407b.js → breakpoints-13353e09.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-331312b8.js → child-nodes-event-prevent-slimmer-4feabae0.js} +1 -1
- package/dist/esm/{code-block-2408a812.js → code-block-d65bab61.js} +2 -2
- package/dist/esm/{component-value-history-controller-slimmer.abstract-ac40820f.js → component-value-history-controller-slimmer.abstract-556fcf2a.js} +4 -4
- package/dist/esm/{date-required-rule-09d5aa16.js → date-required-rule-4ffd9cae.js} +1 -1
- package/dist/esm/{design-token-7dec1eab.js → design-token-b518a2aa.js} +3 -3
- package/dist/esm/{dto-renderer-manager-d413de1e.js → dto-renderer-manager-73df5cbe.js} +3 -3
- package/dist/esm/{element-appender-slimmer-5d573612.js → element-appender-slimmer-36b7a572.js} +5 -5
- package/dist/esm/{event-emit-slimmer-ffaecb9a.js → event-emit-slimmer-f879fd58.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-e1a5a884.js → form-field-controller-slimmer-9a880420.js} +4 -4
- package/dist/esm/{image-annotation-action-54936eaa.js → image-annotation-action-eb3dcad5.js} +3 -3
- package/dist/esm/index.js +18 -18
- package/dist/esm/{inject-keyboard-manager-9339bba8.js → inject-keyboard-manager-e5481833.js} +1 -1
- package/dist/esm/{internal-translation-controller-113a6288.js → internal-translation-controller-0787a7a7.js} +1 -0
- package/dist/esm/{internal-vega-event-manager-32a3d848.js → internal-vega-event-manager-3aebbe55.js} +2 -2
- package/dist/esm/{keyboard-manager-f9bfa678.js → keyboard-manager-4dfc625f.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-c8898843.js → keyboard-manager-slimmer-87bf68f1.js} +1 -1
- package/dist/esm/loader.js +13 -13
- package/dist/esm/{month-view-generator-160a9feb.js → month-view-generator-94134ec5.js} +1 -1
- package/dist/esm/{page-resize-observer-slimmer-d6af0d86.js → page-resize-observer-slimmer-e0505250.js} +1 -1
- package/dist/esm/{public-rules-41561e6e.js → public-rules-49912d52.js} +9 -9
- package/dist/esm/{range-a5d78e69.js → range-0a22b512.js} +1 -1
- package/dist/esm/{responsive-format-facade-2a36c54a.js → responsive-format-facade-b3799ff9.js} +3 -3
- package/dist/esm/{rich-text-editor-required-rule-b09039da.js → rich-text-editor-required-rule-d86e3a51.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-944f759b.js → string-format-strategy.abstract-e40a0df7.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-2508d88b.js → string-input-formatter-slimmer-076764fc.js} +3 -3
- package/dist/esm/{string-mask-strategy-f9e252a2.js → string-mask-strategy-df1f5707.js} +2 -2
- package/dist/esm/{style-formatter-6db1e890.js → style-formatter-95255392.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-5133f1a8.js → sub-state-notify-slimmer-f4b3b0b9.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-478c9f41.js → sub-state-observer-slimmer-058feaf0.js} +1 -1
- package/dist/esm/{time-required-rule-c7cfb257.js → time-required-rule-b4af75ae.js} +1 -1
- package/dist/esm/{token-extension-25df8dbb.js → token-extension-ffd98170.js} +7 -7
- package/dist/esm/{translation-slimmer-9f0339aa.js → translation-slimmer-e788cae4.js} +1 -1
- package/dist/esm/{type-guard-af324dcd.js → type-guard-f69d2935.js} +2 -2
- package/dist/esm/{ui-28fd4193.js → ui-41f725b7.js} +8 -1
- package/dist/esm/{valid-credit-card-number-rule-099dba7d.js → valid-credit-card-number-rule-c023326d.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +9 -9
- package/dist/esm/vega-app-header-button.entry.js +11 -11
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +8 -8
- package/dist/esm/vega-breadcrumb.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +11 -11
- package/dist/esm/vega-button-group_2.entry.js +7 -7
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +11 -11
- package/dist/esm/vega-calendar_4.entry.js +14 -14
- package/dist/esm/vega-card.entry.js +6 -6
- package/dist/esm/vega-carousel.entry.js +9 -9
- package/dist/esm/vega-checkbox_2.entry.js +11 -11
- package/dist/esm/vega-chip.entry.js +11 -11
- package/dist/esm/vega-code-block.entry.js +16 -15
- package/dist/esm/vega-color-picker.entry.js +10 -10
- package/dist/esm/vega-combo-box.entry.js +14 -14
- package/dist/esm/vega-date-picker_2.entry.js +23 -23
- package/dist/esm/vega-dialog_2.entry.js +11 -11
- package/dist/esm/vega-divider.entry.js +7 -7
- package/dist/esm/vega-dropdown_5.entry.js +17 -17
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/{vega-event-id-38aa77a0.js → vega-event-id-fdc58a67.js} +2 -1
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +11 -11
- package/dist/esm/vega-flag-icon.entry.js +6 -6
- package/dist/esm/vega-flex.entry.js +9 -9
- package/dist/esm/vega-font.entry.js +7 -7
- package/dist/esm/vega-form.entry.js +13 -13
- package/dist/esm/vega-grid.entry.js +6 -6
- package/dist/esm/vega-icon.entry.js +6 -6
- package/dist/esm/vega-image-uploader.entry.js +14 -14
- package/dist/esm/vega-input-credit-card.entry.js +16 -16
- package/dist/esm/vega-input-numeric.entry.js +102 -42
- package/dist/esm/vega-input-passcode.entry.js +77 -34
- package/dist/esm/vega-input-phone-number.entry.js +91 -41
- package/dist/esm/vega-input-range.entry.js +27 -12
- package/dist/esm/vega-input-select.entry.js +17 -17
- package/dist/esm/vega-input.entry.js +201 -69
- package/dist/esm/{vega-internal-event-id-799d012e.js → vega-internal-event-id-12783594.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +4 -4
- package/dist/esm/vega-left-nav_5.entry.js +13 -13
- package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination.entry.js +12 -12
- package/dist/esm/vega-popover_2.entry.js +14 -14
- package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
- package/dist/esm/vega-radio_2.entry.js +14 -14
- package/dist/esm/vega-rich-text-content.entry.js +10 -10
- package/dist/esm/vega-rich-text-editor_4.entry.js +474 -379
- package/dist/esm/vega-segment-control.entry.js +6 -6
- package/dist/esm/vega-selection-chip_2.entry.js +14 -14
- package/dist/esm/vega-selection-tile_2.entry.js +12 -12
- package/dist/esm/vega-sidenav_3.entry.js +12 -12
- package/dist/esm/vega-signature-capture.entry.js +14 -14
- package/dist/esm/vega-stepper.entry.js +12 -12
- package/dist/esm/vega-tab-group_2.entry.js +7 -7
- package/dist/esm/vega-table_11.entry.js +14 -14
- package/dist/esm/vega-text.entry.js +3 -3
- package/dist/esm/vega-textarea.entry.js +110 -42
- package/dist/esm/vega-time-picker_2.entry.js +18 -18
- package/dist/esm/vega-toggle-switch.entry.js +10 -10
- package/dist/esm/vega-tooltip_2.entry.js +10 -10
- package/dist/esm/vega.js +13 -13
- package/dist/esm/{wait-for-component-did-render-b08ef07b.js → wait-for-component-did-render-4d0a3428.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +345 -345
- package/dist/types/components/vega-input/vega-input.d.ts +317 -79
- package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +117 -42
- package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +82 -28
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +99 -34
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +8 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +1 -3
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +16 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +123 -41
- package/dist/types/components.d.ts +418 -218
- package/dist/types/constants/ui.d.ts +2 -2
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
- package/dist/types/helpers/translation/interface.d.ts +2 -1
- package/dist/types/types/type-guard.d.ts +3 -3
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-0009e0bc.entry.js +1 -0
- package/dist/vega/{p-1a9b361b.js → p-02976501.js} +1 -1
- package/dist/vega/{p-bf6fc19f.entry.js → p-03280f85.entry.js} +1 -1
- package/dist/vega/{p-a79fdf2f.js → p-03b1e442.js} +1 -1
- package/dist/vega/{p-33f9ad94.entry.js → p-0681ffee.entry.js} +1 -1
- package/dist/vega/{p-e4c99b72.entry.js → p-093aa0cb.entry.js} +1 -1
- package/dist/vega/{p-3b9fc697.entry.js → p-1828f9e6.entry.js} +1 -1
- package/dist/vega/{p-d70e1b75.entry.js → p-19883e27.entry.js} +1 -1
- package/dist/vega/p-1e015382.js +1 -0
- package/dist/vega/{p-eab9d999.entry.js → p-1ff45314.entry.js} +1 -1
- package/dist/vega/{p-9a3a5b9e.js → p-24b4c64f.js} +1 -1
- package/dist/vega/{p-c7a9960f.entry.js → p-2e7ec8e0.entry.js} +1 -1
- package/dist/vega/{p-0ac9a732.entry.js → p-309b5016.entry.js} +1 -1
- package/dist/vega/{p-c871619c.entry.js → p-3592a26d.entry.js} +1 -1
- package/dist/vega/{p-b35bb4a2.entry.js → p-383e235a.entry.js} +1 -1
- package/dist/vega/p-3992038a.js +1 -0
- package/dist/vega/{p-02c9796a.js → p-3a537cd0.js} +1 -1
- package/dist/vega/{p-e0fb1f60.entry.js → p-3b7ad04b.entry.js} +1 -1
- package/dist/vega/{p-d0975995.entry.js → p-3d4b8066.entry.js} +1 -1
- package/dist/vega/{p-7d7aaff9.entry.js → p-3e484d99.entry.js} +1 -1
- package/dist/vega/{p-70444f6f.entry.js → p-3fd3861c.entry.js} +1 -1
- package/dist/vega/{p-600f7d6c.js → p-4079e932.js} +1 -1
- package/dist/vega/{p-5eb7f382.js → p-43df17a1.js} +1 -1
- package/dist/vega/{p-e1c017d1.entry.js → p-473ceda5.entry.js} +1 -1
- package/dist/vega/{p-ffb3e479.entry.js → p-474b97cf.entry.js} +1 -1
- package/dist/vega/{p-242fbcad.entry.js → p-47c202eb.entry.js} +1 -1
- package/dist/vega/p-4e0344bc.entry.js +1 -0
- package/dist/vega/{p-ed9ad4fd.entry.js → p-4efe9cd8.entry.js} +1 -1
- package/dist/vega/{p-36a09524.entry.js → p-536ad3d7.entry.js} +1 -1
- package/dist/vega/{p-3237be8b.entry.js → p-53e0b2bd.entry.js} +1 -1
- package/dist/vega/p-57180993.entry.js +1 -0
- package/dist/vega/{p-e827d56d.js → p-5b238c6d.js} +1 -1
- package/dist/vega/p-5ba34330.js +1 -0
- package/dist/vega/{p-acbb96b3.entry.js → p-5e1d0f21.entry.js} +1 -1
- package/dist/vega/{p-cf6bfac7.js → p-5ed5aa26.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-d64fab3d.js → p-5f81beae.js} +1 -1
- package/dist/vega/{p-ef603656.entry.js → p-6a8ac66d.entry.js} +1 -1
- package/dist/vega/{p-051bbce6.js → p-6b3776ec.js} +1 -1
- package/dist/vega/{p-aaf9b39f.entry.js → p-6b4021f0.entry.js} +1 -1
- package/dist/vega/{p-4f146dae.js → p-6cf28c27.js} +1 -1
- package/dist/vega/{p-0037068c.entry.js → p-71cd1d9e.entry.js} +1 -1
- package/dist/vega/{p-ddce3e0e.entry.js → p-7440325c.entry.js} +1 -1
- package/dist/vega/p-764425e4.entry.js +1 -0
- package/dist/vega/{p-ff287001.entry.js → p-77908e45.entry.js} +1 -1
- package/dist/vega/{p-4c060ba9.js → p-7ade785e.js} +1 -1
- package/dist/vega/{p-c857e6e2.js → p-7db5e003.js} +1 -1
- package/dist/vega/{p-021d4ae4.js → p-7db918f4.js} +1 -1
- package/dist/vega/{p-ea96b0f9.entry.js → p-7f398d23.entry.js} +1 -1
- package/dist/vega/{p-1ccba615.entry.js → p-7f665911.entry.js} +1 -1
- package/dist/vega/{p-9466619f.entry.js → p-840f156e.entry.js} +1 -1
- package/dist/vega/{p-a17312a6.js → p-87379d3c.js} +1 -1
- package/dist/vega/{p-638d30a5.entry.js → p-87ed06cd.entry.js} +1 -1
- package/dist/vega/{p-fc049028.js → p-882a220c.js} +1 -1
- package/dist/vega/p-898bcb24.js +1 -0
- package/dist/vega/{p-d07f5d5a.entry.js → p-8fbb677e.entry.js} +1 -1
- package/dist/vega/p-9493d87a.js +1 -0
- package/dist/vega/{p-c7b9b7c2.js → p-951c0172.js} +1 -1
- package/dist/vega/p-95919581.entry.js +1 -0
- package/dist/vega/{p-7c39ce96.js → p-95d1b547.js} +1 -1
- package/dist/vega/{p-c086529c.entry.js → p-99c8f9a4.entry.js} +1 -1
- package/dist/vega/{p-7127f966.js → p-9c713bc0.js} +1 -1
- package/dist/vega/{p-da0fd3dc.entry.js → p-9dc77b66.entry.js} +1 -1
- package/dist/vega/{p-4d7d5583.js → p-9f467a59.js} +1 -1
- package/dist/vega/p-a113fd15.entry.js +1 -0
- package/dist/vega/{p-a0e69236.entry.js → p-a253e791.entry.js} +1 -1
- package/dist/vega/{p-4d4bf82a.entry.js → p-a3272850.entry.js} +1 -1
- package/dist/vega/{p-27b0af38.entry.js → p-a432708d.entry.js} +1 -1
- package/dist/vega/p-a57a7ab8.entry.js +1 -0
- package/dist/vega/{p-f65cb0b6.entry.js → p-a58bd510.entry.js} +1 -1
- package/dist/vega/{p-6188e783.js → p-a957e15f.js} +1 -1
- package/dist/vega/{p-38e850c3.js → p-abb81b7b.js} +1 -1
- package/dist/vega/{p-67b0ccdc.entry.js → p-ae6ed091.entry.js} +1 -1
- package/dist/vega/{p-2c2193f2.entry.js → p-b5e31243.entry.js} +1 -1
- package/dist/vega/{p-718c74ba.js → p-b88ca09b.js} +1 -1
- package/dist/vega/{p-a800bf6d.js → p-b901d624.js} +1 -1
- package/dist/vega/p-ba475520.entry.js +1 -0
- package/dist/vega/{p-ffd080db.js → p-bf04ff19.js} +1 -1
- package/dist/vega/{p-1a51bf6f.js → p-c208a3b7.js} +1 -1
- package/dist/vega/{p-c61bcd92.entry.js → p-c25577ae.entry.js} +1 -1
- package/dist/vega/{p-cbeb47be.entry.js → p-c2560608.entry.js} +1 -1
- package/dist/vega/{p-10e51081.js → p-c2df94f6.js} +1 -1
- package/dist/vega/{p-9feaac4b.entry.js → p-c3eec160.entry.js} +1 -1
- package/dist/vega/{p-f5fcd13e.entry.js → p-c6031d3f.entry.js} +1 -1
- package/dist/vega/{p-da552ddf.entry.js → p-c87cf96a.entry.js} +1 -1
- package/dist/vega/{p-19270396.entry.js → p-cc243e62.entry.js} +1 -1
- package/dist/vega/{p-af2110fc.entry.js → p-cd3d177b.entry.js} +1 -1
- package/dist/vega/{p-be1a210b.js → p-d0687ec0.js} +1 -1
- package/dist/vega/{p-7cde8489.js → p-d25db724.js} +1 -1
- package/dist/vega/{p-dfb12762.js → p-d42dbe39.js} +1 -1
- package/dist/vega/{p-1033e4c4.entry.js → p-d5570331.entry.js} +1 -1
- package/dist/vega/p-d5797747.js +1 -0
- package/dist/vega/{p-9adfcd47.entry.js → p-d7434f44.entry.js} +1 -1
- package/dist/vega/p-db92453f.entry.js +1 -0
- package/dist/vega/{p-0a3a285b.entry.js → p-e5be807b.entry.js} +1 -1
- package/dist/vega/p-e6f0097f.js +1 -0
- package/dist/vega/{p-e8775a56.entry.js → p-e7a8b61e.entry.js} +1 -1
- package/dist/vega/{p-d2ee5711.entry.js → p-f46f6679.entry.js} +1 -1
- package/dist/vega/{p-41d14339.entry.js → p-f49e8cc5.entry.js} +1 -1
- package/dist/vega/{p-9863e7a1.entry.js → p-f5b6059d.entry.js} +1 -1
- package/dist/vega/{p-68846f0d.js → p-fb40a829.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/vega/p-15335b69.entry.js +0 -1
- package/dist/vega/p-22f3d35c.entry.js +0 -1
- package/dist/vega/p-23427f6a.entry.js +0 -1
- package/dist/vega/p-2466316a.js +0 -1
- package/dist/vega/p-40f39194.js +0 -1
- package/dist/vega/p-77167587.entry.js +0 -1
- package/dist/vega/p-78ecfea0.entry.js +0 -1
- package/dist/vega/p-999950d1.js +0 -1
- package/dist/vega/p-9e36f7ff.entry.js +0 -1
- package/dist/vega/p-9f9d9a53.entry.js +0 -1
- package/dist/vega/p-ab834f06.js +0 -1
- package/dist/vega/p-b7f3221f.js +0 -1
- package/dist/vega/p-b8c10187.js +0 -1
- package/dist/vega/p-d2fc470e.entry.js +0 -1
- package/dist/vega/p-e841c1fe.entry.js +0 -1
- package/dist/vega/p-faa9a3bd.js +0 -1
|
@@ -30,127 +30,192 @@ export declare class VegaInputPhoneNumber {
|
|
|
30
30
|
host: HTMLVegaInputPhoneNumberElement;
|
|
31
31
|
phoneNumberInputValue: string;
|
|
32
32
|
/**
|
|
33
|
-
* Specifies the label
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* purpose or content expected in the input field.
|
|
33
|
+
* Specifies the visible label text rendered above the phone number input.
|
|
34
|
+
* The label identifies the purpose of the field and serves as the
|
|
35
|
+
* accessible name for screen readers.
|
|
37
36
|
*
|
|
37
|
+
* @default ''
|
|
38
38
|
* @vegaVersion 2.18.0
|
|
39
39
|
*/
|
|
40
40
|
label: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Controls the visual size of the phone number input field.
|
|
43
|
+
*
|
|
44
|
+
* - `'default'` — Standard height, suitable for most form layouts.
|
|
45
|
+
* - `'small'` — Compact height, useful for dense UIs.
|
|
43
46
|
*
|
|
47
|
+
* @default 'default'
|
|
44
48
|
* @vegaVersion 2.18.0
|
|
45
49
|
*/
|
|
46
50
|
size: 'default' | 'small';
|
|
47
51
|
/**
|
|
48
|
-
* Determines whether the phone number input field
|
|
52
|
+
* Determines whether the phone number input field must have a value before
|
|
53
|
+
* the form can be submitted. When `true`, the built-in
|
|
54
|
+
* `InputPhoneNumberRequiredRule` is applied during validation and a
|
|
55
|
+
* required indicator is shown on the label.
|
|
49
56
|
*
|
|
57
|
+
* @default false
|
|
50
58
|
* @vegaVersion 2.18.0
|
|
51
59
|
*/
|
|
52
60
|
required: boolean;
|
|
53
61
|
/**
|
|
54
|
-
*
|
|
62
|
+
* Specifies whether the phone number input field is disabled. When `true`,
|
|
63
|
+
* both the country selector and the phone number text field become
|
|
64
|
+
* non-interactive — the user cannot type, select a country, or focus
|
|
65
|
+
* any part of the component.
|
|
55
66
|
*
|
|
67
|
+
* @default false
|
|
56
68
|
* @vegaVersion 2.18.0
|
|
57
69
|
*/
|
|
58
70
|
disabled: boolean;
|
|
59
71
|
/**
|
|
60
|
-
* Specifies the
|
|
72
|
+
* Specifies the currently selected country using a two-letter uppercase
|
|
73
|
+
* ISO 3166-1 alpha-2 code (e.g., `'US'`, `'GB'`, `'CN'`). The country
|
|
74
|
+
* code determines the flag icon and calling code prefix displayed in the
|
|
75
|
+
* country selector. Changing this value updates the phone number prefix
|
|
76
|
+
* accordingly.
|
|
61
77
|
*
|
|
78
|
+
* @default 'US'
|
|
62
79
|
* @vegaVersion 2.18.0
|
|
63
|
-
* @defaultValue US
|
|
64
80
|
*/
|
|
65
81
|
countryCode: VegaCountryCode;
|
|
66
82
|
watchCountryCode(newCountryCode: VegaCountryCode, oldCountryCode: VegaCountryCode): void;
|
|
67
83
|
/**
|
|
68
|
-
*
|
|
84
|
+
* An array of country codes available for selection in the country
|
|
85
|
+
* dropdown. Each entry must be a two-letter uppercase ISO 3166-1 alpha-2
|
|
86
|
+
* code.
|
|
69
87
|
*
|
|
70
|
-
*
|
|
88
|
+
* By default all 245 supported codes are loaded, but providing a smaller
|
|
89
|
+
* subset improves initial render performance.
|
|
71
90
|
*
|
|
91
|
+
* @default VegaCountryCode[] (all 245 codes)
|
|
72
92
|
* @vegaVersion 2.18.0
|
|
73
|
-
* @defaultValue ['US', 'CN', ...]{@link VegaCountryCode}
|
|
74
93
|
*/
|
|
75
94
|
allowedCountryCodes: VegaCountryCode[];
|
|
76
95
|
/**
|
|
77
|
-
*
|
|
78
|
-
* - `true`:
|
|
79
|
-
* The value property is cleared when the input field is empty.
|
|
80
|
-
* - `false`:
|
|
81
|
-
* The value property is `+1` when no phone number is entered.
|
|
96
|
+
* Controls whether the `value` property can be an empty string.
|
|
82
97
|
*
|
|
98
|
+
* - `true` — The `value` property is cleared to `''` when the user
|
|
99
|
+
* deletes all digits from the input field.
|
|
100
|
+
* - `false` — The `value` property always retains at least the country
|
|
101
|
+
* calling code prefix (e.g., `'+1'` for US) even when no phone number
|
|
102
|
+
* digits have been entered.
|
|
103
|
+
*
|
|
104
|
+
* @default false
|
|
83
105
|
* @vegaVersion 2.35.0
|
|
84
106
|
*/
|
|
85
107
|
emptyValueEnabled: boolean;
|
|
86
108
|
watchEmptyValueEnabled(): void;
|
|
87
109
|
/**
|
|
88
|
-
*
|
|
110
|
+
* The current value of the phone number input in
|
|
111
|
+
* [E.164](https://en.wikipedia.org/wiki/E.164) format (e.g., `'+14155552671'`).
|
|
112
|
+
*
|
|
113
|
+
* This property is mutable and reflected to the host element attribute.
|
|
114
|
+
* It updates as the user types and can be set externally to pre-populate
|
|
115
|
+
* or reset the field. When `emptyValueEnabled` is `false` and no digits
|
|
116
|
+
* have been entered, the value defaults to the country calling code
|
|
117
|
+
* prefix (e.g., `'+1'` for US).
|
|
89
118
|
*
|
|
90
|
-
* @
|
|
91
|
-
* - For example, if the default country code is US, the default value will be `+1`.
|
|
119
|
+
* @default '+1'
|
|
92
120
|
* @vegaVersion 2.18.0
|
|
93
|
-
* @defaultValue +1
|
|
94
121
|
*/
|
|
95
122
|
value: string;
|
|
96
123
|
watchValue(newValue: string, oldValue: string): void;
|
|
97
124
|
/**
|
|
98
|
-
*
|
|
125
|
+
* An array of custom validation rules applied to the phone number input in
|
|
126
|
+
* addition to the built-in rules (`InputPhoneNumberRequiredRule`,
|
|
127
|
+
* `ValidPhoneNumberRule`). Each rule must implement the
|
|
128
|
+
* `FormFieldValidationRule` interface.
|
|
99
129
|
*
|
|
130
|
+
* Rules are evaluated in order when `autoValidation` is enabled or when
|
|
131
|
+
* validation is triggered programmatically.
|
|
132
|
+
*
|
|
133
|
+
* @default []
|
|
100
134
|
* @vegaVersion 2.18.0
|
|
101
135
|
*/
|
|
102
136
|
validationRules: FormFieldValidationRule<unknown>[];
|
|
103
137
|
watchValidationRules(): void;
|
|
104
138
|
/**
|
|
105
|
-
*
|
|
106
|
-
*
|
|
139
|
+
* Reflects the current validation status of the phone number input.
|
|
140
|
+
*
|
|
141
|
+
* - `true` — the field value passes all validation rules.
|
|
142
|
+
* - `false` — one or more validation rules have failed.
|
|
143
|
+
* - `null` — the field has not been validated yet (initial state).
|
|
107
144
|
*
|
|
145
|
+
* This property is mutable: it is updated automatically when
|
|
146
|
+
* `autoValidation` is enabled, but can also be set manually to override
|
|
147
|
+
* the validation state.
|
|
148
|
+
*
|
|
149
|
+
* @default null
|
|
108
150
|
* @vegaVersion 2.18.0
|
|
109
151
|
*/
|
|
110
152
|
isValid: boolean;
|
|
111
153
|
/**
|
|
112
|
-
* Determines whether the phone number input
|
|
113
|
-
*
|
|
154
|
+
* Determines whether the phone number input should be validated
|
|
155
|
+
* automatically as the user interacts with it. When `true`, validation
|
|
156
|
+
* rules (including `required`, `ValidPhoneNumberRule`, and custom
|
|
157
|
+
* `validationRules`) are evaluated and the `isValid` property is updated
|
|
158
|
+
* accordingly.
|
|
159
|
+
*
|
|
160
|
+
* Set to `false` to handle validation manually.
|
|
114
161
|
*
|
|
162
|
+
* @default true
|
|
115
163
|
* @vegaVersion 2.18.0
|
|
116
164
|
*/
|
|
117
165
|
autoValidation: boolean;
|
|
118
166
|
/**
|
|
119
|
-
* Specifies
|
|
120
|
-
*
|
|
167
|
+
* Specifies placeholder text displayed inside the phone number text field
|
|
168
|
+
* when it is empty. The placeholder disappears once the user begins typing
|
|
169
|
+
* and is typically used to indicate the expected format
|
|
170
|
+
* (e.g., `'(555) 555-5555'`).
|
|
121
171
|
*
|
|
172
|
+
* @default undefined
|
|
122
173
|
* @vegaVersion 2.18.0
|
|
123
174
|
*/
|
|
124
175
|
placeholder: string;
|
|
125
176
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
177
|
+
* Supplementary helper message displayed below the phone number input that
|
|
178
|
+
* assists users in understanding the expected value or provides additional
|
|
179
|
+
* context (e.g., `'We will send a verification code to this number'`).
|
|
128
180
|
*
|
|
181
|
+
* @default ''
|
|
129
182
|
* @vegaVersion 2.18.0
|
|
130
183
|
*/
|
|
131
184
|
hint: string;
|
|
132
185
|
/**
|
|
133
|
-
*
|
|
186
|
+
* Fires whenever the phone number value changes — including typing,
|
|
187
|
+
* pasting, or programmatic updates. The event detail contains the full
|
|
188
|
+
* phone number in E.164 format (e.g., `'+14155552671'`).
|
|
134
189
|
*
|
|
190
|
+
* @eventDetail string
|
|
135
191
|
* @vegaVersion 2.18.0
|
|
136
192
|
*/
|
|
137
193
|
vegaChange: EventEmitter<string>;
|
|
138
194
|
/**
|
|
139
|
-
*
|
|
195
|
+
* Native-equivalent mirror of `vegaChange`. Fires with the same payload
|
|
196
|
+
* and at the same time, allowing consumers to listen using the standard
|
|
197
|
+
* `change` event name.
|
|
140
198
|
*
|
|
199
|
+
* @eventDetail string
|
|
141
200
|
* @eventSemantics namespace:native
|
|
142
201
|
* @vegaVersion 2.18.0
|
|
143
202
|
*/
|
|
144
203
|
change: EventEmitter<string>;
|
|
145
204
|
/**
|
|
146
|
-
*
|
|
205
|
+
* Fires whenever the selected country changes via the country dropdown.
|
|
206
|
+
* The event detail contains a `VegaCountryType` object with the country
|
|
207
|
+
* code, calling code, and display name of the newly selected country.
|
|
147
208
|
*
|
|
209
|
+
* @eventDetail VegaCountryType
|
|
148
210
|
* @vegaVersion 2.18.0
|
|
149
211
|
*/
|
|
150
212
|
vegaCountryChange: EventEmitter<VegaCountryType>;
|
|
151
213
|
/**
|
|
152
|
-
*
|
|
214
|
+
* Native-equivalent mirror of `vegaCountryChange`. Fires with the same
|
|
215
|
+
* payload and at the same time, allowing consumers to listen using the
|
|
216
|
+
* standard `countryChange` event name.
|
|
153
217
|
*
|
|
218
|
+
* @eventDetail VegaCountryType
|
|
154
219
|
* @eventSemantics namespace:native
|
|
155
220
|
* @vegaVersion 2.18.0
|
|
156
221
|
*/
|
|
@@ -10,6 +10,7 @@ export declare class VegaInputRangeInputRenderer extends VegaSlimmer {
|
|
|
10
10
|
protected max: VegaInputRange['max'];
|
|
11
11
|
protected size: VegaInputRange['size'];
|
|
12
12
|
protected placeholder: VegaInputRange['placeholder'];
|
|
13
|
+
protected label: VegaInputRange['label'];
|
|
13
14
|
protected showClearIcon: VegaInputRange['showClearIcon'];
|
|
14
15
|
protected valueController: VegaInputRange['valueController'];
|
|
15
16
|
protected clearIconRenderer: VegaInputRange['clearIconRenderer'];
|
|
@@ -54,6 +55,13 @@ export declare class VegaInputRangeInputRenderer extends VegaSlimmer {
|
|
|
54
55
|
* @returns {string} the input placeholder text
|
|
55
56
|
*/
|
|
56
57
|
private getPlaceholderByIndex;
|
|
58
|
+
/**
|
|
59
|
+
* Get the data aria label for the input range input by the input range index
|
|
60
|
+
*
|
|
61
|
+
* @param {number} index the range index 0|1
|
|
62
|
+
* @returns {string} the data aria label for the input range input
|
|
63
|
+
*/
|
|
64
|
+
private getDataAriaLabel;
|
|
57
65
|
/**
|
|
58
66
|
* get the input value by the input range index
|
|
59
67
|
*
|
|
@@ -80,11 +80,11 @@ export declare class VegaInputSelect {
|
|
|
80
80
|
* Allows customization of the text displayed within the
|
|
81
81
|
* select field when single or multiple items are selected.
|
|
82
82
|
* The default format for the selected label is
|
|
83
|
-
*
|
|
83
|
+
* `{0} Selected` for multiple mode only.
|
|
84
84
|
*
|
|
85
85
|
* To enable all modes, use the `SelectedLabelTypeForAllModes` type.
|
|
86
86
|
* For single mode, the default format is the `displayName` of the selected item if not set
|
|
87
|
-
* For multiple mode, the default format is
|
|
87
|
+
* For multiple mode, the default format is `{0} Selected` if not set
|
|
88
88
|
*
|
|
89
89
|
* @vegaVersion 1.35.0
|
|
90
90
|
*/
|
|
@@ -4,7 +4,7 @@ export declare class SourceEditToolbarButtonSlimmer extends ToolbarButtonSlimmer
|
|
|
4
4
|
sourceView: VegaRichTextEditor['sourceView'];
|
|
5
5
|
selectionController: VegaRichTextEditor['selectionController'];
|
|
6
6
|
valueController: VegaRichTextEditor['valueController'];
|
|
7
|
-
|
|
7
|
+
richTextEditorSourceViewRenderer: VegaRichTextEditor['richTextEditorSourceViewRenderer'];
|
|
8
8
|
sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
|
|
9
9
|
value: VegaRichTextEditor['value'];
|
|
10
10
|
constructor();
|
|
@@ -16,10 +16,10 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
|
16
16
|
sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
|
|
17
17
|
allowSourceEdit: VegaRichTextEditor['allowSourceEdit'];
|
|
18
18
|
extensions: VegaRichTextEditor['extensions'];
|
|
19
|
+
richTextEditorSourceViewRenderer: VegaRichTextEditor['richTextEditorSourceViewRenderer'];
|
|
19
20
|
private richTextContainerRef;
|
|
20
21
|
private richTextContentRef;
|
|
21
22
|
private richTextWrapperRef;
|
|
22
|
-
private sourceCodeBlockRef;
|
|
23
23
|
/**
|
|
24
24
|
* Component lifecycle - [componentDidRender]{@link VegaRichTextEditor.componentDidRender}
|
|
25
25
|
*/
|
|
@@ -48,7 +48,6 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
|
48
48
|
* @returns {Nullable<HTMLDivElement>} The div element which has property contenteditable
|
|
49
49
|
*/
|
|
50
50
|
getRTEEditableElementRef(): Nullable<HTMLDivElement>;
|
|
51
|
-
getSourceCode(): Nullable<string>;
|
|
52
51
|
render(): VegaRichTextEditor;
|
|
53
52
|
private renderRichTextEditor;
|
|
54
53
|
private renderLabel;
|
|
@@ -57,6 +56,5 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
|
57
56
|
private renderCharacterCounter;
|
|
58
57
|
private renderErrorMessage;
|
|
59
58
|
private richTextContentFocus;
|
|
60
|
-
private renderSourceViewContent;
|
|
61
59
|
private renderContent;
|
|
62
60
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { VegaSlimmer } from '../../../../vega-slimmer/vega-slimmer-core';
|
|
2
|
+
import { VegaRichTextEditor } from '../../vega-rich-text-editor';
|
|
3
|
+
import { Nullable } from '../../../../types/general';
|
|
4
|
+
/**
|
|
5
|
+
* The renderer for the source view of the rich text editor. It renders a code block for editing the source code of the rich text editor content.
|
|
6
|
+
*/
|
|
7
|
+
export declare class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
|
|
8
|
+
host: VegaRichTextEditor['host'];
|
|
9
|
+
allowSourceEdit: VegaRichTextEditor['allowSourceEdit'];
|
|
10
|
+
sourceView: VegaRichTextEditor['sourceView'];
|
|
11
|
+
value: VegaRichTextEditor['value'];
|
|
12
|
+
disabled: VegaRichTextEditor['disabled'];
|
|
13
|
+
sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
|
|
14
|
+
sourceCodeChangeEventEmitter: VegaRichTextEditor['sourceCodeChangeEventEmitter'];
|
|
15
|
+
private sourceCodeBlockRef;
|
|
16
|
+
private prevRecord;
|
|
17
|
+
/**
|
|
18
|
+
* Clean up the code block blur observer when the component is disconnected to prevent memory leaks.
|
|
19
|
+
*/
|
|
20
|
+
clearCodeBlockBlurObserver(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Get the source code from the source view's code block.
|
|
23
|
+
*
|
|
24
|
+
* @returns {Nullable<string>} The source code, or null if the code block reference is not set.
|
|
25
|
+
*/
|
|
26
|
+
getSourceCode(): Nullable<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Render the source view, which is a code block for editing the source code of the rich text editor content.
|
|
29
|
+
*
|
|
30
|
+
* @returns {Nullable<HTMLElement>} The rendered source view element, or null if source editing is not allowed.
|
|
31
|
+
*/
|
|
32
|
+
render(): Nullable<HTMLElement>;
|
|
33
|
+
/**
|
|
34
|
+
* Handle the blur event of the code block. When the code block loses focus, emit the source code change event with the current source code.
|
|
35
|
+
*/
|
|
36
|
+
private handleCodeBlockBlur;
|
|
37
|
+
}
|
|
@@ -44,6 +44,7 @@ import { InternalCodeBlockSelectionController } from './slimmers/controllers/int
|
|
|
44
44
|
import { SourceEditToolbarButtonSlimmer } from './slimmers/renderers/tools/source-edit-toolbar-button-slimmer';
|
|
45
45
|
import { VegaRTEExtension } from './extensions/extension.abstract';
|
|
46
46
|
import { RTEExtensionController } from './slimmers/controllers/extension-controller';
|
|
47
|
+
import { VegaRichTextEditorSourceViewRenderer } from './slimmers/renderers/vega-rich-text-editor-source-view-renderer';
|
|
47
48
|
/**
|
|
48
49
|
* @vegaVersion 2.34.0
|
|
49
50
|
*/
|
|
@@ -88,6 +89,8 @@ export declare class VegaRichTextEditor {
|
|
|
88
89
|
protected readonly historyController: HistoryController;
|
|
89
90
|
protected readonly internalCodeBlockSelectionController: InternalCodeBlockSelectionController;
|
|
90
91
|
protected readonly rteExtensionController: RTEExtensionController;
|
|
92
|
+
protected readonly sourceCodeChangeEventEmitter: EventEmitSlimmerBase;
|
|
93
|
+
protected readonly richTextEditorSourceViewRenderer: VegaRichTextEditorSourceViewRenderer;
|
|
91
94
|
host: HTMLVegaRichTextEditorElement;
|
|
92
95
|
richTextContentEditable: boolean;
|
|
93
96
|
watchRichTextContentEditable(): void;
|
|
@@ -222,6 +225,19 @@ export declare class VegaRichTextEditor {
|
|
|
222
225
|
* @vegaVersion 2.34.0
|
|
223
226
|
*/
|
|
224
227
|
imageInserted: EventEmitter<VegaRichTextEditorImage>;
|
|
228
|
+
/**
|
|
229
|
+
* An event emitter notifying a source code change event. It triggers when the editor loses focus in source edit mode.
|
|
230
|
+
*
|
|
231
|
+
* @vegaVersion 2.78.0
|
|
232
|
+
*/
|
|
233
|
+
vegaSourceCodeChange: EventEmitter<string>;
|
|
234
|
+
/**
|
|
235
|
+
* An event emitter notifying a source code change event. It triggers when the editor loses focus in source edit mode.
|
|
236
|
+
*
|
|
237
|
+
* @eventSemantics namespace:native
|
|
238
|
+
* @vegaVersion 2.78.0
|
|
239
|
+
*/
|
|
240
|
+
sourceCodeChange: EventEmitter<string>;
|
|
225
241
|
componentWillLoad(): void;
|
|
226
242
|
render(): VegaRichTextEditor;
|
|
227
243
|
}
|
|
@@ -23,154 +23,236 @@ export declare class VegaTextarea {
|
|
|
23
23
|
host: HTMLVegaTextareaElement;
|
|
24
24
|
currentCharCount: number;
|
|
25
25
|
/**
|
|
26
|
-
* Specifies a placeholder string that displays as a
|
|
27
|
-
*
|
|
26
|
+
* Specifies a placeholder string that displays as a temporary hint or
|
|
27
|
+
* example within the text area. The placeholder text is shown when the
|
|
28
|
+
* field is empty and disappears once the user begins typing.
|
|
28
29
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
30
|
+
* Use this to indicate the expected format or content of the input,
|
|
31
|
+
* for example `'Enter your comments here...'`.
|
|
31
32
|
*
|
|
33
|
+
* @default ''
|
|
32
34
|
* @vegaVersion 1.11.0
|
|
33
35
|
*/
|
|
34
36
|
placeholder: string;
|
|
35
37
|
/**
|
|
36
|
-
* Provides a supplementary
|
|
37
|
-
*
|
|
38
|
+
* Provides a supplementary helper message displayed below the text area
|
|
39
|
+
* that assists users in understanding the expected value or format.
|
|
38
40
|
*
|
|
41
|
+
* The hint is visible at all times (not just on focus) and is typically
|
|
42
|
+
* used for guidance such as character requirements or formatting rules.
|
|
43
|
+
*
|
|
44
|
+
* @default ''
|
|
39
45
|
* @vegaVersion 1.11.0
|
|
40
46
|
*/
|
|
41
47
|
hint: string;
|
|
42
48
|
/**
|
|
43
|
-
* Specifies whether the text area is disabled.
|
|
49
|
+
* Specifies whether the text area is disabled. When `true`, the text area
|
|
50
|
+
* is non-interactive — the user cannot type, focus, or select the field.
|
|
51
|
+
* The disabled state is reflected as an HTML attribute for CSS styling.
|
|
44
52
|
*
|
|
53
|
+
* @default false
|
|
45
54
|
* @vegaVersion 1.11.0
|
|
46
55
|
*/
|
|
47
56
|
disabled: boolean;
|
|
48
57
|
/**
|
|
49
|
-
* Specifies the label
|
|
58
|
+
* Specifies the visible label text rendered above the text area. The label
|
|
59
|
+
* helps identify the purpose or content expected within the field and also
|
|
60
|
+
* serves as the accessible `aria-label` for screen readers when present.
|
|
50
61
|
*
|
|
51
|
-
*
|
|
52
|
-
* purpose or content expected within the text area.
|
|
62
|
+
* Clicking the label will focus the text area.
|
|
53
63
|
*
|
|
64
|
+
* @default ''
|
|
54
65
|
* @vegaVersion 1.11.0
|
|
55
66
|
*/
|
|
56
67
|
label: string;
|
|
57
68
|
/**
|
|
58
|
-
*
|
|
69
|
+
* Configuration object for an optional suffix button rendered beside the
|
|
70
|
+
* field label. Use this to provide an inline action (e.g., a help or info
|
|
71
|
+
* button) next to the label text.
|
|
59
72
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
73
|
+
* When the button is clicked, the `vegaLabelButtonClick` event is emitted.
|
|
74
|
+
* Set to `null` to hide the suffix button.
|
|
62
75
|
*
|
|
76
|
+
* @default null
|
|
63
77
|
* @vegaVersion 2.68.0
|
|
64
78
|
*/
|
|
65
79
|
labelSuffixButtonConfig: Nullable<LabelSuffixButtonConfig>;
|
|
66
80
|
/**
|
|
67
|
-
* Determines whether to display a character counter
|
|
68
|
-
*
|
|
81
|
+
* Determines whether to display a live character counter below the text area.
|
|
82
|
+
*
|
|
83
|
+
* When `true`, the counter shows the current character count. If `maxLength`
|
|
84
|
+
* is also set, the counter displays in the format `current/max` and visually
|
|
85
|
+
* highlights when the limit is exceeded.
|
|
69
86
|
*
|
|
87
|
+
* @default false
|
|
70
88
|
* @vegaVersion 1.11.0
|
|
71
89
|
*/
|
|
72
90
|
showCounter: boolean;
|
|
73
91
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
92
|
+
* The current value (content) of the text area field.
|
|
93
|
+
*
|
|
94
|
+
* This property is mutable and will be updated programmatically when the
|
|
95
|
+
* user types into the text area. It can also be set externally to
|
|
96
|
+
* pre-populate or reset the field. Changes to this property trigger the
|
|
97
|
+
* `vegaChange` event and update the character counter if `showCounter`
|
|
98
|
+
* is enabled. Supports two-way binding in framework wrappers.
|
|
76
99
|
*
|
|
100
|
+
* @default ''
|
|
77
101
|
* @vegaVersion 1.11.0
|
|
78
102
|
*/
|
|
79
103
|
value: string;
|
|
80
104
|
watchValue(value: string): void;
|
|
81
105
|
/**
|
|
82
|
-
*
|
|
83
|
-
* text area component.
|
|
106
|
+
* Reflects the current validation status of the text area.
|
|
84
107
|
*
|
|
108
|
+
* - `true` — the field value passes all validation rules.
|
|
109
|
+
* - `false` — one or more validation rules have failed.
|
|
110
|
+
* - `null` — the field has not been validated yet (initial state).
|
|
111
|
+
*
|
|
112
|
+
* This property is mutable: it is updated automatically when
|
|
113
|
+
* `autoValidation` is enabled, but can also be set manually to override
|
|
114
|
+
* the validation state. The value is reflected as an HTML attribute.
|
|
115
|
+
*
|
|
116
|
+
* @default null
|
|
85
117
|
* @vegaVersion 1.11.0
|
|
86
118
|
*/
|
|
87
119
|
isValid: boolean;
|
|
88
120
|
/**
|
|
89
|
-
* Determines whether
|
|
90
|
-
*
|
|
121
|
+
* Determines whether the text area should be validated automatically as the
|
|
122
|
+
* user types. When `true`, validation rules (including `required`, `minLength`,
|
|
123
|
+
* `maxLength`, and custom `validationRules`) are evaluated on blur and the
|
|
124
|
+
* `isValid` property is updated accordingly.
|
|
125
|
+
*
|
|
126
|
+
* Set to `false` to handle validation manually.
|
|
91
127
|
*
|
|
128
|
+
* @default true
|
|
92
129
|
* @vegaVersion 1.11.0
|
|
93
130
|
*/
|
|
94
131
|
autoValidation: boolean;
|
|
95
132
|
/**
|
|
96
|
-
* Determines whether the
|
|
97
|
-
*
|
|
98
|
-
*
|
|
133
|
+
* Determines whether the text area must have a non-empty value before the
|
|
134
|
+
* form can be submitted. When `true`, a required-field indicator is shown
|
|
135
|
+
* on the label and the built-in `RequiredFieldRule` is applied during
|
|
136
|
+
* validation.
|
|
99
137
|
*
|
|
138
|
+
* @default false
|
|
100
139
|
* @vegaVersion 1.11.0
|
|
101
140
|
*/
|
|
102
141
|
required: boolean;
|
|
103
142
|
/**
|
|
104
|
-
* Specifies the maximum number of characters (UTF-16 code units)
|
|
105
|
-
*
|
|
143
|
+
* Specifies the maximum number of characters (UTF-16 code units) that the
|
|
144
|
+
* user can enter in the text area. The native `maxlength` attribute is
|
|
145
|
+
* applied to the inner `<textarea>` element.
|
|
106
146
|
*
|
|
147
|
+
* When `showCounter` is `true`, the maximum value is displayed alongside
|
|
148
|
+
* the current character count (e.g., `42/200`). Exceeding this limit
|
|
149
|
+
* triggers a visual warning on the counter and fails the
|
|
150
|
+
* `MaxStringLengthRule` during validation.
|
|
151
|
+
*
|
|
152
|
+
* Set to `null` to allow unlimited input.
|
|
153
|
+
*
|
|
154
|
+
* @default null
|
|
107
155
|
* @vegaVersion 1.11.0
|
|
108
156
|
*/
|
|
109
157
|
maxLength: number;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
158
|
+
/**
|
|
159
|
+
* Specifies the minimum number of characters (UTF-16 code units) that the
|
|
160
|
+
* user must enter in the text area for the value to be considered valid.
|
|
161
|
+
* The native `minlength` attribute is applied to the inner `<textarea>`
|
|
162
|
+
* element.
|
|
112
163
|
*
|
|
164
|
+
* When set, the `MinStringLengthRule` is applied during validation. Set to
|
|
165
|
+
* `null` to impose no minimum length.
|
|
166
|
+
*
|
|
167
|
+
* @default null
|
|
113
168
|
* @vegaVersion 1.11.0
|
|
114
169
|
*/
|
|
115
170
|
minLength: number;
|
|
116
171
|
/**
|
|
117
|
-
* Determines whether the text area
|
|
172
|
+
* Determines whether the user can vertically resize the text area by
|
|
173
|
+
* dragging its bottom-right corner. When `false`, the resize handle is
|
|
174
|
+
* hidden via CSS and the text area height is fixed.
|
|
118
175
|
*
|
|
176
|
+
* @default true
|
|
119
177
|
* @vegaVersion 2.19.0
|
|
120
178
|
*/
|
|
121
179
|
resizable: boolean;
|
|
122
180
|
/**
|
|
123
|
-
* Specifies the number of visible lines in the
|
|
181
|
+
* Specifies the number of visible text lines in the text area, controlling
|
|
182
|
+
* its initial height. Accepts integers ≥ 2. For optimal display, values
|
|
183
|
+
* below 2 are internally adjusted to 4 rows.
|
|
124
184
|
*
|
|
185
|
+
* @default 5
|
|
125
186
|
* @vegaVersion 2.63.0
|
|
126
187
|
*/
|
|
127
188
|
rows: number;
|
|
128
189
|
/**
|
|
129
|
-
*
|
|
190
|
+
* An array of custom validation rules applied to the text area in addition
|
|
191
|
+
* to the built-in rules (`RequiredFieldRule`, `MinStringLengthRule`,
|
|
192
|
+
* `MaxStringLengthRule`). Each rule must implement the
|
|
193
|
+
* `FormFieldValidationRule` interface.
|
|
194
|
+
*
|
|
195
|
+
* Rules are evaluated in order when `autoValidation` is enabled or when
|
|
196
|
+
* validation is triggered programmatically.
|
|
130
197
|
*
|
|
198
|
+
* @default []
|
|
131
199
|
* @vegaVersion 1.11.0
|
|
132
200
|
*/
|
|
133
201
|
validationRules: FormFieldValidationRule<unknown>[];
|
|
134
202
|
watchValidationRules(): void;
|
|
135
203
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
204
|
+
* Fired whenever the text area value changes, whether by user input or
|
|
205
|
+
* programmatic update of the `value` property. This is the primary event
|
|
206
|
+
* for reacting to content changes and implementing two-way binding.
|
|
138
207
|
*
|
|
208
|
+
* @eventDetail string — The updated text area value.
|
|
139
209
|
* @vegaVersion 1.11.0
|
|
140
210
|
*/
|
|
141
211
|
vegaChange: EventEmitter<string>;
|
|
142
212
|
/**
|
|
143
|
-
*
|
|
144
|
-
*
|
|
213
|
+
* Native-namespace mirror of `vegaChange`. Fired whenever the text area
|
|
214
|
+
* value changes. Provided for compatibility with standard DOM event
|
|
215
|
+
* listeners.
|
|
145
216
|
*
|
|
217
|
+
* @eventDetail string — The updated text area value.
|
|
146
218
|
* @eventSemantics namespace:native
|
|
147
219
|
* @vegaVersion 2.0.0
|
|
148
220
|
*/
|
|
149
221
|
change: EventEmitter<string>;
|
|
150
222
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
223
|
+
* Fired when the inner `<textarea>` element loses focus (blur). Use this
|
|
224
|
+
* event to trigger validation or save actions when the user leaves the
|
|
225
|
+
* text area.
|
|
153
226
|
*
|
|
227
|
+
* @eventDetail undefined — No payload; signals the blur occurrence only.
|
|
154
228
|
* @vegaVersion 1.11.0
|
|
155
229
|
*/
|
|
156
230
|
vegaBlur: EventEmitter<undefined>;
|
|
157
231
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
232
|
+
* Native-namespace mirror of `vegaBlur`. Fired when the inner `<textarea>`
|
|
233
|
+
* element loses focus. Provided for compatibility with standard DOM event
|
|
234
|
+
* listeners.
|
|
160
235
|
*
|
|
236
|
+
* @eventDetail undefined — No payload; signals the blur occurrence only.
|
|
161
237
|
* @eventSemantics namespace:native
|
|
162
238
|
* @vegaVersion 2.0.0
|
|
163
239
|
*/
|
|
164
240
|
blur: EventEmitter<undefined>;
|
|
165
241
|
/**
|
|
166
|
-
*
|
|
242
|
+
* Fired when the suffix button configured via `labelSuffixButtonConfig` is
|
|
243
|
+
* clicked. Listen for this event to handle inline label actions such as
|
|
244
|
+
* opening a help dialog or toggling additional information.
|
|
167
245
|
*
|
|
246
|
+
* @eventDetail void
|
|
168
247
|
* @vegaVersion 2.68.0
|
|
169
248
|
*/
|
|
170
249
|
vegaLabelButtonClick: EventEmitter;
|
|
171
250
|
/**
|
|
172
|
-
*
|
|
251
|
+
* Native-namespace mirror of `vegaLabelButtonClick`. Fired when the label
|
|
252
|
+
* suffix button is clicked. Provided for compatibility with standard DOM
|
|
253
|
+
* event listeners.
|
|
173
254
|
*
|
|
255
|
+
* @eventDetail void
|
|
174
256
|
* @eventSemantics namespace:native
|
|
175
257
|
* @vegaVersion 2.68.0
|
|
176
258
|
*/
|