@heartlandone/vega-sandbox-pr-1520-a51b2975cb4fa00d6d301ff891a23f2eb3bccd2e 2.27.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/cjs/accessibility-bfa227f6.js +17 -0
- package/dist/cjs/app-globals-512d84f4.js +304 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-7e2dff90.js +66 -0
- package/dist/cjs/change-manager-a297e4d2.js +78 -0
- package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
- package/dist/cjs/child-nodes-event-prevent-slimmer-e383a914.js +158 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-79f2f5a7.js +90 -0
- package/dist/cjs/component-73a88c4e.js +117 -0
- package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
- package/dist/cjs/component-load-required-16d76afa.js +48 -0
- package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
- package/dist/cjs/create-public-api-runtime-metrics-slimmer-7510221b.js +208 -0
- package/dist/cjs/date-0a6bb035.js +95 -0
- package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
- package/dist/cjs/design-token-17b8e4d8.js +403 -0
- package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +141 -0
- package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
- package/dist/cjs/effect-37695d3d.js +52 -0
- package/dist/cjs/element-appender-slimmer-bf5ecbd8.js +1109 -0
- package/dist/cjs/event-emit-slimmer-8f51adaa.js +257 -0
- package/dist/cjs/feature-flag-controller-078da332.js +313 -0
- package/dist/cjs/form-field-controller-slimmer-223f8ee3.js +1137 -0
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/icon-manager-5a2b67cf.js +122 -0
- package/dist/cjs/icons-dbc3eb9c.js +520 -0
- package/dist/cjs/immutable-map-adf398cc.js +117 -0
- package/dist/cjs/index-09acd3c9.js +1763 -0
- package/dist/cjs/index-5792390b.js +1024 -0
- package/dist/cjs/index.cjs.js +96 -0
- package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
- package/dist/cjs/internal-icon-manager-858baff1.js +45 -0
- package/dist/cjs/internal-vega-event-manager-627b1328.js +460 -0
- package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
- package/dist/cjs/keyboard-manager-34b78600.js +106 -0
- package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
- package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
- package/dist/cjs/loader.cjs.js +47 -0
- package/dist/cjs/min-number-rule-84f21ad9.js +142 -0
- package/dist/cjs/min-string-length-rule-75f24a48.js +143 -0
- package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
- package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
- package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
- package/dist/cjs/number-459031f7.js +92 -0
- package/dist/cjs/object-bbd4ed7f.js +37 -0
- package/dist/cjs/observer-f49483e8.js +32 -0
- package/dist/cjs/page-resize-observer-slimmer-a8cf1874.js +122 -0
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/placeholder-cb6d37ad.js +27 -0
- package/dist/cjs/regex-c1f70fd4.js +15 -0
- package/dist/cjs/remote-invocation-registry-32aaf6c2.js +64 -0
- package/dist/cjs/required-field-rule-9a57b1a0.js +83 -0
- package/dist/cjs/responsive-format-facade-7bc51a43.js +718 -0
- package/dist/cjs/state-background-color-formatter-418b84e6.js +85 -0
- package/dist/cjs/static-subject-title-3599787e.js +69 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-fcfa5bb7.js +364 -0
- package/dist/cjs/style-formatter-a0829641.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-832a4215.js +204 -0
- package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/translation-0dd74433.js +276 -0
- package/dist/cjs/translation-slimmer-83577cfd.js +42 -0
- package/dist/cjs/type-guard-a07b353b.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-08f33116.js +200 -0
- package/dist/cjs/ui-32e69595.js +52 -0
- package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
- package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
- package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
- package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
- package/dist/cjs/vega-banner.cjs.entry.js +354 -0
- package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
- package/dist/cjs/vega-box.cjs.entry.js +208 -0
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +268 -0
- package/dist/cjs/vega-button-circle.cjs.entry.js +222 -0
- package/dist/cjs/vega-button-group_2.cjs.entry.js +424 -0
- package/dist/cjs/vega-button-link.cjs.entry.js +216 -0
- package/dist/cjs/vega-button.cjs.entry.js +234 -0
- package/dist/cjs/vega-calendar_3.cjs.entry.js +4054 -0
- package/dist/cjs/vega-card.cjs.entry.js +196 -0
- package/dist/cjs/vega-carousel.cjs.entry.js +515 -0
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +625 -0
- package/dist/cjs/vega-chip.cjs.entry.js +301 -0
- package/dist/cjs/vega-color-picker.cjs.entry.js +249 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +438 -0
- package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +2120 -0
- package/dist/cjs/vega-dialog-controller-6a8525b3.js +81 -0
- package/dist/cjs/vega-dialog_2.cjs.entry.js +716 -0
- package/dist/cjs/vega-divider.cjs.entry.js +149 -0
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +2928 -0
- package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
- package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
- package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +166 -0
- package/dist/cjs/vega-file-uploader.cjs.entry.js +687 -0
- package/dist/cjs/vega-flex.cjs.entry.js +197 -0
- package/dist/cjs/vega-font.cjs.entry.js +289 -0
- package/dist/cjs/vega-form.cjs.entry.js +485 -0
- package/dist/cjs/vega-grid.cjs.entry.js +99 -0
- package/dist/cjs/vega-hint.cjs.entry.js +38 -0
- package/dist/cjs/vega-icon.cjs.entry.js +228 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +935 -0
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +412 -0
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9223 -0
- package/dist/cjs/vega-input-range.cjs.entry.js +746 -0
- package/dist/cjs/vega-input-select.cjs.entry.js +879 -0
- package/dist/cjs/vega-input.cjs.entry.js +1015 -0
- package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +191 -0
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +1184 -0
- package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +211 -0
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +183 -0
- package/dist/cjs/vega-pagination.cjs.entry.js +386 -0
- package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
- package/dist/cjs/vega-popover_2.cjs.entry.js +321 -0
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +252 -0
- package/dist/cjs/vega-radio_2.cjs.entry.js +743 -0
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +58 -0
- package/dist/cjs/vega-rich-text-editor.cjs.entry.js +149 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +348 -0
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +836 -0
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +795 -0
- package/dist/cjs/vega-signature-capture.cjs.entry.js +572 -0
- package/dist/cjs/vega-skeleton-loader-controller-e886dc58.js +3905 -0
- package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
- package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
- package/dist/cjs/vega-stepper.cjs.entry.js +292 -0
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +1270 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4571 -0
- package/dist/cjs/vega-text.cjs.entry.js +232 -0
- package/dist/cjs/vega-textarea.cjs.entry.js +302 -0
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +2157 -0
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +248 -0
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
- package/dist/cjs/vega.cjs.js +45 -0
- package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
- package/dist/collection/collection-manifest.json +469 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
- package/dist/collection/components/vega-accordion/vega-accordion.css +191 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
- package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2088 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
- package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
- package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
- package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
- package/dist/collection/components/vega-banner/vega-banner.css +167 -0
- package/dist/collection/components/vega-banner/vega-banner.js +355 -0
- package/dist/collection/components/vega-box/interface.js +1 -0
- package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
- package/dist/collection/components/vega-box/vega-box.css +7247 -0
- package/dist/collection/components/vega-box/vega-box.js +798 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
- package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
- package/dist/collection/components/vega-button/vega-button.css +200 -0
- package/dist/collection/components/vega-button/vega-button.js +481 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +406 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
- package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +73 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
- package/dist/collection/components/vega-button-group/vega-button-group.css +26 -0
- package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
- package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
- package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
- package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
- package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +117 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +90 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +163 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +92 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +105 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +190 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +30 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +162 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +109 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +179 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +125 -0
- package/dist/collection/components/vega-calendar/utils/index.js +32 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +208 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +658 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +552 -0
- package/dist/collection/components/vega-card/vega-card.css +6713 -0
- package/dist/collection/components/vega-card/vega-card.js +193 -0
- package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
- package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
- package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
- package/dist/collection/components/vega-chip/vega-chip.css +2338 -0
- package/dist/collection/components/vega-chip/vega-chip.js +617 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
- package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +349 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +117 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +811 -0
- package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
- package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
- package/dist/collection/components/vega-divider/interface.js +1 -0
- package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
- package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
- package/dist/collection/components/vega-divider/vega-divider.js +170 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +103 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +94 -0
- package/dist/collection/components/vega-dropdown/test/share.js +13 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +237 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +44 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +32 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.css +62 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +93 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.js +37 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +80 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +103 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +129 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +291 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.css +8 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +1281 -0
- package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
- package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
- package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
- package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
- package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
- package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +171 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +665 -0
- package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
- package/dist/collection/components/vega-flex/vega-flex.js +435 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
- package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
- package/dist/collection/components/vega-font/vega-font.css +1837 -0
- package/dist/collection/components/vega-font/vega-font.js +251 -0
- package/dist/collection/components/vega-form/vega-form.css +8 -0
- package/dist/collection/components/vega-form/vega-form.js +812 -0
- package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
- package/dist/collection/components/vega-grid/vega-grid.js +178 -0
- package/dist/collection/components/vega-hint/vega-hint.js +39 -0
- package/dist/collection/components/vega-icon/vega-icon.css +391 -0
- package/dist/collection/components/vega-icon/vega-icon.js +291 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +45 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +794 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
- package/dist/collection/components/vega-input/vega-input.css +274 -0
- package/dist/collection/components/vega-input/vega-input.js +1147 -0
- package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
- package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
- package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
- package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +565 -0
- package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +143 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
- package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
- package/dist/collection/components/vega-input-range/vega-input-range.js +602 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +145 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
- package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +817 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
- package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
- package/dist/collection/components/vega-modal/vega-modal.js +954 -0
- package/dist/collection/components/vega-nav/interface.js +1 -0
- package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
- package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
- package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
- package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.js +31 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +39 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +203 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
- package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
- package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
- package/dist/collection/components/vega-pagination/vega-pagination.js +404 -0
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
- package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
- package/dist/collection/components/vega-popover/vega-popover.css +8 -0
- package/dist/collection/components/vega-popover/vega-popover.js +441 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
- package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
- package/dist/collection/components/vega-radio/vega-radio.css +203 -0
- package/dist/collection/components/vega-radio/vega-radio.js +434 -0
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +7 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +8 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +75 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +67 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +260 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +210 -0
- package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
- package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
- package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
- package/dist/collection/components/vega-selection-chip/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
- package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
- package/dist/collection/components/vega-selection-tile/interface.js +1 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
- package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
- package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
- package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +115 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +547 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.css +80 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
- package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
- package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +116 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +251 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
- package/dist/collection/components/vega-table/interface.js +10 -0
- package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +96 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
- package/dist/collection/components/vega-table/test/utils.js +22 -0
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
- package/dist/collection/components/vega-table/type-guard.js +20 -0
- package/dist/collection/components/vega-table/utils.js +44 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
- package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.js +38 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +130 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +297 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
- package/dist/collection/components/vega-table/vega-table.css +114 -0
- package/dist/collection/components/vega-table/vega-table.js +1851 -0
- package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
- package/dist/collection/components/vega-text/vega-text.css +16 -0
- package/dist/collection/components/vega-text/vega-text.js +118 -0
- package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
- package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +178 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +103 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +663 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
- package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
- package/dist/collection/constants/card-config.js +60 -0
- package/dist/collection/constants/locale.js +238 -0
- package/dist/collection/constants/misc.js +6 -0
- package/dist/collection/constants/public-api.js +9 -0
- package/dist/collection/constants/regex.js +6 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/tests/validator.test.js +24 -0
- package/dist/collection/constants/tokens/border-radius.js +16 -0
- package/dist/collection/constants/tokens/borders.js +37 -0
- package/dist/collection/constants/tokens/breakpoints.js +10 -0
- package/dist/collection/constants/tokens/colors-mapping.js +229 -0
- package/dist/collection/constants/tokens/colors.js +205 -0
- package/dist/collection/constants/tokens/icons.js +515 -0
- package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
- package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
- package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
- package/dist/collection/constants/tokens/rings.js +5 -0
- package/dist/collection/constants/tokens/shadows.js +17 -0
- package/dist/collection/constants/tokens/spacing.js +21 -0
- package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
- package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
- package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
- package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
- package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
- package/dist/collection/constants/tokens/typography.js +1074 -0
- package/dist/collection/constants/ui.js +85 -0
- package/dist/collection/constants/validator.js +7 -0
- package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
- package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
- package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
- package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
- package/dist/collection/global/icons/arrow-up-arrow-down.js +3 -0
- package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
- package/dist/collection/global/icons/chevron-down.js +3 -0
- package/dist/collection/global/icons/chevron-left.js +3 -0
- package/dist/collection/global/icons/chevron-right.js +3 -0
- package/dist/collection/global/icons/chevron-up.js +3 -0
- package/dist/collection/global/icons/circle-arrow-down.js +3 -0
- package/dist/collection/global/icons/circle-arrow-up.js +3 -0
- package/dist/collection/global/icons/circle-check-regular.js +3 -0
- package/dist/collection/global/icons/circle-check.js +3 -0
- package/dist/collection/global/icons/circle-info.js +3 -0
- package/dist/collection/global/icons/circle-question.js +3 -0
- package/dist/collection/global/icons/circle-xmark.js +3 -0
- package/dist/collection/global/icons/trash-can.js +3 -0
- package/dist/collection/global/icons/triangle-exclamation.js +3 -0
- package/dist/collection/global/icons/xmark-large.js +3 -0
- package/dist/collection/global/scripts/before-vega-load.js +166 -0
- package/dist/collection/global/tests/before-vega-load.test.js +55 -0
- package/dist/collection/helpers/calendar/calendar-date.js +114 -0
- package/dist/collection/helpers/calendar/calendar-event.js +305 -0
- package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +83 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +34 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +48 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +35 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +24 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +15 -0
- package/dist/collection/helpers/calendar/calendar-view.js +25 -0
- package/dist/collection/helpers/calendar/index.js +10 -0
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +65 -0
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +73 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +28 -0
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
- package/dist/collection/helpers/calendar/test/index.test.js +13 -0
- package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
- package/dist/collection/helpers/calendar/utils.js +10 -0
- package/dist/collection/helpers/change-manager/change-manager.js +73 -0
- package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +26 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
- package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
- package/dist/collection/helpers/chart/bar-chart.js +67 -0
- package/dist/collection/helpers/chart/base-chart.js +88 -0
- package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
- package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
- package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
- package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
- package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
- package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
- package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
- package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
- package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
- package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
- package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
- package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
- package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
- package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
- package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
- package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
- package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
- package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
- package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
- package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
- package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
- package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
- package/dist/collection/helpers/chart/line-chart.js +65 -0
- package/dist/collection/helpers/chart/pie-chart.js +56 -0
- package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
- package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
- package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
- package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
- package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
- package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
- package/dist/collection/helpers/common/index.js +10 -0
- package/dist/collection/helpers/common/test/common.test.js +7 -0
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +34 -0
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +55 -0
- package/dist/collection/helpers/event-manager/event-delegated/base-strategy.js +77 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.js +1 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.js +97 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-button-click-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-select-change-strategy.js +24 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-strategy.js +30 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-radio-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-textarea-change-strategy.js +21 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +70 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id-interface.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +100 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +33 -0
- package/dist/collection/helpers/event-manager/internal-vega-event-manager.js +70 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.js +155 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.js +85 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.js +1 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.js +54 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.js +40 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.js +39 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +123 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +209 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +81 -0
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +13 -0
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +107 -0
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +70 -0
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +131 -0
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +16 -0
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +92 -0
- package/dist/collection/helpers/event-manager/vega-event-manager.js +58 -0
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +124 -0
- package/dist/collection/helpers/feature-control/feature-flags-map.js +184 -0
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
- package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
- package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +77 -0
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +69 -0
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
- package/dist/collection/helpers/formatter/style-formatter.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +31 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
- package/dist/collection/helpers/icon/icon-manager.js +55 -0
- package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
- package/dist/collection/helpers/immutable/immutable-map.js +113 -0
- package/dist/collection/helpers/immutable/immutable-set.js +95 -0
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
- package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +124 -0
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
- package/dist/collection/helpers/notify/vega-notify-controller.js +122 -0
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
- package/dist/collection/helpers/paginator/value-paginator.js +78 -0
- package/dist/collection/helpers/public-api.js +16 -0
- package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +104 -0
- package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
- package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
- package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
- package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
- package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
- package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +132 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
- package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
- package/dist/collection/helpers/slimmers/global/vega-translate-observer-slimmer.js +44 -0
- package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
- package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
- package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
- package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +198 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
- package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +186 -0
- package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +89 -0
- package/dist/collection/helpers/slimmers/translation/index.js +1 -0
- package/dist/collection/helpers/slimmers/translation/translation-slimmer.js +37 -0
- package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
- package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
- package/dist/collection/helpers/theme/theme-manager.js +68 -0
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
- package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
- package/dist/collection/helpers/translation/index.js +4 -0
- package/dist/collection/helpers/translation/internal-translation-controller.js +104 -0
- package/dist/collection/helpers/translation/locales/en.js +74 -0
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +182 -0
- package/dist/collection/helpers/translation/tests/translation.test.js +32 -0
- package/dist/collection/helpers/translation/translation.js +51 -0
- package/dist/collection/helpers/ui/element-appender.js +319 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
- package/dist/collection/helpers/validator/form-field-controller.js +445 -0
- package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
- package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
- package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
- package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
- package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
- package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
- package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
- package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
- package/dist/collection/helpers/validator/rules/max-number-rule.js +68 -0
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +138 -0
- package/dist/collection/helpers/validator/rules/min-number-rule.js +68 -0
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +70 -0
- package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
- package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +111 -0
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
- package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +56 -0
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +77 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
- package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
- package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +33 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +42 -0
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +31 -0
- package/dist/collection/polyfill/test-polyfill/unit/events.js +100 -0
- package/dist/collection/polyfill/test-polyfill/unit/index.js +2 -0
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +29 -0
- package/dist/collection/test-assets/test-icons.js +5 -0
- package/dist/collection/types/class.type.js +1 -0
- package/dist/collection/types/design-token.type.js +1 -0
- package/dist/collection/types/public-api.js +1 -0
- package/dist/collection/types/test/type-guard.test.js +39 -0
- package/dist/collection/types/type-guard.js +372 -0
- package/dist/collection/types/ui.type.js +6 -0
- package/dist/collection/utils/accessibility.js +13 -0
- package/dist/collection/utils/api.js +60 -0
- package/dist/collection/utils/array.js +177 -0
- package/dist/collection/utils/breakpoints.js +49 -0
- package/dist/collection/utils/component.js +131 -0
- package/dist/collection/utils/date.js +84 -0
- package/dist/collection/utils/design-token.js +241 -0
- package/dist/collection/utils/e2e-utils.js +319 -0
- package/dist/collection/utils/effect.js +74 -0
- package/dist/collection/utils/local-storage.js +24 -0
- package/dist/collection/utils/log.js +67 -0
- package/dist/collection/utils/misc.js +35 -0
- package/dist/collection/utils/number.js +83 -0
- package/dist/collection/utils/object.js +32 -0
- package/dist/collection/utils/pagination.js +40 -0
- package/dist/collection/utils/pixel.js +48 -0
- package/dist/collection/utils/position.js +373 -0
- package/dist/collection/utils/public-api.js +4 -0
- package/dist/collection/utils/spec-utils.js +168 -0
- package/dist/collection/utils/string.js +9 -0
- package/dist/collection/utils/test/accessibility.test.js +40 -0
- package/dist/collection/utils/test/api.test.js +34 -0
- package/dist/collection/utils/test/array.test.js +198 -0
- package/dist/collection/utils/test/breakpoint.test.js +37 -0
- package/dist/collection/utils/test/component.test.js +59 -0
- package/dist/collection/utils/test/date.test.js +102 -0
- package/dist/collection/utils/test/design-token.test.js +91 -0
- package/dist/collection/utils/test/effect.test.js +64 -0
- package/dist/collection/utils/test/local-storage.test.js +38 -0
- package/dist/collection/utils/test/log.test.js +49 -0
- package/dist/collection/utils/test/misc.test.js +40 -0
- package/dist/collection/utils/test/number.test.js +14 -0
- package/dist/collection/utils/test/object.test.js +51 -0
- package/dist/collection/utils/test/pagination.test.js +40 -0
- package/dist/collection/utils/test/pixel.test.js +29 -0
- package/dist/collection/utils/test/position.test.js +262 -0
- package/dist/collection/utils/test/spec-utils.test.js +73 -0
- package/dist/collection/utils/test/string.test.js +8 -0
- package/dist/collection/utils/test/test-utils.test.js +70 -0
- package/dist/collection/utils/test/timer.test.js +16 -0
- package/dist/collection/utils/test/ui.test.js +241 -0
- package/dist/collection/utils/test-utils.js +134 -0
- package/dist/collection/utils/timer.js +20 -0
- package/dist/collection/utils/ui.js +200 -0
- package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +35 -0
- package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +30 -0
- package/dist/esm/accessibility-e5fd0fab.js +15 -0
- package/dist/esm/app-globals-41797af8.js +302 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-36a3ed69.js +62 -0
- package/dist/esm/change-manager-6a7eb88c.js +76 -0
- package/dist/esm/chevron-down-4303bddb.js +9 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-345c46c5.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-3d52b843.js +88 -0
- package/dist/esm/component-cae24190.js +114 -0
- package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
- package/dist/esm/component-load-required-ce710ef5.js +46 -0
- package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
- package/dist/esm/create-public-api-runtime-metrics-slimmer-928ad7f0.js +203 -0
- package/dist/esm/date-732bc749.js +87 -0
- package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
- package/dist/esm/design-token-3671ce60.js +389 -0
- package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +138 -0
- package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
- package/dist/esm/effect-8efd2c3c.js +49 -0
- package/dist/esm/element-appender-slimmer-1172e2ea.js +1107 -0
- package/dist/esm/event-emit-slimmer-eee9fd41.js +255 -0
- package/dist/esm/feature-flag-controller-10780eeb.js +311 -0
- package/dist/esm/form-field-controller-slimmer-edbaaf7c.js +1135 -0
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/icon-manager-0f030f8a.js +120 -0
- package/dist/esm/icons-8627925e.js +517 -0
- package/dist/esm/immutable-map-f545ed1a.js +115 -0
- package/dist/esm/index-0863eec6.js +1019 -0
- package/dist/esm/index-187f71d1.js +1733 -0
- package/dist/esm/index.js +38 -0
- package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
- package/dist/esm/internal-icon-manager-9671142a.js +43 -0
- package/dist/esm/internal-vega-event-manager-722461c1.js +456 -0
- package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
- package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
- package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
- package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
- package/dist/esm/loader.js +43 -0
- package/dist/esm/min-number-rule-8f643dbd.js +139 -0
- package/dist/esm/min-string-length-rule-c6a69eeb.js +140 -0
- package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
- package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
- package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
- package/dist/esm/number-e2519d1c.js +85 -0
- package/dist/esm/object-261e7344.js +34 -0
- package/dist/esm/observer-3959f9dd.js +30 -0
- package/dist/esm/page-resize-observer-slimmer-994c1e1b.js +120 -0
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/placeholder-bf562081.js +24 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/regex-dfe11abf.js +8 -0
- package/dist/esm/remote-invocation-registry-1682b34e.js +62 -0
- package/dist/esm/required-field-rule-5da360cc.js +81 -0
- package/dist/esm/responsive-format-facade-5a1329a7.js +716 -0
- package/dist/esm/state-background-color-formatter-0540d006.js +82 -0
- package/dist/esm/static-subject-title-6987a80b.js +46 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-bfe3f5e5.js +361 -0
- package/dist/esm/style-formatter-2fa5ce09.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-af28076b.js +201 -0
- package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/translation-0fa7cf77.js +272 -0
- package/dist/esm/translation-slimmer-79f9a9c9.js +40 -0
- package/dist/esm/type-guard-63caf78b.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-8424715a.js +38 -0
- package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
- package/dist/esm/vega-accordion.entry.js +265 -0
- package/dist/esm/vega-app-footer.entry.js +145 -0
- package/dist/esm/vega-app-header-button.entry.js +310 -0
- package/dist/esm/vega-backdrop.entry.js +152 -0
- package/dist/esm/vega-banner.entry.js +350 -0
- package/dist/esm/vega-bar-chart.entry.js +234 -0
- package/dist/esm/vega-box.entry.js +204 -0
- package/dist/esm/vega-breadcrumb.entry.js +264 -0
- package/dist/esm/vega-button-circle.entry.js +218 -0
- package/dist/esm/vega-button-group_2.entry.js +419 -0
- package/dist/esm/vega-button-link.entry.js +212 -0
- package/dist/esm/vega-button.entry.js +230 -0
- package/dist/esm/vega-calendar_3.entry.js +4048 -0
- package/dist/esm/vega-card.entry.js +192 -0
- package/dist/esm/vega-carousel.entry.js +511 -0
- package/dist/esm/vega-checkbox_2.entry.js +620 -0
- package/dist/esm/vega-chip.entry.js +297 -0
- package/dist/esm/vega-color-picker.entry.js +245 -0
- package/dist/esm/vega-combo-box.entry.js +434 -0
- package/dist/esm/vega-counter-badge.entry.js +86 -0
- package/dist/esm/vega-date-picker_2.entry.js +2115 -0
- package/dist/esm/vega-dialog-controller-3b905672.js +79 -0
- package/dist/esm/vega-dialog_2.entry.js +711 -0
- package/dist/esm/vega-divider.entry.js +145 -0
- package/dist/esm/vega-dropdown_5.entry.js +2920 -0
- package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
- package/dist/esm/vega-event-id-7465a011.js +100 -0
- package/dist/esm/vega-field-error.entry.js +98 -0
- package/dist/esm/vega-field-label.entry.js +162 -0
- package/dist/esm/vega-file-uploader.entry.js +683 -0
- package/dist/esm/vega-flex.entry.js +193 -0
- package/dist/esm/vega-font.entry.js +285 -0
- package/dist/esm/vega-form.entry.js +481 -0
- package/dist/esm/vega-grid.entry.js +95 -0
- package/dist/esm/vega-hint.entry.js +34 -0
- package/dist/esm/vega-icon.entry.js +224 -0
- package/dist/esm/vega-image-uploader.entry.js +931 -0
- package/dist/esm/vega-input-credit-card.entry.js +408 -0
- package/dist/esm/vega-input-phone-number.entry.js +9219 -0
- package/dist/esm/vega-input-range.entry.js +742 -0
- package/dist/esm/vega-input-select.entry.js +875 -0
- package/dist/esm/vega-input.entry.js +1011 -0
- package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
- package/dist/esm/vega-item-toggle.entry.js +187 -0
- package/dist/esm/vega-left-nav_5.entry.js +1176 -0
- package/dist/esm/vega-line-chart.entry.js +378 -0
- package/dist/esm/vega-loader-wrapper_2.entry.js +206 -0
- package/dist/esm/vega-page-notification_2.entry.js +178 -0
- package/dist/esm/vega-pagination.entry.js +382 -0
- package/dist/esm/vega-pie-chart.entry.js +439 -0
- package/dist/esm/vega-popover_2.entry.js +316 -0
- package/dist/esm/vega-progress-tracker.entry.js +248 -0
- package/dist/esm/vega-radio_2.entry.js +738 -0
- package/dist/esm/vega-rich-text-content.entry.js +54 -0
- package/dist/esm/vega-rich-text-editor.entry.js +145 -0
- package/dist/esm/vega-section-title.entry.js +108 -0
- package/dist/esm/vega-segment-control.entry.js +344 -0
- package/dist/esm/vega-selection-chip_2.entry.js +831 -0
- package/dist/esm/vega-selection-tile_2.entry.js +790 -0
- package/dist/esm/vega-signature-capture.entry.js +568 -0
- package/dist/esm/vega-skeleton-loader-controller-6fb25f3b.js +3897 -0
- package/dist/esm/vega-skeleton.entry.js +326 -0
- package/dist/esm/vega-slot-container.entry.js +36 -0
- package/dist/esm/vega-stepper.entry.js +288 -0
- package/dist/esm/vega-tab-group_2.entry.js +1265 -0
- package/dist/esm/vega-table_8.entry.js +4560 -0
- package/dist/esm/vega-text.entry.js +228 -0
- package/dist/esm/vega-textarea.entry.js +298 -0
- package/dist/esm/vega-time-picker_2.entry.js +2152 -0
- package/dist/esm/vega-toggle-switch.entry.js +244 -0
- package/dist/esm/vega-tooltip_2.entry.js +295 -0
- package/dist/esm/vega.js +43 -0
- package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
- package/dist/types/components/vega-app-footer/types.d.ts +7 -0
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
- package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
- package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
- package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
- package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
- package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
- package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
- package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
- package/dist/types/components/vega-banner/types.d.ts +11 -0
- package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
- package/dist/types/components/vega-box/interface.d.ts +22 -0
- package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
- package/dist/types/components/vega-box/vega-box.d.ts +231 -0
- package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
- package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
- package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
- package/dist/types/components/vega-button/types.d.ts +4 -0
- package/dist/types/components/vega-button/vega-button.d.ts +129 -0
- package/dist/types/components/vega-button-circle/types.d.ts +9 -0
- package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
- package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
- package/dist/types/components/vega-button-group/types.d.ts +21 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
- package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
- package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
- package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +48 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +35 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +82 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +14 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +67 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +46 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +53 -0
- package/dist/types/components/vega-calendar/types.d.ts +88 -0
- package/dist/types/components/vega-calendar/utils/index.d.ts +25 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +179 -0
- package/dist/types/components/vega-card/vega-card.d.ts +54 -0
- package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
- package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
- package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
- package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
- package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
- package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
- package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
- package/dist/types/components/vega-chip/types.d.ts +4 -0
- package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
- package/dist/types/components/vega-combo-box/types.d.ts +9 -0
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
- package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
- package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +95 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-date-picker/types.d.ts +10 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +213 -0
- package/dist/types/components/vega-dialog/types.d.ts +14 -0
- package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
- package/dist/types/components/vega-divider/interface.d.ts +6 -0
- package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
- package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +20 -0
- package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
- package/dist/types/components/vega-dropdown/types.d.ts +23 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +13 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.d.ts +26 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.d.ts +19 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +14 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +25 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/types.d.ts +1 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +97 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +385 -0
- package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
- package/dist/types/components/vega-field-error/types.d.ts +4 -0
- package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
- package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
- package/dist/types/components/vega-field-label/types.d.ts +5 -0
- package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +78 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
- package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +181 -0
- package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
- package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
- package/dist/types/components/vega-font/types.d.ts +18 -0
- package/dist/types/components/vega-font/vega-font.d.ts +64 -0
- package/dist/types/components/vega-form/types.d.ts +9 -0
- package/dist/types/components/vega-form/vega-form.d.ts +235 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
- package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
- package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +17 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +210 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
- package/dist/types/components/vega-input/types.d.ts +12 -0
- package/dist/types/components/vega-input/vega-input.d.ts +319 -0
- package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
- package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
- package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
- package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +143 -0
- package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +64 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-range/types.d.ts +5 -0
- package/dist/types/components/vega-input-range/vega-input-range.d.ts +169 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
- package/dist/types/components/vega-input-select/types.d.ts +36 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +217 -0
- package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
- package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
- package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
- package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
- package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
- package/dist/types/components/vega-modal/types.d.ts +2 -0
- package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
- package/dist/types/components/vega-nav/interface.d.ts +36 -0
- package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
- package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
- package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
- package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
- package/dist/types/components/vega-page-notification/types.d.ts +10 -0
- package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
- package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +10 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +10 -0
- package/dist/types/components/vega-pagination/types.d.ts +1 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +104 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
- package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
- package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
- package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
- package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
- package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
- package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
- package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +5 -0
- package/dist/types/components/vega-rich-text-content/vega-rich-text-content.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +82 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +58 -0
- package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
- package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
- package/dist/types/components/vega-segment-control/types.d.ts +8 -0
- package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
- package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
- package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
- package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
- package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
- package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +29 -0
- package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
- package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +138 -0
- package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +52 -0
- package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +26 -0
- package/dist/types/components/vega-tab-group/types.d.ts +19 -0
- package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
- package/dist/types/components/vega-table/interface.d.ts +221 -0
- package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/test/utils.d.ts +9 -0
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
- package/dist/types/components/vega-table/type-guard.d.ts +14 -0
- package/dist/types/components/vega-table/utils.d.ts +25 -0
- package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
- package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
- package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
- package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
- package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.d.ts +8 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
- package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
- package/dist/types/components/vega-table/vega-table.d.ts +500 -0
- package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
- package/dist/types/components/vega-text/types.d.ts +3 -0
- package/dist/types/components/vega-text/vega-text.d.ts +34 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +57 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +43 -0
- package/dist/types/components/vega-time-picker/types.d.ts +21 -0
- package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +179 -0
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
- package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
- package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
- package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
- package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
- package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
- package/dist/types/components.d.ts +9003 -0
- package/dist/types/constants/card-config.d.ts +8 -0
- package/dist/types/constants/locale.d.ts +5 -0
- package/dist/types/constants/misc.d.ts +6 -0
- package/dist/types/constants/public-api.d.ts +9 -0
- package/dist/types/constants/regex.d.ts +6 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/tests/validator.test.d.ts +1 -0
- package/dist/types/constants/tokens/border-radius.d.ts +3 -0
- package/dist/types/constants/tokens/borders.d.ts +4 -0
- package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
- package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
- package/dist/types/constants/tokens/colors.d.ts +193 -0
- package/dist/types/constants/tokens/icons.d.ts +2 -0
- package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/rings.d.ts +1 -0
- package/dist/types/constants/tokens/shadows.d.ts +4 -0
- package/dist/types/constants/tokens/spacing.d.ts +3 -0
- package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
- package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/typography.d.ts +10 -0
- package/dist/types/constants/ui.d.ts +16 -0
- package/dist/types/constants/validator.d.ts +5 -0
- package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
- package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
- package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-arrow-down.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
- package/dist/types/global/icons/chevron-down.d.ts +3 -0
- package/dist/types/global/icons/chevron-left.d.ts +3 -0
- package/dist/types/global/icons/chevron-right.d.ts +3 -0
- package/dist/types/global/icons/chevron-up.d.ts +3 -0
- package/dist/types/global/icons/circle-arrow-down.d.ts +3 -0
- package/dist/types/global/icons/circle-arrow-up.d.ts +3 -0
- package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
- package/dist/types/global/icons/circle-check.d.ts +3 -0
- package/dist/types/global/icons/circle-info.d.ts +3 -0
- package/dist/types/global/icons/circle-question.d.ts +3 -0
- package/dist/types/global/icons/circle-xmark.d.ts +3 -0
- package/dist/types/global/icons/trash-can.d.ts +3 -0
- package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
- package/dist/types/global/icons/xmark-large.d.ts +3 -0
- package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
- package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
- package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +81 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +33 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
- package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
- package/dist/types/helpers/calendar/index.d.ts +10 -0
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
- package/dist/types/helpers/calendar/utils.d.ts +7 -0
- package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
- package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +27 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
- package/dist/types/helpers/chart/base-chart.d.ts +61 -0
- package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
- package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
- package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
- package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
- package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
- package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
- package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
- package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
- package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
- package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
- package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
- package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
- package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
- package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
- package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
- package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
- package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
- package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
- package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
- package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
- package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
- package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
- package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
- package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
- package/dist/types/helpers/chart/line-chart.d.ts +27 -0
- package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
- package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
- package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
- package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
- package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
- package/dist/types/helpers/common/index.d.ts +7 -0
- package/dist/types/helpers/common/test/common.test.d.ts +1 -0
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
- package/dist/types/helpers/common/wait-for-vega-handler.d.ts +19 -0
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +1 -0
- package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +30 -0
- package/dist/types/helpers/event-manager/event-delegated/base-strategy.d.ts +60 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.d.ts +7 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.d.ts +44 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-button-click-strategy.d.ts +16 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-select-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-strategy.d.ts +23 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-radio-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-textarea-change-strategy.d.ts +14 -0
- package/dist/types/helpers/event-manager/event-id/component-event-id-map.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id-interface.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +92 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +31 -0
- package/dist/types/helpers/event-manager/internal-vega-event-manager.d.ts +63 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.d.ts +86 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.d.ts +47 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.d.ts +7 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.d.ts +33 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +63 -0
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/vega-event-manager.d.ts +43 -0
- package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +82 -0
- package/dist/types/helpers/feature-control/feature-flag.d.ts +53 -0
- package/dist/types/helpers/feature-control/feature-flags-map.d.ts +3 -0
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +27 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.d.ts +17 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.d.ts +20 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-format-facade.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-formatter.d.ts +5 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-size-formatter.d.ts +18 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.d.ts +21 -0
- package/dist/types/helpers/formatter/state-formatter/state-background-color-formatter.d.ts +32 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-color-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-formatter.d.ts +33 -0
- package/dist/types/helpers/formatter/state-formatter/state-format-facade.d.ts +27 -0
- package/dist/types/helpers/formatter/state-formatter/state-formatter.d.ts +3 -0
- package/dist/types/helpers/formatter/state-formatter/state-shadow-formatter.d.ts +28 -0
- package/dist/types/helpers/formatter/state-formatter/state-variant-formatter.d.ts +23 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +47 -0
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +56 -0
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +34 -0
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.d.ts +12 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +94 -0
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +23 -0
- package/dist/types/helpers/formatter/style-formatter.d.ts +14 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +1 -0
- package/dist/types/helpers/icon/icon-manager.d.ts +35 -0
- package/dist/types/helpers/icon/interface.d.ts +10 -0
- package/dist/types/helpers/icon/internal-icon-manager.d.ts +30 -0
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +1 -0
- package/dist/types/helpers/immutable/immutable-map.d.ts +78 -0
- package/dist/types/helpers/immutable/immutable-set.d.ts +65 -0
- package/dist/types/helpers/immutable/immutable.d.ts +3 -0
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +1 -0
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +60 -0
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +1 -0
- package/dist/types/helpers/level-tracker/nested-level-tracker.d.ts +36 -0
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +55 -0
- package/dist/types/helpers/loading-indicator/vega-loader.d.ts +17 -0
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +1 -0
- package/dist/types/helpers/notify/vega-notify-controller.d.ts +54 -0
- package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
- package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
- package/dist/types/helpers/public-api.d.ts +17 -0
- package/dist/types/helpers/queue/queue.d.ts +4 -0
- package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +54 -0
- package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
- package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
- package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
- package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
- package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
- package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +54 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
- package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/global/vega-translate-observer-slimmer.d.ts +19 -0
- package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
- package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
- package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/translation/index.d.ts +1 -0
- package/dist/types/helpers/slimmers/translation/translation-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/types.d.ts +5 -0
- package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
- package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/theme/theme-manager.d.ts +40 -0
- package/dist/types/helpers/theme/theme.d.ts +18 -0
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
- package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
- package/dist/types/helpers/translation/index.d.ts +4 -0
- package/dist/types/helpers/translation/interface.d.ts +90 -0
- package/dist/types/helpers/translation/internal-translation-controller.d.ts +58 -0
- package/dist/types/helpers/translation/locales/en.d.ts +5 -0
- package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +1 -0
- package/dist/types/helpers/translation/tests/translation.test.d.ts +1 -0
- package/dist/types/helpers/translation/translation.d.ts +33 -0
- package/dist/types/helpers/ui/element-appender.d.ts +154 -0
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
- package/dist/types/helpers/validator/form-validator.d.ts +8 -0
- package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +40 -0
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +37 -0
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +51 -0
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
- package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +25 -0
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +40 -0
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +63 -0
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +79 -0
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +45 -0
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +56 -0
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +109 -0
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +74 -0
- package/dist/types/helpers/validator/rules/validation-rule.d.ts +22 -0
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
- package/dist/types/helpers/validator/validator.d.ts +8 -0
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
- package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
- package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +22 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +8 -0
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +11 -0
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +1 -0
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +2 -0
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/test-assets/test-icons.d.ts +4 -0
- package/dist/types/types/class.type.d.ts +8 -0
- package/dist/types/types/components.type.d.ts +193 -0
- package/dist/types/types/design-token.type.d.ts +21 -0
- package/dist/types/types/general.d.ts +7 -0
- package/dist/types/types/public-api.d.ts +17 -0
- package/dist/types/types/test/type-guard.test.d.ts +1 -0
- package/dist/types/types/test-polyfill.d.ts +8 -0
- package/dist/types/types/type-guard.d.ts +284 -0
- package/dist/types/types/ui.type.d.ts +152 -0
- package/dist/types/types/vega-chart.d.ts +149 -0
- package/dist/types/utils/accessibility.d.ts +6 -0
- package/dist/types/utils/api.d.ts +35 -0
- package/dist/types/utils/array.d.ts +100 -0
- package/dist/types/utils/breakpoints.d.ts +27 -0
- package/dist/types/utils/component.d.ts +34 -0
- package/dist/types/utils/date.d.ts +54 -0
- package/dist/types/utils/design-token.d.ts +115 -0
- package/dist/types/utils/e2e-utils.d.ts +139 -0
- package/dist/types/utils/effect.d.ts +30 -0
- package/dist/types/utils/local-storage.d.ts +14 -0
- package/dist/types/utils/log.d.ts +48 -0
- package/dist/types/utils/misc.d.ts +20 -0
- package/dist/types/utils/number.d.ts +58 -0
- package/dist/types/utils/object.d.ts +20 -0
- package/dist/types/utils/pagination.d.ts +13 -0
- package/dist/types/utils/pixel.d.ts +30 -0
- package/dist/types/utils/position.d.ts +17 -0
- package/dist/types/utils/public-api.d.ts +4 -0
- package/dist/types/utils/spec-utils.d.ts +93 -0
- package/dist/types/utils/string.d.ts +7 -0
- package/dist/types/utils/test/accessibility.test.d.ts +1 -0
- package/dist/types/utils/test/api.test.d.ts +1 -0
- package/dist/types/utils/test/array.test.d.ts +1 -0
- package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
- package/dist/types/utils/test/component.test.d.ts +1 -0
- package/dist/types/utils/test/date.test.d.ts +1 -0
- package/dist/types/utils/test/design-token.test.d.ts +1 -0
- package/dist/types/utils/test/effect.test.d.ts +1 -0
- package/dist/types/utils/test/local-storage.test.d.ts +1 -0
- package/dist/types/utils/test/log.test.d.ts +1 -0
- package/dist/types/utils/test/misc.test.d.ts +1 -0
- package/dist/types/utils/test/number.test.d.ts +1 -0
- package/dist/types/utils/test/object.test.d.ts +1 -0
- package/dist/types/utils/test/pagination.test.d.ts +1 -0
- package/dist/types/utils/test/pixel.test.d.ts +1 -0
- package/dist/types/utils/test/position.test.d.ts +1 -0
- package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
- package/dist/types/utils/test/string.test.d.ts +1 -0
- package/dist/types/utils/test/test-utils.test.d.ts +1 -0
- package/dist/types/utils/test/timer.test.d.ts +1 -0
- package/dist/types/utils/test/ui.test.d.ts +1 -0
- package/dist/types/utils/test-utils.d.ts +55 -0
- package/dist/types/utils/timer.d.ts +11 -0
- package/dist/types/utils/ui.d.ts +108 -0
- package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
- package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
- package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
- package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
- package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
- package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
- package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
- package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
- package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
- package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
- package/dist/vega/index.esm.js +1 -0
- package/dist/vega/p-0120ce7a.js +1 -0
- package/dist/vega/p-0395e791.entry.js +1 -0
- package/dist/vega/p-056f448c.entry.js +1 -0
- package/dist/vega/p-063c3ba6.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0dd750b0.entry.js +1 -0
- package/dist/vega/p-115e5967.js +1 -0
- package/dist/vega/p-152393dd.js +1 -0
- package/dist/vega/p-16493e5b.js +1 -0
- package/dist/vega/p-172605c3.entry.js +1 -0
- package/dist/vega/p-1adfa073.entry.js +1 -0
- package/dist/vega/p-1b901368.entry.js +13 -0
- package/dist/vega/p-1bbc62ef.entry.js +1 -0
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1e33c6e3.entry.js +1 -0
- package/dist/vega/p-1ea57951.js +1 -0
- package/dist/vega/p-1fc5373a.entry.js +1 -0
- package/dist/vega/p-22a85055.entry.js +1 -0
- package/dist/vega/p-26d0d411.entry.js +1 -0
- package/dist/vega/p-2d0d575f.js +1 -0
- package/dist/vega/p-319efe6c.js +1 -0
- package/dist/vega/p-32708159.entry.js +1 -0
- package/dist/vega/p-331a62d5.js +1 -0
- package/dist/vega/p-33366630.entry.js +1 -0
- package/dist/vega/p-33596687.js +1 -0
- package/dist/vega/p-344ee7cb.js +1 -0
- package/dist/vega/p-34545d2d.entry.js +1 -0
- package/dist/vega/p-365c340d.entry.js +1 -0
- package/dist/vega/p-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-3fc59fd3.entry.js +1 -0
- package/dist/vega/p-40f6add9.entry.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-456416ea.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47c87634.js +1 -0
- package/dist/vega/p-4fffa7db.entry.js +1 -0
- package/dist/vega/p-51622ace.entry.js +1 -0
- package/dist/vega/p-51cd2a39.entry.js +1 -0
- package/dist/vega/p-5453f591.js +1 -0
- package/dist/vega/p-573948c2.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-5d231a82.entry.js +1 -0
- package/dist/vega/p-5dc98104.js +1 -0
- package/dist/vega/p-5f377954.js +1 -0
- package/dist/vega/p-6168c1e7.js +1 -0
- package/dist/vega/p-61f6167c.js +1 -0
- package/dist/vega/p-64e8bb64.js +1 -0
- package/dist/vega/p-657df167.entry.js +1 -0
- package/dist/vega/p-68055c2d.entry.js +1 -0
- package/dist/vega/p-6874d6a1.entry.js +1 -0
- package/dist/vega/p-6a334573.js +1 -0
- package/dist/vega/p-6bd5c49b.js +1 -0
- package/dist/vega/p-6c6d86da.js +1 -0
- package/dist/vega/p-6d015656.entry.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-74168615.js +1 -0
- package/dist/vega/p-7a1df282.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-80c0f98c.entry.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-83af8ed7.js +1 -0
- package/dist/vega/p-84118b6d.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-880f91fb.js +1 -0
- package/dist/vega/p-8b0533c4.entry.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8c72aa56.entry.js +1 -0
- package/dist/vega/p-8f60c3ee.entry.js +1 -0
- package/dist/vega/p-8fd6775a.entry.js +1 -0
- package/dist/vega/p-92c3a7f1.entry.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9a4ffc2c.entry.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9e6934fb.js +1 -0
- package/dist/vega/p-9fbdeada.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a190c86a.js +1 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a57eed48.entry.js +1 -0
- package/dist/vega/p-a59c221b.entry.js +1 -0
- package/dist/vega/p-a5f80d35.js +1 -0
- package/dist/vega/p-a658f72a.entry.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-a8b1f19c.entry.js +1 -0
- package/dist/vega/p-a901494d.entry.js +1 -0
- package/dist/vega/p-ac0ab38b.js +1 -0
- package/dist/vega/p-acc14aa2.js +1 -0
- package/dist/vega/p-acf8b473.js +1 -0
- package/dist/vega/p-af71fe84.entry.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b2053fa8.entry.js +1 -0
- package/dist/vega/p-b4e92130.entry.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b86e8c8b.entry.js +1 -0
- package/dist/vega/p-b8e42c11.entry.js +1 -0
- package/dist/vega/p-bccacf42.js +1 -0
- package/dist/vega/p-be26b334.entry.js +1 -0
- package/dist/vega/p-be784f53.js +1 -0
- package/dist/vega/p-bf8c1fe3.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-c5d136b5.entry.js +1 -0
- package/dist/vega/p-cbeda6ca.entry.js +1 -0
- package/dist/vega/p-d0a83562.entry.js +1 -0
- package/dist/vega/p-d4c85e4e.entry.js +1 -0
- package/dist/vega/p-d550fc66.entry.js +1 -0
- package/dist/vega/p-d686dd96.entry.js +1 -0
- package/dist/vega/p-d7bd2be5.entry.js +1 -0
- package/dist/vega/p-da86ba01.js +1 -0
- package/dist/vega/p-db120a1e.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-dee487f9.js +1 -0
- package/dist/vega/p-e2acbc60.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-ead9a2b9.entry.js +1 -0
- package/dist/vega/p-ec157238.js +1 -0
- package/dist/vega/p-ecfa7534.js +1 -0
- package/dist/vega/p-ed4a57a8.js +1 -0
- package/dist/vega/p-eddcb385.entry.js +1 -0
- package/dist/vega/p-ee68920f.js +1 -0
- package/dist/vega/p-f0ad06bd.entry.js +1 -0
- package/dist/vega/p-f2019f70.entry.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f41102cd.js +1 -0
- package/dist/vega/p-f46c930f.js +1 -0
- package/dist/vega/p-f6a157a9.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-f948debe.entry.js +1 -0
- package/dist/vega/p-faea1620.js +1 -0
- package/dist/vega/p-fb6c90d6.js +1 -0
- package/dist/vega/p-fcaeb7bb.entry.js +1 -0
- package/dist/vega/p-fd929ab5.entry.js +1 -0
- package/dist/vega/vega.css +1 -0
- package/dist/vega/vega.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +130 -0
- package/readme.md +182 -0
- package/style/vega.css +1 -0
@@ -0,0 +1,2157 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-09acd3c9.js');
|
6
|
+
const componentLoadRequired = require('./component-load-required-16d76afa.js');
|
7
|
+
const date = require('./date-0a6bb035.js');
|
8
|
+
const component = require('./component-73a88c4e.js');
|
9
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
10
|
+
const componentUsageRuntimeMetrics = require('./component-usage-runtime-metrics-1ee24991.js');
|
11
|
+
const formFieldControllerSlimmer = require('./form-field-controller-slimmer-223f8ee3.js');
|
12
|
+
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-2e41340d.js');
|
13
|
+
const vegaEventId = require('./vega-event-id-e40ac8f0.js');
|
14
|
+
const ui = require('./ui-08f33116.js');
|
15
|
+
const accessibility = require('./accessibility-bfa227f6.js');
|
16
|
+
const array = require('./array-6e559cde.js');
|
17
|
+
const staticSubjectTitle = require('./static-subject-title-3599787e.js');
|
18
|
+
const changeManager = require('./change-manager-a297e4d2.js');
|
19
|
+
const elementAppenderSlimmer = require('./element-appender-slimmer-bf5ecbd8.js');
|
20
|
+
const keyboardManagerSlimmer = require('./keyboard-manager-slimmer-8e2d4b5d.js');
|
21
|
+
const typeGuard = require('./type-guard-a07b353b.js');
|
22
|
+
const childNodesEventPreventSlimmer = require('./child-nodes-event-prevent-slimmer-e383a914.js');
|
23
|
+
const eventEmitSlimmer = require('./event-emit-slimmer-8f51adaa.js');
|
24
|
+
const translationSlimmer = require('./translation-slimmer-83577cfd.js');
|
25
|
+
require('./string-21427167.js');
|
26
|
+
require('./observer-f49483e8.js');
|
27
|
+
require('./create-public-api-runtime-metrics-slimmer-7510221b.js');
|
28
|
+
require('./dynamic-slimmer-f31fdfd7.js');
|
29
|
+
require('./vega-internal-event-id-c98e9a7d.js');
|
30
|
+
require('./translation-0dd74433.js');
|
31
|
+
require('./page-resize-observer-slimmer-a8cf1874.js');
|
32
|
+
require('./breakpoints-7e2dff90.js');
|
33
|
+
require('./ui-32e69595.js');
|
34
|
+
require('./mutation-observer-slimmer-895b3d3e.js');
|
35
|
+
require('./mutation-observer-filters-79b60f28.js');
|
36
|
+
require('./number-459031f7.js');
|
37
|
+
require('./responsive-format-facade-7bc51a43.js');
|
38
|
+
require('./pixel-98f2a10c.js');
|
39
|
+
require('./internal-vega-z-index-manager-23051df4.js');
|
40
|
+
require('./keyboard-manager-34b78600.js');
|
41
|
+
require('./regex-c1f70fd4.js');
|
42
|
+
require('./typography-4560e7f1.js');
|
43
|
+
require('./internal-vega-event-manager-627b1328.js');
|
44
|
+
require('./vega-env-manager-23b8b23c.js');
|
45
|
+
require('./feature-flag-controller-078da332.js');
|
46
|
+
require('./index-5792390b.js');
|
47
|
+
|
48
|
+
/**
|
49
|
+
* A rule that checks if time is empty or not
|
50
|
+
*
|
51
|
+
* @implements {FormFieldValidationRule<string>}
|
52
|
+
*/
|
53
|
+
class TimeRequiredRule {
|
54
|
+
/**
|
55
|
+
* It creates a new instance of the class with the given config.
|
56
|
+
*
|
57
|
+
* @param {{ timeFormat: TimeFormat }} config - config including the timeFormat for time value
|
58
|
+
* @param {TimeFormat} config.timeFormat - The timeFormat for time value
|
59
|
+
*/
|
60
|
+
constructor(config) {
|
61
|
+
this.config = config;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* It checks if the input is a valid time string.
|
65
|
+
*
|
66
|
+
* @param {string} input - The value of the input field.
|
67
|
+
* @returns {EvaluateResultTranslation} An object with two properties: isValid and message.
|
68
|
+
*/
|
69
|
+
evaluate(input) {
|
70
|
+
if (!this.isAcceptedInputType(input)) {
|
71
|
+
throw new Error(`Invalid time value ${input}`);
|
72
|
+
}
|
73
|
+
const isValid = date.isTimeStr(input, this.config.timeFormat);
|
74
|
+
return {
|
75
|
+
isValid,
|
76
|
+
message: isValid ? '' : 'This field is required',
|
77
|
+
};
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* If the input is accepted and the status is not disabled and visible, then return true
|
81
|
+
*
|
82
|
+
* @param {unknown} input - The input to be evaluated.
|
83
|
+
* @param {FormFieldStatusMeta} [status] - FormFieldStatusMeta
|
84
|
+
* @returns {boolean} A boolean value.
|
85
|
+
*/
|
86
|
+
canEvaluate(input, status) {
|
87
|
+
return status
|
88
|
+
? this.isAcceptedInputType(input) && !status.disabled && status.visible
|
89
|
+
: this.isAcceptedInputType(input);
|
90
|
+
}
|
91
|
+
/**
|
92
|
+
* If the field is not disabled, visible, and has been touched or modified, then show the error
|
93
|
+
*
|
94
|
+
* @param {FormFieldStatusMeta} status - FormFieldStatusMeta
|
95
|
+
* @returns {boolean} A boolean value.
|
96
|
+
*/
|
97
|
+
shouldShowError(status) {
|
98
|
+
return !status.disabled && status.visible && (status.touched || status.modified);
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* If the input is undefined or null, return true, otherwise return true if the input is a string.
|
102
|
+
*
|
103
|
+
* @param {unknown} input - The input value to be validated.
|
104
|
+
* @returns {boolean}A boolean.
|
105
|
+
*/
|
106
|
+
isAcceptedInputType(input) {
|
107
|
+
if (input === undefined || input === null)
|
108
|
+
return true;
|
109
|
+
return typeof input === 'string';
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
114
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
115
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
116
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
117
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
118
|
+
};
|
119
|
+
/** The VegaTimePickerLabelRenderer class is a TypeScript React component that renders a label for a time picker input field. */
|
120
|
+
class VegaTimePickerLabelRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
121
|
+
constructor() {
|
122
|
+
super(...arguments);
|
123
|
+
/**
|
124
|
+
* The below method is e2e-test covered in
|
125
|
+
* @see{module:vega-time-picker-select-time-e2e}
|
126
|
+
*/
|
127
|
+
/* istanbul ignore next */
|
128
|
+
this.onTimePickerFocus = async () => {
|
129
|
+
if (this.mode === 'single') {
|
130
|
+
await this.singleInputRenderer.getInputRef().doFocus();
|
131
|
+
}
|
132
|
+
else {
|
133
|
+
await this.rangeInputRenderer.getStartInputRef().doFocus();
|
134
|
+
}
|
135
|
+
};
|
136
|
+
}
|
137
|
+
render() {
|
138
|
+
return (index.h("vega-field-label", { onClick: this.onTimePickerFocus, "is-field-required": this.required, disabled: this.disabled, label: this.label }));
|
139
|
+
}
|
140
|
+
}
|
141
|
+
__decorate$d([
|
142
|
+
globalSlimmerRegistry.MapToComponentField()
|
143
|
+
], VegaTimePickerLabelRenderer.prototype, "label", void 0);
|
144
|
+
__decorate$d([
|
145
|
+
globalSlimmerRegistry.MapToComponentField()
|
146
|
+
], VegaTimePickerLabelRenderer.prototype, "mode", void 0);
|
147
|
+
__decorate$d([
|
148
|
+
globalSlimmerRegistry.MapToComponentField()
|
149
|
+
], VegaTimePickerLabelRenderer.prototype, "required", void 0);
|
150
|
+
__decorate$d([
|
151
|
+
globalSlimmerRegistry.MapToComponentField()
|
152
|
+
], VegaTimePickerLabelRenderer.prototype, "disabled", void 0);
|
153
|
+
__decorate$d([
|
154
|
+
globalSlimmerRegistry.MapToComponentField()
|
155
|
+
], VegaTimePickerLabelRenderer.prototype, "singleInputRenderer", void 0);
|
156
|
+
__decorate$d([
|
157
|
+
globalSlimmerRegistry.MapToComponentField()
|
158
|
+
], VegaTimePickerLabelRenderer.prototype, "rangeInputRenderer", void 0);
|
159
|
+
|
160
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
161
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
162
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
163
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
164
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
165
|
+
};
|
166
|
+
/** The `VegaTimePickerInputRenderer` class is a TypeScript React component that renders a time picker input field. */
|
167
|
+
class VegaTimePickerSingleInputRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
168
|
+
constructor() {
|
169
|
+
super(...arguments);
|
170
|
+
/**
|
171
|
+
* It is an event handler that is called when the `vega-input` component emits a `VegaChange` event.
|
172
|
+
*
|
173
|
+
* @param {CustomEvent} e event object
|
174
|
+
*/
|
175
|
+
this.onChildVegaInputChange = (e) => {
|
176
|
+
this.valueController.setValue(e.detail);
|
177
|
+
};
|
178
|
+
}
|
179
|
+
/**
|
180
|
+
* The function returns a reference to an HTML input element.
|
181
|
+
*
|
182
|
+
* @returns {HTMLVegaInputElement} an HTMLVegaInputElement.
|
183
|
+
*/
|
184
|
+
getInputRef() {
|
185
|
+
return this.timeInputRef;
|
186
|
+
}
|
187
|
+
/* istanbul ignore next */
|
188
|
+
/**
|
189
|
+
* The function updates the value of a time input field in a TypeScript React component.
|
190
|
+
*
|
191
|
+
* @param {string} value - A string value that will be used to update the input value.
|
192
|
+
*/
|
193
|
+
updateInputValue(value) {
|
194
|
+
this.timeInputRef.value = value;
|
195
|
+
}
|
196
|
+
/* istanbul ignore next */
|
197
|
+
render() {
|
198
|
+
return (index.h("div", { class: "time-picker-input" },
|
199
|
+
index.h("vega-input", { "prefix-icon": "clock-face", placeholder: this.getPlaceholder(), disabled: this.disabled, size: this.size, value: typeof this.value === 'string' ? this.value : '', ref: (ref) => {
|
200
|
+
this.timeInputRef = ref;
|
201
|
+
this.handleVegaInputEvent(ref);
|
202
|
+
} })));
|
203
|
+
}
|
204
|
+
/*
|
205
|
+
* The below method is e2e-test covered in
|
206
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
207
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
208
|
+
*/
|
209
|
+
/* istanbul ignore next */
|
210
|
+
/**
|
211
|
+
* The function `handleVegaInputEvent` adds event observers to a given HTML input element for handling changes, focus, and blur events.
|
212
|
+
*
|
213
|
+
* @param {HTMLVegaInputElement} ref - The ref parameter is a reference to an HTML input element with the type "vega".
|
214
|
+
*/
|
215
|
+
handleVegaInputEvent(ref) {
|
216
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, (input) => {
|
217
|
+
this.onChildVegaInputChange(input);
|
218
|
+
});
|
219
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaFocus, () => {
|
220
|
+
this.singleDropdownController.show();
|
221
|
+
});
|
222
|
+
//When the filled time format is incorrect, the value needs to be set to empty, the initial value may also be empty, so the input needs to be set to an empty value.
|
223
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaBlur, (input) => {
|
224
|
+
this.valueController.checkValueAfterInputBlur(input);
|
225
|
+
});
|
226
|
+
}
|
227
|
+
/**
|
228
|
+
* get the vega input placeholder
|
229
|
+
*
|
230
|
+
* @returns {string} a string value
|
231
|
+
*/
|
232
|
+
getPlaceholder() {
|
233
|
+
return this.placeholder && typeof this.placeholder === 'string'
|
234
|
+
? this.placeholder
|
235
|
+
: this.translationSlimmer.t('Select Time');
|
236
|
+
}
|
237
|
+
}
|
238
|
+
__decorate$c([
|
239
|
+
globalSlimmerRegistry.MapToComponentField()
|
240
|
+
], VegaTimePickerSingleInputRenderer.prototype, "placeholder", void 0);
|
241
|
+
__decorate$c([
|
242
|
+
globalSlimmerRegistry.MapToComponentField()
|
243
|
+
], VegaTimePickerSingleInputRenderer.prototype, "size", void 0);
|
244
|
+
__decorate$c([
|
245
|
+
globalSlimmerRegistry.MapToComponentField()
|
246
|
+
], VegaTimePickerSingleInputRenderer.prototype, "disabled", void 0);
|
247
|
+
__decorate$c([
|
248
|
+
globalSlimmerRegistry.MapToComponentField()
|
249
|
+
], VegaTimePickerSingleInputRenderer.prototype, "value", void 0);
|
250
|
+
__decorate$c([
|
251
|
+
globalSlimmerRegistry.MapToComponentField()
|
252
|
+
], VegaTimePickerSingleInputRenderer.prototype, "valueController", void 0);
|
253
|
+
__decorate$c([
|
254
|
+
globalSlimmerRegistry.MapToComponentField()
|
255
|
+
], VegaTimePickerSingleInputRenderer.prototype, "singleDropdownController", void 0);
|
256
|
+
__decorate$c([
|
257
|
+
globalSlimmerRegistry.MapToComponentField()
|
258
|
+
], VegaTimePickerSingleInputRenderer.prototype, "translationSlimmer", void 0);
|
259
|
+
|
260
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
261
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
262
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
263
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
264
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
265
|
+
};
|
266
|
+
/** The `VegaTimePickerDropdownRenderer` class is a TypeScript React component that renders a dropdown menu for selecting a time value. */
|
267
|
+
class VegaTimePickerSingleDropdownRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
268
|
+
constructor() {
|
269
|
+
super(...arguments);
|
270
|
+
this.isMobileDevice = ui.getDeviceType() === ui.DeviceType.MOBILE;
|
271
|
+
this.renderDropdownByTimeSource = () => {
|
272
|
+
return (index.h(index.Fragment, null,
|
273
|
+
this.renderDropdownColumn(this.dropdownSource.hours, 'hour'),
|
274
|
+
this.renderDropdownColumn(this.dropdownSource.minutes, 'minute'),
|
275
|
+
this.timeFormat === '12-hour' && this.renderDropdownColumn(['AM', 'PM'], 'amPm')));
|
276
|
+
};
|
277
|
+
/**
|
278
|
+
* The below method is e2e-test covered in
|
279
|
+
* @see{module:vega-time-picker-click-label-focus-input-e2e}
|
280
|
+
*/
|
281
|
+
/* istanbul ignore next */
|
282
|
+
this.onItemClick = (itemValue, sourceType) => {
|
283
|
+
this.dropdownSelectedItemsController.setSelectedItems(Object.assign(Object.assign({}, this.selectedTimeValue), { [sourceType]: itemValue }));
|
284
|
+
};
|
285
|
+
this.onNowButtonClick = () => {
|
286
|
+
this.dropdownSelectedItemsController.setSelectedItemsToCurrentTime();
|
287
|
+
this.singleDropdownController.hide();
|
288
|
+
};
|
289
|
+
this.onApplyButtonClick = () => {
|
290
|
+
this.valueController.updateValueBySelectedItems();
|
291
|
+
this.singleDropdownController.hide();
|
292
|
+
};
|
293
|
+
}
|
294
|
+
/**
|
295
|
+
* Component lifecycle - [componentDidRender]{@link VegaTimePicker.componentDidRender}
|
296
|
+
*/
|
297
|
+
componentDidRenderCallback() {
|
298
|
+
if (this.dropdownContainer && this.dropdownContainer.parentElement === this.dropdown) {
|
299
|
+
this.dropdown.shadowRoot.append(this.dropdownContainer);
|
300
|
+
}
|
301
|
+
}
|
302
|
+
/**
|
303
|
+
* The function returns a reference to the dropdown element.
|
304
|
+
*
|
305
|
+
* @returns {HTMLElement} an HTMLElement, specifically the dropdown element.
|
306
|
+
*/
|
307
|
+
getDropdownRef() {
|
308
|
+
return this.dropdown;
|
309
|
+
}
|
310
|
+
/**
|
311
|
+
* The function returns the selected elements. If elements is empty, it returns the first option by default.
|
312
|
+
*
|
313
|
+
* @returns {HTMLElement[]} an array of HTMLElements.
|
314
|
+
*/
|
315
|
+
getSelectedItem() {
|
316
|
+
const elements = [];
|
317
|
+
const dropdown = this.dropdown.shadowRoot;
|
318
|
+
dropdown.querySelectorAll('.vega-dropdown-item-selected').forEach((selectedItem) => {
|
319
|
+
elements.push(selectedItem);
|
320
|
+
});
|
321
|
+
if (elements.length === 0) {
|
322
|
+
dropdown
|
323
|
+
.querySelectorAll('.vega-time-picker-dropdown-panel li:first-child')
|
324
|
+
.forEach((selectedItem) => {
|
325
|
+
elements.push(selectedItem);
|
326
|
+
});
|
327
|
+
}
|
328
|
+
return elements;
|
329
|
+
}
|
330
|
+
render() {
|
331
|
+
return (index.h("vega-time-picker-dropdown", { class: {
|
332
|
+
'vega-time-picker-dropdown': true,
|
333
|
+
/* istanbul ignore next */
|
334
|
+
'mobile': this.isMobileDevice,
|
335
|
+
}, ref: (e) => (this.dropdown = e) },
|
336
|
+
index.h("div", { class: "vega-time-picker-dropdown-container", ref: (e) => (this.dropdownContainer = e) },
|
337
|
+
index.h("div", { class: "vega-time-picker-dropdown-panel" }, this.renderDropdownByTimeSource()),
|
338
|
+
index.h("div", { class: "horizontal-divider v-my-size-12" }),
|
339
|
+
this.renderDropdownFoot())));
|
340
|
+
}
|
341
|
+
renderDropdownColumn(items, sourceType) {
|
342
|
+
return (index.h("ul", { role: "menu", "aria-label": "dropdown-ul", class: {
|
343
|
+
'vega-time-picker-panel-column': true,
|
344
|
+
} }, items.map((item, index) => {
|
345
|
+
{
|
346
|
+
return this.renderDropdownItem(item, sourceType, index);
|
347
|
+
}
|
348
|
+
})));
|
349
|
+
}
|
350
|
+
/**
|
351
|
+
* The below method is e2e-test covered in
|
352
|
+
* @see{module:vega-time-picker-select-time-e2e}
|
353
|
+
*/
|
354
|
+
/* istanbul ignore next */
|
355
|
+
renderDropdownItem(item, sourceType, index$1) {
|
356
|
+
return (index.h("li", { key: item, role: "menuitem", "aria-label": item, class: {
|
357
|
+
'vega-dropdown-item-selected': this.isItemSelected(item, sourceType),
|
358
|
+
}, tabIndex: index$1 === 0 ? 0 : -1, "data-index": index$1,
|
359
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
360
|
+
onClick: () => this.onItemClick(item, sourceType), onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick() },
|
361
|
+
index.h("span", { "data-index": index$1, innerHTML: item })));
|
362
|
+
}
|
363
|
+
renderDropdownFoot() {
|
364
|
+
return (index.h("div", { class: "vega-time-picker-dropdown-footer" },
|
365
|
+
index.h("div", { class: "vega-time-picker-now" },
|
366
|
+
index.h("vega-button-link", { size: "small", label: "Now", ref: (ref) => {
|
367
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, () => {
|
368
|
+
this.onNowButtonClick();
|
369
|
+
});
|
370
|
+
} })),
|
371
|
+
index.h("div", null,
|
372
|
+
index.h("vega-button-link", { size: "small", label: "Apply", ref: (ref) => {
|
373
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, () => {
|
374
|
+
this.onApplyButtonClick();
|
375
|
+
});
|
376
|
+
} }))));
|
377
|
+
}
|
378
|
+
/* If no hour, minute, etc. are currently selected,
|
379
|
+
* the initial value is displayed. Hour and minute initial value is 00, amPm is AM.
|
380
|
+
*/
|
381
|
+
isItemSelected(itemValue, sourceType) {
|
382
|
+
return this.selectedTimeValue[`${sourceType}`] === itemValue;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
__decorate$b([
|
386
|
+
globalSlimmerRegistry.MapToComponentField()
|
387
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "timeFormat", void 0);
|
388
|
+
__decorate$b([
|
389
|
+
globalSlimmerRegistry.MapToComponentField()
|
390
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "dropdownSource", void 0);
|
391
|
+
__decorate$b([
|
392
|
+
globalSlimmerRegistry.MapToComponentField()
|
393
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "selectedTimeValue", void 0);
|
394
|
+
__decorate$b([
|
395
|
+
globalSlimmerRegistry.MapToComponentField()
|
396
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "valueController", void 0);
|
397
|
+
__decorate$b([
|
398
|
+
globalSlimmerRegistry.MapToComponentField()
|
399
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "dropdownSelectedItemsController", void 0);
|
400
|
+
__decorate$b([
|
401
|
+
globalSlimmerRegistry.MapToComponentField()
|
402
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "singleDropdownController", void 0);
|
403
|
+
__decorate$b([
|
404
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidRender')
|
405
|
+
], VegaTimePickerSingleDropdownRenderer.prototype, "componentDidRenderCallback", null);
|
406
|
+
|
407
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
408
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
409
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
410
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
411
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
412
|
+
};
|
413
|
+
/** The `VegaTimePickerValueController` class is responsible for managing the value and behavior of a time picker component. */
|
414
|
+
class VegaTimePickerValueController extends globalSlimmerRegistry.VegaSlimmer {
|
415
|
+
/**
|
416
|
+
* The function emits a change event if the new value is a valid time string or clears the time picker if the new value is not valid or empty.
|
417
|
+
*
|
418
|
+
* @param {string|string[]} newValue - The `newValue` parameter is a string representing the new value for the time picker.
|
419
|
+
* @param {string|string[]} oldValue - The `oldValue` parameter is a string representing the old value for the time picker.
|
420
|
+
*/
|
421
|
+
emitChangeEventOrClearTimePicker(newValue, oldValue) {
|
422
|
+
if (this.mode === 'range' &&
|
423
|
+
array.isArrayEqual(newValue, oldValue)) {
|
424
|
+
return; // avoid the value changed again by `input blur`, `dropdown item click` in range mode
|
425
|
+
}
|
426
|
+
if (this.valueGuard(newValue)) {
|
427
|
+
this.changeEventEmitter.emit(newValue);
|
428
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.FORM_ELEMENT_VALUE_CHANGE, {
|
429
|
+
host: this.host,
|
430
|
+
detail: newValue,
|
431
|
+
});
|
432
|
+
}
|
433
|
+
else {
|
434
|
+
if (this.mode === 'single') {
|
435
|
+
this.clearTimePicker();
|
436
|
+
}
|
437
|
+
else {
|
438
|
+
this.clearRangeTimePicker();
|
439
|
+
}
|
440
|
+
}
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* The function updates a value if there are selected items.
|
444
|
+
*/
|
445
|
+
updateValueIfSelectedItemsChange() {
|
446
|
+
if (this.mode === 'single') {
|
447
|
+
if (Object.keys(this.selectedTimeValue).length > 0) {
|
448
|
+
this.updateValueBySelectedItems();
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}
|
452
|
+
/*
|
453
|
+
* The below method is e2e-test covered in
|
454
|
+
* @see{module:vega-time-picker-mode-change}
|
455
|
+
*/
|
456
|
+
/* istanbul ignore next */
|
457
|
+
/**
|
458
|
+
* The function resets the current value if there is a change in mode.
|
459
|
+
*/
|
460
|
+
resetCurrentValueIfModeChange() {
|
461
|
+
this.resetValue();
|
462
|
+
}
|
463
|
+
/**
|
464
|
+
* The function checks if the mode is set to 'range' and if the value is not valid, it clears the range time picker.
|
465
|
+
*/
|
466
|
+
checkTheDefaultValueForRangeMode() {
|
467
|
+
if (this.mode === 'range' && this.value && !this.valueGuard(this.value)) {
|
468
|
+
this.clearRangeTimePicker();
|
469
|
+
}
|
470
|
+
}
|
471
|
+
/*
|
472
|
+
* When the filled time format is incorrect, the value needs to be set to empty,
|
473
|
+
* the initial value may also be empty, so the input needs to be set to an empty value.
|
474
|
+
* The below method is e2e-test covered in
|
475
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
476
|
+
*/
|
477
|
+
/* istanbul ignore next */
|
478
|
+
/**
|
479
|
+
* The function checks the value of an input element after it loses focus and performs certain actions based on the value.
|
480
|
+
*
|
481
|
+
* @param {NotifyObserverPayload<unknown>} input - input#host is vega-input component
|
482
|
+
*/
|
483
|
+
checkValueAfterInputBlur(input) {
|
484
|
+
const vegaInput = input.host;
|
485
|
+
if (!this.valueGuard(vegaInput.value)) {
|
486
|
+
this.clearTimePicker();
|
487
|
+
}
|
488
|
+
else if (this.increments > 1 && this.value && vegaInput.value && vegaInput.value !== this.value) {
|
489
|
+
vegaInput.value = this.value;
|
490
|
+
}
|
491
|
+
}
|
492
|
+
/**
|
493
|
+
* The function sets the value of a variable.
|
494
|
+
*
|
495
|
+
* @param {string|string[]} value - The parameter "value" is of type string.
|
496
|
+
*/
|
497
|
+
setValue(value) {
|
498
|
+
if (this.valueGuard(value)) {
|
499
|
+
this.value = value;
|
500
|
+
}
|
501
|
+
}
|
502
|
+
/**
|
503
|
+
* The function resets the value property to an empty string or an array depending on the mode property.
|
504
|
+
*/
|
505
|
+
resetValue() {
|
506
|
+
this.value = this.mode === 'single' ? '' : ['', ''];
|
507
|
+
}
|
508
|
+
/**
|
509
|
+
* The function updates the value based on the selected time items, taking into account the time
|
510
|
+
* format (12-hour or 24-hour).
|
511
|
+
*/
|
512
|
+
updateValueBySelectedItems() {
|
513
|
+
const defaultHour = this.timeFormat === '12-hour' ? '12' : '00';
|
514
|
+
const hour = this.selectedTimeValue.hour ? this.selectedTimeValue.hour : defaultHour;
|
515
|
+
const minute = this.selectedTimeValue.minute ? this.selectedTimeValue.minute : '00';
|
516
|
+
const amPm = this.selectedTimeValue.amPm ? this.selectedTimeValue.amPm : 'AM';
|
517
|
+
this.timeFormat === '12-hour'
|
518
|
+
? this.setValue(`${hour}:${minute} ${amPm}`)
|
519
|
+
: this.setValue(`${hour}:${minute}`);
|
520
|
+
}
|
521
|
+
/**
|
522
|
+
* The function updates a value based on the range type. if change start value, check the end value is a time string, if not check, the start value will block by the value guard
|
523
|
+
*
|
524
|
+
* @param {string} value - A string value that needs to be updated based on the source code.
|
525
|
+
* @param {TimeRangeIndex} rangeIndex - The rangeIndex parameter is of type TimeRangeIndex, which is a string that can have two possible values: 'start' or 'end'.
|
526
|
+
*/
|
527
|
+
updateValueByRangeType(value, rangeIndex) {
|
528
|
+
if (rangeIndex === 'start') {
|
529
|
+
this.setValue([
|
530
|
+
value,
|
531
|
+
Array.isArray(this.value) && this.value[1] && date.isTimeStr(this.value[1], this.timeFormat)
|
532
|
+
? this.value[1]
|
533
|
+
: '',
|
534
|
+
]);
|
535
|
+
}
|
536
|
+
else {
|
537
|
+
this.setValue([
|
538
|
+
Array.isArray(this.value) && this.value[0] && date.isTimeStr(this.value[0], this.timeFormat)
|
539
|
+
? this.value[0]
|
540
|
+
: '',
|
541
|
+
value,
|
542
|
+
]);
|
543
|
+
}
|
544
|
+
}
|
545
|
+
/**
|
546
|
+
* This method is used to clear the selected time value in a time picker component.
|
547
|
+
*/
|
548
|
+
clearRangeTimePicker() {
|
549
|
+
this.value = ['', ''];
|
550
|
+
this.rangeInputRenderer.getStartInputRef().value = '';
|
551
|
+
this.rangeInputRenderer.getEndInputRef().value = '';
|
552
|
+
}
|
553
|
+
/**
|
554
|
+
* This method is used to clear the selected time value in a time picker component.
|
555
|
+
*/
|
556
|
+
clearTimePicker() {
|
557
|
+
this.value = '';
|
558
|
+
this.singleInputRenderer.getInputRef().value = '';
|
559
|
+
this.dropdownSelectedItemsController.setSelectedItems({});
|
560
|
+
}
|
561
|
+
/**
|
562
|
+
* The function `valueGuard` checks if the provided value is valid for the specified mode of a time picker component.
|
563
|
+
*
|
564
|
+
* @param {DatePickerValueType<DatePickerModeType>} value - The `value` parameter is of type `DatePickerValueType<DatePickerModeType>`. It
|
565
|
+
* represents the value of the time picker, which can be a single time or a range of times depending on
|
566
|
+
* the mode of the time picker.
|
567
|
+
* @returns {boolean} a boolean value.
|
568
|
+
*/
|
569
|
+
valueGuard(value) {
|
570
|
+
let isValid;
|
571
|
+
switch (this.mode) {
|
572
|
+
case 'single':
|
573
|
+
isValid =
|
574
|
+
(value && typeof value === 'string' && date.isTimeStr(value, this.timeFormat)) || value === '';
|
575
|
+
break;
|
576
|
+
case 'range':
|
577
|
+
isValid =
|
578
|
+
Array.isArray(value) &&
|
579
|
+
value.length === 2 &&
|
580
|
+
value.every((item) => date.isTimeStr(item, this.timeFormat) || item === '');
|
581
|
+
break;
|
582
|
+
}
|
583
|
+
if (!isValid) {
|
584
|
+
globalSlimmerRegistry.LogUtility.warn(`Invalid time picker value ${value} for ${this.mode} mode`);
|
585
|
+
}
|
586
|
+
return isValid;
|
587
|
+
}
|
588
|
+
}
|
589
|
+
__decorate$a([
|
590
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
591
|
+
], VegaTimePickerValueController.prototype, "value", void 0);
|
592
|
+
__decorate$a([
|
593
|
+
globalSlimmerRegistry.MapToComponentField()
|
594
|
+
], VegaTimePickerValueController.prototype, "mode", void 0);
|
595
|
+
__decorate$a([
|
596
|
+
globalSlimmerRegistry.MapToComponentField()
|
597
|
+
], VegaTimePickerValueController.prototype, "timeFormat", void 0);
|
598
|
+
__decorate$a([
|
599
|
+
globalSlimmerRegistry.MapToComponentField()
|
600
|
+
], VegaTimePickerValueController.prototype, "selectedTimeValue", void 0);
|
601
|
+
__decorate$a([
|
602
|
+
globalSlimmerRegistry.MapToComponentField()
|
603
|
+
], VegaTimePickerValueController.prototype, "increments", void 0);
|
604
|
+
__decorate$a([
|
605
|
+
globalSlimmerRegistry.MapToComponentField()
|
606
|
+
], VegaTimePickerValueController.prototype, "changeEventEmitter", void 0);
|
607
|
+
__decorate$a([
|
608
|
+
globalSlimmerRegistry.MapToComponentField()
|
609
|
+
], VegaTimePickerValueController.prototype, "singleInputRenderer", void 0);
|
610
|
+
__decorate$a([
|
611
|
+
globalSlimmerRegistry.MapToComponentField()
|
612
|
+
], VegaTimePickerValueController.prototype, "rangeInputRenderer", void 0);
|
613
|
+
__decorate$a([
|
614
|
+
globalSlimmerRegistry.MapToComponentField()
|
615
|
+
], VegaTimePickerValueController.prototype, "dropdownSelectedItemsController", void 0);
|
616
|
+
__decorate$a([
|
617
|
+
globalSlimmerRegistry.MapToComponentField()
|
618
|
+
], VegaTimePickerValueController.prototype, "host", void 0);
|
619
|
+
__decorate$a([
|
620
|
+
globalSlimmerRegistry.MapToComponentMethod('watchValue')
|
621
|
+
], VegaTimePickerValueController.prototype, "emitChangeEventOrClearTimePicker", null);
|
622
|
+
__decorate$a([
|
623
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectedTimeValue')
|
624
|
+
], VegaTimePickerValueController.prototype, "updateValueIfSelectedItemsChange", null);
|
625
|
+
__decorate$a([
|
626
|
+
globalSlimmerRegistry.MapToComponentMethod('watchMode')
|
627
|
+
], VegaTimePickerValueController.prototype, "resetCurrentValueIfModeChange", null);
|
628
|
+
__decorate$a([
|
629
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
630
|
+
], VegaTimePickerValueController.prototype, "checkTheDefaultValueForRangeMode", null);
|
631
|
+
|
632
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
633
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
634
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
635
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
636
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
637
|
+
};
|
638
|
+
/** The `VegaTimePickerDropdownController` class is responsible for managing the dropdown functionality of the VegaTimePicker component in a TypeScript application. */
|
639
|
+
class VegaTimePickerSingleDropdownController extends elementAppenderSlimmer.ElementAppenderSlimmer {
|
640
|
+
/**
|
641
|
+
* The constructor initializes a custom dropdown component with specific configuration options.
|
642
|
+
*/
|
643
|
+
constructor() {
|
644
|
+
super(
|
645
|
+
/* istanbul ignore next */
|
646
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
647
|
+
() => ({
|
648
|
+
target: this.singleInputRenderer.getInputRef(),
|
649
|
+
appendableElement: this.singleDropdownRenderer.getDropdownRef(),
|
650
|
+
positionRelativeTo: this.positionRelativeTo,
|
651
|
+
translocation: { X: 0, Y: 8 },
|
652
|
+
placement: ['bottom', 'top'],
|
653
|
+
}), () => 'custom');
|
654
|
+
}
|
655
|
+
/**
|
656
|
+
* The function initializes a value controller and dropdown source.
|
657
|
+
*/
|
658
|
+
initValueAndDropdownSource() {
|
659
|
+
this.valueController.resetValue();
|
660
|
+
this.initDropdownSource();
|
661
|
+
}
|
662
|
+
/**
|
663
|
+
* The function initializes the dropdown source and input mask configuration, resetting the value
|
664
|
+
* controller, initializing the dropdown source, and initializing the input mask configuration.
|
665
|
+
*/
|
666
|
+
initDropdownSourceAndInputMaskConfig() {
|
667
|
+
this.valueController.resetValue();
|
668
|
+
this.initDropdownSource();
|
669
|
+
this.inputMaskController.initInputMask();
|
670
|
+
}
|
671
|
+
/**
|
672
|
+
* The function initializes the dropdown source and sets the selected items based on a given value.
|
673
|
+
*/
|
674
|
+
initDropdownSourceAndSelectedItems() {
|
675
|
+
this.initDropdownSource();
|
676
|
+
if (this.mode === 'single') {
|
677
|
+
this.dropdownSelectedItemsController.initSelectedItemsByString(this.value);
|
678
|
+
}
|
679
|
+
}
|
680
|
+
/**
|
681
|
+
* The function hides a dropdown when it is disabled.
|
682
|
+
*/
|
683
|
+
hideDropdownWhenDisabled() {
|
684
|
+
if (this.mode === 'single') {
|
685
|
+
this.hide();
|
686
|
+
}
|
687
|
+
}
|
688
|
+
/**
|
689
|
+
* The function initializes the dropdownSource object with hours and minutes strings.
|
690
|
+
*/
|
691
|
+
initDropdownSource() {
|
692
|
+
this.dropdownSource = {
|
693
|
+
hours: this.getSourceHoursStrings(),
|
694
|
+
minutes: this.getSourceMinutesStrings(),
|
695
|
+
};
|
696
|
+
}
|
697
|
+
/**
|
698
|
+
* The function `getSourceMinutesStrings` generates an array of strings representing minutes in increments specified by the `increments` variable.
|
699
|
+
*
|
700
|
+
* @returns {string[]} an array of strings.
|
701
|
+
*/
|
702
|
+
getSourceMinutesStrings() {
|
703
|
+
if (this.increments < 1 || this.increments > 59 || isNaN(Number(this.increments))) {
|
704
|
+
globalSlimmerRegistry.LogUtility.warn('The increments should be between 1 and 59.');
|
705
|
+
this.increments = 1;
|
706
|
+
}
|
707
|
+
const sourceMinutesStrings = [];
|
708
|
+
for (let i = 0; i < 60; i = i + this.increments) {
|
709
|
+
sourceMinutesStrings.push(date.pad(i));
|
710
|
+
}
|
711
|
+
return sourceMinutesStrings;
|
712
|
+
}
|
713
|
+
/**
|
714
|
+
* The function `getSourceHoursStrings` returns an array of strings representing the hours in either 12-hour or 24-hour format.
|
715
|
+
*
|
716
|
+
* @returns {string[]} The function `getSourceHoursStrings` returns an array of strings.
|
717
|
+
*/
|
718
|
+
getSourceHoursStrings() {
|
719
|
+
const sourceHoursStrings = [];
|
720
|
+
if (this.timeFormat === '12-hour') {
|
721
|
+
sourceHoursStrings.push('12');
|
722
|
+
for (let i = 1; i < 12; i++) {
|
723
|
+
sourceHoursStrings.push(date.pad(i));
|
724
|
+
}
|
725
|
+
}
|
726
|
+
else {
|
727
|
+
for (let i = 0; i < 24; i++) {
|
728
|
+
sourceHoursStrings.push(date.pad(i));
|
729
|
+
}
|
730
|
+
}
|
731
|
+
return sourceHoursStrings;
|
732
|
+
}
|
733
|
+
}
|
734
|
+
__decorate$9([
|
735
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
736
|
+
], VegaTimePickerSingleDropdownController.prototype, "isDropdownShow", void 0);
|
737
|
+
__decorate$9([
|
738
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
739
|
+
], VegaTimePickerSingleDropdownController.prototype, "dropdownSource", void 0);
|
740
|
+
__decorate$9([
|
741
|
+
globalSlimmerRegistry.MapToComponentField()
|
742
|
+
], VegaTimePickerSingleDropdownController.prototype, "mode", void 0);
|
743
|
+
__decorate$9([
|
744
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
745
|
+
], VegaTimePickerSingleDropdownController.prototype, "increments", void 0);
|
746
|
+
__decorate$9([
|
747
|
+
globalSlimmerRegistry.MapToComponentField()
|
748
|
+
], VegaTimePickerSingleDropdownController.prototype, "timeFormat", void 0);
|
749
|
+
__decorate$9([
|
750
|
+
globalSlimmerRegistry.MapToComponentField()
|
751
|
+
], VegaTimePickerSingleDropdownController.prototype, "value", void 0);
|
752
|
+
__decorate$9([
|
753
|
+
globalSlimmerRegistry.MapToComponentField()
|
754
|
+
], VegaTimePickerSingleDropdownController.prototype, "positionRelativeTo", void 0);
|
755
|
+
__decorate$9([
|
756
|
+
globalSlimmerRegistry.MapToComponentField()
|
757
|
+
], VegaTimePickerSingleDropdownController.prototype, "selectedTimeValue", void 0);
|
758
|
+
__decorate$9([
|
759
|
+
globalSlimmerRegistry.MapToComponentField()
|
760
|
+
], VegaTimePickerSingleDropdownController.prototype, "singleInputRenderer", void 0);
|
761
|
+
__decorate$9([
|
762
|
+
globalSlimmerRegistry.MapToComponentField()
|
763
|
+
], VegaTimePickerSingleDropdownController.prototype, "rangeInputRenderer", void 0);
|
764
|
+
__decorate$9([
|
765
|
+
globalSlimmerRegistry.MapToComponentField()
|
766
|
+
], VegaTimePickerSingleDropdownController.prototype, "singleDropdownRenderer", void 0);
|
767
|
+
__decorate$9([
|
768
|
+
globalSlimmerRegistry.MapToComponentField()
|
769
|
+
], VegaTimePickerSingleDropdownController.prototype, "valueController", void 0);
|
770
|
+
__decorate$9([
|
771
|
+
globalSlimmerRegistry.MapToComponentField()
|
772
|
+
], VegaTimePickerSingleDropdownController.prototype, "dropdownSelectedItemsController", void 0);
|
773
|
+
__decorate$9([
|
774
|
+
globalSlimmerRegistry.MapToComponentField()
|
775
|
+
], VegaTimePickerSingleDropdownController.prototype, "inputMaskController", void 0);
|
776
|
+
__decorate$9([
|
777
|
+
globalSlimmerRegistry.MapToComponentMethod('watchIncrements')
|
778
|
+
], VegaTimePickerSingleDropdownController.prototype, "initValueAndDropdownSource", null);
|
779
|
+
__decorate$9([
|
780
|
+
globalSlimmerRegistry.MapToComponentMethod('watchTimeFormat')
|
781
|
+
], VegaTimePickerSingleDropdownController.prototype, "initDropdownSourceAndInputMaskConfig", null);
|
782
|
+
__decorate$9([
|
783
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
784
|
+
], VegaTimePickerSingleDropdownController.prototype, "initDropdownSourceAndSelectedItems", null);
|
785
|
+
__decorate$9([
|
786
|
+
globalSlimmerRegistry.MapToComponentMethod('watchDisabled')
|
787
|
+
], VegaTimePickerSingleDropdownController.prototype, "hideDropdownWhenDisabled", null);
|
788
|
+
|
789
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
790
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
791
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
792
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
793
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
794
|
+
};
|
795
|
+
/** The `VegaTimePickerDropdownSelectedItemsController` class is responsible for managing the selected items in the dropdown of a time picker component. */
|
796
|
+
class VegaTimePickerDropdownSelectedItemsController extends globalSlimmerRegistry.VegaSlimmer {
|
797
|
+
constructor() {
|
798
|
+
super(...arguments);
|
799
|
+
this.DROPDOWN_ITEM_DEFAULT_HEIGHT = 32;
|
800
|
+
/**
|
801
|
+
* The selected fill time is displayed in the dropdown, increments is set to handle the filled minute mismatch option.
|
802
|
+
*
|
803
|
+
* @param {string} value time picker value
|
804
|
+
*/
|
805
|
+
this.initSelectedItemsByString = (value) => {
|
806
|
+
if (value === '' || !date.isTimeStr(value, this.timeFormat)) {
|
807
|
+
this.selectedTimeValue = {};
|
808
|
+
}
|
809
|
+
else {
|
810
|
+
this.selectedTimeValue = this.getClosetTimeValue(value);
|
811
|
+
}
|
812
|
+
};
|
813
|
+
/*
|
814
|
+
* The height of the scroll is based on the default height of the current element 32 * the index of the element.
|
815
|
+
* The below method is e2e-test covered in
|
816
|
+
* @see{module:vega-time-picker-select-time-e2e}
|
817
|
+
* @see{module:vega-time-picker-scroll-top-e2e}
|
818
|
+
*/
|
819
|
+
/* istanbul ignore next */
|
820
|
+
/**
|
821
|
+
* scroll the selected item to top
|
822
|
+
*
|
823
|
+
* @param {HTMLElement} element the element which should scroll to top
|
824
|
+
*/
|
825
|
+
this.scrollToSelectedElement = (element) => {
|
826
|
+
const parentElement = element.closest('ul');
|
827
|
+
const scrollTop = Number(element.dataset['index']) * this.DROPDOWN_ITEM_DEFAULT_HEIGHT;
|
828
|
+
parentElement.scrollTop = scrollTop;
|
829
|
+
};
|
830
|
+
/**
|
831
|
+
* It is responsible for finding the closest minute value in the dropdown source that is less than or equal to the current minute value.
|
832
|
+
*
|
833
|
+
* @param {string} currentMinute minute string
|
834
|
+
* @returns {string} the minute string which find in list
|
835
|
+
*/
|
836
|
+
this.getClosestMinuteForCurrent = (currentMinute) => {
|
837
|
+
const lessCurrentMinuteStrings = this.dropdownSource.minutes.filter((minute) => Number(minute) <= Number(currentMinute));
|
838
|
+
return lessCurrentMinuteStrings[lessCurrentMinuteStrings.length - 1];
|
839
|
+
};
|
840
|
+
/**
|
841
|
+
* It is responsible for getting the current time based on the specified time format (either '12-hour' or '24-hour').
|
842
|
+
*
|
843
|
+
* @param {TimeFormat} timeFormat time format string
|
844
|
+
* @returns {TimeValue} time value object
|
845
|
+
*/
|
846
|
+
this.getCurrentTime = (timeFormat) => {
|
847
|
+
const curHour = new Date(Date.now()).getHours();
|
848
|
+
const minute = date.pad(new Date(Date.now()).getMinutes());
|
849
|
+
if (timeFormat === '12-hour') {
|
850
|
+
return {
|
851
|
+
hour: curHour > 12
|
852
|
+
? date.pad(curHour - 12)
|
853
|
+
: date.pad(curHour === 0 ? 12 : curHour),
|
854
|
+
minute: minute,
|
855
|
+
amPm: curHour >= 12 ? 'PM' : 'AM',
|
856
|
+
};
|
857
|
+
}
|
858
|
+
else {
|
859
|
+
return {
|
860
|
+
hour: date.pad(curHour),
|
861
|
+
minute: minute,
|
862
|
+
};
|
863
|
+
}
|
864
|
+
};
|
865
|
+
/*
|
866
|
+
* The selected element scrolls to the top by default.
|
867
|
+
* The below method is e2e-test covered in
|
868
|
+
* @see{module:vega-time-picker-select-time-e2e}
|
869
|
+
* @see{module:vega-time-picker-scroll-top-e2e}
|
870
|
+
*/
|
871
|
+
/* istanbul ignore next */
|
872
|
+
/** The `selectedElementScrollTop` method is responsible for scrolling the selected element to the top of the dropdown list. */
|
873
|
+
this.selectedElementScrollTop = () => {
|
874
|
+
const elements = this.mode === 'single'
|
875
|
+
? this.singleDropdownRenderer.getSelectedItem()
|
876
|
+
: this.rangeDropdownRenderer.getSelectedItem();
|
877
|
+
elements.forEach((element) => {
|
878
|
+
this.scrollToSelectedElement(element);
|
879
|
+
});
|
880
|
+
};
|
881
|
+
}
|
882
|
+
/**
|
883
|
+
* The function syncSelectedItemsByValueChange updates the selected items based on a new value, if the value is a valid time string or empty.
|
884
|
+
*
|
885
|
+
* @param {string} newValue - The `newValue` parameter is a string value that represents the new value that needs to be synchronized with the selected items.
|
886
|
+
*/
|
887
|
+
syncSelectedItemsByValueChange(newValue) {
|
888
|
+
if (this.mode === 'single') {
|
889
|
+
if (date.isTimeStr(newValue, this.timeFormat) || !newValue) {
|
890
|
+
this.initSelectedItemsByString(newValue);
|
891
|
+
}
|
892
|
+
}
|
893
|
+
}
|
894
|
+
/*
|
895
|
+
* The below method is e2e-test covered in
|
896
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
897
|
+
*/
|
898
|
+
/* istanbul ignore next */
|
899
|
+
/**
|
900
|
+
* The function syncSelectedItemsPositionWhenDropdownShow scrolls the selected element to the top when the dropdown is shown, but only if the dropdown is not disabled.
|
901
|
+
*
|
902
|
+
* @param {boolean} newValue - A boolean value indicating whether the dropdown is being shown or hidden.
|
903
|
+
*/
|
904
|
+
syncSelectedItemsPositionWhenDropdownShow(newValue) {
|
905
|
+
if (newValue) {
|
906
|
+
if (!this.disabled) {
|
907
|
+
this.selectedElementScrollTop();
|
908
|
+
}
|
909
|
+
}
|
910
|
+
}
|
911
|
+
/**
|
912
|
+
* The function syncSelectedItemsPosition checks if there are selected items and scrolls to the
|
913
|
+
* selected element if necessary.
|
914
|
+
*/
|
915
|
+
syncSelectedItemsPosition() {
|
916
|
+
if ((this.mode === 'single' && Object.keys(this.selectedTimeValue).length > 0) ||
|
917
|
+
(this.mode === 'range' && Array.isArray(this.value) && (this.value[0] || this.value[1]))) {
|
918
|
+
this.selectedElementScrollTop();
|
919
|
+
}
|
920
|
+
}
|
921
|
+
/**
|
922
|
+
* The function setSelectedItems sets the selectedTimeValue to the provided value.
|
923
|
+
*
|
924
|
+
* @param {TimeValue} value - The value parameter is of type TimeValue.
|
925
|
+
*/
|
926
|
+
setSelectedItems(value) {
|
927
|
+
this.selectedTimeValue = value;
|
928
|
+
}
|
929
|
+
/**
|
930
|
+
* The function "setSelectedItemsToCurrentTime" sets the selectedTimeValue to the current time in the specified time format.
|
931
|
+
*/
|
932
|
+
setSelectedItemsToCurrentTime() {
|
933
|
+
this.selectedTimeValue = this.getCurrentTime(this.timeFormat);
|
934
|
+
}
|
935
|
+
/**
|
936
|
+
* The getClosetTimeValue function takes a current time string and returns an object with the hour, minute, and amPm values.
|
937
|
+
*
|
938
|
+
* @param {string} currentTime - The `currentTime` parameter is a string representing the current time. It should be in the format "HH:mm" for 24-hour format or "HH:mm AM/PM" for 12-hour format.
|
939
|
+
* @returns {TimeValue} an object of type TimeValue.
|
940
|
+
*/
|
941
|
+
getClosetTimeValue(currentTime) {
|
942
|
+
const timeArray = currentTime.replace(' ', ':').split(':');
|
943
|
+
return {
|
944
|
+
hour: timeArray[0],
|
945
|
+
minute: this.increments > 1 ? this.getClosestMinuteForCurrent(timeArray[1]) : timeArray[1],
|
946
|
+
amPm: this.timeFormat === '12-hour' ? timeArray[2] : undefined,
|
947
|
+
};
|
948
|
+
}
|
949
|
+
}
|
950
|
+
__decorate$8([
|
951
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
952
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "selectedTimeValue", void 0);
|
953
|
+
__decorate$8([
|
954
|
+
globalSlimmerRegistry.MapToComponentField()
|
955
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "mode", void 0);
|
956
|
+
__decorate$8([
|
957
|
+
globalSlimmerRegistry.MapToComponentField()
|
958
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "value", void 0);
|
959
|
+
__decorate$8([
|
960
|
+
globalSlimmerRegistry.MapToComponentField()
|
961
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "timeFormat", void 0);
|
962
|
+
__decorate$8([
|
963
|
+
globalSlimmerRegistry.MapToComponentField()
|
964
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "dropdownSource", void 0);
|
965
|
+
__decorate$8([
|
966
|
+
globalSlimmerRegistry.MapToComponentField()
|
967
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "increments", void 0);
|
968
|
+
__decorate$8([
|
969
|
+
globalSlimmerRegistry.MapToComponentField()
|
970
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "disabled", void 0);
|
971
|
+
__decorate$8([
|
972
|
+
globalSlimmerRegistry.MapToComponentField()
|
973
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "singleDropdownRenderer", void 0);
|
974
|
+
__decorate$8([
|
975
|
+
globalSlimmerRegistry.MapToComponentField()
|
976
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "rangeDropdownRenderer", void 0);
|
977
|
+
__decorate$8([
|
978
|
+
globalSlimmerRegistry.MapToComponentMethod('watchValue')
|
979
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "syncSelectedItemsByValueChange", null);
|
980
|
+
__decorate$8([
|
981
|
+
globalSlimmerRegistry.MapToComponentMethod('watchIsDropdownShow')
|
982
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "syncSelectedItemsPositionWhenDropdownShow", null);
|
983
|
+
__decorate$8([
|
984
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidRender')
|
985
|
+
], VegaTimePickerDropdownSelectedItemsController.prototype, "syncSelectedItemsPosition", null);
|
986
|
+
|
987
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
988
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
989
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
990
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
991
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
992
|
+
};
|
993
|
+
/** The `VegaTimePickerKeyboardController` class is a TypeScript class that extends the `KeyboardManagerSlimmer` class and provides keyboard control functionality for a time picker component. */
|
994
|
+
class VegaTimePickerKeyboardController extends keyboardManagerSlimmer.KeyboardManagerSlimmer {
|
995
|
+
/**
|
996
|
+
* The constructor function sets up keyboard event listeners for a time picker component.
|
997
|
+
*/
|
998
|
+
constructor() {
|
999
|
+
/*
|
1000
|
+
* The below method is e2e-test covered in
|
1001
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
1002
|
+
*/
|
1003
|
+
/* istanbul ignore next */
|
1004
|
+
super((target) => {
|
1005
|
+
const dropdownRef = target.singleDropdownRenderer.getDropdownRef();
|
1006
|
+
const startDropdownRef = target.rangeDropdownRenderer.getStartDropdownRef();
|
1007
|
+
const endDropdownRef = target.rangeDropdownRenderer.getEndDropdownRef();
|
1008
|
+
return [
|
1009
|
+
{
|
1010
|
+
keyCode: 'Enter',
|
1011
|
+
activeElementInScope: [target.host],
|
1012
|
+
callback: target.componentBlurAndHideDropdown,
|
1013
|
+
},
|
1014
|
+
{
|
1015
|
+
keyCode: ['ArrowUp', 'ArrowDown'],
|
1016
|
+
activeElementInScope: [dropdownRef, startDropdownRef, endDropdownRef],
|
1017
|
+
/**
|
1018
|
+
* switch the element focus when keyboard press
|
1019
|
+
*
|
1020
|
+
* @param {KeyboardEvent} event event object
|
1021
|
+
*/
|
1022
|
+
callback: /* istanbul ignore next */ (event) => {
|
1023
|
+
target.switchHourOrMinuteFocus(event);
|
1024
|
+
},
|
1025
|
+
},
|
1026
|
+
{
|
1027
|
+
keyCode: 'Escape',
|
1028
|
+
activeElementInScope: [target.host, dropdownRef, startDropdownRef, endDropdownRef],
|
1029
|
+
callback: target.componentBlurAndHideDropdown,
|
1030
|
+
},
|
1031
|
+
];
|
1032
|
+
});
|
1033
|
+
/* istanbul ignore next */
|
1034
|
+
/**
|
1035
|
+
* It is an asynchronous method that is used to blur the input field and hide the dropdown of the time picker component.
|
1036
|
+
*/
|
1037
|
+
this.componentBlurAndHideDropdown = async () => {
|
1038
|
+
if (this.mode === 'single') {
|
1039
|
+
await this.singleInputRenderer.getInputRef().doBlur();
|
1040
|
+
this.singleDropdownController.hide();
|
1041
|
+
}
|
1042
|
+
else {
|
1043
|
+
await this.rangeInputRenderer.getStartInputRef().doBlur();
|
1044
|
+
await this.rangeInputRenderer.getEndInputRef().doBlur();
|
1045
|
+
this.startDropdownController.hide();
|
1046
|
+
this.endDropdownController.hide();
|
1047
|
+
}
|
1048
|
+
};
|
1049
|
+
}
|
1050
|
+
/*
|
1051
|
+
* The below method is e2e-test covered in
|
1052
|
+
* @see{module:vega-time-picker-keyboard-up-down-control-e2e}
|
1053
|
+
*/
|
1054
|
+
/* istanbul ignore next */
|
1055
|
+
/**
|
1056
|
+
* It is used to switch the focus between different elements based on the arrow key pressed.
|
1057
|
+
*
|
1058
|
+
* @param {KeyboardEvent} event the event of target
|
1059
|
+
*/
|
1060
|
+
switchHourOrMinuteFocus(event) {
|
1061
|
+
const keyCode = event.key;
|
1062
|
+
const activeElement = event.composedPath()[0];
|
1063
|
+
let nextActiveElement = null;
|
1064
|
+
if (activeElement.tagName === 'LI' && activeElement.getAttribute('role') === 'menuitem') {
|
1065
|
+
nextActiveElement =
|
1066
|
+
keyCode === 'ArrowDown'
|
1067
|
+
? activeElement.nextElementSibling
|
1068
|
+
: activeElement.previousElementSibling;
|
1069
|
+
}
|
1070
|
+
if (nextActiveElement) {
|
1071
|
+
nextActiveElement.focus();
|
1072
|
+
}
|
1073
|
+
}
|
1074
|
+
}
|
1075
|
+
__decorate$7([
|
1076
|
+
globalSlimmerRegistry.MapToComponentField()
|
1077
|
+
], VegaTimePickerKeyboardController.prototype, "host", void 0);
|
1078
|
+
__decorate$7([
|
1079
|
+
globalSlimmerRegistry.MapToComponentField()
|
1080
|
+
], VegaTimePickerKeyboardController.prototype, "mode", void 0);
|
1081
|
+
__decorate$7([
|
1082
|
+
globalSlimmerRegistry.MapToComponentField()
|
1083
|
+
], VegaTimePickerKeyboardController.prototype, "singleInputRenderer", void 0);
|
1084
|
+
__decorate$7([
|
1085
|
+
globalSlimmerRegistry.MapToComponentField()
|
1086
|
+
], VegaTimePickerKeyboardController.prototype, "singleDropdownRenderer", void 0);
|
1087
|
+
__decorate$7([
|
1088
|
+
globalSlimmerRegistry.MapToComponentField()
|
1089
|
+
], VegaTimePickerKeyboardController.prototype, "rangeDropdownRenderer", void 0);
|
1090
|
+
__decorate$7([
|
1091
|
+
globalSlimmerRegistry.MapToComponentField()
|
1092
|
+
], VegaTimePickerKeyboardController.prototype, "rangeInputRenderer", void 0);
|
1093
|
+
__decorate$7([
|
1094
|
+
globalSlimmerRegistry.MapToComponentField()
|
1095
|
+
], VegaTimePickerKeyboardController.prototype, "singleDropdownController", void 0);
|
1096
|
+
__decorate$7([
|
1097
|
+
globalSlimmerRegistry.MapToComponentField()
|
1098
|
+
], VegaTimePickerKeyboardController.prototype, "startDropdownController", void 0);
|
1099
|
+
__decorate$7([
|
1100
|
+
globalSlimmerRegistry.MapToComponentField()
|
1101
|
+
], VegaTimePickerKeyboardController.prototype, "endDropdownController", void 0);
|
1102
|
+
|
1103
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1104
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1105
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1106
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1107
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1108
|
+
};
|
1109
|
+
/** The `VegaTimePickerRangeInputRenderer` class is a TypeScript React component that renders a range input for selecting start and end times. */
|
1110
|
+
class VegaTimePickerRangeInputRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1111
|
+
constructor() {
|
1112
|
+
super(...arguments);
|
1113
|
+
this.isMobileDevice = ui.getDeviceType() === ui.DeviceType.MOBILE;
|
1114
|
+
this.onInputChange = (e) => {
|
1115
|
+
const target = e.host;
|
1116
|
+
if (target.parentElement.classList.contains('time-picker-input-start')) {
|
1117
|
+
this.valueController.updateValueByRangeType(e.detail, 'start');
|
1118
|
+
}
|
1119
|
+
else {
|
1120
|
+
this.valueController.updateValueByRangeType(e.detail, 'end');
|
1121
|
+
}
|
1122
|
+
};
|
1123
|
+
/*
|
1124
|
+
* The below method is e2e-test covered in
|
1125
|
+
* @see{module:vega-time-picker-range-input-focus}
|
1126
|
+
*/
|
1127
|
+
/* istanbul ignore next */
|
1128
|
+
/**
|
1129
|
+
* an event handler that is triggered when the input field of the time picker component receives focus.
|
1130
|
+
*
|
1131
|
+
* @param {CustomEvent} e event object
|
1132
|
+
*/
|
1133
|
+
this.timePickerInputFocus = (e) => {
|
1134
|
+
const target = e.host;
|
1135
|
+
const value = Array.isArray(this.value) ? this.value : ['', ''];
|
1136
|
+
if (target.parentElement.classList.contains('time-picker-input-start')) {
|
1137
|
+
this.startDropdownController.showAndScrollPosition(value[0]);
|
1138
|
+
}
|
1139
|
+
else {
|
1140
|
+
this.endDropdownController.showAndScrollPosition(value[1] ? value[1] : value[0]);
|
1141
|
+
}
|
1142
|
+
};
|
1143
|
+
/* istanbul ignore next */
|
1144
|
+
/**
|
1145
|
+
* an event handler that is triggered when the input field of the time picker component receives blur.
|
1146
|
+
*
|
1147
|
+
* @param {CustomEvent} e event object
|
1148
|
+
*/
|
1149
|
+
this.timePickerInputBlur = (e) => {
|
1150
|
+
const target = e.host;
|
1151
|
+
const rangeIndex = target.parentElement.classList.contains('time-picker-input-start')
|
1152
|
+
? 'start'
|
1153
|
+
: 'end';
|
1154
|
+
if (!date.isTimeStr(target.value, this.timeFormat)) {
|
1155
|
+
target.value = '';
|
1156
|
+
this.valueController.updateValueByRangeType('', rangeIndex);
|
1157
|
+
}
|
1158
|
+
else if (target.value && this.increments > 1) {
|
1159
|
+
const { hour, minute, amPm } = this.dropdownSelectedItemsController.getClosetTimeValue(target.value);
|
1160
|
+
target.value = `${hour}:${minute}${amPm ? ' ' + amPm : ''}`;
|
1161
|
+
}
|
1162
|
+
};
|
1163
|
+
}
|
1164
|
+
/**
|
1165
|
+
* The function returns a reference to the start time input element.
|
1166
|
+
*
|
1167
|
+
* @returns {HTMLVegaInputElement} The method is returning an HTMLVegaInputElement.
|
1168
|
+
*/
|
1169
|
+
getStartInputRef() {
|
1170
|
+
return this.startTimeInputRef;
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* The function returns a reference to the end time input element.
|
1174
|
+
*
|
1175
|
+
* @returns {HTMLVegaInputElement} The method is returning an HTMLVegaInputElement.
|
1176
|
+
*/
|
1177
|
+
getEndInputRef() {
|
1178
|
+
return this.endTimeInputRef;
|
1179
|
+
}
|
1180
|
+
/* istanbul ignore next */
|
1181
|
+
render() {
|
1182
|
+
const startValue = Array.isArray(this.value) ? this.value[0] : '';
|
1183
|
+
const endValue = Array.isArray(this.value) ? this.value[1] : '';
|
1184
|
+
return (index.h(index.Fragment, null,
|
1185
|
+
index.h("vega-flex", { class: "v-w-full", gap: "0", "align-items": "center", direction: this.isMobileDevice ? 'col' : 'row' },
|
1186
|
+
index.h("div", { class: "time-picker-input time-picker-input-start vega-flex-basis-0 vega-flex-grow" },
|
1187
|
+
index.h("vega-input", { "prefix-icon": "clock-face", placeholder: this.getPlaceholderBySourceType('start'), disabled: this.disabled, size: this.size, value: startValue, ref: (ref) => {
|
1188
|
+
this.handlerEvent(ref);
|
1189
|
+
return (this.startTimeInputRef = ref);
|
1190
|
+
}, "show-clear-icon": "false" })),
|
1191
|
+
index.h("span", { class: "range-input-divider v-min-w-min vega-flex-shrink-0" }),
|
1192
|
+
index.h("div", { class: "time-picker-input time-picker-input-end vega-flex-basis-0 vega-flex-grow" },
|
1193
|
+
index.h("vega-input", { placeholder: this.getPlaceholderBySourceType('end'), disabled: this.disabled, size: this.size, value: endValue, ref: (ref) => {
|
1194
|
+
this.handlerEvent(ref);
|
1195
|
+
return (this.endTimeInputRef = ref);
|
1196
|
+
}, "show-clear-icon": "false" }))),
|
1197
|
+
this.rangeClearButtonRenderer.render()));
|
1198
|
+
}
|
1199
|
+
handlerEvent(ref) {
|
1200
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaBlur, (input) => {
|
1201
|
+
this.timePickerInputBlur(input);
|
1202
|
+
});
|
1203
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, (input) => {
|
1204
|
+
this.onInputChange(input);
|
1205
|
+
});
|
1206
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaFocus, (input) => {
|
1207
|
+
this.timePickerInputFocus(input);
|
1208
|
+
});
|
1209
|
+
}
|
1210
|
+
/**
|
1211
|
+
* get input placeholder by input source type
|
1212
|
+
*
|
1213
|
+
* @param {TimeRangeIndex} rangeIndex start or end input
|
1214
|
+
* @returns {string} a string value
|
1215
|
+
*/
|
1216
|
+
getPlaceholderBySourceType(rangeIndex) {
|
1217
|
+
if (rangeIndex === 'start') {
|
1218
|
+
return Array.isArray(this.placeholder) && this.placeholder[0]
|
1219
|
+
? this.placeholder[0]
|
1220
|
+
: this.translationSlimmer.t('Start Time');
|
1221
|
+
}
|
1222
|
+
else {
|
1223
|
+
return Array.isArray(this.placeholder) && this.placeholder[1]
|
1224
|
+
? this.placeholder[1]
|
1225
|
+
: this.translationSlimmer.t('End Time');
|
1226
|
+
}
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
__decorate$6([
|
1230
|
+
globalSlimmerRegistry.MapToComponentField()
|
1231
|
+
], VegaTimePickerRangeInputRenderer.prototype, "mode", void 0);
|
1232
|
+
__decorate$6([
|
1233
|
+
globalSlimmerRegistry.MapToComponentField()
|
1234
|
+
], VegaTimePickerRangeInputRenderer.prototype, "placeholder", void 0);
|
1235
|
+
__decorate$6([
|
1236
|
+
globalSlimmerRegistry.MapToComponentField()
|
1237
|
+
], VegaTimePickerRangeInputRenderer.prototype, "disabled", void 0);
|
1238
|
+
__decorate$6([
|
1239
|
+
globalSlimmerRegistry.MapToComponentField()
|
1240
|
+
], VegaTimePickerRangeInputRenderer.prototype, "size", void 0);
|
1241
|
+
__decorate$6([
|
1242
|
+
globalSlimmerRegistry.MapToComponentField()
|
1243
|
+
], VegaTimePickerRangeInputRenderer.prototype, "positionRelativeTo", void 0);
|
1244
|
+
__decorate$6([
|
1245
|
+
globalSlimmerRegistry.MapToComponentField()
|
1246
|
+
], VegaTimePickerRangeInputRenderer.prototype, "timeFormat", void 0);
|
1247
|
+
__decorate$6([
|
1248
|
+
globalSlimmerRegistry.MapToComponentField()
|
1249
|
+
], VegaTimePickerRangeInputRenderer.prototype, "increments", void 0);
|
1250
|
+
__decorate$6([
|
1251
|
+
globalSlimmerRegistry.MapToComponentField()
|
1252
|
+
], VegaTimePickerRangeInputRenderer.prototype, "value", void 0);
|
1253
|
+
__decorate$6([
|
1254
|
+
globalSlimmerRegistry.MapToComponentField()
|
1255
|
+
], VegaTimePickerRangeInputRenderer.prototype, "startDropdownController", void 0);
|
1256
|
+
__decorate$6([
|
1257
|
+
globalSlimmerRegistry.MapToComponentField()
|
1258
|
+
], VegaTimePickerRangeInputRenderer.prototype, "endDropdownController", void 0);
|
1259
|
+
__decorate$6([
|
1260
|
+
globalSlimmerRegistry.MapToComponentField()
|
1261
|
+
], VegaTimePickerRangeInputRenderer.prototype, "valueController", void 0);
|
1262
|
+
__decorate$6([
|
1263
|
+
globalSlimmerRegistry.MapToComponentField()
|
1264
|
+
], VegaTimePickerRangeInputRenderer.prototype, "rangeClearButtonRenderer", void 0);
|
1265
|
+
__decorate$6([
|
1266
|
+
globalSlimmerRegistry.MapToComponentField()
|
1267
|
+
], VegaTimePickerRangeInputRenderer.prototype, "rangeDropdownRenderer", void 0);
|
1268
|
+
__decorate$6([
|
1269
|
+
globalSlimmerRegistry.MapToComponentField()
|
1270
|
+
], VegaTimePickerRangeInputRenderer.prototype, "dropdownSelectedItemsController", void 0);
|
1271
|
+
__decorate$6([
|
1272
|
+
globalSlimmerRegistry.MapToComponentField()
|
1273
|
+
], VegaTimePickerRangeInputRenderer.prototype, "translationSlimmer", void 0);
|
1274
|
+
|
1275
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1276
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1277
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1278
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1279
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1280
|
+
};
|
1281
|
+
/** The `VegaTimePickerRangeDropdownRenderer` class is a TypeScript React component that renders a dropdown for selecting a range of time values. */
|
1282
|
+
class VegaTimePickerRangeDropdownRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1283
|
+
constructor() {
|
1284
|
+
super(...arguments);
|
1285
|
+
this.isMobileDevice = ui.getDeviceType() === ui.DeviceType.MOBILE;
|
1286
|
+
/** The `renderStartDropdown` method is a private method of the `VegaTimePickerRangeDropdownRenderer` class. It is responsible for rendering the start dropdown element in the component's JSX. */
|
1287
|
+
this.renderStartDropdown = () => {
|
1288
|
+
return (index.h("vega-time-picker-dropdown", { class: {
|
1289
|
+
'vega-time-picker-dropdown start-dropdown': true,
|
1290
|
+
/* istanbul ignore next */
|
1291
|
+
'mobile': this.isMobileDevice,
|
1292
|
+
}, ref: (e) => (this.startDropdown = e) },
|
1293
|
+
index.h("div", { class: "vega-time-picker-dropdown-container", ref: (e) => (this.startDropdownContainer = e) },
|
1294
|
+
index.h("div", { class: "vega-time-picker-dropdown-panel" }, this.renderDropdownList('start')))));
|
1295
|
+
};
|
1296
|
+
/** The `renderEndDropdown` method is a private method of the `VegaTimePickerRangeDropdownRenderer` class. It is responsible for rendering the end dropdown element in the component's JSX. */
|
1297
|
+
this.renderEndDropdown = () => {
|
1298
|
+
return (index.h("vega-time-picker-dropdown", { class: {
|
1299
|
+
'vega-time-picker-dropdown end-dropdown': true,
|
1300
|
+
/* istanbul ignore next */
|
1301
|
+
'mobile': this.isMobileDevice,
|
1302
|
+
}, ref: (e) => (this.endDropdown = e) },
|
1303
|
+
index.h("div", { class: "vega-time-picker-dropdown-container", ref: (e) => (this.endDropdownContainer = e) },
|
1304
|
+
index.h("div", { class: "vega-time-picker-dropdown-panel" }, this.renderDropdownList('end')))));
|
1305
|
+
};
|
1306
|
+
/** The `renderDropdownList` method is a private method of the `VegaTimePickerRangeDropdownRenderer` class. It is responsible for rendering the dropdown list of time values in the component's JSX. */
|
1307
|
+
this.renderDropdownList = (rangeIndex) => {
|
1308
|
+
const source = this.getTimeArray();
|
1309
|
+
return (index.h("ul", { role: "menu", "aria-label": "dropdown-ul", class: {
|
1310
|
+
'vega-time-picker-panel-column': true,
|
1311
|
+
} }, source.map((item, index) => {
|
1312
|
+
{
|
1313
|
+
return this.renderDropdownItem(item, rangeIndex, index);
|
1314
|
+
}
|
1315
|
+
})));
|
1316
|
+
};
|
1317
|
+
}
|
1318
|
+
/**
|
1319
|
+
* Component lifecycle - [componentDidRender]{@link VegaTimePicker.componentDidRender}
|
1320
|
+
*/
|
1321
|
+
componentDidRenderCallback() {
|
1322
|
+
if (this.startDropdownContainer && this.startDropdownContainer.parentElement === this.startDropdown) {
|
1323
|
+
this.startDropdown.shadowRoot.append(this.startDropdownContainer);
|
1324
|
+
}
|
1325
|
+
if (this.endDropdownContainer && this.endDropdownContainer.parentElement === this.endDropdown) {
|
1326
|
+
this.endDropdown.shadowRoot.append(this.endDropdownContainer);
|
1327
|
+
}
|
1328
|
+
}
|
1329
|
+
/**
|
1330
|
+
* The function returns a reference to the startDropdown element.
|
1331
|
+
*
|
1332
|
+
* @returns {HTMLElement} the startDropdown element, which is of type HTMLElement.
|
1333
|
+
*/
|
1334
|
+
getStartDropdownRef() {
|
1335
|
+
return this.startDropdown;
|
1336
|
+
}
|
1337
|
+
/**
|
1338
|
+
* The function returns a reference to the endDropdown element.
|
1339
|
+
*
|
1340
|
+
* @returns {HTMLElement} the startDropdown element, which is of type HTMLElement.
|
1341
|
+
*/
|
1342
|
+
getEndDropdownRef() {
|
1343
|
+
return this.endDropdown;
|
1344
|
+
}
|
1345
|
+
/**
|
1346
|
+
* The function returns the selected elements. If elements is empty, it returns the first option by default.
|
1347
|
+
*
|
1348
|
+
* @returns {HTMLElement[]} returns an array of HTMLElements.
|
1349
|
+
*/
|
1350
|
+
getSelectedItem() {
|
1351
|
+
const startDropdown = this.startDropdown.shadowRoot;
|
1352
|
+
const endDropdown = this.endDropdown.shadowRoot;
|
1353
|
+
let elements = [
|
1354
|
+
startDropdown.querySelector('.vega-dropdown-item-selected'),
|
1355
|
+
endDropdown.querySelector('.vega-dropdown-item-selected'),
|
1356
|
+
].filter(typeGuard.isNonNullable);
|
1357
|
+
if (elements.length === 0) {
|
1358
|
+
elements = [
|
1359
|
+
startDropdown.querySelector('.vega-time-picker-dropdown-panel li:first-child'),
|
1360
|
+
endDropdown.querySelector('.vega-time-picker-dropdown-panel li:first-child'),
|
1361
|
+
].filter(typeGuard.isNonNullable);
|
1362
|
+
}
|
1363
|
+
return elements;
|
1364
|
+
}
|
1365
|
+
render() {
|
1366
|
+
return (index.h(index.Fragment, null,
|
1367
|
+
this.renderStartDropdown(),
|
1368
|
+
this.renderEndDropdown()));
|
1369
|
+
}
|
1370
|
+
/*
|
1371
|
+
* The below method is e2e-test covered in
|
1372
|
+
* @see{module:vega-time-picker-range-dropdown-item-click}
|
1373
|
+
*/
|
1374
|
+
/* istanbul ignore next */
|
1375
|
+
/** The `renderDropdownItem` method is responsible for rendering each item in the dropdown list of time values. It creates an `<li>` element with the following attributes and event handlers: */
|
1376
|
+
renderDropdownItem(item, rangeIndex, index$1) {
|
1377
|
+
return (index.h("li", { key: item, role: "menuitem", "aria-label": item, class: {
|
1378
|
+
'vega-dropdown-item-selected': this.isItemSelected(item, rangeIndex),
|
1379
|
+
}, tabIndex: index$1 === 0 ? 0 : -1, "data-index": index$1,
|
1380
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
1381
|
+
onClick: () => this.onItemClick(item, rangeIndex), onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick() },
|
1382
|
+
index.h("span", { "data-index": index$1, innerHTML: item })));
|
1383
|
+
}
|
1384
|
+
/*
|
1385
|
+
* The below method is e2e-test covered in
|
1386
|
+
* @see{module:vega-time-picker-range-dropdown-item-click}
|
1387
|
+
*/
|
1388
|
+
/* istanbul ignore next */
|
1389
|
+
/**
|
1390
|
+
* It is called when a dropdown item is clicked.
|
1391
|
+
*
|
1392
|
+
* @param {string} item time string
|
1393
|
+
* @param {TimeRangeIndex} rangeIndex start or end
|
1394
|
+
*/
|
1395
|
+
onItemClick(item, rangeIndex) {
|
1396
|
+
this.valueController.updateValueByRangeType(item, rangeIndex);
|
1397
|
+
if (rangeIndex === 'start') {
|
1398
|
+
this.startDropdownController.hide();
|
1399
|
+
void this.rangeInputRenderer.getEndInputRef().doFocus();
|
1400
|
+
}
|
1401
|
+
else {
|
1402
|
+
this.endDropdownController.hide();
|
1403
|
+
}
|
1404
|
+
}
|
1405
|
+
/**
|
1406
|
+
* It is used to determine if a dropdown item is currently selected or not.
|
1407
|
+
*
|
1408
|
+
* @param {string} item time string
|
1409
|
+
* @param {TimeRangeIndex} rangeIndex start or end
|
1410
|
+
* @returns {boolean} a boolean value
|
1411
|
+
*/
|
1412
|
+
isItemSelected(item, rangeIndex) {
|
1413
|
+
/* istanbul ignore next */
|
1414
|
+
const valueArr = this.value && Array.isArray(this.value) ? this.value : ['', ''];
|
1415
|
+
if (rangeIndex === 'start' && valueArr[0] === item) {
|
1416
|
+
return true;
|
1417
|
+
}
|
1418
|
+
else if (rangeIndex === 'end' && valueArr[1] === item) {
|
1419
|
+
return true;
|
1420
|
+
}
|
1421
|
+
return false;
|
1422
|
+
}
|
1423
|
+
/**
|
1424
|
+
* The `getTimeArray` method is a private method of the `VegaTimePickerRangeDropdownRenderer` class.
|
1425
|
+
* It is responsible for generating an array of time values based on the `hours` and `minutes` provided in the `dropdownSource` property.
|
1426
|
+
*
|
1427
|
+
* @returns {string[]} all selectable time list
|
1428
|
+
*/
|
1429
|
+
getTimeArray() {
|
1430
|
+
const result = [];
|
1431
|
+
const resultWithPM = [];
|
1432
|
+
const resultWithAM = [];
|
1433
|
+
const timeFormat = this.timeFormat;
|
1434
|
+
const { hours, minutes } = this.dropdownSource;
|
1435
|
+
if (this.dropdownSource) {
|
1436
|
+
for (let i = 0; i < hours.length; i++) {
|
1437
|
+
for (let j = 0; j < minutes.length; j++) {
|
1438
|
+
const item = `${hours[i]}:${minutes[j]}`;
|
1439
|
+
result.push(item);
|
1440
|
+
if (timeFormat === '12-hour') {
|
1441
|
+
resultWithAM.push(item + ' AM');
|
1442
|
+
resultWithPM.push(item + ' PM');
|
1443
|
+
}
|
1444
|
+
}
|
1445
|
+
}
|
1446
|
+
}
|
1447
|
+
if (timeFormat === '12-hour') {
|
1448
|
+
return resultWithAM.concat(resultWithPM);
|
1449
|
+
}
|
1450
|
+
return result;
|
1451
|
+
}
|
1452
|
+
}
|
1453
|
+
__decorate$5([
|
1454
|
+
globalSlimmerRegistry.MapToComponentField()
|
1455
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "timeFormat", void 0);
|
1456
|
+
__decorate$5([
|
1457
|
+
globalSlimmerRegistry.MapToComponentField()
|
1458
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "value", void 0);
|
1459
|
+
__decorate$5([
|
1460
|
+
globalSlimmerRegistry.MapToComponentField()
|
1461
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "dropdownSource", void 0);
|
1462
|
+
__decorate$5([
|
1463
|
+
globalSlimmerRegistry.MapToComponentField()
|
1464
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "valueController", void 0);
|
1465
|
+
__decorate$5([
|
1466
|
+
globalSlimmerRegistry.MapToComponentField()
|
1467
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "rangeInputRenderer", void 0);
|
1468
|
+
__decorate$5([
|
1469
|
+
globalSlimmerRegistry.MapToComponentField()
|
1470
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "startDropdownController", void 0);
|
1471
|
+
__decorate$5([
|
1472
|
+
globalSlimmerRegistry.MapToComponentField()
|
1473
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "endDropdownController", void 0);
|
1474
|
+
__decorate$5([
|
1475
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidRender')
|
1476
|
+
], VegaTimePickerRangeDropdownRenderer.prototype, "componentDidRenderCallback", null);
|
1477
|
+
|
1478
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1479
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1480
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1481
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1482
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1483
|
+
};
|
1484
|
+
/* The code is defining a class called `VegaTimePickerRangeClearButtonRenderer` that extends the `VegaSlimmer` class. This class is used to render a clear button for a time picker range component. */
|
1485
|
+
class VegaTimePickerRangeClearButtonRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1486
|
+
constructor() {
|
1487
|
+
super(...arguments);
|
1488
|
+
/** The `onClickClearIcon` function is a private method that is called when the clear icon is clicked. It performs the following actions: */
|
1489
|
+
this.onClickClearIcon = () => {
|
1490
|
+
this.valueController.clearRangeTimePicker();
|
1491
|
+
this.endDropdownController.hide();
|
1492
|
+
void this.rangeInputRenderer.getStartInputRef().doFocus();
|
1493
|
+
};
|
1494
|
+
}
|
1495
|
+
render() {
|
1496
|
+
return (index.h("div", { class: {
|
1497
|
+
'vega-time-picker-range-clear-icon': true,
|
1498
|
+
'invisible': !this.isInvisible(),
|
1499
|
+
}, "aria-label": "clear input", role: "button", tabindex: "-1", onClick: this.onClickClearIcon, onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick() },
|
1500
|
+
index.h("vega-icon", { icon: "close", class: "v-min-w-min vega-flex-shrink-0" })));
|
1501
|
+
}
|
1502
|
+
/**
|
1503
|
+
* The function checks if the value is an array and if either of the elements in the array is truthy, returning true if so.
|
1504
|
+
*
|
1505
|
+
* @returns {boolean} a boolean value.
|
1506
|
+
*/
|
1507
|
+
isInvisible() {
|
1508
|
+
return (!this.disabled && Array.isArray(this.value) && (Boolean(this.value[0]) || Boolean(this.value[1])));
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
__decorate$4([
|
1512
|
+
globalSlimmerRegistry.MapToComponentField()
|
1513
|
+
], VegaTimePickerRangeClearButtonRenderer.prototype, "disabled", void 0);
|
1514
|
+
__decorate$4([
|
1515
|
+
globalSlimmerRegistry.MapToComponentField()
|
1516
|
+
], VegaTimePickerRangeClearButtonRenderer.prototype, "value", void 0);
|
1517
|
+
__decorate$4([
|
1518
|
+
globalSlimmerRegistry.MapToComponentField()
|
1519
|
+
], VegaTimePickerRangeClearButtonRenderer.prototype, "valueController", void 0);
|
1520
|
+
__decorate$4([
|
1521
|
+
globalSlimmerRegistry.MapToComponentField()
|
1522
|
+
], VegaTimePickerRangeClearButtonRenderer.prototype, "endDropdownController", void 0);
|
1523
|
+
__decorate$4([
|
1524
|
+
globalSlimmerRegistry.MapToComponentField()
|
1525
|
+
], VegaTimePickerRangeClearButtonRenderer.prototype, "rangeInputRenderer", void 0);
|
1526
|
+
|
1527
|
+
/**
|
1528
|
+
* A rule that checks if start time is before than end time
|
1529
|
+
*/
|
1530
|
+
class TimeRangeRule {
|
1531
|
+
/**
|
1532
|
+
* It creates a new instance of the class with the given config.
|
1533
|
+
*
|
1534
|
+
* @param {{ timeFormat: TimeFormat }} config - config including the timeFormat for time value
|
1535
|
+
* @param {TimeFormat} config.timeFormat - The timeFormat for time value
|
1536
|
+
*/
|
1537
|
+
constructor(config) {
|
1538
|
+
this.config = config;
|
1539
|
+
}
|
1540
|
+
/**
|
1541
|
+
* If the input is accepted and the status is not disabled and visible, then return true
|
1542
|
+
*
|
1543
|
+
* @param {unknown} input - The input to be evaluated.
|
1544
|
+
* @param {FormFieldStatusMeta} [status] - FormFieldStatusMeta
|
1545
|
+
* @returns {boolean} A boolean value.
|
1546
|
+
*/
|
1547
|
+
canEvaluate(input, status) {
|
1548
|
+
return status
|
1549
|
+
? this.isAcceptedInputType(input) && !status.disabled && status.visible
|
1550
|
+
: this.isAcceptedInputType(input);
|
1551
|
+
}
|
1552
|
+
/**
|
1553
|
+
* If the field is not disabled, visible, and has been touched or modified, then show the error
|
1554
|
+
*
|
1555
|
+
* @param {FormFieldStatusMeta} status - FormFieldStatusMeta
|
1556
|
+
* @returns {boolean} A boolean value.
|
1557
|
+
*/
|
1558
|
+
shouldShowError(status) {
|
1559
|
+
return !status.disabled && status.visible && (status.touched || status.modified);
|
1560
|
+
}
|
1561
|
+
/**
|
1562
|
+
* Check if the start time is before than end time
|
1563
|
+
*
|
1564
|
+
* @param {string | string[]} input - The value of the time picker.
|
1565
|
+
* @returns {EvaluateResultTranslation} - The result of the evaluation.
|
1566
|
+
*/
|
1567
|
+
evaluate(input) {
|
1568
|
+
if (!this.isAcceptedInputType(input)) {
|
1569
|
+
throw new Error(`Unexpected type of input: ${typeof input}: ${input}`);
|
1570
|
+
}
|
1571
|
+
const isValid = this.isStartTimeBeforeEndTime(input[0], input[1]);
|
1572
|
+
return {
|
1573
|
+
isValid: isValid,
|
1574
|
+
message: isValid ? '' : 'The end time should be later than start time',
|
1575
|
+
};
|
1576
|
+
}
|
1577
|
+
/**
|
1578
|
+
* If the input is an array of two strings, and each string is a valid date, then return true.
|
1579
|
+
*
|
1580
|
+
* @param {unknown} input - The input value to be validated.
|
1581
|
+
* @returns {boolean} A boolean value.
|
1582
|
+
*/
|
1583
|
+
isAcceptedInputType(input) {
|
1584
|
+
return (Array.isArray(input) &&
|
1585
|
+
input.length === 2 &&
|
1586
|
+
input.every((item) => date.isTimeStr(item, this.config.timeFormat)));
|
1587
|
+
}
|
1588
|
+
/**
|
1589
|
+
* check if start time before end time, the 12-hour time should convert to 24-hour time format, the safari, 'fire fox' do not support 12-hour
|
1590
|
+
*
|
1591
|
+
* @param {string} startTime time string
|
1592
|
+
* @param {string} endTime time string
|
1593
|
+
* @returns {boolean} boolean value
|
1594
|
+
*/
|
1595
|
+
isStartTimeBeforeEndTime(startTime, endTime) {
|
1596
|
+
const date$1 = new Date();
|
1597
|
+
const year = date$1.getFullYear();
|
1598
|
+
const month = String(date$1.getMonth() + 1).padStart(2, '0');
|
1599
|
+
const day = String(date$1.getDate()).padStart(2, '0');
|
1600
|
+
const baseDate = `${year}-${month}-${day}`;
|
1601
|
+
return (new Date(`${baseDate}T${date.convert12HourTo24HourFormat(endTime)}`) >
|
1602
|
+
new Date(`${baseDate}T${date.convert12HourTo24HourFormat(startTime)}`));
|
1603
|
+
}
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1607
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1608
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1609
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1610
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1611
|
+
};
|
1612
|
+
/** The `VegaTimePickerInputMaskController` class is responsible for initializing an input mask based on the time format and mode. */
|
1613
|
+
class VegaTimePickerInputMaskController extends globalSlimmerRegistry.VegaSlimmer {
|
1614
|
+
/**
|
1615
|
+
* The function initializes an input mask based on the time format and mode.
|
1616
|
+
*/
|
1617
|
+
initInputMask() {
|
1618
|
+
const maskConfig = {
|
1619
|
+
type: 'custom',
|
1620
|
+
options: {
|
1621
|
+
mask: this.timeFormat === '12-hour' ? 'xx:xx xx' : 'xx:xx',
|
1622
|
+
slot: 'x',
|
1623
|
+
accept: this.timeFormat === '12-hour' ? /[0-9|A|P|M]/ : /\d/,
|
1624
|
+
},
|
1625
|
+
};
|
1626
|
+
if (this.mode === 'range') {
|
1627
|
+
this.rangeInputRenderer.getStartInputRef().maskConfig = maskConfig;
|
1628
|
+
this.rangeInputRenderer.getEndInputRef().maskConfig = maskConfig;
|
1629
|
+
}
|
1630
|
+
else {
|
1631
|
+
this.singleInputRenderer.getInputRef().maskConfig = maskConfig;
|
1632
|
+
}
|
1633
|
+
}
|
1634
|
+
}
|
1635
|
+
__decorate$3([
|
1636
|
+
globalSlimmerRegistry.MapToComponentField()
|
1637
|
+
], VegaTimePickerInputMaskController.prototype, "timeFormat", void 0);
|
1638
|
+
__decorate$3([
|
1639
|
+
globalSlimmerRegistry.MapToComponentField()
|
1640
|
+
], VegaTimePickerInputMaskController.prototype, "mode", void 0);
|
1641
|
+
__decorate$3([
|
1642
|
+
globalSlimmerRegistry.MapToComponentField()
|
1643
|
+
], VegaTimePickerInputMaskController.prototype, "singleInputRenderer", void 0);
|
1644
|
+
__decorate$3([
|
1645
|
+
globalSlimmerRegistry.MapToComponentField()
|
1646
|
+
], VegaTimePickerInputMaskController.prototype, "rangeInputRenderer", void 0);
|
1647
|
+
__decorate$3([
|
1648
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
1649
|
+
], VegaTimePickerInputMaskController.prototype, "initInputMask", null);
|
1650
|
+
|
1651
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1652
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1653
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1654
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1655
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1656
|
+
};
|
1657
|
+
/** The `VegaTimePickerRangeDropdownController` class is responsible for managing the dropdown menu for selecting a range of time in the VegaTimePicker component. */
|
1658
|
+
class VegaTimePickerRangeDropdownController extends elementAppenderSlimmer.ElementAppenderSlimmer {
|
1659
|
+
/**
|
1660
|
+
* The constructor function sets up the configuration for a dropdown menu that is shown when a specific condition is met.
|
1661
|
+
*
|
1662
|
+
* @param {TimeRangeIndex} rangeIndex start or end
|
1663
|
+
*/
|
1664
|
+
constructor(rangeIndex) {
|
1665
|
+
super(() => {
|
1666
|
+
const target = rangeIndex === 'start'
|
1667
|
+
? this.rangeInputRenderer.getStartInputRef()
|
1668
|
+
: this.rangeInputRenderer.getEndInputRef();
|
1669
|
+
const appendableElement = rangeIndex === 'start'
|
1670
|
+
? this.rangeDropdownRenderer.getStartDropdownRef()
|
1671
|
+
: this.rangeDropdownRenderer.getEndDropdownRef();
|
1672
|
+
return {
|
1673
|
+
target,
|
1674
|
+
appendableElement,
|
1675
|
+
positionRelativeTo: this.positionRelativeTo,
|
1676
|
+
translocation: { X: 0, Y: 8 },
|
1677
|
+
placement: ['bottom', 'top'],
|
1678
|
+
matchTargetWidth: true,
|
1679
|
+
};
|
1680
|
+
}, () => 'custom', 'isRangeDropdownShow');
|
1681
|
+
this.isRangeDropdownShow = false;
|
1682
|
+
this.rangeDropdownType = 'start';
|
1683
|
+
/*
|
1684
|
+
* The below method is e2e-test covered in
|
1685
|
+
* @see{module:vega-time-picker-range-input-focus}
|
1686
|
+
*/
|
1687
|
+
/* istanbul ignore next */
|
1688
|
+
/**
|
1689
|
+
* The function shows a dropdown and scrolls to a selected element if a value is provided.
|
1690
|
+
*
|
1691
|
+
* @param {string} value - The `value` parameter is a string that represents the value to be scrolled to in the dropdown list.
|
1692
|
+
*/
|
1693
|
+
this.showAndScrollPosition = (value) => {
|
1694
|
+
this.show();
|
1695
|
+
if (value) {
|
1696
|
+
const dropdownRef = this.rangeDropdownType === 'start'
|
1697
|
+
? this.rangeDropdownRenderer.getStartDropdownRef()
|
1698
|
+
: this.rangeDropdownRenderer.getEndDropdownRef();
|
1699
|
+
const selectedItem = dropdownRef.shadowRoot.querySelector(`[aria-label="${value}"]`);
|
1700
|
+
if (selectedItem) {
|
1701
|
+
this.dropdownSelectedItemsController.scrollToSelectedElement(selectedItem);
|
1702
|
+
}
|
1703
|
+
}
|
1704
|
+
};
|
1705
|
+
this.rangeDropdownType = rangeIndex;
|
1706
|
+
}
|
1707
|
+
/*
|
1708
|
+
* The below method is e2e-test covered in
|
1709
|
+
* @see{module:vega-time-picker-range-disabled-change}
|
1710
|
+
*/
|
1711
|
+
/* istanbul ignore next */
|
1712
|
+
/**
|
1713
|
+
* The function hides a dropdown when it is disabled.
|
1714
|
+
*/
|
1715
|
+
hideDropdownWhenDisabled() {
|
1716
|
+
if (this.mode === 'range' && this.isRangeDropdownShow) {
|
1717
|
+
this.hide();
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
}
|
1721
|
+
__decorate$2([
|
1722
|
+
globalSlimmerRegistry.MapToComponentField()
|
1723
|
+
], VegaTimePickerRangeDropdownController.prototype, "positionRelativeTo", void 0);
|
1724
|
+
__decorate$2([
|
1725
|
+
globalSlimmerRegistry.MapToComponentField()
|
1726
|
+
], VegaTimePickerRangeDropdownController.prototype, "mode", void 0);
|
1727
|
+
__decorate$2([
|
1728
|
+
globalSlimmerRegistry.MapToComponentField()
|
1729
|
+
], VegaTimePickerRangeDropdownController.prototype, "rangeDropdownRenderer", void 0);
|
1730
|
+
__decorate$2([
|
1731
|
+
globalSlimmerRegistry.MapToComponentField()
|
1732
|
+
], VegaTimePickerRangeDropdownController.prototype, "rangeInputRenderer", void 0);
|
1733
|
+
__decorate$2([
|
1734
|
+
globalSlimmerRegistry.MapToComponentField()
|
1735
|
+
], VegaTimePickerRangeDropdownController.prototype, "dropdownSelectedItemsController", void 0);
|
1736
|
+
__decorate$2([
|
1737
|
+
globalSlimmerRegistry.MapToComponentMethod('watchDisabled')
|
1738
|
+
], VegaTimePickerRangeDropdownController.prototype, "hideDropdownWhenDisabled", null);
|
1739
|
+
|
1740
|
+
/**
|
1741
|
+
* A rule that checks if time is empty or not
|
1742
|
+
*
|
1743
|
+
* @implements {FormFieldValidationRule<string[]>}
|
1744
|
+
*/
|
1745
|
+
class TimeRangeRequiredRule {
|
1746
|
+
/**
|
1747
|
+
* It creates a new instance of the class with the given config.
|
1748
|
+
*
|
1749
|
+
* @param {{ timeFormat: TimeFormat }} config - config including the timeFormat for time value
|
1750
|
+
* @param {TimeFormat} config.timeFormat - The timeFormat for time value
|
1751
|
+
*/
|
1752
|
+
constructor(config) {
|
1753
|
+
this.config = config;
|
1754
|
+
}
|
1755
|
+
/**
|
1756
|
+
* It checks if the input is a valid time string.
|
1757
|
+
*
|
1758
|
+
* @param {string} input - The value of the input field.
|
1759
|
+
* @returns {EvaluateResultTranslation} An object with two properties: isValid and message.
|
1760
|
+
*/
|
1761
|
+
evaluate(input) {
|
1762
|
+
if (!this.isAcceptedInputType(input)) {
|
1763
|
+
throw new Error(`Invalid time value ${input} for range mode`);
|
1764
|
+
}
|
1765
|
+
const isValid = Array.isArray(input) &&
|
1766
|
+
input.length === 2 &&
|
1767
|
+
input.every((item) => date.isTimeStr(item, this.config.timeFormat));
|
1768
|
+
return {
|
1769
|
+
isValid,
|
1770
|
+
message: isValid ? '' : 'This field is required',
|
1771
|
+
};
|
1772
|
+
}
|
1773
|
+
/**
|
1774
|
+
* If the input is accepted and the status is not disabled and visible, then return true
|
1775
|
+
*
|
1776
|
+
* @param {unknown} input - The input to be evaluated.
|
1777
|
+
* @param {FormFieldStatusMeta} [status] - FormFieldStatusMeta
|
1778
|
+
* @returns {boolean} A boolean value.
|
1779
|
+
*/
|
1780
|
+
canEvaluate(input, status) {
|
1781
|
+
return status
|
1782
|
+
? this.isAcceptedInputType(input) && !status.disabled && status.visible
|
1783
|
+
: this.isAcceptedInputType(input);
|
1784
|
+
}
|
1785
|
+
/**
|
1786
|
+
* If the field is not disabled, visible, and has been touched or modified, then show the error
|
1787
|
+
*
|
1788
|
+
* @param {FormFieldStatusMeta} status - FormFieldStatusMeta
|
1789
|
+
* @returns {boolean} A boolean value.
|
1790
|
+
*/
|
1791
|
+
shouldShowError(status) {
|
1792
|
+
return !status.disabled && status.visible && (status.touched || status.modified);
|
1793
|
+
}
|
1794
|
+
/**
|
1795
|
+
* If the input is undefined or null, return true, otherwise return true if the input is a string.
|
1796
|
+
*
|
1797
|
+
* @param {unknown} input - The input value to be validated.
|
1798
|
+
* @returns {boolean}A boolean.
|
1799
|
+
*/
|
1800
|
+
isAcceptedInputType(input) {
|
1801
|
+
if (input === undefined || input === null)
|
1802
|
+
return true;
|
1803
|
+
return Array.isArray(input);
|
1804
|
+
}
|
1805
|
+
}
|
1806
|
+
|
1807
|
+
const VegaTimePickerRuntimeMetricsPayloadDefinition = [
|
1808
|
+
{
|
1809
|
+
payloadKey: 'AUTO_VALIDATION_IS_TRUE',
|
1810
|
+
payloadDescription: 'Determines whether automatic validation should be implemented for the time picker during user input',
|
1811
|
+
/**
|
1812
|
+
* The function checks if the `autoValidation` property of the `host` element is equal to 'true'.
|
1813
|
+
* If it is, the function will return `true`.
|
1814
|
+
*
|
1815
|
+
* @param {HTMLElement} host - The element to check
|
1816
|
+
* @returns {boolean} A boolean value
|
1817
|
+
*/
|
1818
|
+
payloadValue: (host) => host.autoValidation === true,
|
1819
|
+
},
|
1820
|
+
{
|
1821
|
+
payloadKey: 'AUTO_VALIDATION_IS_FALSE',
|
1822
|
+
payloadDescription: 'Determines whether automatic validation should be implemented for the time picker during user input',
|
1823
|
+
/**
|
1824
|
+
* The function checks if the `autoValidation` property of the `host` element is equal to 'false'.
|
1825
|
+
* If it is, the function will return `true`.
|
1826
|
+
*
|
1827
|
+
* @param {HTMLElement} host - The element to check
|
1828
|
+
* @returns {boolean} A boolean value
|
1829
|
+
*/
|
1830
|
+
payloadValue: (host) => host.autoValidation === false,
|
1831
|
+
},
|
1832
|
+
{
|
1833
|
+
payloadKey: 'MODE_IS_SINGLE',
|
1834
|
+
payloadDescription: 'Specifies the mode for selecting time in the time picker, `single` indicates the ability to select a single time.',
|
1835
|
+
/**
|
1836
|
+
* The function checks if the `mode` property of the `host` element is equal to 'single'.
|
1837
|
+
* If it is, the function will return `true`.
|
1838
|
+
*
|
1839
|
+
* @param {HTMLElement} host - The element to check
|
1840
|
+
* @returns {boolean} A boolean value
|
1841
|
+
*/
|
1842
|
+
payloadValue: (host) => host.mode === 'single',
|
1843
|
+
},
|
1844
|
+
{
|
1845
|
+
payloadKey: 'MODE_IS_RANGE',
|
1846
|
+
payloadDescription: 'Specifies the mode for selecting time in the time picker, `range` indicates the ability to select a time range',
|
1847
|
+
/**
|
1848
|
+
* The function checks if the `mode` property of the `host` element is equal to 'range'.
|
1849
|
+
* If it is, the function will return `true`.
|
1850
|
+
*
|
1851
|
+
* @param {HTMLElement} host - The element to check
|
1852
|
+
* @returns {boolean} A boolean value
|
1853
|
+
*/
|
1854
|
+
payloadValue: (host) => host.mode === 'range',
|
1855
|
+
},
|
1856
|
+
];
|
1857
|
+
|
1858
|
+
const vegaTimePickerCss = ":host{display:inline-block;text-align:left;line-height:normal;width:100%}vega-field-label{margin-bottom:8px}vega-input::part(field-error-message){display:none}.vega-error{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1));display:block;padding-top:12px;padding-right:8px;padding-left:8px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-time-picker-input-container.error vega-input::part(input-container){border-width:0px}.vega-time-picker-input-container.error vega-input::part(input-container):hover{border-width:0px}.vega-time-picker-input-container.error vega-input::part(input-container):focus-within{outline:none}.vega-time-picker-input-container.error{border-radius:8px;border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-time-picker-input-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-time-picker-input-container.error:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))}.vega-hidden{display:none}.range-input-divider{width:1px;height:24px;border-style:solid;border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}.mobile .range-input-divider{width:100%;height:1px;border-style:solid;border-right-width:0px;border-top-width:1px;border-bottom-width:0px;border-left-width:0px}.mobile .time-picker-input-end vega-input::part(input){padding-left:26px}.range-mode{position:relative;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border-radius:8px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))}:host(.disabled) .range-mode{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}:host:not(.disabled) .range-mode:not(.error):hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.range-mode vega-input::part(input-container),:host(.disabled) .range-mode vega-input::part(input-container):hover{border-width:0px}.range-mode:not(.error) .time-picker-input-start vega-input::part(input-container):focus-within,.range-mode:not(.error) .time-picker-input-end vega-input::part(input-container):focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));margin:-1px}.range-mode .vega-time-picker-range-clear-icon{position:absolute;width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));top:50%;right:16px;transform:translateY(-50%)}.range-mode.mobile .vega-time-picker-range-clear-icon{top:75%}.range-mode.mobile .time-picker-input{width:100%}vega-time-picker-dropdown.vega-force-hidden{display:none !important}.vega-time-picker-range-clear-icon.invisible{visibility:hidden}";
|
1859
|
+
|
1860
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1861
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1862
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
1863
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
1864
|
+
else
|
1865
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
1866
|
+
if (d = decorators[i])
|
1867
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1868
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1869
|
+
};
|
1870
|
+
const VegaTimePicker = class {
|
1871
|
+
constructor(hostRef) {
|
1872
|
+
index.registerInstance(this, hostRef);
|
1873
|
+
this.vegaChange = index.createEvent(this, "vegaChange", 7);
|
1874
|
+
this.change = index.createEvent(this, "change", 7);
|
1875
|
+
this.globalSlimmers = {};
|
1876
|
+
this.translationSlimmer = new translationSlimmer.TranslationSlimmer();
|
1877
|
+
this.labelRenderer = new VegaTimePickerLabelRenderer();
|
1878
|
+
this.singleInputRenderer = new VegaTimePickerSingleInputRenderer();
|
1879
|
+
this.singleDropdownRenderer = new VegaTimePickerSingleDropdownRenderer();
|
1880
|
+
this.valueController = new VegaTimePickerValueController();
|
1881
|
+
this.singleDropdownController = new VegaTimePickerSingleDropdownController();
|
1882
|
+
this.dropdownSelectedItemsController = new VegaTimePickerDropdownSelectedItemsController();
|
1883
|
+
this.keyboardController = new VegaTimePickerKeyboardController();
|
1884
|
+
this.formFieldController = new formFieldControllerSlimmer.FormFieldControllerSlimmer({
|
1885
|
+
propertyRules: [
|
1886
|
+
{
|
1887
|
+
propertyName: 'required',
|
1888
|
+
ruleFactory: (isRequired, timeFormat, mode) => isRequired
|
1889
|
+
? mode === 'range'
|
1890
|
+
? new TimeRangeRequiredRule({ timeFormat })
|
1891
|
+
: new TimeRequiredRule({ timeFormat })
|
1892
|
+
: null,
|
1893
|
+
dependence: ['timeFormat', 'mode'],
|
1894
|
+
},
|
1895
|
+
{
|
1896
|
+
propertyName: 'timeFormat',
|
1897
|
+
ruleFactory: (timeFormat, required, mode) => timeFormat && required
|
1898
|
+
? mode === 'range'
|
1899
|
+
? new TimeRangeRequiredRule({ timeFormat })
|
1900
|
+
: new TimeRequiredRule({ timeFormat })
|
1901
|
+
: null,
|
1902
|
+
dependence: ['required', 'mode'],
|
1903
|
+
},
|
1904
|
+
{
|
1905
|
+
propertyName: 'mode',
|
1906
|
+
ruleFactory: (mode, timeFormat) => mode === 'range' ? new TimeRangeRule({ timeFormat }) : null,
|
1907
|
+
dependence: 'timeFormat',
|
1908
|
+
},
|
1909
|
+
],
|
1910
|
+
validationRulesName: 'validationRules',
|
1911
|
+
defaultValue: (target) => (target.mode === 'range' ? ['', ''] : ''),
|
1912
|
+
attributeGetter: (propertyName) => this[propertyName],
|
1913
|
+
inputContainerGetter: () => this.inputContainerRef,
|
1914
|
+
touchableAreaGetter: () => this.mode === 'single'
|
1915
|
+
? [this.singleInputRenderer.getInputRef()]
|
1916
|
+
: [this.rangeInputRenderer.getStartInputRef(), this.rangeInputRenderer.getEndInputRef()],
|
1917
|
+
});
|
1918
|
+
this.rangeInputRenderer = new VegaTimePickerRangeInputRenderer();
|
1919
|
+
this.rangeClearButtonRenderer = new VegaTimePickerRangeClearButtonRenderer();
|
1920
|
+
this.rangeDropdownRenderer = new VegaTimePickerRangeDropdownRenderer();
|
1921
|
+
this.startDropdownController = new VegaTimePickerRangeDropdownController('start');
|
1922
|
+
this.endDropdownController = new VegaTimePickerRangeDropdownController('end');
|
1923
|
+
this.inputMaskController = new VegaTimePickerInputMaskController();
|
1924
|
+
this.inputEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.inputContainerRef);
|
1925
|
+
this.changeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTimePicker, vegaEventId.VegaChange);
|
1926
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer(VegaTimePickerRuntimeMetricsPayloadDefinition);
|
1927
|
+
this.isMobileDevice = ui.getDeviceType() === ui.DeviceType.MOBILE;
|
1928
|
+
/** dropdown source */
|
1929
|
+
this.dropdownSource = {
|
1930
|
+
hours: [],
|
1931
|
+
minutes: [],
|
1932
|
+
};
|
1933
|
+
/* Selected hour, minute and amPm */
|
1934
|
+
this.isDropdownShow = false;
|
1935
|
+
this.selectedTimeValue = {};
|
1936
|
+
/**
|
1937
|
+
* Specifies the mode for selecting time in the time picker.
|
1938
|
+
*
|
1939
|
+
* - `single` indicates the ability to select a single time.
|
1940
|
+
* - `range` indicates the ability to select a time range.
|
1941
|
+
*
|
1942
|
+
* @vegaVersion 1.48.0
|
1943
|
+
*/
|
1944
|
+
this.mode = 'single';
|
1945
|
+
/**
|
1946
|
+
* Specifies whether selecting a time in the time picker
|
1947
|
+
* is required for passing form validation.
|
1948
|
+
*
|
1949
|
+
* @vegaVersion 1.12.0
|
1950
|
+
*/
|
1951
|
+
this.required = false;
|
1952
|
+
/**
|
1953
|
+
* Determines the interval between each selectable minute value
|
1954
|
+
* in the time picker.
|
1955
|
+
*
|
1956
|
+
* @vegaVersion 1.12.0
|
1957
|
+
*/
|
1958
|
+
this.increments = 1;
|
1959
|
+
/**
|
1960
|
+
* Specifies the format in which the time is displayed
|
1961
|
+
* in the time picker.
|
1962
|
+
*
|
1963
|
+
* @vegaVersion 1.12.0
|
1964
|
+
*/
|
1965
|
+
this.timeFormat = '24-hour';
|
1966
|
+
/**
|
1967
|
+
* Specifies the initial value or selected time
|
1968
|
+
* for the time picker.
|
1969
|
+
*
|
1970
|
+
* @vegaVersion 1.12.0
|
1971
|
+
*/
|
1972
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
1973
|
+
this.value = this.mode === 'range' ? ['', ''] : '';
|
1974
|
+
/**
|
1975
|
+
* Determines the size or dimensions of the time picker component.
|
1976
|
+
*
|
1977
|
+
* @vegaVersion 1.12.0
|
1978
|
+
*/
|
1979
|
+
this.size = 'default';
|
1980
|
+
/**
|
1981
|
+
* Determines whether the time picker component is disabled.
|
1982
|
+
*
|
1983
|
+
* @vegaVersion 1.12.0
|
1984
|
+
*/
|
1985
|
+
this.disabled = false;
|
1986
|
+
/**
|
1987
|
+
* Specifies the validation status of the time picker component.
|
1988
|
+
*
|
1989
|
+
* @vegaVersion 1.12.0
|
1990
|
+
*/
|
1991
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
1992
|
+
this.isValid = null;
|
1993
|
+
/**
|
1994
|
+
* Determines whether automatic validation should be implemented
|
1995
|
+
* for the time picker during user input.
|
1996
|
+
*
|
1997
|
+
* @vegaVersion 1.12.0
|
1998
|
+
*/
|
1999
|
+
this.autoValidation = true;
|
2000
|
+
/**
|
2001
|
+
* Specifies custom validation rules for the
|
2002
|
+
* time picker input field.
|
2003
|
+
*
|
2004
|
+
* @vegaVersion 1.12.0
|
2005
|
+
*/
|
2006
|
+
this.validationRules = [];
|
2007
|
+
}
|
2008
|
+
/**
|
2009
|
+
* The below method is e2e-test covered in
|
2010
|
+
* @see{module:vega-time-picker-keyboard-control-e2e}
|
2011
|
+
*/
|
2012
|
+
/* istanbul ignore next */
|
2013
|
+
async watchIsDropdownShow(newValue) {
|
2014
|
+
}
|
2015
|
+
watchSelectedTimeValue() {
|
2016
|
+
}
|
2017
|
+
/*
|
2018
|
+
* The below method is e2e-test covered in
|
2019
|
+
* @see{module:vega-time-picker-mode-change}
|
2020
|
+
*/
|
2021
|
+
/* istanbul ignore next */
|
2022
|
+
/** Update timePicker settings property of mode is changed */
|
2023
|
+
watchMode() {
|
2024
|
+
}
|
2025
|
+
watchIncrements() {
|
2026
|
+
}
|
2027
|
+
watchTimeFormat() {
|
2028
|
+
}
|
2029
|
+
watchValue(newValue, oldValue) {
|
2030
|
+
}
|
2031
|
+
watchDisabled() {
|
2032
|
+
}
|
2033
|
+
watchValidationRules() {
|
2034
|
+
}
|
2035
|
+
componentWillLoad() {
|
2036
|
+
}
|
2037
|
+
componentDidLoad() {
|
2038
|
+
}
|
2039
|
+
componentDidRender() {
|
2040
|
+
}
|
2041
|
+
render() {
|
2042
|
+
const isRangeMode = this.mode === 'range';
|
2043
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: {
|
2044
|
+
disabled: this.disabled,
|
2045
|
+
} }, this.labelRenderer.render(), index.h("div", { class: {
|
2046
|
+
'vega-time-picker-input-container': true,
|
2047
|
+
'range-mode': isRangeMode,
|
2048
|
+
'mobile': isRangeMode && this.isMobileDevice,
|
2049
|
+
}, ref: (node) => (this.inputContainerRef = node) }, isRangeMode ? this.rangeInputRenderer.render() : this.singleInputRenderer.render()), isRangeMode ? this.rangeDropdownRenderer.render() : this.singleDropdownRenderer.render()), this.host);
|
2050
|
+
}
|
2051
|
+
get host() { return index.getElement(this); }
|
2052
|
+
static get watchers() { return {
|
2053
|
+
"isDropdownShow": ["watchIsDropdownShow"],
|
2054
|
+
"selectedTimeValue": ["watchSelectedTimeValue"],
|
2055
|
+
"mode": ["watchMode"],
|
2056
|
+
"increments": ["watchIncrements"],
|
2057
|
+
"timeFormat": ["watchTimeFormat"],
|
2058
|
+
"value": ["watchValue"],
|
2059
|
+
"disabled": ["watchDisabled"],
|
2060
|
+
"validationRules": ["watchValidationRules"]
|
2061
|
+
}; }
|
2062
|
+
};
|
2063
|
+
__decorate$1([
|
2064
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2065
|
+
], VegaTimePicker.prototype, "globalSlimmers", void 0);
|
2066
|
+
__decorate$1([
|
2067
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2068
|
+
], VegaTimePicker.prototype, "translationSlimmer", void 0);
|
2069
|
+
__decorate$1([
|
2070
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2071
|
+
], VegaTimePicker.prototype, "labelRenderer", void 0);
|
2072
|
+
__decorate$1([
|
2073
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2074
|
+
], VegaTimePicker.prototype, "singleInputRenderer", void 0);
|
2075
|
+
__decorate$1([
|
2076
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2077
|
+
], VegaTimePicker.prototype, "singleDropdownRenderer", void 0);
|
2078
|
+
__decorate$1([
|
2079
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2080
|
+
], VegaTimePicker.prototype, "valueController", void 0);
|
2081
|
+
__decorate$1([
|
2082
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2083
|
+
], VegaTimePicker.prototype, "singleDropdownController", void 0);
|
2084
|
+
__decorate$1([
|
2085
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2086
|
+
], VegaTimePicker.prototype, "dropdownSelectedItemsController", void 0);
|
2087
|
+
__decorate$1([
|
2088
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2089
|
+
], VegaTimePicker.prototype, "keyboardController", void 0);
|
2090
|
+
__decorate$1([
|
2091
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2092
|
+
], VegaTimePicker.prototype, "formFieldController", void 0);
|
2093
|
+
__decorate$1([
|
2094
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2095
|
+
], VegaTimePicker.prototype, "rangeInputRenderer", void 0);
|
2096
|
+
__decorate$1([
|
2097
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2098
|
+
], VegaTimePicker.prototype, "rangeClearButtonRenderer", void 0);
|
2099
|
+
__decorate$1([
|
2100
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2101
|
+
], VegaTimePicker.prototype, "rangeDropdownRenderer", void 0);
|
2102
|
+
__decorate$1([
|
2103
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2104
|
+
], VegaTimePicker.prototype, "startDropdownController", void 0);
|
2105
|
+
__decorate$1([
|
2106
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2107
|
+
], VegaTimePicker.prototype, "endDropdownController", void 0);
|
2108
|
+
__decorate$1([
|
2109
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2110
|
+
], VegaTimePicker.prototype, "inputMaskController", void 0);
|
2111
|
+
__decorate$1([
|
2112
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2113
|
+
], VegaTimePicker.prototype, "inputEventPrevent", void 0);
|
2114
|
+
__decorate$1([
|
2115
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2116
|
+
], VegaTimePicker.prototype, "changeEventEmitter", void 0);
|
2117
|
+
__decorate$1([
|
2118
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2119
|
+
], VegaTimePicker.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2120
|
+
__decorate$1([
|
2121
|
+
componentLoadRequired.ComponentLoadRequired()
|
2122
|
+
], VegaTimePicker.prototype, "watchValue", null);
|
2123
|
+
VegaTimePicker.style = vegaTimePickerCss;
|
2124
|
+
|
2125
|
+
const vegaTimePickerDropdownCss = ":host(.vega-time-picker-dropdown){border-radius:12px;position:absolute;overflow:hidden}:host(.vega-force-hidden){display:none !important}.vega-time-picker-dropdown-container{flex-direction:column;position:relative;padding-top:16px;padding-bottom:16px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border-radius:12px;box-shadow:var(--v-shadow-dropdown-menu, 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1))}.vega-time-picker-dropdown-panel{display:flex;height:224px}.vega-time-picker-dropdown-panel>ul{flex-grow:1;overflow:hidden;padding-left:0px;margin:0px;width:72px;list-style-type:none;scroll-behavior:smooth}.vega-time-picker-dropdown-panel>ul:hover{overflow-y:auto}.vega-time-picker-dropdown.mobile .vega-time-picker-dropdown-panel>ul{overflow-y:auto;overflow-x:hidden}.vega-time-picker-dropdown-panel>ul:hover::-webkit-scrollbar{width:4px}.vega-time-picker-dropdown-panel>ul:hover::-webkit-scrollbar-thumb{background-color:rgba(var(--v-bg-status-info, 205, 209, 211, 1));border-radius:9999px}.vega-time-picker-panel-column:not(:last-child){border-right-width:1px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-right-style:solid}.vega-time-picker-dropdown-panel>ul>li{padding-top:4px;padding-bottom:4px;padding-left:16px;cursor:pointer;display:flex;align-items:center;width:100%}.vega-time-picker-dropdown-panel>ul>li:focus{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}.vega-time-picker-dropdown-panel>ul>li:hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}.vega-time-picker-dropdown-panel>ul>li.vega-dropdown-item-selected{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}.vega-time-picker-dropdown-panel>ul>li{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;text-decoration:none;outline:0}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-time-picker-dropdown-panel>ul>li{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-time-picker-dropdown-panel>ul>li{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-time-picker-dropdown-panel>ul>li{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.vega-time-picker-panel-column::after{display:block;height:192px;content:\"\"}.vega-time-picker-dropdown-footer{display:flex;padding-left:16px;padding-right:16px;justify-content:flex-end}.vega-time-picker-dropdown-footer .vega-time-picker-now{flex-grow:1}.horizontal-divider{height:1px;background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));width:100%;margin-top:12px;margin-bottom:12px}";
|
2126
|
+
|
2127
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2128
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2129
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2130
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2131
|
+
else
|
2132
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2133
|
+
if (d = decorators[i])
|
2134
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2135
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2136
|
+
};
|
2137
|
+
const VegaTimePickerDropdown = class {
|
2138
|
+
constructor(hostRef) {
|
2139
|
+
index.registerInstance(this, hostRef);
|
2140
|
+
this.globalSlimmers = {};
|
2141
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
2142
|
+
}
|
2143
|
+
render() {
|
2144
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null), this.host);
|
2145
|
+
}
|
2146
|
+
get host() { return index.getElement(this); }
|
2147
|
+
};
|
2148
|
+
__decorate([
|
2149
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2150
|
+
], VegaTimePickerDropdown.prototype, "globalSlimmers", void 0);
|
2151
|
+
__decorate([
|
2152
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2153
|
+
], VegaTimePickerDropdown.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2154
|
+
VegaTimePickerDropdown.style = vegaTimePickerDropdownCss;
|
2155
|
+
|
2156
|
+
exports.vega_time_picker = VegaTimePicker;
|
2157
|
+
exports.vega_time_picker_dropdown = VegaTimePickerDropdown;
|