@globalpayments/vega 2.89.0 → 2.91.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-4872f4e6.js → app-globals-7bb10088.js} +21 -11
- package/dist/cjs/{aria-dialog-focusable-trap-slimmer-a0ff1263.js → aria-dialog-focusable-trap-slimmer-73b4c0cb.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-85a7fdb0.js → child-nodes-event-prevent-slimmer-76d19d56.js} +2 -2
- package/dist/cjs/{code-block-7c49d175.js → code-block-c1039791.js} +9 -3
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-aae22ddf.js → component-value-history-controller-slimmer.abstract-1d36641d.js} +59 -4
- package/dist/cjs/{content-state-76b81780.js → content-state-a6105949.js} +3 -3
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-122350c3.js → create-public-api-runtime-metrics-slimmer-91b0cbfb.js} +3 -2
- package/dist/cjs/{date-required-rule-71f71b32.js → date-required-rule-c4997459.js} +1 -1
- package/dist/cjs/{design-token-c80d3f32.js → design-token-f65eab4a.js} +4 -4
- package/dist/cjs/{element-appender-slimmer-e95427b5.js → element-appender-slimmer-316668d0.js} +4 -4
- package/dist/cjs/{event-emit-slimmer-146316b2.js → event-emit-slimmer-5bab10c2.js} +1 -1
- package/dist/cjs/{feature-flag-controller-5fa21654.js → feature-flag-controller-438a1510.js} +12 -0
- package/dist/cjs/{file-uploader-required-rule-313ec9e3.js → file-uploader-required-rule-cc51d4ab.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-430b4f02.js → form-field-controller-slimmer-b0c35330.js} +3 -3
- package/dist/cjs/{icon-manager-e855446d.js → icon-manager-be358b32.js} +2 -2
- package/dist/cjs/{image-annotation-action-7959fd77.js → image-annotation-action-e4596726.js} +28 -4
- package/dist/cjs/index-58ea899e.js +4 -4
- package/dist/cjs/index.cjs.js +32 -30
- package/dist/cjs/{inject-keyboard-manager-3ccf1cb6.js → inject-keyboard-manager-1f5bbb19.js} +1 -1
- package/dist/cjs/internal-calendar-period-factory-9c66cf36.js +78 -0
- package/dist/cjs/{internal-icon-manager-66c48800.js → internal-icon-manager-40bcac72.js} +1 -1
- package/dist/cjs/{internal-translation-controller-5582d789.js → internal-translation-controller-5905469e.js} +9 -0
- package/dist/cjs/{internal-vega-event-manager-6e49d1ca.js → internal-vega-event-manager-7196a847.js} +3 -1
- package/dist/cjs/{keyboard-manager-5babfda8.js → keyboard-manager-61e8ce38.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-a73354ca.js → keyboard-manager-slimmer-079a7e87.js} +1 -1
- package/dist/cjs/{legend-input-processor-1e53e5bc.js → legend-input-processor-ce9b38f8.js} +1 -1
- package/dist/cjs/link-extension-a7ac28f3.js +583 -0
- package/dist/cjs/loader.cjs.js +21 -21
- package/dist/cjs/month-view-generator-48215a05.js +33 -0
- package/dist/cjs/{public-rules-b23ab52d.js → public-rules-66540638.js} +13 -11
- package/dist/cjs/{range-abe1b989.js → range-dea19a90.js} +1 -1
- package/dist/cjs/{replace-selected-text-action-ef079fed.js → replace-selected-text-action-6d1ebbf9.js} +1 -1
- package/dist/cjs/{required-field-rule-d73c1d8c.js → required-field-rule-b12a29e1.js} +10 -1
- package/dist/cjs/{responsive-format-facade-cc368403.js → responsive-format-facade-10ff730e.js} +2 -2
- package/dist/cjs/{rich-text-editor-required-rule-bbd727a2.js → rich-text-editor-required-rule-63492ca3.js} +1 -1
- package/dist/cjs/{split-cell-operation-b1fe91b5.js → split-cell-operation-30e5dd4a.js} +5 -5
- package/dist/cjs/{state-border-formatter-398134c1.js → state-border-formatter-e7779964.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-67421e2b.js → string-format-strategy.abstract-a22f0cb1.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-e84530b9.js → string-input-formatter-slimmer-8179eb40.js} +3 -3
- package/dist/cjs/{string-mask-strategy-f9806f9b.js → string-mask-strategy-8b9bb0c1.js} +2 -2
- package/dist/cjs/{style-formatter-da3a556b.js → style-formatter-380b9a86.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-450277b6.js → sub-state-notify-slimmer-18891389.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-5bfe8e97.js → sub-state-observer-slimmer-eee2f0ae.js} +1 -1
- package/dist/cjs/{time-required-rule-618109fa.js → time-required-rule-080d975b.js} +1 -1
- package/dist/cjs/{token-extension-dfee303a.js → token-extension-619379a3.js} +150 -502
- package/dist/cjs/{translation-slimmer-1a7a2b6d.js → translation-slimmer-2af6f141.js} +17 -1
- package/dist/cjs/{type-guard-474dec0d.js → type-guard-0171e779.js} +119 -4
- package/dist/cjs/{typography-4560e7f1.js → typography-3ea4fe41.js} +10 -10
- package/dist/cjs/{valid-credit-card-number-rule-00c18527.js → valid-credit-card-number-rule-fdfca83e.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +14 -14
- package/dist/cjs/vega-app-footer.cjs.entry.js +61 -7
- package/dist/cjs/vega-app-header-button.cjs.entry.js +14 -14
- package/dist/cjs/vega-banner.cjs.entry.js +7 -7
- package/dist/cjs/vega-bar-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-brand-logo.cjs.entry.js +3 -3
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-circle.cjs.entry.js +12 -12
- package/dist/cjs/vega-button-group_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
- package/dist/cjs/vega-button.cjs.entry.js +10 -10
- package/dist/cjs/{vega-calendar_4.cjs.entry.js → vega-calendar_5.cjs.entry.js} +669 -398
- package/dist/cjs/vega-card.cjs.entry.js +7 -7
- package/dist/cjs/vega-carousel.cjs.entry.js +8 -8
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +22 -15
- package/dist/cjs/vega-chip.cjs.entry.js +11 -11
- package/dist/cjs/vega-code-block.cjs.entry.js +18 -18
- package/dist/cjs/vega-color-picker.cjs.entry.js +10 -8
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +15 -15
- package/dist/cjs/vega-color-swatch.cjs.entry.js +5 -5
- package/dist/cjs/vega-combo-box.cjs.entry.js +18 -18
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +26 -26
- package/dist/cjs/{vega-dialog-controller-6df7825e.js → vega-dialog-controller-16be85d5.js} +2 -2
- 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-37c1716f.js → vega-event-id-df22d80e.js} +2 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +6 -6
- package/dist/cjs/vega-file-uploader.cjs.entry.js +15 -13
- package/dist/cjs/vega-flag-icon.cjs.entry.js +10 -10
- package/dist/cjs/vega-flex.cjs.entry.js +8 -8
- package/dist/cjs/vega-font.cjs.entry.js +14 -8
- package/dist/cjs/vega-form.cjs.entry.js +12 -12
- package/dist/cjs/vega-grid.cjs.entry.js +7 -7
- package/dist/cjs/vega-icon.cjs.entry.js +9 -9
- package/dist/cjs/vega-image-uploader.cjs.entry.js +17 -17
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +29 -19
- package/dist/cjs/vega-input-numeric.cjs.entry.js +15 -15
- package/dist/cjs/vega-input-passcode.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +15 -15
- package/dist/cjs/vega-input-range.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-select.cjs.entry.js +19 -27
- package/dist/cjs/vega-input.cjs.entry.js +19 -17
- package/dist/cjs/{vega-internal-event-id-e138d4d6.js → vega-internal-event-id-ecc5b87a.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +18 -18
- package/dist/cjs/vega-line-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +5 -5
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination.cjs.entry.js +11 -11
- package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +15 -15
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-radio_2.cjs.entry.js +27 -20
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +72 -40
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +90 -45
- package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +17 -17
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +28 -15
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +14 -14
- package/dist/cjs/vega-signature-capture.cjs.entry.js +18 -18
- package/dist/cjs/vega-stepper.cjs.entry.js +9 -9
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +13 -10
- package/dist/cjs/vega-table_11.cjs.entry.js +16 -16
- package/dist/cjs/vega-textarea.cjs.entry.js +11 -11
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +17 -17
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +7 -7
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/vega.cjs.js +21 -21
- package/dist/cjs/{wait-for-component-did-render-762084fc.js → wait-for-component-did-render-02ca4bee.js} +1 -1
- package/dist/cjs/{y-axis-input-processor-54a26515.js → y-axis-input-processor-d3a3839c.js} +1 -1
- package/dist/collection/collection-manifest.json +10 -8
- package/dist/collection/components/vega-app-footer/slimmers/renderers/vega-app-footer-additional-links-renderer.js +45 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +63 -12
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +21 -24
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +13 -79
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-current-period-controller.js +153 -0
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-state-controller.js +32 -0
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/renderers/vega-calendar-period-renderer.js +55 -0
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.css +20 -0
- package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.js +309 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +0 -9
- package/dist/collection/components/vega-calendar/vega-calendar.js +73 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +8 -11
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +35 -7
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +1 -1
- package/dist/collection/components/vega-field-label/vega-field-label.js +2 -2
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +7 -0
- package/dist/collection/components/vega-font/vega-font.css +72 -10
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +35 -1
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +1 -9
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +8 -11
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +35 -7
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +3 -1
- package/dist/collection/components/vega-rich-text-editor/constants/constant.js +5 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.js +36 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +15 -12
- package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +11 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-toolbar-button-renderer.js +30 -16
- package/dist/collection/components/vega-rich-text-editor/extensions/line-height/line-height-toolbar-button-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/link/link-extension.js +34 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/link/type.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/link/utils.js +22 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/rte-extension-state-store.js +37 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.js +5 -3
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +10 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +2 -2
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +42 -11
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +13 -4
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +4 -1
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +34 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +4 -2
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +5 -4
- package/dist/collection/constants/tokens/typography.js +10 -10
- package/dist/collection/constants/ui.js +1 -0
- package/dist/collection/global/scripts/before-vega-load.js +10 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +9 -0
- package/dist/collection/helpers/calendar/calendar-period/internal-calendar-period-factory.js +76 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +9 -0
- package/dist/collection/helpers/calendar/calendar-period/vega-calendar-period-factory.js +19 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +14 -0
- package/dist/collection/helpers/calendar/index.js +1 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +1 -1
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +1 -1
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +3 -1
- 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/event-manager/vega-event-manager.js +1 -1
- package/dist/collection/helpers/feature-control/feature-flags-map.js +12 -0
- package/dist/collection/helpers/icon/icon-manager.js +1 -1
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +1 -1
- package/dist/collection/helpers/notify/vega-notify-controller.js +1 -1
- package/dist/collection/helpers/public-api.js +1 -0
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +1 -1
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +3 -2
- package/dist/collection/helpers/slimmers/translation/translation-slimmer.js +16 -0
- package/dist/collection/helpers/theme/theme-manager.js +1 -1
- package/dist/collection/helpers/translation/locales/en.js +9 -0
- package/dist/collection/helpers/translation/translation.js +1 -1
- package/dist/collection/helpers/validator/rules/required-field-rule.js +10 -1
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +1 -1
- package/dist/esm/{app-globals-081bbfd9.js → app-globals-6041f52f.js} +21 -11
- package/dist/esm/{aria-dialog-focusable-trap-slimmer-7db3d5a7.js → aria-dialog-focusable-trap-slimmer-1332c071.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-1e3ac106.js → child-nodes-event-prevent-slimmer-50022584.js} +2 -2
- package/dist/esm/{code-block-17f596fc.js → code-block-37294847.js} +9 -4
- package/dist/esm/{component-value-history-controller-slimmer.abstract-21e9126a.js → component-value-history-controller-slimmer.abstract-45ccddc9.js} +59 -4
- package/dist/esm/{content-state-96741bb0.js → content-state-67950b80.js} +4 -4
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-da6615bf.js → create-public-api-runtime-metrics-slimmer-48f85199.js} +3 -2
- package/dist/esm/{date-required-rule-d6ce832c.js → date-required-rule-958cf380.js} +1 -1
- package/dist/esm/{design-token-0a575bf2.js → design-token-e7e78f18.js} +4 -4
- package/dist/esm/{element-appender-slimmer-44bbb5c6.js → element-appender-slimmer-ebda526d.js} +4 -4
- package/dist/esm/{event-emit-slimmer-3eb4d8ad.js → event-emit-slimmer-b94cec83.js} +1 -1
- package/dist/esm/{feature-flag-controller-5ebc0cec.js → feature-flag-controller-2a89f20c.js} +12 -0
- package/dist/esm/{file-uploader-required-rule-ad886d01.js → file-uploader-required-rule-82188a61.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-03894a51.js → form-field-controller-slimmer-0a2ba886.js} +3 -3
- package/dist/esm/{icon-manager-691c8682.js → icon-manager-4ef3f6dd.js} +2 -2
- package/dist/esm/{image-annotation-action-e8ab7b64.js → image-annotation-action-7f7a5678.js} +28 -5
- package/dist/esm/index-090d31ca.js +4 -4
- package/dist/esm/index.js +28 -28
- package/dist/esm/{inject-keyboard-manager-e5874185.js → inject-keyboard-manager-2b19c121.js} +1 -1
- package/dist/esm/internal-calendar-period-factory-fff8aaee.js +76 -0
- package/dist/esm/{internal-icon-manager-276f968f.js → internal-icon-manager-e7c57096.js} +1 -1
- package/dist/esm/{internal-translation-controller-84958bc9.js → internal-translation-controller-aa09ca87.js} +9 -0
- package/dist/esm/{internal-vega-event-manager-a9758b6e.js → internal-vega-event-manager-956cf128.js} +3 -1
- package/dist/esm/{keyboard-manager-404b9c17.js → keyboard-manager-3e5b157f.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-c8fcfe60.js → keyboard-manager-slimmer-ba5cc767.js} +1 -1
- package/dist/esm/{legend-input-processor-122008c5.js → legend-input-processor-3b2de4b7.js} +1 -1
- package/dist/esm/link-extension-afb404fb.js +576 -0
- package/dist/esm/loader.js +21 -21
- package/dist/esm/month-view-generator-7a0c869c.js +31 -0
- package/dist/esm/{public-rules-09387dcf.js → public-rules-f64b0b78.js} +13 -11
- package/dist/esm/{range-47d9f95e.js → range-4d09a305.js} +1 -1
- package/dist/esm/{replace-selected-text-action-a217dc89.js → replace-selected-text-action-12bc8b82.js} +1 -1
- package/dist/esm/{required-field-rule-ab4bdc47.js → required-field-rule-a4634842.js} +10 -1
- package/dist/esm/{responsive-format-facade-51c0c2e1.js → responsive-format-facade-844c5e09.js} +2 -2
- package/dist/esm/{rich-text-editor-required-rule-cca16fd0.js → rich-text-editor-required-rule-d62d418e.js} +1 -1
- package/dist/esm/{split-cell-operation-ddde4106.js → split-cell-operation-c515669e.js} +5 -5
- package/dist/esm/{state-border-formatter-50394e9c.js → state-border-formatter-f53847a5.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-de17b899.js → string-format-strategy.abstract-a0327405.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-c3d483ef.js → string-input-formatter-slimmer-12de4a25.js} +3 -3
- package/dist/esm/{string-mask-strategy-87efdb9e.js → string-mask-strategy-3bb03155.js} +2 -2
- package/dist/esm/{style-formatter-c20c1988.js → style-formatter-df7bf8ec.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-d5a21bb3.js → sub-state-notify-slimmer-7ef94141.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-d924288a.js → sub-state-observer-slimmer-d9ad2bdd.js} +1 -1
- package/dist/esm/{time-required-rule-026c17a1.js → time-required-rule-db0dee53.js} +1 -1
- package/dist/esm/{token-extension-76323d76.js → token-extension-8ff92d14.js} +82 -433
- package/dist/esm/{translation-slimmer-7f195ba8.js → translation-slimmer-4904e7fe.js} +17 -1
- package/dist/esm/{type-guard-30eec79c.js → type-guard-a2cbaae9.js} +117 -3
- package/dist/esm/{typography-396de03f.js → typography-19c3b9be.js} +10 -10
- package/dist/esm/{valid-credit-card-number-rule-1ac471e8.js → valid-credit-card-number-rule-a3f9858d.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +14 -14
- package/dist/esm/vega-app-footer.entry.js +63 -9
- package/dist/esm/vega-app-header-button.entry.js +14 -14
- package/dist/esm/vega-banner.entry.js +7 -7
- package/dist/esm/vega-bar-chart.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +8 -8
- package/dist/esm/vega-brand-logo.entry.js +3 -3
- package/dist/esm/vega-breadcrumb.entry.js +5 -5
- package/dist/esm/vega-button-circle.entry.js +12 -12
- package/dist/esm/vega-button-group_2.entry.js +8 -8
- package/dist/esm/vega-button-link.entry.js +5 -5
- package/dist/esm/vega-button.entry.js +10 -10
- package/dist/esm/{vega-calendar_4.entry.js → vega-calendar_5.entry.js} +666 -396
- package/dist/esm/vega-card.entry.js +7 -7
- package/dist/esm/vega-carousel.entry.js +8 -8
- package/dist/esm/vega-checkbox_2.entry.js +22 -15
- package/dist/esm/vega-chip.entry.js +11 -11
- package/dist/esm/vega-code-block.entry.js +18 -18
- package/dist/esm/vega-color-picker.entry.js +10 -8
- package/dist/esm/vega-color-swatch-picker.entry.js +15 -15
- package/dist/esm/vega-color-swatch.entry.js +5 -5
- package/dist/esm/vega-combo-box.entry.js +18 -18
- package/dist/esm/vega-date-picker_2.entry.js +26 -26
- package/dist/esm/{vega-dialog-controller-389e7f7c.js → vega-dialog-controller-726b74f9.js} +2 -2
- 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-92848bf5.js → vega-event-id-268f8def.js} +2 -1
- package/dist/esm/vega-field-label.entry.js +6 -6
- package/dist/esm/vega-file-uploader.entry.js +15 -13
- package/dist/esm/vega-flag-icon.entry.js +10 -10
- package/dist/esm/vega-flex.entry.js +8 -8
- package/dist/esm/vega-font.entry.js +14 -8
- package/dist/esm/vega-form.entry.js +12 -12
- package/dist/esm/vega-grid.entry.js +7 -7
- package/dist/esm/vega-icon.entry.js +9 -9
- package/dist/esm/vega-image-uploader.entry.js +17 -17
- package/dist/esm/vega-input-credit-card.entry.js +29 -19
- package/dist/esm/vega-input-numeric.entry.js +15 -15
- package/dist/esm/vega-input-passcode.entry.js +14 -14
- package/dist/esm/vega-input-phone-number.entry.js +15 -15
- package/dist/esm/vega-input-range.entry.js +10 -10
- package/dist/esm/vega-input-select.entry.js +19 -27
- package/dist/esm/vega-input.entry.js +19 -17
- package/dist/esm/{vega-internal-event-id-913e8be6.js → vega-internal-event-id-22151a4d.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +18 -18
- package/dist/esm/vega-line-chart.entry.js +3 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +5 -5
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +5 -5
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination.entry.js +11 -11
- package/dist/esm/vega-pie-chart.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +15 -15
- package/dist/esm/vega-progress-tracker_2.entry.js +11 -11
- package/dist/esm/vega-radio_2.entry.js +27 -20
- package/dist/esm/vega-rich-text-content.entry.js +49 -17
- package/dist/esm/vega-rich-text-editor_4.entry.js +89 -44
- package/dist/esm/vega-rich-text-special-characters-panel.entry.js +9 -9
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +17 -17
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-chip_2.entry.js +28 -15
- package/dist/esm/vega-selection-tile_2.entry.js +11 -11
- package/dist/esm/vega-sidenav_3.entry.js +14 -14
- package/dist/esm/vega-signature-capture.entry.js +18 -18
- package/dist/esm/vega-stepper.entry.js +9 -9
- package/dist/esm/vega-tab-group_2.entry.js +13 -10
- package/dist/esm/vega-table_11.entry.js +16 -16
- package/dist/esm/vega-textarea.entry.js +11 -11
- package/dist/esm/vega-time-picker_2.entry.js +17 -17
- package/dist/esm/vega-toggle-switch.entry.js +7 -7
- package/dist/esm/vega-tooltip_2.entry.js +9 -9
- package/dist/esm/vega.js +21 -21
- package/dist/esm/{wait-for-component-did-render-b378bf16.js → wait-for-component-did-render-0488922a.js} +1 -1
- package/dist/esm/{y-axis-input-processor-c7e05353.js → y-axis-input-processor-c6b2a914.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +416 -416
- package/dist/types/components/vega-app-footer/slimmers/renderers/vega-app-footer-additional-links-renderer.d.ts +13 -0
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +18 -1
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +11 -6
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +2 -29
- package/dist/types/components/vega-calendar/types.d.ts +7 -1
- package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-current-period-controller.d.ts +63 -0
- package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-state-controller.d.ts +10 -0
- package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/renderers/vega-calendar-period-renderer.d.ts +11 -0
- package/dist/types/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.d.ts +82 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +15 -1
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +10 -1
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +2 -10
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +10 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +0 -1
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +10 -1
- package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +5 -0
- package/dist/types/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.d.ts +3 -1
- package/dist/types/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.d.ts +8 -5
- package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/extensions/languages/language-toolbar-button-renderer.d.ts +16 -12
- package/dist/types/components/vega-rich-text-editor/extensions/link/link-extension.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/link/type.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/link/utils.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/extensions/rte-extension-state-store.d.ts +30 -0
- package/dist/types/components/vega-rich-text-editor/public-api.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +27 -2
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +10 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +3 -2
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +4 -3
- package/dist/types/components.d.ts +149 -8
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +6 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +4 -0
- package/dist/types/helpers/calendar/calendar-period/internal-calendar-period-factory.d.ts +33 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +4 -0
- package/dist/types/helpers/calendar/calendar-period/vega-calendar-period-factory.d.ts +16 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +5 -0
- package/dist/types/helpers/calendar/index.d.ts +1 -0
- 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/feature-control/feature-flag.d.ts +3 -1
- package/dist/types/helpers/public-api.d.ts +1 -0
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +2 -1
- package/dist/types/helpers/slimmers/translation/translation-slimmer.d.ts +11 -0
- package/dist/types/helpers/translation/interface.d.ts +10 -1
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-76454c9a.js → p-014e2cf9.js} +1 -1
- package/dist/vega/{p-6a3ea3f0.entry.js → p-044496e0.entry.js} +1 -1
- package/dist/vega/{p-157a2459.entry.js → p-0605c656.entry.js} +1 -1
- package/dist/vega/{p-3390bb20.js → p-0707aa21.js} +1 -1
- package/dist/vega/{p-be6c1415.js → p-0e03daa6.js} +1 -1
- package/dist/vega/{p-cdde6e64.entry.js → p-12b5c5e3.entry.js} +1 -1
- package/dist/vega/{p-3a49089e.js → p-141f74ff.js} +1 -1
- package/dist/vega/p-144d4b30.js +1 -0
- package/dist/vega/p-14bfc113.js +1 -0
- package/dist/vega/p-15da9d58.entry.js +1 -0
- package/dist/vega/{p-fc0ce3b5.entry.js → p-1acd5f04.entry.js} +1 -1
- package/dist/vega/{p-dbb02b32.entry.js → p-216ef41e.entry.js} +1 -1
- package/dist/vega/p-21775cc7.js +1 -0
- package/dist/vega/p-2944c76e.entry.js +1 -0
- package/dist/vega/p-2b22091e.js +1 -0
- package/dist/vega/{p-baef217a.entry.js → p-2f48162f.entry.js} +1 -1
- package/dist/vega/{p-44d2f9e7.entry.js → p-316a1e5c.entry.js} +1 -1
- package/dist/vega/{p-1827a459.entry.js → p-329c808e.entry.js} +1 -1
- package/dist/vega/{p-a0705cd0.entry.js → p-335e3237.entry.js} +1 -1
- package/dist/vega/{p-efe6e4e6.entry.js → p-3372f34a.entry.js} +1 -1
- package/dist/vega/p-3863187f.entry.js +1 -0
- package/dist/vega/{p-740f3325.entry.js → p-3911e760.entry.js} +1 -1
- package/dist/vega/{p-8666f206.entry.js → p-3cf298a4.entry.js} +1 -1
- package/dist/vega/{p-d1cc3544.entry.js → p-3fe43f7a.entry.js} +1 -1
- package/dist/vega/p-4037126d.js +1 -0
- package/dist/vega/{p-5fd29f29.entry.js → p-42a1d300.entry.js} +1 -1
- package/dist/vega/{p-78a6e741.entry.js → p-42ed76ee.entry.js} +1 -1
- package/dist/vega/{p-57b34bf9.entry.js → p-42f3c0b1.entry.js} +1 -1
- package/dist/vega/p-4644ccf9.entry.js +1 -0
- package/dist/vega/{p-35e800ac.js → p-4979fd7d.js} +1 -1
- package/dist/vega/p-49b4ab2b.js +1 -0
- package/dist/vega/{p-46e0c6ca.js → p-4cef4812.js} +1 -1
- package/dist/vega/p-507612f6.entry.js +1 -0
- package/dist/vega/{p-9a35a34f.entry.js → p-50d7a1c4.entry.js} +1 -1
- package/dist/vega/p-522dd15f.entry.js +1 -0
- package/dist/vega/p-53ed3b1f.js +1 -0
- package/dist/vega/p-57f7c257.js +1 -0
- package/dist/vega/p-58a00869.entry.js +1 -0
- package/dist/vega/{p-fae4d64e.js → p-5a4e598f.js} +1 -1
- package/dist/vega/{p-2f2201d6.entry.js → p-5bed3fd2.entry.js} +1 -1
- package/dist/vega/{p-ed0cc518.entry.js → p-5df53125.entry.js} +1 -1
- package/dist/vega/p-5e1cd1cc.js +1 -0
- package/dist/vega/p-5e1ec2b8.entry.js +1 -0
- package/dist/vega/{p-363e453b.js → p-5e282e41.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-93cbc231.entry.js → p-5fcb825c.entry.js} +1 -1
- package/dist/vega/{p-3a93730e.js → p-5ffc7cb8.js} +1 -1
- package/dist/vega/{p-724df1f5.js → p-6031bed1.js} +1 -1
- package/dist/vega/{p-8e34b266.js → p-6096ffc3.js} +1 -1
- package/dist/vega/p-61d42e9b.entry.js +1 -0
- package/dist/vega/p-63ae5ada.entry.js +1 -0
- package/dist/vega/{p-43af604c.entry.js → p-64b5fe2a.entry.js} +1 -1
- package/dist/vega/p-66905cbf.js +1 -0
- package/dist/vega/{p-9a562813.entry.js → p-6820b488.entry.js} +1 -1
- package/dist/vega/{p-c4bd6cf8.entry.js → p-689070f9.entry.js} +1 -1
- package/dist/vega/{p-d93574dd.entry.js → p-6e7c1b19.entry.js} +1 -1
- package/dist/vega/{p-4694fe27.entry.js → p-6ecb3c7d.entry.js} +1 -1
- package/dist/vega/p-70352240.entry.js +1 -0
- package/dist/vega/p-73b9868f.js +1 -0
- package/dist/vega/{p-6c484462.entry.js → p-74fa0f5b.entry.js} +1 -1
- package/dist/vega/{p-e4917e76.js → p-7b9ed949.js} +1 -1
- package/dist/vega/p-7bb39b97.js +1 -0
- package/dist/vega/{p-89d55444.entry.js → p-7f086e54.entry.js} +1 -1
- package/dist/vega/p-7f139b74.js +1 -0
- package/dist/vega/{p-c91e0a43.js → p-8019c156.js} +1 -1
- package/dist/vega/p-81591449.entry.js +1 -0
- package/dist/vega/{p-328dbe8e.js → p-822f70b0.js} +1 -1
- package/dist/vega/p-85d78ac1.js +1 -0
- package/dist/vega/p-8982796b.entry.js +1 -0
- package/dist/vega/{p-df71c830.entry.js → p-8bc23bcf.entry.js} +1 -1
- package/dist/vega/{p-a9b6ce74.js → p-92a144bc.js} +1 -1
- package/dist/vega/{p-8865613a.entry.js → p-94845302.entry.js} +1 -1
- package/dist/vega/{p-059ba5f5.entry.js → p-9756c6b9.entry.js} +1 -1
- package/dist/vega/{p-00d2a013.entry.js → p-9abf7d0a.entry.js} +1 -1
- package/dist/vega/{p-976536c7.entry.js → p-9e327397.entry.js} +1 -1
- package/dist/vega/p-9f608b97.js +1 -0
- package/dist/vega/p-9fb3aeeb.entry.js +1 -0
- package/dist/vega/{p-1d16a7fa.entry.js → p-a04b95aa.entry.js} +1 -1
- package/dist/vega/p-a14d8767.js +1 -0
- package/dist/vega/{p-f7cab150.entry.js → p-a4826f3f.entry.js} +1 -1
- package/dist/vega/{p-8ce92f5f.entry.js → p-aaa6e976.entry.js} +1 -1
- package/dist/vega/{p-fa398acc.entry.js → p-aca134a3.entry.js} +1 -1
- package/dist/vega/{p-8457b6b7.entry.js → p-ae728041.entry.js} +1 -1
- package/dist/vega/{p-2abdca42.js → p-aea912ac.js} +1 -1
- package/dist/vega/{p-9a6bd32c.js → p-afcd8f04.js} +1 -1
- package/dist/vega/{p-fbde6153.js → p-b2f89dbd.js} +1 -1
- package/dist/vega/{p-bd5566e3.entry.js → p-b2f9698a.entry.js} +1 -1
- package/dist/vega/p-b438e68b.js +1 -0
- package/dist/vega/p-b504a8b4.entry.js +1 -0
- package/dist/vega/{p-285b161c.entry.js → p-b77e85e0.entry.js} +1 -1
- package/dist/vega/{p-e80e7cd9.entry.js → p-b7b0930a.entry.js} +1 -1
- package/dist/vega/{p-600f0316.entry.js → p-bb0040d4.entry.js} +1 -1
- package/dist/vega/{p-dcf162e9.js → p-bc73ce30.js} +1 -1
- package/dist/vega/{p-5a6e2c08.entry.js → p-bd94b904.entry.js} +1 -1
- package/dist/vega/{p-1be90bab.entry.js → p-c04a90d8.entry.js} +1 -1
- package/dist/vega/p-c0c2a917.js +3 -0
- package/dist/vega/p-c40555c4.entry.js +1 -0
- package/dist/vega/{p-92e493ea.entry.js → p-c65a5778.entry.js} +1 -1
- package/dist/vega/{p-df3a649c.entry.js → p-c75872a4.entry.js} +1 -1
- package/dist/vega/{p-1ab4c08d.js → p-c87c7ef4.js} +1 -1
- package/dist/vega/{p-fcefb62c.js → p-cb4033ef.js} +1 -1
- package/dist/vega/p-cc8bf6e7.entry.js +1 -0
- package/dist/vega/{p-d2916121.js → p-cd21adb8.js} +1 -1
- package/dist/vega/{p-f7e8081e.js → p-cd2a1ffb.js} +1 -1
- package/dist/vega/{p-2c5352fe.entry.js → p-ce27c273.entry.js} +1 -1
- package/dist/vega/p-cec8ffdc.js +1 -0
- package/dist/vega/{p-ad89f499.js → p-d0060bdb.js} +1 -1
- package/dist/vega/p-d00b3910.js +1 -0
- package/dist/vega/{p-a58cacca.js → p-d14ddf80.js} +1 -1
- package/dist/vega/{p-f597b65e.entry.js → p-da067259.entry.js} +1 -1
- package/dist/vega/p-da2b1fd0.entry.js +1 -0
- package/dist/vega/p-dc78e8d6.js +1 -0
- package/dist/vega/{p-091fbc35.js → p-ddc2d219.js} +1 -1
- package/dist/vega/p-e75e75c9.entry.js +1 -0
- package/dist/vega/p-e8f50fc5.js +1 -0
- package/dist/vega/{p-3ef9c69d.entry.js → p-e9a82603.entry.js} +1 -1
- package/dist/vega/{p-d7790113.js → p-ef44d516.js} +1 -1
- package/dist/vega/p-f362c07b.entry.js +1 -0
- package/dist/vega/{p-b9bd85d6.entry.js → p-fb1ef3e6.entry.js} +1 -1
- package/dist/vega/p-fc103347.entry.js +1 -0
- package/dist/vega/p-fea33425.js +1 -0
- package/dist/vega/{p-1704ff25.js → p-ffdc25ec.js} +1 -1
- package/dist/vega/vega.css +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/style/vega.css +1 -1
- package/dist/cjs/base-renderer-0a3b62b7.js +0 -9
- package/dist/cjs/dto-renderer-manager-7eb5c5ce.js +0 -98
- package/dist/cjs/month-view-generator-43e75062.js +0 -101
- package/dist/esm/base-renderer-101f6d04.js +0 -7
- package/dist/esm/dto-renderer-manager-abc7eb5f.js +0 -96
- package/dist/esm/month-view-generator-d341fa5a.js +0 -97
- package/dist/vega/p-018756ad.entry.js +0 -1
- package/dist/vega/p-09deb867.entry.js +0 -1
- package/dist/vega/p-0bb860cc.js +0 -1
- package/dist/vega/p-1e68e217.entry.js +0 -1
- package/dist/vega/p-2649051e.entry.js +0 -1
- package/dist/vega/p-26a54a73.entry.js +0 -1
- package/dist/vega/p-280cbcdb.js +0 -1
- package/dist/vega/p-2e86aee5.js +0 -1
- package/dist/vega/p-337440ce.entry.js +0 -1
- package/dist/vega/p-3a5737fa.js +0 -1
- package/dist/vega/p-46cab60a.js +0 -1
- package/dist/vega/p-48ea74b5.entry.js +0 -1
- package/dist/vega/p-4b34df4c.entry.js +0 -1
- package/dist/vega/p-4c6baf92.entry.js +0 -1
- package/dist/vega/p-50e7020c.js +0 -1
- package/dist/vega/p-5f09aba8.js +0 -1
- package/dist/vega/p-61536fcf.entry.js +0 -1
- package/dist/vega/p-630cd479.js +0 -1
- package/dist/vega/p-66b2a285.entry.js +0 -1
- package/dist/vega/p-73508c24.js +0 -1
- package/dist/vega/p-7fbd11b0.js +0 -1
- package/dist/vega/p-8258dc37.entry.js +0 -1
- package/dist/vega/p-894fb9c9.entry.js +0 -1
- package/dist/vega/p-89947a43.js +0 -1
- package/dist/vega/p-8a34c08a.js +0 -1
- package/dist/vega/p-8a3d12e6.js +0 -1
- package/dist/vega/p-94a064a3.js +0 -1
- package/dist/vega/p-9cb92fa3.entry.js +0 -1
- package/dist/vega/p-a18d280f.js +0 -3
- package/dist/vega/p-a7b5f497.js +0 -1
- package/dist/vega/p-b2488adb.js +0 -1
- package/dist/vega/p-b3b22e36.entry.js +0 -1
- package/dist/vega/p-b66d46ce.js +0 -1
- package/dist/vega/p-b6be1f33.js +0 -1
- package/dist/vega/p-b6c3ce6d.js +0 -1
- package/dist/vega/p-c016b230.entry.js +0 -1
- package/dist/vega/p-c3be0c29.entry.js +0 -1
- package/dist/vega/p-ca4773c3.entry.js +0 -1
- package/dist/vega/p-d884c644.js +0 -1
- package/dist/vega/p-dd529875.js +0 -1
- package/dist/vega/p-efe48ed5.entry.js +0 -1
- package/dist/vega/p-f764b62e.entry.js +0 -1
- package/dist/vega/p-f7c6af07.js +0 -1
- package/dist/vega/p-ff24b342.entry.js +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { VegaRTEExtension } from '../extension.abstract';
|
|
2
|
+
/**
|
|
3
|
+
* Rich Text Editor extension that configures built-in link behavior.
|
|
4
|
+
*/
|
|
5
|
+
export class VegaRTELinkExtension extends VegaRTEExtension {
|
|
6
|
+
constructor(config = {}) {
|
|
7
|
+
super();
|
|
8
|
+
this.config = config;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Store config per host so both toolbar-link and inline-link editors
|
|
12
|
+
* can consistently read the extension settings.
|
|
13
|
+
*
|
|
14
|
+
* @param {HTMLElement} host - The host rich text editor element.
|
|
15
|
+
*/
|
|
16
|
+
prepareBeforeLoad(host) {
|
|
17
|
+
VegaRTELinkExtension.configStore.set(host, this.config);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Remove config for the current host when the extension is destroyed.
|
|
21
|
+
*/
|
|
22
|
+
destroyExtension() {
|
|
23
|
+
var _a;
|
|
24
|
+
if ((_a = this.extensionContext) === null || _a === void 0 ? void 0 : _a.host) {
|
|
25
|
+
VegaRTELinkExtension.configStore.delete(this.extensionContext.host);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Per-host config store. Declare as static readonly to isolate config per editor host.
|
|
31
|
+
*
|
|
32
|
+
* @type {RTEExtensionStateStore<VegaRTELinkExtensionConfig>}
|
|
33
|
+
*/
|
|
34
|
+
VegaRTELinkExtension.configStore = VegaRTELinkExtension.createStateStore();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// eslint-disable-next-line spellcheck/spell-checker
|
|
2
|
+
// The regex checks for a protocol prefix (xxxx:// or xxxx:)
|
|
3
|
+
// or a leading special character (such as /, #, +, etc., but not letters/digits/underscore).
|
|
4
|
+
const PROTOCOL_REG_EXP = /^((\w+:(\/{2,})?)|(\W))/i;
|
|
5
|
+
/**
|
|
6
|
+
* Normalizes URL by prepending default protocol when URL does not already include one.
|
|
7
|
+
*
|
|
8
|
+
* @param {string} url URL value to normalize.
|
|
9
|
+
* @param {string} defaultProtocol Configured default protocol, for example: https:// or mailto:.
|
|
10
|
+
* @returns {string} Normalized URL.
|
|
11
|
+
*/
|
|
12
|
+
export function normalizeUrlByDefaultProtocol(url, defaultProtocol) {
|
|
13
|
+
const input = (url || '').trim();
|
|
14
|
+
if (!input) {
|
|
15
|
+
return input;
|
|
16
|
+
}
|
|
17
|
+
const normalizedDefaultProtocol = (defaultProtocol || '').trim();
|
|
18
|
+
if (!normalizedDefaultProtocol || PROTOCOL_REG_EXP.test(input)) {
|
|
19
|
+
return input;
|
|
20
|
+
}
|
|
21
|
+
return `${normalizedDefaultProtocol}${input}`;
|
|
22
|
+
}
|
package/dist/collection/components/vega-rich-text-editor/extensions/rte-extension-state-store.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generic per-host state store using WeakMap keyed by HTMLVegaRichTextEditorElement.
|
|
3
|
+
* Create via {@link VegaRTEExtension.createStateStore} and declare as `static readonly` on your extension class.
|
|
4
|
+
*
|
|
5
|
+
* @template T - The type of the state value to store per host.
|
|
6
|
+
*/
|
|
7
|
+
export class RTEExtensionStateStore {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.stateMap = new WeakMap();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Store a value for the given host.
|
|
13
|
+
*
|
|
14
|
+
* @param {HTMLElement} host - The editor host.
|
|
15
|
+
* @param {T} value - The value to store.
|
|
16
|
+
*/
|
|
17
|
+
set(host, value) {
|
|
18
|
+
this.stateMap.set(host, value);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve the stored value for the given host.
|
|
22
|
+
*
|
|
23
|
+
* @param {Nullable<HTMLElement>} host - The editor host.
|
|
24
|
+
* @returns {Nullable<T>} The stored value, or null if not found.
|
|
25
|
+
*/
|
|
26
|
+
get(host) {
|
|
27
|
+
return host ? this.stateMap.get(host) : null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Remove the stored value for the given host.
|
|
31
|
+
*
|
|
32
|
+
* @param {HTMLElement} host - The editor host.
|
|
33
|
+
*/
|
|
34
|
+
delete(host) {
|
|
35
|
+
this.stateMap.delete(host);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -25,7 +25,7 @@ export class RTETokenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer
|
|
|
25
25
|
showArrowIcon: true,
|
|
26
26
|
tooltip: { text: 'Insert token' },
|
|
27
27
|
}),
|
|
28
|
-
this.renderDropdownListTemplate(createElement, this.tokenList),
|
|
28
|
+
this.renderDropdownListTemplate(createElement, this.tokenList, editorContext),
|
|
29
29
|
]);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
@@ -23,6 +23,7 @@ export { VegaRTEHorizontalLineExtension } from './extensions/horizontal-line/hor
|
|
|
23
23
|
export { VegaRTESpecialCharactersExtension } from './extensions/special-characters/special-characters-extension';
|
|
24
24
|
export { VegaRTESpecialCharactersEssentials, VegaRTESpecialCharactersLatin, VegaRTESpecialCharactersMathematical, VegaRTESpecialCharactersArrows, VegaRTESpecialCharactersCurrency, VegaRTESpecialCharactersText, } from './extensions/special-characters/constants/default-categories';
|
|
25
25
|
export { VegaRTELineHeightExtension } from './extensions/line-height/line-height-extension';
|
|
26
|
+
export { VegaRTELinkExtension } from './extensions/link/link-extension';
|
|
26
27
|
// actions
|
|
27
28
|
export { ModifyContentAction, ModifyContentActionType } from './dto/actions/modify-content-action.abstract';
|
|
28
29
|
export { AppendChildrenAction } from './dto/actions/append-child-nodes-action';
|
|
@@ -44,6 +44,7 @@ export class SelectionController extends AutoRunWhenReRenderTaskQueueSlimmer {
|
|
|
44
44
|
const range = this.currentRange.toNativeRange();
|
|
45
45
|
if (range) {
|
|
46
46
|
this.setSelectionRange(range);
|
|
47
|
+
this.scrollCaretIntoView(range);
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
}
|
|
@@ -167,6 +168,60 @@ export class SelectionController extends AutoRunWhenReRenderTaskQueueSlimmer {
|
|
|
167
168
|
const richTextContentRef = this.vegaRichTextEditorRenderer.getRichTextContentRef();
|
|
168
169
|
return ShadowSelectionPolyfill.getSelection(richTextContentRef.shadowRoot);
|
|
169
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Scroll the editor's scrollable viewport so the caret stays visible.
|
|
173
|
+
* Setting the selection range programmatically does not trigger the browser's
|
|
174
|
+
* native auto-scroll, so when the cursor is moved (e.g. after inserting a
|
|
175
|
+
* function block) it can land outside the visible area of a fixed-height
|
|
176
|
+
* (rows) editor. This keeps the caret within view.
|
|
177
|
+
*
|
|
178
|
+
* Note: This method performs getBoundingClientRect() reads and is called during
|
|
179
|
+
* the re-render task path every time the saved selection is restored.
|
|
180
|
+
*
|
|
181
|
+
* @param {Range} range - The range that was applied to the selection.
|
|
182
|
+
*/
|
|
183
|
+
scrollCaretIntoView(range) {
|
|
184
|
+
const viewport = this.vegaRichTextEditorRenderer.getRichTextContentRef();
|
|
185
|
+
const caretRect = this.getCaretRect(range);
|
|
186
|
+
if (!viewport || !caretRect) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
const viewportRect = viewport.getBoundingClientRect();
|
|
190
|
+
if (viewportRect.width === 0 ||
|
|
191
|
+
viewportRect.height === 0 ||
|
|
192
|
+
(caretRect.top === 0 && caretRect.bottom === 0 && caretRect.left === 0 && caretRect.right === 0)) {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (caretRect.bottom > viewportRect.bottom) {
|
|
196
|
+
viewport.scrollTop += caretRect.bottom - viewportRect.bottom;
|
|
197
|
+
}
|
|
198
|
+
else if (caretRect.top < viewportRect.top) {
|
|
199
|
+
viewport.scrollTop -= viewportRect.top - caretRect.top;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Get the bounding rect of the caret for the given range.
|
|
204
|
+
* A collapsed range inside an empty node can return an empty rect, so in that
|
|
205
|
+
* case fall back to the nearest element's bounding rect.
|
|
206
|
+
*
|
|
207
|
+
* @param {Range} range - The range to measure.
|
|
208
|
+
* @returns {Nullable<DOMRect>} The caret bounding rect, or null if it cannot be resolved.
|
|
209
|
+
*/
|
|
210
|
+
getCaretRect(range) {
|
|
211
|
+
// getBoundingClientRect is unavailable in non-DOM (test) environments.
|
|
212
|
+
if (typeof range.getBoundingClientRect !== 'function') {
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
const rangeRect = range.getBoundingClientRect();
|
|
216
|
+
if (rangeRect.height > 0) {
|
|
217
|
+
return rangeRect;
|
|
218
|
+
}
|
|
219
|
+
const startContainer = range.startContainer;
|
|
220
|
+
const element = startContainer.nodeType === Node.TEXT_NODE
|
|
221
|
+
? startContainer.parentElement
|
|
222
|
+
: startContainer;
|
|
223
|
+
return element ? element.getBoundingClientRect() : null;
|
|
224
|
+
}
|
|
170
225
|
/**
|
|
171
226
|
* Save the current selection range detail
|
|
172
227
|
*/
|
package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.js
CHANGED
|
@@ -55,7 +55,9 @@ export class ToolbarRenderer extends VegaSlimmer {
|
|
|
55
55
|
return (h("vega-flex", { gap: "size-8", alignItems: "center", flexWrap: "wrap" },
|
|
56
56
|
this.allowSourceEdit && (h(Fragment, null,
|
|
57
57
|
h("div", { class: "toolbar-btn-group" }, this.sourceEditToolbarButtonSlimmer.render()),
|
|
58
|
-
this.
|
|
58
|
+
this.uniqueToolbarItems.length > 0 &&
|
|
59
|
+
totalVisibleCount > 0 &&
|
|
60
|
+
this.renderVegaDivider())),
|
|
59
61
|
renderedItems));
|
|
60
62
|
}
|
|
61
63
|
renderVegaDivider() {
|
|
@@ -69,7 +71,7 @@ export class ToolbarRenderer extends VegaSlimmer {
|
|
|
69
71
|
*/
|
|
70
72
|
renderToolbarItems() {
|
|
71
73
|
let totalVisibleCount = 0;
|
|
72
|
-
const renderedItems = this.
|
|
74
|
+
const renderedItems = this.uniqueToolbarItems.map((group) => {
|
|
73
75
|
let visibleCountPerGroup = 0;
|
|
74
76
|
const groupElement = group
|
|
75
77
|
.map((item) => {
|
|
@@ -105,7 +107,7 @@ export class ToolbarRenderer extends VegaSlimmer {
|
|
|
105
107
|
}
|
|
106
108
|
__decorate([
|
|
107
109
|
MapToComponentField()
|
|
108
|
-
], ToolbarRenderer.prototype, "
|
|
110
|
+
], ToolbarRenderer.prototype, "uniqueToolbarItems", void 0);
|
|
109
111
|
__decorate([
|
|
110
112
|
MapToComponentField()
|
|
111
113
|
], ToolbarRenderer.prototype, "allowSourceEdit", void 0);
|
|
@@ -10,6 +10,7 @@ import { createEnterKeyHandlerToTriggerClick } from '../../../../utils/accessibi
|
|
|
10
10
|
import ChangeManager from '../../../../helpers/change-manager/change-manager';
|
|
11
11
|
import domNodeSubjectFactory from '../../../../helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory';
|
|
12
12
|
import { VegaInternalComponentDidRender } from '../../../../helpers/event-manager/event-id/vega-internal-event-id';
|
|
13
|
+
import { VegaRTEOneRowHeightPx } from '../../constants/constant';
|
|
13
14
|
export class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
14
15
|
constructor() {
|
|
15
16
|
super(...arguments);
|
|
@@ -17,11 +18,19 @@ export class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
|
17
18
|
return h("vega-text", { text: this.hint });
|
|
18
19
|
};
|
|
19
20
|
this.renderTextContent = () => {
|
|
21
|
+
const defaultHeight = `${5 * VegaRTEOneRowHeightPx}px`;
|
|
22
|
+
/**
|
|
23
|
+
* When rows is set to a value less than 2, it defaults to 5 rows
|
|
24
|
+
* to ensure the editor remains usable with adequate visible space.
|
|
25
|
+
*/
|
|
26
|
+
const containerStyle = this.rows !== undefined
|
|
27
|
+
? { height: this.rows >= 2 ? `${this.rows * VegaRTEOneRowHeightPx}px` : defaultHeight }
|
|
28
|
+
: { minHeight: defaultHeight };
|
|
20
29
|
return (h("div", { class: {
|
|
21
30
|
'rich-text-editor-container': true,
|
|
22
31
|
'disabled': this.disabled,
|
|
23
32
|
'vega-hidden': this.sourceView,
|
|
24
|
-
}, style:
|
|
33
|
+
}, style: containerStyle, onClick: this.richTextContentFocus, role: "textbox", tabIndex: !this.disabled ? -1 : 0, onKeyDown: createEnterKeyHandlerToTriggerClick(), ref: (node) => (this.richTextContainerRef = node) },
|
|
25
34
|
h("vega-rich-text-content", { ref: (ref) => (this.richTextContentRef = ref), content: this.value, extensions: this.extensions }),
|
|
26
35
|
this.renderCharacterCounter()));
|
|
27
36
|
};
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
border-radius: 8px;
|
|
59
59
|
color: rgba(var(--v-text-primary, 32, 54, 69, 1));
|
|
60
60
|
margin-top: 12px;
|
|
61
|
-
overflow:
|
|
61
|
+
overflow: hidden;
|
|
62
62
|
resize: vertical;
|
|
63
63
|
padding-top: 12px;
|
|
64
64
|
padding-right: 16px;
|
|
65
|
-
padding-bottom:
|
|
65
|
+
padding-bottom: 12px;
|
|
66
66
|
padding-left: 16px;
|
|
67
67
|
}
|
|
68
68
|
:host .rich-text-editor-container:hover {
|
|
@@ -115,6 +115,19 @@ export class VegaRichTextEditor {
|
|
|
115
115
|
this.selectionMap = new Map();
|
|
116
116
|
this.isInDarkMode = VegaInternalThemeManager.isDarkMode();
|
|
117
117
|
this.sourceView = false;
|
|
118
|
+
/**
|
|
119
|
+
* Internal state that holds unique toolbar items.
|
|
120
|
+
* Computed from `toolbarItems` to ensure each button renders only once.
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* When `toolbarItems` contains duplicates across groups (e.g.,
|
|
124
|
+
* `[['bold'], ['italic'], ['bold']]`), only the first occurrence of each
|
|
125
|
+
* button is preserved. The group structure is maintained, but duplicate
|
|
126
|
+
* buttons are filtered out.
|
|
127
|
+
*
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
this.uniqueToolbarItems = VegaRTEPresetToolbarItems;
|
|
118
131
|
/**
|
|
119
132
|
* Specifies the label for the rich text editor.
|
|
120
133
|
*
|
|
@@ -163,12 +176,6 @@ export class VegaRichTextEditor {
|
|
|
163
176
|
* @vegaVersion 2.34.0
|
|
164
177
|
*/
|
|
165
178
|
this.hint = '';
|
|
166
|
-
/**
|
|
167
|
-
* Specifies editable section rows for the rich text editor
|
|
168
|
-
*
|
|
169
|
-
* @vegaVersion 2.34.0
|
|
170
|
-
*/
|
|
171
|
-
this.rows = 4;
|
|
172
179
|
/**
|
|
173
180
|
* Specifies the value of the rich text editor, which can be either VegaRTEContent or VegaRTEContentBlock.
|
|
174
181
|
* It is recommended to use the VegaRTEContent type.
|
|
@@ -250,6 +257,9 @@ export class VegaRichTextEditor {
|
|
|
250
257
|
watchValueUpdate() {
|
|
251
258
|
methodPlaceholder();
|
|
252
259
|
}
|
|
260
|
+
watchToolbarItems() {
|
|
261
|
+
this.syncUniqueToolbarItems();
|
|
262
|
+
}
|
|
253
263
|
watchValidationRules() {
|
|
254
264
|
methodPlaceholder();
|
|
255
265
|
}
|
|
@@ -258,10 +268,28 @@ export class VegaRichTextEditor {
|
|
|
258
268
|
}
|
|
259
269
|
componentWillLoad() {
|
|
260
270
|
this.richTextContentController.syncRichTextContentEditable();
|
|
271
|
+
this.syncUniqueToolbarItems();
|
|
261
272
|
}
|
|
262
273
|
render() {
|
|
263
274
|
return sanitizeVegaComponent(this.vegaRichTextEditorRenderer.render(), this.host);
|
|
264
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* Synchronizes {@link uniqueToolbarItems} from {@link toolbarItems} using global uniqueness enforcement.
|
|
278
|
+
*
|
|
279
|
+
* Example:
|
|
280
|
+
* - input: [["bold", "italic"], ["bold", "link"], ["italic"]]
|
|
281
|
+
* - output: [["bold", "italic"], ["link"], []]
|
|
282
|
+
*/
|
|
283
|
+
syncUniqueToolbarItems() {
|
|
284
|
+
const uniqueToolbarButtonSet = new Set();
|
|
285
|
+
this.uniqueToolbarItems = this.toolbarItems.map((toolbarItemGroup) => toolbarItemGroup.filter((toolbarItem) => {
|
|
286
|
+
if (uniqueToolbarButtonSet.has(toolbarItem)) {
|
|
287
|
+
return false;
|
|
288
|
+
}
|
|
289
|
+
uniqueToolbarButtonSet.add(toolbarItem);
|
|
290
|
+
return true;
|
|
291
|
+
}));
|
|
292
|
+
}
|
|
265
293
|
static get is() { return "vega-rich-text-editor"; }
|
|
266
294
|
static get encapsulation() { return "shadow"; }
|
|
267
295
|
static get originalStyleUrls() { return {
|
|
@@ -409,17 +437,16 @@ export class VegaRichTextEditor {
|
|
|
409
437
|
"references": {}
|
|
410
438
|
},
|
|
411
439
|
"required": false,
|
|
412
|
-
"optional":
|
|
440
|
+
"optional": true,
|
|
413
441
|
"docs": {
|
|
414
442
|
"tags": [{
|
|
415
443
|
"name": "vegaVersion",
|
|
416
444
|
"text": "2.34.0"
|
|
417
445
|
}],
|
|
418
|
-
"text": "Specifies editable section rows for the rich text editor"
|
|
446
|
+
"text": "Specifies editable section rows for the rich text editor.\nWhen not set, the editor uses stretching behavior with a default visual height of 5 rows.\nWhen set, the editor height is fixed and content overflow is scrollable.\nThe value accepts integers \u2265 2; for optimal display, values below 2 are internally normalized to 5 rows."
|
|
419
447
|
},
|
|
420
448
|
"attribute": "rows",
|
|
421
|
-
"reflect": false
|
|
422
|
-
"defaultValue": "4"
|
|
449
|
+
"reflect": false
|
|
423
450
|
},
|
|
424
451
|
"value": {
|
|
425
452
|
"type": "unknown",
|
|
@@ -639,7 +666,8 @@ export class VegaRichTextEditor {
|
|
|
639
666
|
"richTextContentEditable": {},
|
|
640
667
|
"selectionMap": {},
|
|
641
668
|
"isInDarkMode": {},
|
|
642
|
-
"sourceView": {}
|
|
669
|
+
"sourceView": {},
|
|
670
|
+
"uniqueToolbarItems": {}
|
|
643
671
|
}; }
|
|
644
672
|
static get events() { return [{
|
|
645
673
|
"method": "vegaChange",
|
|
@@ -792,6 +820,9 @@ export class VegaRichTextEditor {
|
|
|
792
820
|
}, {
|
|
793
821
|
"propName": "value",
|
|
794
822
|
"methodName": "watchValueUpdate"
|
|
823
|
+
}, {
|
|
824
|
+
"propName": "toolbarItems",
|
|
825
|
+
"methodName": "watchToolbarItems"
|
|
795
826
|
}, {
|
|
796
827
|
"propName": "validationRules",
|
|
797
828
|
"methodName": "watchValidationRules"
|
|
@@ -12,16 +12,20 @@ import { VegaInternalComponentDidRender, VegaInternalPopoverUpdateTarget, } from
|
|
|
12
12
|
import domNodeSubjectFactory from '../../../../../helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory';
|
|
13
13
|
import ChangeManager from '../../../../../helpers/change-manager/change-manager';
|
|
14
14
|
import remoteInvocationRegistry from '../../../../../helpers/remote-invocation/remote-invocation-registry';
|
|
15
|
+
import { findParent } from '../../../../../utils/ui';
|
|
16
|
+
import { VegaRTELinkExtension } from '../../../extensions/link/link-extension';
|
|
17
|
+
import { normalizeUrlByDefaultProtocol } from '../../../extensions/link/utils';
|
|
15
18
|
export class VegaRichTextLinkEditorRenderer extends VegaSlimmer {
|
|
16
19
|
constructor() {
|
|
17
20
|
super(...arguments);
|
|
18
21
|
this.handleKeyDown = (e) => {
|
|
19
22
|
if (e.key === 'Enter') {
|
|
20
23
|
void this.formRef.getValue().then(({ text, url }) => {
|
|
21
|
-
|
|
24
|
+
const normalizedUrl = this.normalizeUrlByDefaultProtocol(url);
|
|
25
|
+
if (normalizedUrl.length > 0) {
|
|
22
26
|
this.changeEventEmitter.emit({
|
|
23
27
|
action: 'link',
|
|
24
|
-
payload: { text: text ||
|
|
28
|
+
payload: { text: text || normalizedUrl, url: normalizedUrl },
|
|
25
29
|
});
|
|
26
30
|
void this.popoverRef.hide();
|
|
27
31
|
}
|
|
@@ -58,13 +62,13 @@ export class VegaRichTextLinkEditorRenderer extends VegaSlimmer {
|
|
|
58
62
|
return (h("vega-popover", { trigger: "click", alignment: "start", placement: "bottom", showArrow: false, ref: (ref) => {
|
|
59
63
|
this.popoverRef = ref;
|
|
60
64
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaPopoverShow, () => {
|
|
61
|
-
var _a, _b;
|
|
65
|
+
var _a, _b, _c;
|
|
62
66
|
if (this.status === 'linkEdit') {
|
|
63
67
|
void this.urlInputRef.doFocus();
|
|
64
68
|
}
|
|
65
69
|
void this.formRef.setValue({
|
|
66
70
|
text: (_a = this.record) === null || _a === void 0 ? void 0 : _a.text,
|
|
67
|
-
url: (_b = this.record) === null || _b === void 0 ? void 0 : _b.url,
|
|
71
|
+
url: this.normalizeUrlByDefaultProtocol((_c = (_b = this.record) === null || _b === void 0 ? void 0 : _b.url) !== null && _c !== void 0 ? _c : ''),
|
|
68
72
|
});
|
|
69
73
|
});
|
|
70
74
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaPopoverHide, () => {
|
|
@@ -111,6 +115,11 @@ export class VegaRichTextLinkEditorRenderer extends VegaSlimmer {
|
|
|
111
115
|
updatePopoverTarget() {
|
|
112
116
|
remoteInvocationRegistry.call(domNodeSubjectFactory.getSubject(this.popoverRef, VegaInternalPopoverUpdateTarget), this.target);
|
|
113
117
|
}
|
|
118
|
+
normalizeUrlByDefaultProtocol(url) {
|
|
119
|
+
const rteHost = findParent(this.host, 'vega-rich-text-editor');
|
|
120
|
+
const linkConfig = VegaRTELinkExtension.configStore.get(rteHost) || {};
|
|
121
|
+
return normalizeUrlByDefaultProtocol(url, linkConfig.defaultProtocol);
|
|
122
|
+
}
|
|
114
123
|
}
|
|
115
124
|
__decorate([
|
|
116
125
|
MapToComponentField()
|
|
@@ -17,7 +17,7 @@ export class VegaSelectionChipGroupRenderer extends VegaSlimmer {
|
|
|
17
17
|
this.renderHint()));
|
|
18
18
|
}
|
|
19
19
|
renderLabel() {
|
|
20
|
-
return (h("vega-field-label", { "is-field-required": this.required, disabled: this.disabled, label: this.label }));
|
|
20
|
+
return (h("vega-field-label", { "is-field-required": this.required, disabled: this.disabled, optional: this.optional, label: this.label }));
|
|
21
21
|
}
|
|
22
22
|
renderContainer() {
|
|
23
23
|
return (h("div", { class: "container", ref: (ref) => (this.groupContainerRef = ref) },
|
|
@@ -37,6 +37,9 @@ __decorate([
|
|
|
37
37
|
__decorate([
|
|
38
38
|
MapToComponentField()
|
|
39
39
|
], VegaSelectionChipGroupRenderer.prototype, "required", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
MapToComponentField()
|
|
42
|
+
], VegaSelectionChipGroupRenderer.prototype, "optional", void 0);
|
|
40
43
|
__decorate([
|
|
41
44
|
MapToComponentField()
|
|
42
45
|
], VegaSelectionChipGroupRenderer.prototype, "hint", void 0);
|
|
@@ -67,6 +67,16 @@ export class VegaSelectionChipGroup {
|
|
|
67
67
|
*/
|
|
68
68
|
/* eslint-disable-next-line @stencil/strict-mutable */
|
|
69
69
|
this.value = this.selectType === 'checkbox' ? [] : '';
|
|
70
|
+
/**
|
|
71
|
+
* Indicates whether the field should be presented as optional.
|
|
72
|
+
*
|
|
73
|
+
* This property only takes effect when `required` is `false`.
|
|
74
|
+
* When `true`, an "optional" label is displayed next to the field label.
|
|
75
|
+
*
|
|
76
|
+
* @default false
|
|
77
|
+
* @vegaVersion 2.90.0
|
|
78
|
+
*/
|
|
79
|
+
this.optional = false;
|
|
70
80
|
/**
|
|
71
81
|
* Defines custom validation rules for the selection chip group field.
|
|
72
82
|
*
|
|
@@ -213,6 +223,30 @@ export class VegaSelectionChipGroup {
|
|
|
213
223
|
"attribute": "required",
|
|
214
224
|
"reflect": false
|
|
215
225
|
},
|
|
226
|
+
"optional": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"mutable": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "boolean",
|
|
231
|
+
"resolved": "boolean",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"optional": false,
|
|
236
|
+
"docs": {
|
|
237
|
+
"tags": [{
|
|
238
|
+
"name": "default",
|
|
239
|
+
"text": "false"
|
|
240
|
+
}, {
|
|
241
|
+
"name": "vegaVersion",
|
|
242
|
+
"text": "2.90.0"
|
|
243
|
+
}],
|
|
244
|
+
"text": "Indicates whether the field should be presented as optional.\n\nThis property only takes effect when `required` is `false`.\nWhen `true`, an \"optional\" label is displayed next to the field label."
|
|
245
|
+
},
|
|
246
|
+
"attribute": "optional",
|
|
247
|
+
"reflect": true,
|
|
248
|
+
"defaultValue": "false"
|
|
249
|
+
},
|
|
216
250
|
"disabled": {
|
|
217
251
|
"type": "boolean",
|
|
218
252
|
"mutable": false,
|
|
@@ -179,11 +179,13 @@ export class VegaTabGroupPagesController extends PageResizeObserverSlimmer {
|
|
|
179
179
|
*/
|
|
180
180
|
/* istanbul ignore next */
|
|
181
181
|
/**
|
|
182
|
-
* 1.
|
|
183
|
-
* 2.
|
|
182
|
+
* 1. Record the width of each tab.
|
|
183
|
+
* 2. Recalculate when widths are zero, such as when the tab group is embedded in a modal before render.
|
|
184
|
+
* 3. Recalculate when tab count changes to ensure overflow navigation buttons stay in sync.
|
|
184
185
|
*/
|
|
185
186
|
initTabsWidthArray() {
|
|
186
187
|
if (this.tabWidthArray.length === 0 ||
|
|
188
|
+
this.tabWidthArray.length !== this.tabItems.length ||
|
|
187
189
|
this.tabWidthArray.some((tabWidth) => tabWidth === 0)) {
|
|
188
190
|
const newTabWidthArray = [];
|
|
189
191
|
this.tabItems.forEach((item) => {
|
|
@@ -72,9 +72,10 @@ export class VegaTabGroup {
|
|
|
72
72
|
/**
|
|
73
73
|
* Defines the tab items that appear within the tab group.
|
|
74
74
|
*
|
|
75
|
-
* The `tabItems` property
|
|
76
|
-
*
|
|
77
|
-
*
|
|
75
|
+
* The `tabItems` property supports dynamic updates.
|
|
76
|
+
*
|
|
77
|
+
* - When items are added or removed, the tab group
|
|
78
|
+
* will update tabs and overflow layout automatically.
|
|
78
79
|
*
|
|
79
80
|
* @vegaVersion 1.3.0
|
|
80
81
|
*/
|
|
@@ -247,7 +248,7 @@ export class VegaTabGroup {
|
|
|
247
248
|
"name": "vegaVersion",
|
|
248
249
|
"text": "1.3.0"
|
|
249
250
|
}],
|
|
250
|
-
"text": "Defines the tab items that appear within the tab group.\n\nThe `tabItems` property
|
|
251
|
+
"text": "Defines the tab items that appear within the tab group.\n\nThe `tabItems` property supports dynamic updates.\n\n- When items are added or removed, the tab group\n will update tabs and overflow layout automatically."
|
|
251
252
|
},
|
|
252
253
|
"defaultValue": "[]"
|
|
253
254
|
},
|
|
@@ -8,28 +8,28 @@ export const Typography = {
|
|
|
8
8
|
"font-size:42px",
|
|
9
9
|
"font-weight:700",
|
|
10
10
|
"line-height:50px",
|
|
11
|
-
"letter-spacing
|
|
11
|
+
"letter-spacing:-0.42px"
|
|
12
12
|
],
|
|
13
13
|
"M:v-font-h1": [
|
|
14
14
|
"@apply v-font-inter",
|
|
15
15
|
"font-size:42px",
|
|
16
16
|
"font-weight:700",
|
|
17
17
|
"line-height:50px",
|
|
18
|
-
"letter-spacing
|
|
18
|
+
"letter-spacing:-0.67px"
|
|
19
19
|
],
|
|
20
20
|
"L:v-font-h1": [
|
|
21
21
|
"@apply v-font-inter",
|
|
22
22
|
"font-size:48px",
|
|
23
23
|
"font-weight:700",
|
|
24
24
|
"line-height:56px",
|
|
25
|
-
"letter-spacing
|
|
25
|
+
"letter-spacing:-1.06px"
|
|
26
26
|
],
|
|
27
27
|
"XL:v-font-h1": [
|
|
28
28
|
"@apply v-font-inter",
|
|
29
29
|
"font-size:60px",
|
|
30
30
|
"font-weight:700",
|
|
31
31
|
"line-height:70px",
|
|
32
|
-
"letter-spacing
|
|
32
|
+
"letter-spacing:-1.8px"
|
|
33
33
|
],
|
|
34
34
|
"v-font-h2": [
|
|
35
35
|
"@apply v-font-inter",
|
|
@@ -50,42 +50,42 @@ export const Typography = {
|
|
|
50
50
|
"font-size:36px",
|
|
51
51
|
"font-weight:700",
|
|
52
52
|
"line-height:44px",
|
|
53
|
-
"letter-spacing
|
|
53
|
+
"letter-spacing:-0.18px"
|
|
54
54
|
],
|
|
55
55
|
"XL:v-font-h2": [
|
|
56
56
|
"@apply v-font-inter",
|
|
57
57
|
"font-size:42px",
|
|
58
58
|
"font-weight:700",
|
|
59
59
|
"line-height:52px",
|
|
60
|
-
"letter-spacing
|
|
60
|
+
"letter-spacing:-0.42px"
|
|
61
61
|
],
|
|
62
62
|
"v-font-h3": [
|
|
63
63
|
"@apply v-font-inter",
|
|
64
64
|
"font-size:28px",
|
|
65
65
|
"font-weight:500",
|
|
66
66
|
"line-height:36px",
|
|
67
|
-
"letter-spacing
|
|
67
|
+
"letter-spacing:-0.28px"
|
|
68
68
|
],
|
|
69
69
|
"M:v-font-h3": [
|
|
70
70
|
"@apply v-font-inter",
|
|
71
71
|
"font-size:28px",
|
|
72
72
|
"font-weight:500",
|
|
73
73
|
"line-height:36px",
|
|
74
|
-
"letter-spacing
|
|
74
|
+
"letter-spacing:-0.28px"
|
|
75
75
|
],
|
|
76
76
|
"L:v-font-h3": [
|
|
77
77
|
"@apply v-font-inter",
|
|
78
78
|
"font-size:28px",
|
|
79
79
|
"font-weight:500",
|
|
80
80
|
"line-height:36px",
|
|
81
|
-
"letter-spacing
|
|
81
|
+
"letter-spacing:-0.28px"
|
|
82
82
|
],
|
|
83
83
|
"XL:v-font-h3": [
|
|
84
84
|
"@apply v-font-inter",
|
|
85
85
|
"font-size:32px",
|
|
86
86
|
"font-weight:500",
|
|
87
87
|
"line-height:44px",
|
|
88
|
-
"letter-spacing
|
|
88
|
+
"letter-spacing:-0.32px"
|
|
89
89
|
],
|
|
90
90
|
"v-font-h4": [
|
|
91
91
|
"@apply v-font-inter",
|
|
@@ -107,6 +107,7 @@ export const VegaNativeEventName = [
|
|
|
107
107
|
'rowDragDrop',
|
|
108
108
|
'eventEdit',
|
|
109
109
|
'todayClick',
|
|
110
|
+
'additionalLinkClick',
|
|
110
111
|
];
|
|
111
112
|
// eslint-disable-next-line @typescript-eslint/typedef
|
|
112
113
|
export const CssStates = ['default', 'hover', 'active', 'focus-visible'];
|
|
@@ -30,6 +30,8 @@ import { VegaRTESpecialCharactersExtension } from '../../components/vega-rich-te
|
|
|
30
30
|
import { VegaRTESpecialCharactersEssentials, VegaRTESpecialCharactersLatin, VegaRTESpecialCharactersMathematical, VegaRTESpecialCharactersArrows, VegaRTESpecialCharactersCurrency, VegaRTESpecialCharactersText, } from '../../components/vega-rich-text-editor/extensions/special-characters/constants/default-categories';
|
|
31
31
|
import { VegaRTELineHeightExtension } from '../../components/vega-rich-text-editor/extensions/line-height/line-height-extension';
|
|
32
32
|
import { VegaRTEDefaultLineHeightOptions } from '../../components/vega-rich-text-editor/extensions/line-height/constants';
|
|
33
|
+
import { VegaRTELinkExtension } from '../../components/vega-rich-text-editor/extensions/link/link-extension';
|
|
34
|
+
import { VegaCalendarPeriodFactory } from '../../helpers/calendar';
|
|
33
35
|
/**
|
|
34
36
|
* Default export function that will be used by stencil global script,
|
|
35
37
|
* which will be invoked before library loaded.
|
|
@@ -57,6 +59,7 @@ export default function () {
|
|
|
57
59
|
applyBrandingFromClientGlobal();
|
|
58
60
|
injectSetNonceIntoGlobal();
|
|
59
61
|
patchHeadInsertBeforeWithNonce();
|
|
62
|
+
injectVegaCalendarPeriodFactoryIntoGlobal();
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
62
65
|
* Disable feature flags from the client global defined lists.
|
|
@@ -213,6 +216,13 @@ function injectVegaRichTextEditorClassIntoGlobal() {
|
|
|
213
216
|
globalThis.VegaRTESpecialCharactersCurrency = VegaRTESpecialCharactersCurrency;
|
|
214
217
|
globalThis.VegaRTESpecialCharactersText = VegaRTESpecialCharactersText;
|
|
215
218
|
globalThis.VegaRTELineHeightExtension = VegaRTELineHeightExtension;
|
|
219
|
+
globalThis.VegaRTELinkExtension = VegaRTELinkExtension;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Inject VegaCalendarPeriodFactory to global as a public api.
|
|
223
|
+
*/
|
|
224
|
+
function injectVegaCalendarPeriodFactoryIntoGlobal() {
|
|
225
|
+
globalThis.VegaCalendarPeriodFactory = VegaCalendarPeriodFactory;
|
|
216
226
|
}
|
|
217
227
|
/**
|
|
218
228
|
* Inject VegaPublicValidationRules to global as a public api
|