@heartlandone/vega-sandbox-pr-1474-a64385b416d2e92ec0fb6cf2ef83219880562cb4 2.26.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-58db404a.js +252 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-cb3291ba.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-c144a963.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-d2d49ff5.js +171 -0
- package/dist/cjs/date-0a6bb035.js +95 -0
- package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
- package/dist/cjs/design-token-2c2cdd7d.js +403 -0
- package/dist/cjs/dom-node-subject-observer-factory-d2698876.js +170 -0
- package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
- package/dist/cjs/effect-37695d3d.js +52 -0
- package/dist/cjs/element-appender-slimmer-5fa9ff52.js +1109 -0
- package/dist/cjs/event-emit-slimmer-54616105.js +257 -0
- package/dist/cjs/feature-flag-controller-078da332.js +313 -0
- package/dist/cjs/form-field-controller-slimmer-8b314ba2.js +1095 -0
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/icon-manager-1f028e61.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 +1755 -0
- package/dist/cjs/index-5792390b.js +1024 -0
- package/dist/cjs/index.cjs.js +92 -0
- package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
- package/dist/cjs/internal-icon-manager-27767819.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 +44 -0
- package/dist/cjs/min-number-rule-0ce5347c.js +138 -0
- package/dist/cjs/min-string-length-rule-d1a1ea94.js +136 -0
- package/dist/cjs/misc-3d30df91.js +41 -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/page-resize-observer-slimmer-1e404fc7.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-162044d5.js +64 -0
- package/dist/cjs/required-field-rule-8655758f.js +83 -0
- package/dist/cjs/responsive-format-facade-aa849dc7.js +718 -0
- package/dist/cjs/state-background-color-formatter-33ae4282.js +85 -0
- package/dist/cjs/static-subject-title-35e2a92c.js +67 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-0ac6e18a.js +364 -0
- package/dist/cjs/style-formatter-dc0682a4.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-58217668.js +203 -0
- package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/type-guard-4d05d4b2.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-077fc009.js +52 -0
- package/dist/cjs/ui-08f33116.js +200 -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 +267 -0
- package/dist/cjs/vega-button-circle.cjs.entry.js +221 -0
- package/dist/cjs/vega-button-group_2.cjs.entry.js +423 -0
- package/dist/cjs/vega-button-link.cjs.entry.js +215 -0
- package/dist/cjs/vega-button.cjs.entry.js +233 -0
- package/dist/cjs/vega-calendar_3.cjs.entry.js +4033 -0
- package/dist/cjs/vega-card.cjs.entry.js +196 -0
- package/dist/cjs/vega-carousel.cjs.entry.js +514 -0
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +623 -0
- package/dist/cjs/vega-chip.cjs.entry.js +300 -0
- package/dist/cjs/vega-color-picker.cjs.entry.js +247 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +436 -0
- package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +2082 -0
- package/dist/cjs/vega-dialog-controller-d51e82f8.js +82 -0
- package/dist/cjs/vega-dialog_2.cjs.entry.js +715 -0
- package/dist/cjs/vega-divider.cjs.entry.js +149 -0
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +2915 -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 +165 -0
- package/dist/cjs/vega-file-uploader.cjs.entry.js +678 -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 +483 -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 +229 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +926 -0
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +411 -0
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9219 -0
- package/dist/cjs/vega-input-range.cjs.entry.js +736 -0
- package/dist/cjs/vega-input-select.cjs.entry.js +870 -0
- package/dist/cjs/vega-input.cjs.entry.js +1013 -0
- package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +190 -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 +182 -0
- package/dist/cjs/vega-pagination.cjs.entry.js +377 -0
- package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
- package/dist/cjs/vega-popover_2.cjs.entry.js +320 -0
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +251 -0
- package/dist/cjs/vega-radio_2.cjs.entry.js +741 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +347 -0
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +834 -0
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +793 -0
- package/dist/cjs/vega-signature-capture.cjs.entry.js +563 -0
- package/dist/cjs/vega-skeleton-loader-controller-5a9437dc.js +3906 -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 +290 -0
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +1244 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4541 -0
- package/dist/cjs/vega-text.cjs.entry.js +232 -0
- package/dist/cjs/vega-textarea.cjs.entry.js +300 -0
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +2140 -0
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +246 -0
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
- package/dist/cjs/vega.cjs.js +42 -0
- package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
- package/dist/collection/collection-manifest.json +457 -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 +170 -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 +2087 -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 +7226 -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 +199 -0
- package/dist/collection/components/vega-button/vega-button.js +481 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +402 -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 +182 -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 +106 -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 +122 -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 +547 -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 +335 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +114 -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 +806 -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 +98 -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 +1276 -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 +168 -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 +660 -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 +42 -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 +789 -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 +140 -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 +597 -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 +142 -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 +812 -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 +399 -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-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 +112 -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 +542 -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 +91 -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 +222 -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 +93 -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/vega-table-head-cell.css +130 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +312 -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 +1846 -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 +173 -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 +98 -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 +658 -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/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 +156 -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 +25 -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 +19 -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 +15 -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 +89 -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-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/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/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 +66 -0
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +123 -0
- package/dist/collection/helpers/validator/rules/min-number-rule.js +66 -0
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +65 -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 +108 -0
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -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 +74 -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-0e948e70.js +250 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-e59edf8d.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-50cd94b9.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-dc9af92b.js +168 -0
- package/dist/esm/date-732bc749.js +87 -0
- package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
- package/dist/esm/design-token-44525832.js +389 -0
- package/dist/esm/dom-node-subject-observer-factory-0d4b85b8.js +166 -0
- package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
- package/dist/esm/effect-8efd2c3c.js +49 -0
- package/dist/esm/element-appender-slimmer-1aa00c06.js +1107 -0
- package/dist/esm/event-emit-slimmer-0315fa00.js +255 -0
- package/dist/esm/feature-flag-controller-10780eeb.js +311 -0
- package/dist/esm/form-field-controller-slimmer-bf7441bd.js +1093 -0
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/icon-manager-f2627a2b.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 +1725 -0
- package/dist/esm/index.js +36 -0
- package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
- package/dist/esm/internal-icon-manager-4e20e8a2.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 +40 -0
- package/dist/esm/min-number-rule-88e546e5.js +135 -0
- package/dist/esm/min-string-length-rule-27a8ba07.js +133 -0
- package/dist/esm/misc-9fdbcfbb.js +37 -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/page-resize-observer-slimmer-8caeb03b.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-cf9c81bb.js +62 -0
- package/dist/esm/required-field-rule-f438a73f.js +81 -0
- package/dist/esm/responsive-format-facade-4488d609.js +716 -0
- package/dist/esm/state-background-color-formatter-de7e6522.js +82 -0
- package/dist/esm/static-subject-title-2a4d6602.js +45 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-633271ed.js +361 -0
- package/dist/esm/style-formatter-391b4f97.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-46abe492.js +200 -0
- package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/type-guard-467c9e3e.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-df46cc20.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 +263 -0
- package/dist/esm/vega-button-circle.entry.js +217 -0
- package/dist/esm/vega-button-group_2.entry.js +418 -0
- package/dist/esm/vega-button-link.entry.js +211 -0
- package/dist/esm/vega-button.entry.js +229 -0
- package/dist/esm/vega-calendar_3.entry.js +4027 -0
- package/dist/esm/vega-card.entry.js +192 -0
- package/dist/esm/vega-carousel.entry.js +510 -0
- package/dist/esm/vega-checkbox_2.entry.js +618 -0
- package/dist/esm/vega-chip.entry.js +296 -0
- package/dist/esm/vega-color-picker.entry.js +243 -0
- package/dist/esm/vega-combo-box.entry.js +432 -0
- package/dist/esm/vega-counter-badge.entry.js +86 -0
- package/dist/esm/vega-date-picker_2.entry.js +2077 -0
- package/dist/esm/vega-dialog-controller-7f30c5a7.js +80 -0
- package/dist/esm/vega-dialog_2.entry.js +710 -0
- package/dist/esm/vega-divider.entry.js +145 -0
- package/dist/esm/vega-dropdown_5.entry.js +2907 -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 +161 -0
- package/dist/esm/vega-file-uploader.entry.js +674 -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 +479 -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 +225 -0
- package/dist/esm/vega-image-uploader.entry.js +922 -0
- package/dist/esm/vega-input-credit-card.entry.js +407 -0
- package/dist/esm/vega-input-phone-number.entry.js +9215 -0
- package/dist/esm/vega-input-range.entry.js +732 -0
- package/dist/esm/vega-input-select.entry.js +866 -0
- package/dist/esm/vega-input.entry.js +1009 -0
- package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
- package/dist/esm/vega-item-toggle.entry.js +186 -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 +177 -0
- package/dist/esm/vega-pagination.entry.js +373 -0
- package/dist/esm/vega-pie-chart.entry.js +439 -0
- package/dist/esm/vega-popover_2.entry.js +315 -0
- package/dist/esm/vega-progress-tracker.entry.js +247 -0
- package/dist/esm/vega-radio_2.entry.js +736 -0
- package/dist/esm/vega-section-title.entry.js +108 -0
- package/dist/esm/vega-segment-control.entry.js +343 -0
- package/dist/esm/vega-selection-chip_2.entry.js +829 -0
- package/dist/esm/vega-selection-tile_2.entry.js +788 -0
- package/dist/esm/vega-signature-capture.entry.js +559 -0
- package/dist/esm/vega-skeleton-loader-controller-37c3619d.js +3898 -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 +286 -0
- package/dist/esm/vega-tab-group_2.entry.js +1239 -0
- package/dist/esm/vega-table_8.entry.js +4530 -0
- package/dist/esm/vega-text.entry.js +228 -0
- package/dist/esm/vega-textarea.entry.js +296 -0
- package/dist/esm/vega-time-picker_2.entry.js +2135 -0
- package/dist/esm/vega-toggle-switch.entry.js +242 -0
- package/dist/esm/vega-tooltip_2.entry.js +295 -0
- package/dist/esm/vega.js +40 -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 +81 -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 +45 -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 +52 -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 +177 -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 +88 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +30 -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 +211 -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 +28 -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 +383 -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 +77 -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 +179 -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 +16 -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 +208 -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 +63 -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 +167 -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 +36 -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 +215 -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 +8 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +7 -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 +8 -0
- package/dist/types/components/vega-pagination/types.d.ts +1 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +102 -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-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 +28 -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 +136 -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 +24 -0
- package/dist/types/components/vega-tab-group/types.d.ts +12 -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 +23 -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/vega-table-head-cell.d.ts +79 -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 +498 -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 +56 -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 +42 -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 +177 -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 +8906 -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/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 +26 -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 +16 -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 +34 -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-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/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/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 +39 -0
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +36 -0
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +38 -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 +28 -0
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +62 -0
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +37 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +78 -0
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +44 -0
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +48 -0
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +55 -0
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +48 -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 +108 -0
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +73 -0
- package/dist/types/helpers/validator/rules/validation-rule.d.ts +9 -0
- package/dist/types/helpers/validator/test/rules/check-box-required-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 +192 -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 +16 -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-0134e8c5.js +1 -0
- package/dist/vega/p-016045b0.js +1 -0
- package/dist/vega/p-01d482f6.entry.js +1 -0
- package/dist/vega/p-020baf8d.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0c9b84c0.entry.js +1 -0
- package/dist/vega/p-1170444d.entry.js +1 -0
- package/dist/vega/p-13f2c41c.entry.js +1 -0
- package/dist/vega/p-152393dd.js +1 -0
- package/dist/vega/p-16493e5b.js +1 -0
- package/dist/vega/p-18361836.entry.js +1 -0
- package/dist/vega/p-184c238b.entry.js +1 -0
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c1805aa.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1e33c6e3.entry.js +1 -0
- package/dist/vega/p-1f712313.js +1 -0
- package/dist/vega/p-23ec14fe.js +1 -0
- package/dist/vega/p-2675fb06.entry.js +1 -0
- package/dist/vega/p-2798eac5.entry.js +1 -0
- package/dist/vega/p-28b1a294.entry.js +1 -0
- package/dist/vega/p-29ac203a.js +1 -0
- package/dist/vega/p-2bdbe342.entry.js +1 -0
- package/dist/vega/p-2d092734.entry.js +1 -0
- package/dist/vega/p-2d0d575f.js +1 -0
- package/dist/vega/p-2df25c7f.js +1 -0
- package/dist/vega/p-2f0ef4b2.entry.js +1 -0
- package/dist/vega/p-319efe6c.js +1 -0
- package/dist/vega/p-33596687.js +1 -0
- package/dist/vega/p-344ee7cb.js +1 -0
- package/dist/vega/p-3542f8fe.js +1 -0
- package/dist/vega/p-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3c8b2105.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-4111d75e.entry.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-462a6417.entry.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47d106e7.js +1 -0
- package/dist/vega/p-48335db0.entry.js +1 -0
- package/dist/vega/p-4a22618f.entry.js +1 -0
- package/dist/vega/p-4b29a9c2.entry.js +1 -0
- package/dist/vega/p-4d281af9.entry.js +1 -0
- package/dist/vega/p-4e33059a.entry.js +1 -0
- package/dist/vega/p-4fccef3e.entry.js +1 -0
- package/dist/vega/p-5041624e.entry.js +1 -0
- package/dist/vega/p-5110037b.entry.js +1 -0
- package/dist/vega/p-5453f591.js +1 -0
- package/dist/vega/p-54f87b68.entry.js +1 -0
- package/dist/vega/p-55ccc669.entry.js +1 -0
- package/dist/vega/p-57bb173d.entry.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-59a75a4e.js +1 -0
- package/dist/vega/p-5dc98104.js +1 -0
- package/dist/vega/p-5de3ee6c.entry.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-6826aeb1.entry.js +1 -0
- package/dist/vega/p-6a334573.js +1 -0
- package/dist/vega/p-6bd5c49b.js +1 -0
- package/dist/vega/p-6bf1df99.entry.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-7588f229.js +1 -0
- package/dist/vega/p-764be3f6.entry.js +1 -0
- package/dist/vega/p-770c736e.js +1 -0
- package/dist/vega/p-7747bdf3.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-7cbd8367.entry.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-883a939b.js +1 -0
- package/dist/vega/p-8a7bf3ff.entry.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8b5d3a52.js +1 -0
- package/dist/vega/p-8ca2b2a6.js +1 -0
- package/dist/vega/p-93c59c3a.entry.js +1 -0
- package/dist/vega/p-961e1ecd.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9909e768.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9bfb9a9d.entry.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a73c06f0.js +1 -0
- package/dist/vega/p-a777f341.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-acc28a83.entry.js +1 -0
- package/dist/vega/p-ace2eea4.entry.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b2532c02.entry.js +13 -0
- package/dist/vega/p-b4e92130.entry.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b68cb50f.entry.js +1 -0
- package/dist/vega/p-b6ef48be.entry.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-b9cb9098.entry.js +1 -0
- package/dist/vega/p-b9f8a909.entry.js +1 -0
- package/dist/vega/p-bb491bed.js +1 -0
- package/dist/vega/p-bb953c8e.js +1 -0
- package/dist/vega/p-bc5ce560.entry.js +1 -0
- package/dist/vega/p-bf8c1fe3.js +1 -0
- package/dist/vega/p-c093f5d2.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-c867765e.entry.js +1 -0
- package/dist/vega/p-d08cab68.entry.js +1 -0
- package/dist/vega/p-d6bf53d4.entry.js +1 -0
- package/dist/vega/p-d9196c12.js +1 -0
- package/dist/vega/p-d9fc1fff.entry.js +1 -0
- package/dist/vega/p-daee0d03.entry.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-e07cba2e.js +1 -0
- package/dist/vega/p-e3ad20a6.entry.js +1 -0
- package/dist/vega/p-e9874af1.js +1 -0
- package/dist/vega/p-ea1f50c9.entry.js +1 -0
- package/dist/vega/p-ea9e4cc6.entry.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-eae4a1c1.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-f1a59ae3.entry.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f6fa60f9.entry.js +1 -0
- package/dist/vega/p-f71aa49e.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-faea1620.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,2915 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-09acd3c9.js');
|
6
|
+
const component = require('./component-73a88c4e.js');
|
7
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
8
|
+
const placeholder = require('./placeholder-cb6d37ad.js');
|
9
|
+
const componentUsageRuntimeMetrics = require('./component-usage-runtime-metrics-1ee24991.js');
|
10
|
+
const ui = require('./ui-08f33116.js');
|
11
|
+
const typeGuard = require('./type-guard-4d05d4b2.js');
|
12
|
+
const accessibility = require('./accessibility-bfa227f6.js');
|
13
|
+
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-d2698876.js');
|
14
|
+
const vegaEventId = require('./vega-event-id-e40ac8f0.js');
|
15
|
+
const keyboardManagerSlimmer = require('./keyboard-manager-slimmer-8e2d4b5d.js');
|
16
|
+
const elementAppenderSlimmer = require('./element-appender-slimmer-5fa9ff52.js');
|
17
|
+
const array = require('./array-6e559cde.js');
|
18
|
+
const subStateObserverSlimmer = require('./sub-state-observer-slimmer-58217668.js');
|
19
|
+
const mutationObserverSlimmer = require('./mutation-observer-slimmer-895b3d3e.js');
|
20
|
+
const changeManager = require('./change-manager-a297e4d2.js');
|
21
|
+
const vegaInternalEventId = require('./vega-internal-event-id-c98e9a7d.js');
|
22
|
+
const eventEmitSlimmer = require('./event-emit-slimmer-54616105.js');
|
23
|
+
const childNodesNotifyObserverSlimmer = require('./child-nodes-notify-observer-slimmer-c144a963.js');
|
24
|
+
const staticSubjectTitle = require('./static-subject-title-35e2a92c.js');
|
25
|
+
const remoteInvocationRegistry = require('./remote-invocation-registry-162044d5.js');
|
26
|
+
const childNodesEventPreventSlimmer = require('./child-nodes-event-prevent-slimmer-e383a914.js');
|
27
|
+
require('./breakpoints-cb3291ba.js');
|
28
|
+
require('./ui-077fc009.js');
|
29
|
+
require('./regex-c1f70fd4.js');
|
30
|
+
require('./typography-4560e7f1.js');
|
31
|
+
require('./keyboard-manager-34b78600.js');
|
32
|
+
require('./responsive-format-facade-aa849dc7.js');
|
33
|
+
require('./number-459031f7.js');
|
34
|
+
require('./pixel-98f2a10c.js');
|
35
|
+
require('./internal-vega-z-index-manager-23051df4.js');
|
36
|
+
require('./dynamic-slimmer-f31fdfd7.js');
|
37
|
+
require('./page-resize-observer-slimmer-1e404fc7.js');
|
38
|
+
require('./internal-vega-event-manager-627b1328.js');
|
39
|
+
require('./vega-env-manager-23b8b23c.js');
|
40
|
+
require('./feature-flag-controller-078da332.js');
|
41
|
+
require('./index-5792390b.js');
|
42
|
+
|
43
|
+
var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
44
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
45
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
46
|
+
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;
|
47
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
48
|
+
};
|
49
|
+
class VegaDropdownRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
50
|
+
componentDidRender() {
|
51
|
+
this.setVirtualContainer();
|
52
|
+
this.appendItemsToContentBox();
|
53
|
+
this.appendDropdownToContentBox();
|
54
|
+
}
|
55
|
+
getDropdownRef() {
|
56
|
+
return this.dropdownRef;
|
57
|
+
}
|
58
|
+
getDropdownContentBoxRef() {
|
59
|
+
return this.dropdownContentBoxRef;
|
60
|
+
}
|
61
|
+
getVirtualContainerRef() {
|
62
|
+
return this.virtualContainerRef;
|
63
|
+
}
|
64
|
+
/* istanbul ignore next */
|
65
|
+
getNextActiveItem(code) {
|
66
|
+
const items = this.getAllItems();
|
67
|
+
const currentActiveItem = this.getCurrentActiveItem();
|
68
|
+
if (currentActiveItem) {
|
69
|
+
const currentIndex = items.findIndex((item) => item === currentActiveItem);
|
70
|
+
const nextIndex = code === 'ArrowDown' ? currentIndex + 1 : currentIndex - 1;
|
71
|
+
const nextItem = items[nextIndex];
|
72
|
+
if (nextItem) {
|
73
|
+
return nextItem.disabled ? this.findNextCallFocusItem(items, nextIndex, code) : nextItem;
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
return null;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
else {
|
80
|
+
return items[0];
|
81
|
+
}
|
82
|
+
}
|
83
|
+
render() {
|
84
|
+
return (index.h(index.Fragment, null,
|
85
|
+
this.renderContentSlot(),
|
86
|
+
this.renderDropdown()));
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* TODO: We will use no-named slot for both template and source render mode. And will deprecate slot dropdown-content
|
90
|
+
*/
|
91
|
+
renderContentSlot() {
|
92
|
+
return this.renderModeController.isSourceRenderMode() ? (index.h("slot", null)) : (index.h(index.Fragment, null,
|
93
|
+
index.h("slot", { name: "dropdown-content" }),
|
94
|
+
index.h("slot", null)));
|
95
|
+
}
|
96
|
+
renderDropdown() {
|
97
|
+
const eventPreventFlag = this.host && this.host.dataset.vegaNoEventPrevent === 'true' ? 'true' : 'false';
|
98
|
+
return (index.h("vega-dropdown-content-box", { ref: (e) => (this.dropdownContentBoxRef = e), style: { maxHeight: `${this.maxHeight}px` }, "data-parent-ref": this.host, "data-vega-no-event-prevent": eventPreventFlag },
|
99
|
+
index.h("div", { ref: (e) => (this.dropdownRef = e), class: {
|
100
|
+
'vega-dropdown': true,
|
101
|
+
'vega-dropdown-with-searchable': this.searchable,
|
102
|
+
} },
|
103
|
+
index.h("div", { class: "vega-dropdown-actions" },
|
104
|
+
this.searchRenderer.render(),
|
105
|
+
this.createRenderer.render()),
|
106
|
+
index.h("div", null,
|
107
|
+
index.h("div", { class: "vega-dropdown-container" }, this.renderModeController.isSourceRenderMode()
|
108
|
+
? this.listRenderer.renderBySource()
|
109
|
+
: this.listRenderer.renderBySlot())))));
|
110
|
+
}
|
111
|
+
setVirtualContainer() {
|
112
|
+
this.virtualContainerRef = this.dropdownRef.querySelector('.vega-dropdown-container');
|
113
|
+
}
|
114
|
+
appendItemsToContentBox() {
|
115
|
+
if (!this.renderModeController.isSourceRenderMode()) {
|
116
|
+
const itemsSlot = this.host.querySelector("[slot='items']");
|
117
|
+
if (!this.dropdownContentBoxRef.contains(itemsSlot) && itemsSlot) {
|
118
|
+
this.dropdownContentBoxRef.append(itemsSlot);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
appendDropdownToContentBox() {
|
123
|
+
var _a, _b;
|
124
|
+
if (!((_a = this.dropdownContentBoxRef.shadowRoot) === null || _a === void 0 ? void 0 : _a.contains(this.dropdownRef))) {
|
125
|
+
(_b = this.dropdownContentBoxRef.shadowRoot) === null || _b === void 0 ? void 0 : _b.append(this.dropdownRef);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
/* istanbul ignore next */
|
129
|
+
getAllItems() {
|
130
|
+
const virtualScroll = this.dropdownRef.querySelector('vega-virtual-scroll');
|
131
|
+
const itemContainer = virtualScroll
|
132
|
+
? virtualScroll.shadowRoot
|
133
|
+
: this.dropdownRef;
|
134
|
+
return Array.from(itemContainer.querySelectorAll('vega-dropdown-item'));
|
135
|
+
}
|
136
|
+
/* istanbul ignore next */
|
137
|
+
getCurrentActiveItem() {
|
138
|
+
return ui.findParent(component.getActiveElement(this.dropdownContentBoxRef.shadowRoot), 'vega-dropdown-item');
|
139
|
+
}
|
140
|
+
/* istanbul ignore next */
|
141
|
+
findNextCallFocusItem(items, currentIndex, code) {
|
142
|
+
const nextIndex = code === 'ArrowDown' ? currentIndex + 1 : currentIndex - 1;
|
143
|
+
const nextItem = items[nextIndex];
|
144
|
+
if (nextItem) {
|
145
|
+
return nextItem.disabled ? this.findNextCallFocusItem(items, nextIndex, code) : nextItem;
|
146
|
+
}
|
147
|
+
else {
|
148
|
+
return null;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
__decorate$s([
|
153
|
+
globalSlimmerRegistry.MapToComponentField()
|
154
|
+
], VegaDropdownRenderer.prototype, "host", void 0);
|
155
|
+
__decorate$s([
|
156
|
+
globalSlimmerRegistry.MapToComponentField()
|
157
|
+
], VegaDropdownRenderer.prototype, "maxHeight", void 0);
|
158
|
+
__decorate$s([
|
159
|
+
globalSlimmerRegistry.MapToComponentField()
|
160
|
+
], VegaDropdownRenderer.prototype, "searchable", void 0);
|
161
|
+
__decorate$s([
|
162
|
+
globalSlimmerRegistry.MapToComponentField()
|
163
|
+
], VegaDropdownRenderer.prototype, "searchRenderer", void 0);
|
164
|
+
__decorate$s([
|
165
|
+
globalSlimmerRegistry.MapToComponentField()
|
166
|
+
], VegaDropdownRenderer.prototype, "createRenderer", void 0);
|
167
|
+
__decorate$s([
|
168
|
+
globalSlimmerRegistry.MapToComponentField()
|
169
|
+
], VegaDropdownRenderer.prototype, "listRenderer", void 0);
|
170
|
+
__decorate$s([
|
171
|
+
globalSlimmerRegistry.MapToComponentField()
|
172
|
+
], VegaDropdownRenderer.prototype, "renderModeController", void 0);
|
173
|
+
__decorate$s([
|
174
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidRender')
|
175
|
+
], VegaDropdownRenderer.prototype, "componentDidRender", null);
|
176
|
+
|
177
|
+
var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
178
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
179
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
180
|
+
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;
|
181
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
182
|
+
};
|
183
|
+
/**
|
184
|
+
* The `VegaDropdownSourceController` class is responsible for handling and formatting the source data
|
185
|
+
* for a dropdown component in a TypeScript application.
|
186
|
+
*/
|
187
|
+
class VegaDropdownSourceController extends globalSlimmerRegistry.VegaSlimmer {
|
188
|
+
/**
|
189
|
+
* Component lifecycle - [componentWillLoad]
|
190
|
+
*/
|
191
|
+
componentWillLoad() {
|
192
|
+
this.handleSource();
|
193
|
+
}
|
194
|
+
/**
|
195
|
+
* The function "watchSource" calls the function "handleSource".
|
196
|
+
*/
|
197
|
+
watchSource() {
|
198
|
+
this.handleSource();
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* The function sets the source for rendering by searching for a formatted source.
|
202
|
+
*/
|
203
|
+
setRenderSource() {
|
204
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
205
|
+
this.sourceForRender = this.searchController.search(this.source);
|
206
|
+
}
|
207
|
+
}
|
208
|
+
/**
|
209
|
+
* The function "handleSource" performs validation, formatting, and rendering of a source.
|
210
|
+
*/
|
211
|
+
handleSource() {
|
212
|
+
this.validSource();
|
213
|
+
this.setRenderSource();
|
214
|
+
}
|
215
|
+
/**
|
216
|
+
* The function "validSource" checks if the "source" variable is an array of "VegaDropdownSourceItem"
|
217
|
+
* type, and if not, assigns an empty array to it.
|
218
|
+
*/
|
219
|
+
validSource() {
|
220
|
+
this.source = typeGuard.isArrayOfType(this.source, typeGuard.isDropdownSourceItemType)
|
221
|
+
? this.source
|
222
|
+
: [];
|
223
|
+
}
|
224
|
+
}
|
225
|
+
__decorate$r([
|
226
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
227
|
+
], VegaDropdownSourceController.prototype, "source", void 0);
|
228
|
+
__decorate$r([
|
229
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
230
|
+
], VegaDropdownSourceController.prototype, "sourceForRender", void 0);
|
231
|
+
__decorate$r([
|
232
|
+
globalSlimmerRegistry.MapToComponentField()
|
233
|
+
], VegaDropdownSourceController.prototype, "searchController", void 0);
|
234
|
+
__decorate$r([
|
235
|
+
globalSlimmerRegistry.MapToComponentField()
|
236
|
+
], VegaDropdownSourceController.prototype, "renderModeController", void 0);
|
237
|
+
__decorate$r([
|
238
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
239
|
+
], VegaDropdownSourceController.prototype, "componentWillLoad", null);
|
240
|
+
__decorate$r([
|
241
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSource')
|
242
|
+
], VegaDropdownSourceController.prototype, "watchSource", null);
|
243
|
+
|
244
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
245
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
246
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
247
|
+
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;
|
248
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
249
|
+
};
|
250
|
+
class VegaDropdownCreateRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
251
|
+
constructor() {
|
252
|
+
super(...arguments);
|
253
|
+
this.onItemAdd = () => {
|
254
|
+
this.createEventEmitter.emit(this.searchString);
|
255
|
+
this.appenderController.hide();
|
256
|
+
};
|
257
|
+
}
|
258
|
+
render() {
|
259
|
+
const canRender = this.searchString &&
|
260
|
+
this.dynamicOption &&
|
261
|
+
!this.childrenController.isLabelExist(this.searchString);
|
262
|
+
return (canRender && (index.h("fragment", null,
|
263
|
+
index.h("div", { class: "vega-dropdown-add-item", onClick: this.onItemAdd, tabIndex: 0, role: "button", "aria-label": `Add ${this.searchString}`, onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick() },
|
264
|
+
index.h("div", null,
|
265
|
+
index.h("vega-icon", { icon: "plus-sign" })),
|
266
|
+
index.h("span", { class: "v-break-all" }, `Add "${this.searchString}"`)),
|
267
|
+
index.h("div", { class: "vega-dropdown-divider" }))));
|
268
|
+
}
|
269
|
+
}
|
270
|
+
__decorate$q([
|
271
|
+
globalSlimmerRegistry.MapToComponentField()
|
272
|
+
], VegaDropdownCreateRenderer.prototype, "searchString", void 0);
|
273
|
+
__decorate$q([
|
274
|
+
globalSlimmerRegistry.MapToComponentField()
|
275
|
+
], VegaDropdownCreateRenderer.prototype, "dynamicOption", void 0);
|
276
|
+
__decorate$q([
|
277
|
+
globalSlimmerRegistry.MapToComponentField()
|
278
|
+
], VegaDropdownCreateRenderer.prototype, "sourceForRender", void 0);
|
279
|
+
__decorate$q([
|
280
|
+
globalSlimmerRegistry.MapToComponentField()
|
281
|
+
], VegaDropdownCreateRenderer.prototype, "appenderController", void 0);
|
282
|
+
__decorate$q([
|
283
|
+
globalSlimmerRegistry.MapToComponentField()
|
284
|
+
], VegaDropdownCreateRenderer.prototype, "childrenController", void 0);
|
285
|
+
__decorate$q([
|
286
|
+
globalSlimmerRegistry.MapToComponentField()
|
287
|
+
], VegaDropdownCreateRenderer.prototype, "renderModeController", void 0);
|
288
|
+
__decorate$q([
|
289
|
+
globalSlimmerRegistry.MapToComponentField()
|
290
|
+
], VegaDropdownCreateRenderer.prototype, "createEventEmitter", void 0);
|
291
|
+
|
292
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
293
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
294
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
295
|
+
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;
|
296
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
297
|
+
};
|
298
|
+
class VegaDropdownListRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
299
|
+
constructor() {
|
300
|
+
super(...arguments);
|
301
|
+
this.defaultMaxHeightOfItemsContainer = 400;
|
302
|
+
}
|
303
|
+
/**
|
304
|
+
* The below method is e2e-test covered in
|
305
|
+
* @see{module:vega-dropdown-keyboard-control-e2e}
|
306
|
+
*/
|
307
|
+
/* istanbul ignore next */
|
308
|
+
getVirtualScrollRef() {
|
309
|
+
return this.virtualScrollRef;
|
310
|
+
}
|
311
|
+
getTemplateContainerRef() {
|
312
|
+
return this.templateContainerRef;
|
313
|
+
}
|
314
|
+
renderBySource() {
|
315
|
+
return (index.h(index.Fragment, null,
|
316
|
+
this.renderLoading(),
|
317
|
+
this.renderDropdownListBySource()));
|
318
|
+
}
|
319
|
+
renderBySlot() {
|
320
|
+
return (index.h(index.Fragment, null,
|
321
|
+
this.renderLoading(),
|
322
|
+
this.renderDropdownListBySlot()));
|
323
|
+
}
|
324
|
+
renderLoading() {
|
325
|
+
return (index.h("div", { class: {
|
326
|
+
'vega-dropdown-loading': true,
|
327
|
+
'v-hidden': !this.isLoading,
|
328
|
+
} },
|
329
|
+
index.h("vega-flex", { gap: "size-8", direction: "row" },
|
330
|
+
index.h("vega-loading-indicator", { size: "small" }),
|
331
|
+
index.h("span", null, "Loading"))));
|
332
|
+
}
|
333
|
+
renderDropdownListBySource() {
|
334
|
+
return (index.h(index.Fragment, null,
|
335
|
+
index.h("div", { class: {
|
336
|
+
'vega-dropdown-empty-list': true,
|
337
|
+
'v-hidden': this.sourceForRender.length > 0,
|
338
|
+
} }, this.searchString ? 'No results found' : 'No options'),
|
339
|
+
index.h("ul", { role: "menu", "aria-label": "dropdown-ul", class: {
|
340
|
+
'v-hidden': this.sourceForRender.length === 0,
|
341
|
+
} },
|
342
|
+
index.h("vega-virtual-scroll", { source: this.sourceForRender,
|
343
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
344
|
+
renderItem: (item, index, fixHeight) => {
|
345
|
+
return item['children']
|
346
|
+
? this.groupLevelRenderer.render(item, index, fixHeight)
|
347
|
+
: this.itemLevelRenderer.render(item, fixHeight);
|
348
|
+
}, viewportMaxHeight: this.defaultMaxHeightOfItemsContainer, ref: (e) => (this.virtualScrollRef = e), isLoading: this.isLazyLoading }))));
|
349
|
+
}
|
350
|
+
renderDropdownListBySlot() {
|
351
|
+
return (index.h("ul", { role: "menu", "aria-label": "dropdown-ul", class: {
|
352
|
+
[`vega-dropdown-item-display-${this.itemDisplayRule}`]: true,
|
353
|
+
['v-hidden']: this.isLoading,
|
354
|
+
}, ref: (ref) => (this.templateContainerRef = ref) },
|
355
|
+
index.h("slot", { name: "items" })));
|
356
|
+
}
|
357
|
+
}
|
358
|
+
__decorate$p([
|
359
|
+
globalSlimmerRegistry.MapToComponentField()
|
360
|
+
], VegaDropdownListRenderer.prototype, "host", void 0);
|
361
|
+
__decorate$p([
|
362
|
+
globalSlimmerRegistry.MapToComponentField()
|
363
|
+
], VegaDropdownListRenderer.prototype, "isLoading", void 0);
|
364
|
+
__decorate$p([
|
365
|
+
globalSlimmerRegistry.MapToComponentField()
|
366
|
+
], VegaDropdownListRenderer.prototype, "searchString", void 0);
|
367
|
+
__decorate$p([
|
368
|
+
globalSlimmerRegistry.MapToComponentField()
|
369
|
+
], VegaDropdownListRenderer.prototype, "itemDisplayRule", void 0);
|
370
|
+
__decorate$p([
|
371
|
+
globalSlimmerRegistry.MapToComponentField()
|
372
|
+
], VegaDropdownListRenderer.prototype, "sourceForRender", void 0);
|
373
|
+
__decorate$p([
|
374
|
+
globalSlimmerRegistry.MapToComponentField()
|
375
|
+
], VegaDropdownListRenderer.prototype, "itemLevelRenderer", void 0);
|
376
|
+
__decorate$p([
|
377
|
+
globalSlimmerRegistry.MapToComponentField()
|
378
|
+
], VegaDropdownListRenderer.prototype, "groupLevelRenderer", void 0);
|
379
|
+
__decorate$p([
|
380
|
+
globalSlimmerRegistry.MapToComponentField()
|
381
|
+
], VegaDropdownListRenderer.prototype, "isLazyLoading", void 0);
|
382
|
+
__decorate$p([
|
383
|
+
globalSlimmerRegistry.MapToComponentField()
|
384
|
+
], VegaDropdownListRenderer.prototype, "isDropdownShow", void 0);
|
385
|
+
__decorate$p([
|
386
|
+
globalSlimmerRegistry.MapToComponentField()
|
387
|
+
], VegaDropdownListRenderer.prototype, "renderModeController", void 0);
|
388
|
+
|
389
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
390
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
391
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
392
|
+
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;
|
393
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
394
|
+
};
|
395
|
+
class VegaDropdownItemLevelRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
396
|
+
render(item, fixHeight) {
|
397
|
+
const renderResult = this.remoteInvocationController.callRemoteItemRender(item, fixHeight);
|
398
|
+
if (renderResult)
|
399
|
+
return renderResult;
|
400
|
+
return (index.h("vega-dropdown-item", Object.assign({}, item, { itemKey: item.key, height: fixHeight, prefixIcon: item.prefixIcon })));
|
401
|
+
}
|
402
|
+
}
|
403
|
+
__decorate$o([
|
404
|
+
globalSlimmerRegistry.MapToComponentField()
|
405
|
+
], VegaDropdownItemLevelRenderer.prototype, "host", void 0);
|
406
|
+
__decorate$o([
|
407
|
+
globalSlimmerRegistry.MapToComponentField()
|
408
|
+
], VegaDropdownItemLevelRenderer.prototype, "selectType", void 0);
|
409
|
+
__decorate$o([
|
410
|
+
globalSlimmerRegistry.MapToComponentField()
|
411
|
+
], VegaDropdownItemLevelRenderer.prototype, "caseSensitive", void 0);
|
412
|
+
__decorate$o([
|
413
|
+
globalSlimmerRegistry.MapToComponentField()
|
414
|
+
], VegaDropdownItemLevelRenderer.prototype, "searchString", void 0);
|
415
|
+
__decorate$o([
|
416
|
+
globalSlimmerRegistry.MapToComponentField()
|
417
|
+
], VegaDropdownItemLevelRenderer.prototype, "selectedController", void 0);
|
418
|
+
__decorate$o([
|
419
|
+
globalSlimmerRegistry.MapToComponentField()
|
420
|
+
], VegaDropdownItemLevelRenderer.prototype, "sourceController", void 0);
|
421
|
+
__decorate$o([
|
422
|
+
globalSlimmerRegistry.MapToComponentField()
|
423
|
+
], VegaDropdownItemLevelRenderer.prototype, "remoteInvocationController", void 0);
|
424
|
+
|
425
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
426
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
427
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
428
|
+
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;
|
429
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
430
|
+
};
|
431
|
+
class VegaDropdownSearchRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
432
|
+
constructor() {
|
433
|
+
super(...arguments);
|
434
|
+
this.clear = () => {
|
435
|
+
this.searchString = null;
|
436
|
+
if (this.searchInputRef)
|
437
|
+
this.searchInputRef.value = '';
|
438
|
+
};
|
439
|
+
this.onInputSearch = (node) => {
|
440
|
+
this.searchInputRef = node;
|
441
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(node, vegaEventId.VegaChange, (input) => {
|
442
|
+
this.searchTriggerBy === 'input' && this.search(input.detail);
|
443
|
+
});
|
444
|
+
};
|
445
|
+
this.search = (input) => {
|
446
|
+
this.searchString = input;
|
447
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
448
|
+
if (this.useDefaultFilter) {
|
449
|
+
this.sourceController.setRenderSource();
|
450
|
+
this.focus();
|
451
|
+
}
|
452
|
+
else if (this.isDropdownShow) {
|
453
|
+
this.searchEventEmitter.emit(input);
|
454
|
+
}
|
455
|
+
}
|
456
|
+
else {
|
457
|
+
this.searchEventEmitter.emit(input);
|
458
|
+
}
|
459
|
+
};
|
460
|
+
}
|
461
|
+
userSearch(input) {
|
462
|
+
this.search(input);
|
463
|
+
}
|
464
|
+
focus() {
|
465
|
+
if (this.searchInputRef) {
|
466
|
+
this.searchInputRef.shadowRoot.querySelector('input').focus();
|
467
|
+
}
|
468
|
+
}
|
469
|
+
render() {
|
470
|
+
return (this.searchable && (index.h("div", { class: "vega-dropdown-search" },
|
471
|
+
index.h("vega-input", { "prefix-icon": "search", size: "small", autoValidation: false, ref: this.onInputSearch,
|
472
|
+
/*
|
473
|
+
* The below method is e2e-test covered in
|
474
|
+
* @see{module:vega-dropdown-enter-key-trigger-search-e2e}
|
475
|
+
*/
|
476
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
477
|
+
onKeyDown:
|
478
|
+
/* istanbul ignore next */ (e) => {
|
479
|
+
if (this.searchTriggerBy === 'enter' && e.code === 'Enter') {
|
480
|
+
this.search(this.searchInputRef.value);
|
481
|
+
}
|
482
|
+
} }))));
|
483
|
+
}
|
484
|
+
}
|
485
|
+
__decorate$n([
|
486
|
+
globalSlimmerRegistry.MapToComponentField()
|
487
|
+
], VegaDropdownSearchRenderer.prototype, "searchable", void 0);
|
488
|
+
__decorate$n([
|
489
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
490
|
+
], VegaDropdownSearchRenderer.prototype, "searchString", void 0);
|
491
|
+
__decorate$n([
|
492
|
+
globalSlimmerRegistry.MapToComponentField()
|
493
|
+
], VegaDropdownSearchRenderer.prototype, "source", void 0);
|
494
|
+
__decorate$n([
|
495
|
+
globalSlimmerRegistry.MapToComponentField()
|
496
|
+
], VegaDropdownSearchRenderer.prototype, "useDefaultFilter", void 0);
|
497
|
+
__decorate$n([
|
498
|
+
globalSlimmerRegistry.MapToComponentField()
|
499
|
+
], VegaDropdownSearchRenderer.prototype, "searchEventEmitter", void 0);
|
500
|
+
__decorate$n([
|
501
|
+
globalSlimmerRegistry.MapToComponentField()
|
502
|
+
], VegaDropdownSearchRenderer.prototype, "isDropdownShow", void 0);
|
503
|
+
__decorate$n([
|
504
|
+
globalSlimmerRegistry.MapToComponentField()
|
505
|
+
], VegaDropdownSearchRenderer.prototype, "sourceController", void 0);
|
506
|
+
__decorate$n([
|
507
|
+
globalSlimmerRegistry.MapToComponentField()
|
508
|
+
], VegaDropdownSearchRenderer.prototype, "renderModeController", void 0);
|
509
|
+
__decorate$n([
|
510
|
+
globalSlimmerRegistry.MapToComponentField()
|
511
|
+
], VegaDropdownSearchRenderer.prototype, "searchTriggerBy", void 0);
|
512
|
+
__decorate$n([
|
513
|
+
globalSlimmerRegistry.MapToComponentMethod('search')
|
514
|
+
], VegaDropdownSearchRenderer.prototype, "userSearch", null);
|
515
|
+
|
516
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
517
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
518
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
519
|
+
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;
|
520
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
521
|
+
};
|
522
|
+
/**
|
523
|
+
* The `VegaDropdownKeyboardController` class is responsible for managing keyboard events
|
524
|
+
* for a dropdown component.
|
525
|
+
*/
|
526
|
+
class VegaDropdownKeyboardController extends keyboardManagerSlimmer.KeyboardManagerSlimmer {
|
527
|
+
/**
|
528
|
+
* The constructor function sets up keyboard event listeners for a dropdown component.
|
529
|
+
*/
|
530
|
+
constructor() {
|
531
|
+
super((target) => {
|
532
|
+
const dropdownRef = this.renderer.getDropdownRef();
|
533
|
+
const virtualContainerRef = this.renderer.getVirtualContainerRef();
|
534
|
+
return [
|
535
|
+
{
|
536
|
+
keyCode: 'Tab',
|
537
|
+
activeElementInScope: [target.host],
|
538
|
+
callback: target.showDropdownIfHover,
|
539
|
+
},
|
540
|
+
{
|
541
|
+
keyCode: 'Escape',
|
542
|
+
activeElementInScope: [target.host, dropdownRef, virtualContainerRef],
|
543
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
544
|
+
callback: /* istanbul ignore next */ () => target.appenderController.hide(),
|
545
|
+
},
|
546
|
+
{
|
547
|
+
keyCode: ['ArrowUp', 'ArrowDown'],
|
548
|
+
activeElementInScope: [target.host, dropdownRef],
|
549
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
550
|
+
callback: /* istanbul ignore next */ (event) => target.controlDirectionByKeyboard(event.code),
|
551
|
+
},
|
552
|
+
{
|
553
|
+
keyCode: 'Tab',
|
554
|
+
activeElementOutScope: [target.host, dropdownRef, virtualContainerRef],
|
555
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
556
|
+
callback: /* istanbul ignore next */ () => target.isDropdownShow && target.appenderController.hide(),
|
557
|
+
},
|
558
|
+
];
|
559
|
+
});
|
560
|
+
/* istanbul ignore next */
|
561
|
+
/**
|
562
|
+
* The below method is e2e-test covered in @see{module:vega-dropdown-keyboard-control-e2e}
|
563
|
+
*/
|
564
|
+
this.showDropdownIfHover = async () => {
|
565
|
+
if (this.trigger === 'hover') {
|
566
|
+
this.appenderController.show();
|
567
|
+
}
|
568
|
+
};
|
569
|
+
/* istanbul ignore next */
|
570
|
+
/**
|
571
|
+
* The below method is e2e-test covered in @see{module:vega-dropdown-keyboard-control-e2e}
|
572
|
+
*
|
573
|
+
* @param {string} code - current keyboard code.
|
574
|
+
*/
|
575
|
+
this.controlDirectionByKeyboard = (code) => {
|
576
|
+
var _a;
|
577
|
+
(_a = this.renderer.getNextActiveItem(code)) === null || _a === void 0 ? void 0 : _a.shadowRoot.querySelector('li').focus();
|
578
|
+
};
|
579
|
+
}
|
580
|
+
}
|
581
|
+
__decorate$m([
|
582
|
+
globalSlimmerRegistry.MapToComponentField()
|
583
|
+
], VegaDropdownKeyboardController.prototype, "host", void 0);
|
584
|
+
__decorate$m([
|
585
|
+
globalSlimmerRegistry.MapToComponentField()
|
586
|
+
], VegaDropdownKeyboardController.prototype, "trigger", void 0);
|
587
|
+
__decorate$m([
|
588
|
+
globalSlimmerRegistry.MapToComponentField()
|
589
|
+
], VegaDropdownKeyboardController.prototype, "isDropdownShow", void 0);
|
590
|
+
__decorate$m([
|
591
|
+
globalSlimmerRegistry.MapToComponentField()
|
592
|
+
], VegaDropdownKeyboardController.prototype, "renderer", void 0);
|
593
|
+
__decorate$m([
|
594
|
+
globalSlimmerRegistry.MapToComponentField()
|
595
|
+
], VegaDropdownKeyboardController.prototype, "appenderController", void 0);
|
596
|
+
__decorate$m([
|
597
|
+
globalSlimmerRegistry.MapToComponentField()
|
598
|
+
], VegaDropdownKeyboardController.prototype, "listRenderer", void 0);
|
599
|
+
|
600
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
601
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
602
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
603
|
+
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;
|
604
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
605
|
+
};
|
606
|
+
/**
|
607
|
+
* The `VegaDropdownAppenderController` class is responsible for managing the visibility and
|
608
|
+
* behavior of a dropdown component.
|
609
|
+
*/
|
610
|
+
class VegaDropdownAppenderController extends elementAppenderSlimmer.ElementAppenderSlimmer {
|
611
|
+
//TODO: make watchIsDropdownShow as a callback param to skip dropdown re-render.
|
612
|
+
/**
|
613
|
+
* This constructor initializes a dropdown component with various configuration options.
|
614
|
+
*/
|
615
|
+
constructor() {
|
616
|
+
super(() => ({
|
617
|
+
target: this.host,
|
618
|
+
appendableElement: this.renderer.getDropdownContentBoxRef(),
|
619
|
+
positionRelativeTo: this.positionRelativeTo,
|
620
|
+
matchTargetWidth: this.matchTargetWidth,
|
621
|
+
matchContainerHeight: this.matchContainerHeight,
|
622
|
+
size: this.size,
|
623
|
+
minWidth: this.minWidth,
|
624
|
+
maxWidth: this.maxWidth,
|
625
|
+
translocation: this.translocation,
|
626
|
+
maxHeight: this.maxHeight,
|
627
|
+
placement: this.placement,
|
628
|
+
alignment: this.alignment,
|
629
|
+
}), () => this.trigger);
|
630
|
+
}
|
631
|
+
/**
|
632
|
+
* The function `watchIsDropdownShow` checks if the dropdown is shown and performs certain actions
|
633
|
+
* based on the result.
|
634
|
+
*/
|
635
|
+
async watchIsDropdownShow() {
|
636
|
+
if (this.isDropdownShow) {
|
637
|
+
this.showEventEmitter.emit();
|
638
|
+
}
|
639
|
+
else {
|
640
|
+
this.searchRenderer.clear();
|
641
|
+
this.hideEventEmitter.emit();
|
642
|
+
}
|
643
|
+
}
|
644
|
+
/**
|
645
|
+
* The function `userShow` checks if a dropdown is not already shown and then calls the `show`
|
646
|
+
* function.
|
647
|
+
*/
|
648
|
+
userShow() {
|
649
|
+
if (!this.isDropdownShow) {
|
650
|
+
this.show();
|
651
|
+
}
|
652
|
+
}
|
653
|
+
/**
|
654
|
+
* The function `userHide` hides a dropdown if it is currently being shown.
|
655
|
+
*/
|
656
|
+
userHide() {
|
657
|
+
if (this.isDropdownShow) {
|
658
|
+
this.hide();
|
659
|
+
}
|
660
|
+
}
|
661
|
+
}
|
662
|
+
__decorate$l([
|
663
|
+
globalSlimmerRegistry.MapToComponentField()
|
664
|
+
], VegaDropdownAppenderController.prototype, "host", void 0);
|
665
|
+
__decorate$l([
|
666
|
+
globalSlimmerRegistry.MapToComponentField()
|
667
|
+
], VegaDropdownAppenderController.prototype, "trigger", void 0);
|
668
|
+
__decorate$l([
|
669
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
670
|
+
], VegaDropdownAppenderController.prototype, "isDropdownShow", void 0);
|
671
|
+
__decorate$l([
|
672
|
+
globalSlimmerRegistry.MapToComponentField()
|
673
|
+
], VegaDropdownAppenderController.prototype, "positionRelativeTo", void 0);
|
674
|
+
__decorate$l([
|
675
|
+
globalSlimmerRegistry.MapToComponentField()
|
676
|
+
], VegaDropdownAppenderController.prototype, "matchTargetWidth", void 0);
|
677
|
+
__decorate$l([
|
678
|
+
globalSlimmerRegistry.MapToComponentField()
|
679
|
+
], VegaDropdownAppenderController.prototype, "matchContainerHeight", void 0);
|
680
|
+
__decorate$l([
|
681
|
+
globalSlimmerRegistry.MapToComponentField()
|
682
|
+
], VegaDropdownAppenderController.prototype, "size", void 0);
|
683
|
+
__decorate$l([
|
684
|
+
globalSlimmerRegistry.MapToComponentField()
|
685
|
+
], VegaDropdownAppenderController.prototype, "minWidth", void 0);
|
686
|
+
__decorate$l([
|
687
|
+
globalSlimmerRegistry.MapToComponentField()
|
688
|
+
], VegaDropdownAppenderController.prototype, "maxWidth", void 0);
|
689
|
+
__decorate$l([
|
690
|
+
globalSlimmerRegistry.MapToComponentField()
|
691
|
+
], VegaDropdownAppenderController.prototype, "translocation", void 0);
|
692
|
+
__decorate$l([
|
693
|
+
globalSlimmerRegistry.MapToComponentField()
|
694
|
+
], VegaDropdownAppenderController.prototype, "maxHeight", void 0);
|
695
|
+
__decorate$l([
|
696
|
+
globalSlimmerRegistry.MapToComponentField()
|
697
|
+
], VegaDropdownAppenderController.prototype, "placement", void 0);
|
698
|
+
__decorate$l([
|
699
|
+
globalSlimmerRegistry.MapToComponentField()
|
700
|
+
], VegaDropdownAppenderController.prototype, "alignment", void 0);
|
701
|
+
__decorate$l([
|
702
|
+
globalSlimmerRegistry.MapToComponentField()
|
703
|
+
], VegaDropdownAppenderController.prototype, "renderer", void 0);
|
704
|
+
__decorate$l([
|
705
|
+
globalSlimmerRegistry.MapToComponentField()
|
706
|
+
], VegaDropdownAppenderController.prototype, "searchRenderer", void 0);
|
707
|
+
__decorate$l([
|
708
|
+
globalSlimmerRegistry.MapToComponentField()
|
709
|
+
], VegaDropdownAppenderController.prototype, "showEventEmitter", void 0);
|
710
|
+
__decorate$l([
|
711
|
+
globalSlimmerRegistry.MapToComponentField()
|
712
|
+
], VegaDropdownAppenderController.prototype, "hideEventEmitter", void 0);
|
713
|
+
__decorate$l([
|
714
|
+
globalSlimmerRegistry.MapToComponentMethod('watchIsDropdownShow')
|
715
|
+
], VegaDropdownAppenderController.prototype, "watchIsDropdownShow", null);
|
716
|
+
__decorate$l([
|
717
|
+
globalSlimmerRegistry.MapToComponentMethod('show')
|
718
|
+
], VegaDropdownAppenderController.prototype, "userShow", null);
|
719
|
+
__decorate$l([
|
720
|
+
globalSlimmerRegistry.MapToComponentMethod('hide')
|
721
|
+
], VegaDropdownAppenderController.prototype, "userHide", null);
|
722
|
+
|
723
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
724
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
725
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
726
|
+
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;
|
727
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
728
|
+
};
|
729
|
+
class VegaDropdownGroupLevelRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
730
|
+
render(item, index$1, fixHeight) {
|
731
|
+
return (index.h("vega-dropdown-group", { label: item.label, key: item.key, divide: index$1 < this.sourceForRender.length - 1 }, item.children.map((children) => this.itemLevelRenderer.render(children, fixHeight))));
|
732
|
+
}
|
733
|
+
}
|
734
|
+
__decorate$k([
|
735
|
+
globalSlimmerRegistry.MapToComponentField()
|
736
|
+
], VegaDropdownGroupLevelRenderer.prototype, "sourceForRender", void 0);
|
737
|
+
__decorate$k([
|
738
|
+
globalSlimmerRegistry.MapToComponentField()
|
739
|
+
], VegaDropdownGroupLevelRenderer.prototype, "itemLevelRenderer", void 0);
|
740
|
+
|
741
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
742
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
743
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
744
|
+
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;
|
745
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
746
|
+
};
|
747
|
+
/**
|
748
|
+
* The `VegaDropdownSearchController` class is a TypeScript class that provides methods for searching
|
749
|
+
* and filtering dropdown items based on a search string.
|
750
|
+
*/
|
751
|
+
class VegaDropdownSearchController extends globalSlimmerRegistry.VegaSlimmer {
|
752
|
+
/**
|
753
|
+
* The search function returns the source array if there is no search string, otherwise it searches the
|
754
|
+
* nested list for matching items.
|
755
|
+
*
|
756
|
+
* @param {VegaDropdown['source']} source - The `source` parameter is of type `VegaDropdown['source']`, which means it is a
|
757
|
+
* property of the `VegaDropdown` object. It is expected to be an array of `VegaDropdownSourceItem`
|
758
|
+
* objects.
|
759
|
+
* @returns {VegaDropdownSourceItem[]} an array of `VegaDropdownSourceItem` objects.
|
760
|
+
*/
|
761
|
+
search(source) {
|
762
|
+
return this.canSearch() ? this.searchSource(source, []) : source;
|
763
|
+
}
|
764
|
+
/**
|
765
|
+
* The function `canSearch` returns true if the conditions for searching are met.
|
766
|
+
*
|
767
|
+
* @returns {boolean} The method `canSearch()` returns a boolean value based on the conditions specified in the
|
768
|
+
* return statement. It returns `true` if `useDefaultFilter` is true, `searchable` is true, and
|
769
|
+
* `searchString` is not an empty string; otherwise, it returns `false`.
|
770
|
+
*/
|
771
|
+
canSearch() {
|
772
|
+
return this.useDefaultFilter && !!this.searchString;
|
773
|
+
}
|
774
|
+
/**
|
775
|
+
* The function `searchSource` recursively searches through a nested list of `VegaDropdownSourceItem`
|
776
|
+
* objects, filtering out items that do not match a search string and modifying the labels of matching
|
777
|
+
* items.
|
778
|
+
*
|
779
|
+
* @param {VegaDropdownSourceItem[]} source - An array of objects of type VegaDropdownSourceItem. Each
|
780
|
+
* object represents a dropdown item and may have a "children" property which is an array of nested
|
781
|
+
* dropdown items.
|
782
|
+
* @param {VegaDropdownSourceItem[]} result - The `result` parameter is an array of
|
783
|
+
* `VegaDropdownSourceItem` objects. It is used to store the filtered items that match the search
|
784
|
+
* criteria.
|
785
|
+
* @returns {VegaDropdownSourceItem[]} an array of VegaDropdownSourceItem objects.
|
786
|
+
*/
|
787
|
+
searchSource(source, result) {
|
788
|
+
const searchResult = this.remoteInvocationController.callRemoteSearch(source, this.searchString, this.caseSensitive);
|
789
|
+
if (searchResult)
|
790
|
+
return searchResult;
|
791
|
+
source.forEach((item) => {
|
792
|
+
if (item['children']) {
|
793
|
+
const filtered = this.searchSource(item['children'], []);
|
794
|
+
if (filtered.length > 0) {
|
795
|
+
result.push(Object.assign(Object.assign({}, item), { children: filtered }));
|
796
|
+
}
|
797
|
+
}
|
798
|
+
else if (this.isLabelIncludeSearchString(item.label)) {
|
799
|
+
result.push(Object.assign(Object.assign({}, item), { label: this.replaceLabelBySearchString(item.label) }));
|
800
|
+
}
|
801
|
+
});
|
802
|
+
return result;
|
803
|
+
}
|
804
|
+
/**
|
805
|
+
* The function checks if a given label includes a search string, taking into account case sensitivity.
|
806
|
+
*
|
807
|
+
* @param {string} label - A string representing the label to be checked for inclusion of the search
|
808
|
+
* string.
|
809
|
+
* @returns {boolean} a boolean value.
|
810
|
+
*/
|
811
|
+
isLabelIncludeSearchString(label) {
|
812
|
+
return this.caseSensitive
|
813
|
+
? label.includes(this.searchString)
|
814
|
+
: label.toLowerCase().includes(this.searchString.toLowerCase());
|
815
|
+
}
|
816
|
+
/**
|
817
|
+
* The function replaces occurrences of a search string in a label with bolded text.
|
818
|
+
*
|
819
|
+
* @param {string} label - The `label` parameter is a string that represents the label to be modified.
|
820
|
+
* @returns {string} a modified version of the input label string. The function uses the `replace` method with a
|
821
|
+
* regular expression pattern to find occurrences of the `searchString` within the label. It then
|
822
|
+
* replaces each occurrence with the same value wrapped in `<b>` tags. The modified label string is
|
823
|
+
* then returned.
|
824
|
+
*/
|
825
|
+
replaceLabelBySearchString(label) {
|
826
|
+
return label.replace(new RegExp(`(${this.searchString})`, 'g' + (this.caseSensitive ? '' : 'i')), `<b>$1</b>`);
|
827
|
+
}
|
828
|
+
}
|
829
|
+
__decorate$j([
|
830
|
+
globalSlimmerRegistry.MapToComponentField()
|
831
|
+
], VegaDropdownSearchController.prototype, "host", void 0);
|
832
|
+
__decorate$j([
|
833
|
+
globalSlimmerRegistry.MapToComponentField()
|
834
|
+
], VegaDropdownSearchController.prototype, "searchString", void 0);
|
835
|
+
__decorate$j([
|
836
|
+
globalSlimmerRegistry.MapToComponentField()
|
837
|
+
], VegaDropdownSearchController.prototype, "caseSensitive", void 0);
|
838
|
+
__decorate$j([
|
839
|
+
globalSlimmerRegistry.MapToComponentField()
|
840
|
+
], VegaDropdownSearchController.prototype, "useDefaultFilter", void 0);
|
841
|
+
__decorate$j([
|
842
|
+
globalSlimmerRegistry.MapToComponentField()
|
843
|
+
], VegaDropdownSearchController.prototype, "searchable", void 0);
|
844
|
+
__decorate$j([
|
845
|
+
globalSlimmerRegistry.MapToComponentField()
|
846
|
+
], VegaDropdownSearchController.prototype, "remoteInvocationController", void 0);
|
847
|
+
|
848
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
849
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
850
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
851
|
+
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;
|
852
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
853
|
+
};
|
854
|
+
/**
|
855
|
+
* The `VegaDropdownSelectedController` class handles the selection of items in a dropdown menu,
|
856
|
+
* either adding them to an array or setting them as the only selected item.
|
857
|
+
*/
|
858
|
+
class VegaDropdownSelectedController extends globalSlimmerRegistry.VegaSlimmer {
|
859
|
+
/**
|
860
|
+
* Component lifecycle - componentWillLoad
|
861
|
+
*/
|
862
|
+
componentWillLoad() {
|
863
|
+
this.checkSelectedSourceKey(this.selectedSourceKey);
|
864
|
+
}
|
865
|
+
/**
|
866
|
+
* The function clears the selected source key based on the select type.
|
867
|
+
*/
|
868
|
+
clearSelection() {
|
869
|
+
this.selectedSourceKey = this.selectType === 'multiple' ? [] : '';
|
870
|
+
}
|
871
|
+
/**
|
872
|
+
* The callback to handle [getSelection]{@link VegaTable.getSelection}
|
873
|
+
*
|
874
|
+
* @returns {string[]} The selected row keys array
|
875
|
+
*/
|
876
|
+
getSelection() {
|
877
|
+
return this.selectedSourceKey;
|
878
|
+
}
|
879
|
+
/**
|
880
|
+
* The function `watchSelectedRowKeySet` sets the `selectedSourceKey` property based on the
|
881
|
+
* `selectType` and the provided `keys`.
|
882
|
+
*
|
883
|
+
* @param {string[] | string} keys - The parameter "keys" can be either a string or an array of
|
884
|
+
* strings.
|
885
|
+
* @returns {void} -.
|
886
|
+
*/
|
887
|
+
watchSelectedRowKeySet(keys) {
|
888
|
+
this.checkSelectedSourceKey(keys);
|
889
|
+
}
|
890
|
+
/**
|
891
|
+
* The function `watchSelectType()` updates the value of `selectedSourceKey` based on the value of
|
892
|
+
* `selectType`.
|
893
|
+
*
|
894
|
+
* @returns {void} -.
|
895
|
+
*/
|
896
|
+
watchSelectType() {
|
897
|
+
this.checkSelectedSourceKey(this.selectedSourceKey);
|
898
|
+
}
|
899
|
+
/**
|
900
|
+
* The function "watchSelectedSourceKey" assigns a value to the variable "selectedSourceKey" by calling
|
901
|
+
* the function "checkSelectedSourceKey" with the current value of "selectedSourceKey" as an argument.
|
902
|
+
*
|
903
|
+
* @param {string[] | string} newValue - new value.
|
904
|
+
* @param {string[] | string} oldValue - old value.
|
905
|
+
*/
|
906
|
+
watchSelectedSourceKey(newValue, oldValue) {
|
907
|
+
if (Array.isArray(oldValue) && Array.isArray(newValue) && array.isArrayEqual(oldValue, newValue))
|
908
|
+
return;
|
909
|
+
this.checkSelectedSourceKey(newValue);
|
910
|
+
}
|
911
|
+
/**
|
912
|
+
* The function "watchSource" synchronizes the dropdown current data and checks the selected source
|
913
|
+
* key.
|
914
|
+
*/
|
915
|
+
watchSource() {
|
916
|
+
this.checkSelectedSourceKey(this.selectedSourceKey);
|
917
|
+
}
|
918
|
+
/**
|
919
|
+
* The function checks if the input is an acceptable item selection observer.
|
920
|
+
*
|
921
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
|
922
|
+
* @returns {boolean} a boolean value.
|
923
|
+
*/
|
924
|
+
isAcceptableItemSelectionObserver(input) {
|
925
|
+
if (input['host']['tagName'] === 'VEGA-DROPDOWN-ITEM') {
|
926
|
+
return this.isCurrentDropdown(input['host']);
|
927
|
+
}
|
928
|
+
/* istanbul ignore next */
|
929
|
+
return false;
|
930
|
+
}
|
931
|
+
/**
|
932
|
+
* The select function handles the selection of a key, either adding it to the selectedSourceKey array
|
933
|
+
* or setting it as the only selected key.
|
934
|
+
*
|
935
|
+
* @param {string} key - The key parameter is a string that represents the selected item.
|
936
|
+
*/
|
937
|
+
select(key) {
|
938
|
+
if (this.selectType === 'multiple') {
|
939
|
+
if (this.selectedSourceKey.includes(key)) {
|
940
|
+
this.selectedSourceKey = [
|
941
|
+
...this.selectedSourceKey.filter((itemKey) => itemKey !== key),
|
942
|
+
];
|
943
|
+
}
|
944
|
+
else {
|
945
|
+
this.selectedSourceKey = [...this.selectedSourceKey, key];
|
946
|
+
}
|
947
|
+
}
|
948
|
+
else if (this.selectType === 'single') {
|
949
|
+
this.selectedSourceKey = key;
|
950
|
+
this.appenderController.hide();
|
951
|
+
}
|
952
|
+
else {
|
953
|
+
this.appenderController.hide();
|
954
|
+
}
|
955
|
+
this.dropdownClickEventEmitter.emit(key);
|
956
|
+
}
|
957
|
+
/**
|
958
|
+
* The function checks if the given item belongs to the current dropdown.
|
959
|
+
*
|
960
|
+
* @param {HTMLElement} item - The `item` parameter is an HTMLElement, which represents an element in
|
961
|
+
* the DOM (Document Object Model). It is the element that we want to check if it is currently in a
|
962
|
+
* dropdown.
|
963
|
+
* @returns {boolean} a boolean value.
|
964
|
+
*/
|
965
|
+
isCurrentDropdown(item) {
|
966
|
+
const appender = ui.findParent(item, 'vega-dropdown-content-box');
|
967
|
+
return this.host === appender['data-parent-ref'];
|
968
|
+
}
|
969
|
+
/**
|
970
|
+
* The function `checkSelectedSourceKey` checks if the selected source key is valid based on the select
|
971
|
+
* type and returns the key or an empty array/string if it is invalid.
|
972
|
+
*
|
973
|
+
* @param {string | string[]} key - The `key` parameter can be either a string or an array of strings.
|
974
|
+
* @returns {void} The function `checkSelectedSourceKey` returns either a string or an array of strings.
|
975
|
+
*/
|
976
|
+
checkSelectedSourceKey(key) {
|
977
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
978
|
+
let result;
|
979
|
+
if (typeof key === 'string' &&
|
980
|
+
this.selectType === 'single' &&
|
981
|
+
this.childrenController.isKeyExist(key)) {
|
982
|
+
result = key;
|
983
|
+
}
|
984
|
+
else if (Array.isArray(key) && this.selectType === 'multiple') {
|
985
|
+
result = this.checkMultipleSelectedKeys(key);
|
986
|
+
}
|
987
|
+
else {
|
988
|
+
globalSlimmerRegistry.LogUtility.warn(`Invalid selectedSourceKey ${key} for ${this.selectType} mode`);
|
989
|
+
result = this.selectType === 'multiple' ? [] : '';
|
990
|
+
}
|
991
|
+
this.selectedSourceKey = result;
|
992
|
+
}
|
993
|
+
else {
|
994
|
+
this.selectedSourceKey = key;
|
995
|
+
}
|
996
|
+
}
|
997
|
+
/**
|
998
|
+
* The function checks if multiple selected keys exist and removes invalid keys, returning the valid
|
999
|
+
* keys.
|
1000
|
+
*
|
1001
|
+
* @param {string[]} keys - An array of strings representing the selected keys.
|
1002
|
+
* @returns {string[]} an array of valid keys after removing any invalid keys from the input array.
|
1003
|
+
*/
|
1004
|
+
checkMultipleSelectedKeys(keys) {
|
1005
|
+
const invalidKeys = [];
|
1006
|
+
const result = keys.filter((key) => {
|
1007
|
+
const isExist = this.childrenController.isKeyExist(key);
|
1008
|
+
if (!isExist)
|
1009
|
+
invalidKeys.push(key);
|
1010
|
+
return isExist;
|
1011
|
+
});
|
1012
|
+
if (invalidKeys.length > 0) {
|
1013
|
+
globalSlimmerRegistry.LogUtility.warn(`Invalid selectedSourceKey ${keys} for ${this.selectType} mode`);
|
1014
|
+
}
|
1015
|
+
return result;
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
__decorate$i([
|
1019
|
+
globalSlimmerRegistry.MapToComponentField()
|
1020
|
+
], VegaDropdownSelectedController.prototype, "host", void 0);
|
1021
|
+
__decorate$i([
|
1022
|
+
globalSlimmerRegistry.MapToComponentField()
|
1023
|
+
], VegaDropdownSelectedController.prototype, "selectType", void 0);
|
1024
|
+
__decorate$i([
|
1025
|
+
globalSlimmerRegistry.MapToComponentField()
|
1026
|
+
], VegaDropdownSelectedController.prototype, "source", void 0);
|
1027
|
+
__decorate$i([
|
1028
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1029
|
+
], VegaDropdownSelectedController.prototype, "selectedSourceKey", void 0);
|
1030
|
+
__decorate$i([
|
1031
|
+
globalSlimmerRegistry.MapToComponentField()
|
1032
|
+
], VegaDropdownSelectedController.prototype, "vegaDropdownClick", void 0);
|
1033
|
+
__decorate$i([
|
1034
|
+
globalSlimmerRegistry.MapToComponentField()
|
1035
|
+
], VegaDropdownSelectedController.prototype, "appenderController", void 0);
|
1036
|
+
__decorate$i([
|
1037
|
+
globalSlimmerRegistry.MapToComponentField()
|
1038
|
+
], VegaDropdownSelectedController.prototype, "childrenController", void 0);
|
1039
|
+
__decorate$i([
|
1040
|
+
globalSlimmerRegistry.MapToComponentField()
|
1041
|
+
], VegaDropdownSelectedController.prototype, "renderModeController", void 0);
|
1042
|
+
__decorate$i([
|
1043
|
+
globalSlimmerRegistry.MapToComponentField()
|
1044
|
+
], VegaDropdownSelectedController.prototype, "dropdownClickEventEmitter", void 0);
|
1045
|
+
__decorate$i([
|
1046
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
1047
|
+
], VegaDropdownSelectedController.prototype, "componentWillLoad", null);
|
1048
|
+
__decorate$i([
|
1049
|
+
globalSlimmerRegistry.MapToComponentMethod('clearSelection')
|
1050
|
+
], VegaDropdownSelectedController.prototype, "clearSelection", null);
|
1051
|
+
__decorate$i([
|
1052
|
+
globalSlimmerRegistry.MapToComponentMethod('getSelection')
|
1053
|
+
], VegaDropdownSelectedController.prototype, "getSelection", null);
|
1054
|
+
__decorate$i([
|
1055
|
+
globalSlimmerRegistry.MapToComponentMethod('setSelection')
|
1056
|
+
], VegaDropdownSelectedController.prototype, "watchSelectedRowKeySet", null);
|
1057
|
+
__decorate$i([
|
1058
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectType')
|
1059
|
+
], VegaDropdownSelectedController.prototype, "watchSelectType", null);
|
1060
|
+
__decorate$i([
|
1061
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectedSourceKey')
|
1062
|
+
], VegaDropdownSelectedController.prototype, "watchSelectedSourceKey", null);
|
1063
|
+
__decorate$i([
|
1064
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSource')
|
1065
|
+
], VegaDropdownSelectedController.prototype, "watchSource", null);
|
1066
|
+
|
1067
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1068
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1069
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1070
|
+
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;
|
1071
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1072
|
+
};
|
1073
|
+
/**
|
1074
|
+
* The `VegaDropdownRenderModeController` class is responsible for determining
|
1075
|
+
* the render mode of a dropdown component based on the presence of a specific element in the DOM.
|
1076
|
+
*/
|
1077
|
+
class VegaDropdownRenderModeController extends globalSlimmerRegistry.VegaSlimmer {
|
1078
|
+
constructor() {
|
1079
|
+
super(...arguments);
|
1080
|
+
this.renderMode = 'SOURCE';
|
1081
|
+
}
|
1082
|
+
/**
|
1083
|
+
* The `connectedCallback` function is called before the component is rendered and is used to set the
|
1084
|
+
* render mode.
|
1085
|
+
*/
|
1086
|
+
connectedCallback() {
|
1087
|
+
this.setRenderMode();
|
1088
|
+
}
|
1089
|
+
/**
|
1090
|
+
* The function checks if the render mode is set to 'SOURCE' and returns a boolean value.
|
1091
|
+
*
|
1092
|
+
* @returns { boolean }A boolean value indicating whether the render mode is set to 'SOURCE'.
|
1093
|
+
*/
|
1094
|
+
isSourceRenderMode() {
|
1095
|
+
return this.renderMode === 'SOURCE';
|
1096
|
+
}
|
1097
|
+
/**
|
1098
|
+
* The function sets the render mode based on the presence of a specific element in the DOM.
|
1099
|
+
* While component first connected, the items slot is in the host.
|
1100
|
+
* While component connected after the first time, the items slot will apppend to vega-dropdown-content-box, so the parent changed.
|
1101
|
+
* code: VegaDropdownRenderer.appendItemsToContentBox
|
1102
|
+
*/
|
1103
|
+
setRenderMode() {
|
1104
|
+
const parent = this.renderer.getDropdownContentBoxRef() || this.host;
|
1105
|
+
this.renderMode = parent.querySelector('[slot=items]') ? 'SLOT' : 'SOURCE';
|
1106
|
+
}
|
1107
|
+
}
|
1108
|
+
__decorate$h([
|
1109
|
+
globalSlimmerRegistry.MapToComponentField()
|
1110
|
+
], VegaDropdownRenderModeController.prototype, "host", void 0);
|
1111
|
+
__decorate$h([
|
1112
|
+
globalSlimmerRegistry.MapToComponentField()
|
1113
|
+
], VegaDropdownRenderModeController.prototype, "renderer", void 0);
|
1114
|
+
__decorate$h([
|
1115
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
1116
|
+
], VegaDropdownRenderModeController.prototype, "connectedCallback", null);
|
1117
|
+
|
1118
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1119
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1120
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1121
|
+
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;
|
1122
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1123
|
+
};
|
1124
|
+
/**
|
1125
|
+
* The controller for the table children components.
|
1126
|
+
*/
|
1127
|
+
class VegaDropdownChildrenController extends globalSlimmerRegistry.VegaSlimmer {
|
1128
|
+
constructor() {
|
1129
|
+
super(...arguments);
|
1130
|
+
this.mutationObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
|
1131
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1132
|
+
target: () => this.renderer.getDropdownContentBoxRef(),
|
1133
|
+
options: {
|
1134
|
+
childList: true,
|
1135
|
+
subtree: true,
|
1136
|
+
},
|
1137
|
+
/*
|
1138
|
+
* The below method is e2e-test covered in
|
1139
|
+
* @see{module:vega-dropdown-items-dom-change-e2e}
|
1140
|
+
*/
|
1141
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1142
|
+
callback: /* istanbul ignore next */ () => this.syncUpDropdownCurrentData(),
|
1143
|
+
});
|
1144
|
+
this.labelSet = new Set();
|
1145
|
+
this.keySet = new Set();
|
1146
|
+
/**
|
1147
|
+
* The `syncUpDropdownCurrentDataBySlot` method is responsible for
|
1148
|
+
* synchronizing the current data in a dropdown based on the items present in the slot.
|
1149
|
+
*/
|
1150
|
+
this.collectKeyAndLabelFromSlot = () => {
|
1151
|
+
const container = this.renderer.getDropdownContentBoxRef() || this.host;
|
1152
|
+
Array.from(container.querySelectorAll('vega-dropdown-item')).forEach((item) => {
|
1153
|
+
item.label && this.labelSet.add(item.label);
|
1154
|
+
item.itemKey && this.keySet.add(item.itemKey);
|
1155
|
+
});
|
1156
|
+
};
|
1157
|
+
}
|
1158
|
+
/**
|
1159
|
+
* Component lifecycle - [disconnectedCallback]
|
1160
|
+
*/
|
1161
|
+
/* istanbul ignore next */
|
1162
|
+
disconnectedCallback() {
|
1163
|
+
}
|
1164
|
+
/**
|
1165
|
+
* Component lifecycle - [componentWillLoad]
|
1166
|
+
*/
|
1167
|
+
componentWillLoad() {
|
1168
|
+
this.syncUpDropdownCurrentData();
|
1169
|
+
}
|
1170
|
+
/**
|
1171
|
+
* Component lifecycle - [componentDidLoad]
|
1172
|
+
*/
|
1173
|
+
componentDidLoad() {
|
1174
|
+
}
|
1175
|
+
/**
|
1176
|
+
* The function "watchSource" synchronizes the dropdown current data.
|
1177
|
+
*/
|
1178
|
+
watchSource() {
|
1179
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
1180
|
+
this.syncUpDropdownCurrentData();
|
1181
|
+
}
|
1182
|
+
}
|
1183
|
+
/**
|
1184
|
+
* The function checks if a given label exists in a label set.
|
1185
|
+
*
|
1186
|
+
* @param {string} label - A string representing the label to check if it exists.
|
1187
|
+
* @returns {boolean} A boolean value is being returned.
|
1188
|
+
*/
|
1189
|
+
isLabelExist(label) {
|
1190
|
+
return this.labelSet.has(label);
|
1191
|
+
}
|
1192
|
+
/**
|
1193
|
+
* The function checks if a given key exists in a set.
|
1194
|
+
*
|
1195
|
+
* @param {string} key - A string representing the key to check if it exists in the keySet.
|
1196
|
+
* @returns {boolean} A boolean value indicating whether the given key exists in the keySet.
|
1197
|
+
*/
|
1198
|
+
isKeyExist(key) {
|
1199
|
+
return this.keySet.has(key);
|
1200
|
+
}
|
1201
|
+
/**
|
1202
|
+
* The function syncs up the current data of a dropdown based on the render mode.
|
1203
|
+
*/
|
1204
|
+
syncUpDropdownCurrentData() {
|
1205
|
+
this.clearDropdownCurrentData();
|
1206
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
1207
|
+
this.collectKeyAndLabelFromSource(this.source);
|
1208
|
+
}
|
1209
|
+
else {
|
1210
|
+
this.collectKeyAndLabelFromSlot();
|
1211
|
+
this.notifyTemplateItemsChange();
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
/**
|
1215
|
+
* The function collects unique labels and keys from a nested array of objects.
|
1216
|
+
*
|
1217
|
+
* @param {VegaDropdownSourceItem[]} items - An array of objects representing dropdown source items.
|
1218
|
+
* Each object should have a "label" property representing the label of the dropdown option, and a
|
1219
|
+
* "key" property representing the value of the dropdown option. Additionally, each object can have a
|
1220
|
+
* "children" property which is an array of nested dropdown source items
|
1221
|
+
*/
|
1222
|
+
collectKeyAndLabelFromSource(items) {
|
1223
|
+
items.forEach((item) => {
|
1224
|
+
if (item['children']) {
|
1225
|
+
this.collectKeyAndLabelFromSource(item['children']);
|
1226
|
+
}
|
1227
|
+
else {
|
1228
|
+
this.labelSet.add(item.label);
|
1229
|
+
this.keySet.add(item.key);
|
1230
|
+
}
|
1231
|
+
});
|
1232
|
+
}
|
1233
|
+
/* istanbul ignore next */
|
1234
|
+
/**
|
1235
|
+
* The below method is e2e-test covered in @see{module:vega-dropdown-items-dom-change-e2e}
|
1236
|
+
*/
|
1237
|
+
clearDropdownCurrentData() {
|
1238
|
+
this.keySet.clear();
|
1239
|
+
this.labelSet.clear();
|
1240
|
+
}
|
1241
|
+
/**
|
1242
|
+
* The function `notifyTemplateItemsChange` notifies changes to dropdown items within a container element.
|
1243
|
+
*/
|
1244
|
+
notifyTemplateItemsChange() {
|
1245
|
+
const container = this.renderer.getDropdownContentBoxRef() || this.host;
|
1246
|
+
changeManager.ChangeManager.notify(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalDropdownTemplateItemsChange), container.querySelectorAll('vega-dropdown-item'));
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
__decorate$g([
|
1250
|
+
globalSlimmerRegistry.MapToComponentField()
|
1251
|
+
], VegaDropdownChildrenController.prototype, "host", void 0);
|
1252
|
+
__decorate$g([
|
1253
|
+
globalSlimmerRegistry.MapToComponentField()
|
1254
|
+
], VegaDropdownChildrenController.prototype, "source", void 0);
|
1255
|
+
__decorate$g([
|
1256
|
+
globalSlimmerRegistry.MapToComponentField()
|
1257
|
+
], VegaDropdownChildrenController.prototype, "sourceController", void 0);
|
1258
|
+
__decorate$g([
|
1259
|
+
globalSlimmerRegistry.MapToComponentField()
|
1260
|
+
], VegaDropdownChildrenController.prototype, "renderModeController", void 0);
|
1261
|
+
__decorate$g([
|
1262
|
+
globalSlimmerRegistry.MapToComponentField()
|
1263
|
+
], VegaDropdownChildrenController.prototype, "listRenderer", void 0);
|
1264
|
+
__decorate$g([
|
1265
|
+
globalSlimmerRegistry.MapToComponentField()
|
1266
|
+
], VegaDropdownChildrenController.prototype, "renderer", void 0);
|
1267
|
+
__decorate$g([
|
1268
|
+
globalSlimmerRegistry.MapToComponentField()
|
1269
|
+
], VegaDropdownChildrenController.prototype, "selectedController", void 0);
|
1270
|
+
__decorate$g([
|
1271
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1272
|
+
], VegaDropdownChildrenController.prototype, "mutationObserver", void 0);
|
1273
|
+
__decorate$g([
|
1274
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
1275
|
+
], VegaDropdownChildrenController.prototype, "disconnectedCallback", null);
|
1276
|
+
__decorate$g([
|
1277
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
1278
|
+
], VegaDropdownChildrenController.prototype, "componentWillLoad", null);
|
1279
|
+
__decorate$g([
|
1280
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
1281
|
+
], VegaDropdownChildrenController.prototype, "componentDidLoad", null);
|
1282
|
+
__decorate$g([
|
1283
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSource')
|
1284
|
+
], VegaDropdownChildrenController.prototype, "watchSource", null);
|
1285
|
+
|
1286
|
+
const VegaDropdownRuntimeMetricsPayloadDefinition = [
|
1287
|
+
{
|
1288
|
+
payloadKey: 'IS_USING_TEMPLATE',
|
1289
|
+
payloadDescription: 'Contains the data records to be rendered and displayed within the dropdown',
|
1290
|
+
/**
|
1291
|
+
* The function checks if the length `source` property of the `host` element is equal to '0'.
|
1292
|
+
* If it is, the function will return `true`.
|
1293
|
+
*
|
1294
|
+
* @param {HTMLElement} host - The element to check
|
1295
|
+
* @returns {boolean} A boolean value
|
1296
|
+
*/
|
1297
|
+
payloadValue: (host) => host.source.length === 0,
|
1298
|
+
},
|
1299
|
+
{
|
1300
|
+
payloadKey: 'IS_USING_DATA_SOURCE',
|
1301
|
+
payloadDescription: 'Contains the data records to be rendered and displayed within the dropdown',
|
1302
|
+
/**
|
1303
|
+
* The function checks if the length `source` property of the `host` element is not equal to '0'.
|
1304
|
+
* If it is, the function will return `true`.
|
1305
|
+
*
|
1306
|
+
* @param {HTMLElement} host - The element to check
|
1307
|
+
* @returns {boolean} A boolean value
|
1308
|
+
*/
|
1309
|
+
payloadValue: (host) => host.source.length > 0,
|
1310
|
+
},
|
1311
|
+
];
|
1312
|
+
|
1313
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1314
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1315
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1316
|
+
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;
|
1317
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1318
|
+
};
|
1319
|
+
/**
|
1320
|
+
* The `VegaDropdownScrollableController` class in TypeScript manages the behavior of a scrollable dropdown component,
|
1321
|
+
* adjusting list container height and scrolling to specific indexes based on render mode and selected source key.
|
1322
|
+
*/
|
1323
|
+
class VegaDropdownScrollableController extends globalSlimmerRegistry.VegaSlimmer {
|
1324
|
+
/**
|
1325
|
+
* The function `watchIsDropdownShow` adjusts the list container height and scrolls to a specific index
|
1326
|
+
* if the dropdown is shown in a certain render mode.
|
1327
|
+
*/
|
1328
|
+
async watchIsDropdownShow() {
|
1329
|
+
if (this.isDropdownShow) {
|
1330
|
+
this.adjustListContainerMaxHeight();
|
1331
|
+
await this.scrollToSelectedIndex();
|
1332
|
+
}
|
1333
|
+
}
|
1334
|
+
/**
|
1335
|
+
* The function scrollToSelected asynchronously scrolls to a selected index based on the render mode.
|
1336
|
+
*/
|
1337
|
+
async scrollToSelectedIndex() {
|
1338
|
+
this.renderModeController.isSourceRenderMode()
|
1339
|
+
? await this.scrollToVirtualIndex()
|
1340
|
+
: this.scrollToTemplateIndex();
|
1341
|
+
}
|
1342
|
+
/**
|
1343
|
+
* The function scrollToVirtualIndex asynchronously scrolls to a specific index in a virtual list based
|
1344
|
+
* on the selected key.
|
1345
|
+
*/
|
1346
|
+
async scrollToVirtualIndex() {
|
1347
|
+
const index = this.sourceForRender.findIndex((item) => item.key === this.getSelectedKey());
|
1348
|
+
index >= 0 && (await this.listRenderer.getVirtualScrollRef().scrollToIndex(index));
|
1349
|
+
}
|
1350
|
+
/*
|
1351
|
+
* The below method is e2e-test covered in
|
1352
|
+
* @see{module:vega-dropdown-scroll-to-selected-key-in-single-template-e2e}
|
1353
|
+
* @see{module:vega-dropdown-scroll-to-selected-key-in-multiple-template-e2e}
|
1354
|
+
*/
|
1355
|
+
/* istanbul ignore next */
|
1356
|
+
/**
|
1357
|
+
* The function scrollToTemplateIndex scrolls the dropdown content box to the selected item key.
|
1358
|
+
*/
|
1359
|
+
scrollToTemplateIndex() {
|
1360
|
+
const scrolledKey = this.getSelectedKey();
|
1361
|
+
if (scrolledKey) {
|
1362
|
+
this.renderer
|
1363
|
+
.getDropdownContentBoxRef()
|
1364
|
+
.querySelector(`vega-dropdown-item[item-key='${scrolledKey}']`)
|
1365
|
+
.scrollIntoView();
|
1366
|
+
}
|
1367
|
+
}
|
1368
|
+
/**
|
1369
|
+
* The function `getSelectedKey` returns the selected key based on the `selectType` condition.
|
1370
|
+
*
|
1371
|
+
* @returns {string} The `getSelectedKey` method returns a string value. If `this.selectType` is equal to
|
1372
|
+
* 'multiple', it returns the first element of the `selectedSourceKey` array as a string. Otherwise, it
|
1373
|
+
* returns the `selectedSourceKey` value as a string.
|
1374
|
+
*/
|
1375
|
+
getSelectedKey() {
|
1376
|
+
return this.selectType === 'multiple'
|
1377
|
+
? this.selectedSourceKey[0]
|
1378
|
+
: this.selectedSourceKey;
|
1379
|
+
}
|
1380
|
+
/*
|
1381
|
+
* The below method is e2e-test covered in
|
1382
|
+
* @see{module:vega-dropdown-with-matchContainerHeight-e2e}
|
1383
|
+
* @see{module:vega-dropdown-without-matchContainerHeight-e2e}
|
1384
|
+
*/
|
1385
|
+
/* istanbul ignore next */
|
1386
|
+
/**
|
1387
|
+
* we only calculate surplus space of bottom, we should calculate maxHeight more accurately here.
|
1388
|
+
* such as minus the gap of dropdown, the dropdown padding top and bottom, the gap of bottom.
|
1389
|
+
* if with searchable, we should minus the height of searchable.
|
1390
|
+
* if the dropdown in the top of host, we should only minus top of distance from vega-dropdown to vega-dropdown-container.
|
1391
|
+
*/
|
1392
|
+
adjustListContainerMaxHeight() {
|
1393
|
+
const dropdownRef = this.renderer.getDropdownContentBoxRef();
|
1394
|
+
const dropdownMaxHeight = ui.extractNumberFromString(dropdownRef.style.maxHeight);
|
1395
|
+
const excludeTop = this.searchable ? 59 : 8;
|
1396
|
+
const paddingSpace = dropdownRef.classList.contains('vega-placement-top') ? 0 : 8 + 8;
|
1397
|
+
const height = dropdownMaxHeight - excludeTop - 8 - paddingSpace;
|
1398
|
+
dropdownRef.style.maxHeight = 'unset';
|
1399
|
+
if (height <= 40) {
|
1400
|
+
this.setItemsContainerMaxHeight(40);
|
1401
|
+
globalSlimmerRegistry.LogUtility.error("There have no space on the bottom to display dropdown, if you want to adjust position, you should make 'match-container-height' as false.");
|
1402
|
+
}
|
1403
|
+
else {
|
1404
|
+
this.setItemsContainerMaxHeight(height);
|
1405
|
+
}
|
1406
|
+
}
|
1407
|
+
/**
|
1408
|
+
* The function `setItemsContainerMaxHeight` adjusts the maximum height of the items container based on
|
1409
|
+
* the render mode.
|
1410
|
+
*
|
1411
|
+
* @param {number} maxHeight - The `maxHeight` parameter is a number that represents the maximum height
|
1412
|
+
* in pixels that the items container should have.
|
1413
|
+
*/
|
1414
|
+
setItemsContainerMaxHeight(maxHeight) {
|
1415
|
+
if (this.renderModeController.isSourceRenderMode()) {
|
1416
|
+
this.listRenderer.getVirtualScrollRef().viewportMaxHeight = maxHeight;
|
1417
|
+
}
|
1418
|
+
else {
|
1419
|
+
const templateContainerRef = this.listRenderer.getTemplateContainerRef();
|
1420
|
+
templateContainerRef.style.overflowY = 'auto';
|
1421
|
+
templateContainerRef.style.maxHeight = `${maxHeight}px`;
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
__decorate$f([
|
1426
|
+
globalSlimmerRegistry.MapToComponentField()
|
1427
|
+
], VegaDropdownScrollableController.prototype, "isDropdownShow", void 0);
|
1428
|
+
__decorate$f([
|
1429
|
+
globalSlimmerRegistry.MapToComponentField()
|
1430
|
+
], VegaDropdownScrollableController.prototype, "renderModeController", void 0);
|
1431
|
+
__decorate$f([
|
1432
|
+
globalSlimmerRegistry.MapToComponentField()
|
1433
|
+
], VegaDropdownScrollableController.prototype, "sourceForRender", void 0);
|
1434
|
+
__decorate$f([
|
1435
|
+
globalSlimmerRegistry.MapToComponentField()
|
1436
|
+
], VegaDropdownScrollableController.prototype, "selectType", void 0);
|
1437
|
+
__decorate$f([
|
1438
|
+
globalSlimmerRegistry.MapToComponentField()
|
1439
|
+
], VegaDropdownScrollableController.prototype, "selectedSourceKey", void 0);
|
1440
|
+
__decorate$f([
|
1441
|
+
globalSlimmerRegistry.MapToComponentField()
|
1442
|
+
], VegaDropdownScrollableController.prototype, "searchable", void 0);
|
1443
|
+
__decorate$f([
|
1444
|
+
globalSlimmerRegistry.MapToComponentField()
|
1445
|
+
], VegaDropdownScrollableController.prototype, "listRenderer", void 0);
|
1446
|
+
__decorate$f([
|
1447
|
+
globalSlimmerRegistry.MapToComponentField()
|
1448
|
+
], VegaDropdownScrollableController.prototype, "renderer", void 0);
|
1449
|
+
__decorate$f([
|
1450
|
+
globalSlimmerRegistry.MapToComponentMethod('watchIsDropdownShow')
|
1451
|
+
], VegaDropdownScrollableController.prototype, "watchIsDropdownShow", null);
|
1452
|
+
|
1453
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1454
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1455
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1456
|
+
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;
|
1457
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1458
|
+
};
|
1459
|
+
/** Manager remote invocation */
|
1460
|
+
class VegaDropdownRemoteInvocationController extends globalSlimmerRegistry.VegaSlimmer {
|
1461
|
+
/**
|
1462
|
+
* Component lifecycle - connectedCallback
|
1463
|
+
*/
|
1464
|
+
connectedCallback() {
|
1465
|
+
this.remotePhoneNumberSearchSubject = domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubjectFromParentNodeByEventId(this.host, vegaInternalEventId.VegaDropdownSearchInternalOverridden);
|
1466
|
+
this.remotePhoneNumberItemRenderSubject = domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubjectFromParentNodeByEventId(this.host, vegaInternalEventId.VegaDropdownRenderItemInternalOverridden);
|
1467
|
+
}
|
1468
|
+
/**
|
1469
|
+
* Call the search function in input-phone-number.
|
1470
|
+
*
|
1471
|
+
* @param {unknown[]} args - arguments of remote search function
|
1472
|
+
* @returns {VegaDropdownSourceItem[]} - searched items.
|
1473
|
+
*/
|
1474
|
+
callRemoteSearch(...args) {
|
1475
|
+
if (this.remotePhoneNumberSearchSubject) {
|
1476
|
+
const searchResult = remoteInvocationRegistry.remoteInvocationRegistry.call(this.remotePhoneNumberSearchSubject, ...args);
|
1477
|
+
if (searchResult)
|
1478
|
+
return searchResult;
|
1479
|
+
}
|
1480
|
+
return null;
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Call the item render function in input-phone-number.
|
1484
|
+
*
|
1485
|
+
* @param {unknown[]} args - arguments of remote item render function
|
1486
|
+
* @returns {HTMLElement} - rendered item
|
1487
|
+
*/
|
1488
|
+
callRemoteItemRender(...args) {
|
1489
|
+
if (this.remotePhoneNumberItemRenderSubject) {
|
1490
|
+
const renderResult = remoteInvocationRegistry.remoteInvocationRegistry.call(this.remotePhoneNumberItemRenderSubject, ...args);
|
1491
|
+
if (renderResult)
|
1492
|
+
return renderResult;
|
1493
|
+
}
|
1494
|
+
return null;
|
1495
|
+
}
|
1496
|
+
}
|
1497
|
+
__decorate$e([
|
1498
|
+
globalSlimmerRegistry.MapToComponentField()
|
1499
|
+
], VegaDropdownRemoteInvocationController.prototype, "host", void 0);
|
1500
|
+
__decorate$e([
|
1501
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
1502
|
+
], VegaDropdownRemoteInvocationController.prototype, "connectedCallback", null);
|
1503
|
+
|
1504
|
+
const vegaDropdownCss = ":host{display:inline-block}";
|
1505
|
+
|
1506
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1507
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1508
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
1509
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
1510
|
+
else
|
1511
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
1512
|
+
if (d = decorators[i])
|
1513
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1514
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1515
|
+
};
|
1516
|
+
const VegaDropdown = class {
|
1517
|
+
constructor(hostRef) {
|
1518
|
+
index.registerInstance(this, hostRef);
|
1519
|
+
this.vegaDropdownClick = index.createEvent(this, "vegaDropdownClick", 7);
|
1520
|
+
this.dropdownClick = index.createEvent(this, "dropdownClick", 7);
|
1521
|
+
this.vegaShow = index.createEvent(this, "vegaShow", 7);
|
1522
|
+
this.dropdownShow = index.createEvent(this, "dropdownShow", 7);
|
1523
|
+
this.vegaHide = index.createEvent(this, "vegaHide", 7);
|
1524
|
+
this.dropdownHide = index.createEvent(this, "dropdownHide", 7);
|
1525
|
+
this.vegaCreate = index.createEvent(this, "vegaCreate", 7);
|
1526
|
+
this.create = index.createEvent(this, "create", 7);
|
1527
|
+
this.vegaSearch = index.createEvent(this, "vegaSearch", 7);
|
1528
|
+
this.dropdownSearch = index.createEvent(this, "dropdownSearch", 7);
|
1529
|
+
this.globalSlimmers = {};
|
1530
|
+
this.renderer = new VegaDropdownRenderer();
|
1531
|
+
this.sourceController = new VegaDropdownSourceController();
|
1532
|
+
this.searchRenderer = new VegaDropdownSearchRenderer();
|
1533
|
+
this.createRenderer = new VegaDropdownCreateRenderer();
|
1534
|
+
this.listRenderer = new VegaDropdownListRenderer();
|
1535
|
+
this.groupLevelRenderer = new VegaDropdownGroupLevelRenderer();
|
1536
|
+
this.itemLevelRenderer = new VegaDropdownItemLevelRenderer();
|
1537
|
+
this.keyboardController = new VegaDropdownKeyboardController();
|
1538
|
+
this.appenderController = new VegaDropdownAppenderController();
|
1539
|
+
this.searchController = new VegaDropdownSearchController();
|
1540
|
+
/**
|
1541
|
+
* childrenController should be defined before selectedController,
|
1542
|
+
* which can ensure collecting information before verifying it.
|
1543
|
+
*/
|
1544
|
+
this.childrenController = new VegaDropdownChildrenController();
|
1545
|
+
this.selectedController = new VegaDropdownSelectedController();
|
1546
|
+
this.renderModeController = new VegaDropdownRenderModeController();
|
1547
|
+
this.scrollableController = new VegaDropdownScrollableController();
|
1548
|
+
this.remoteInvocationController = new VegaDropdownRemoteInvocationController();
|
1549
|
+
this.selectTypeNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaDropdown, 'selectType', 'watchSelectType');
|
1550
|
+
this.selectedSourceKeyNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaDropdown, 'selectedSourceKey', 'watchSelectedSourceKey');
|
1551
|
+
this.prefixIconSlotNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaDropdown, 'prefixIconSlot', 'watchPrefixIconSlot');
|
1552
|
+
this.itemClickObserver = new childNodesNotifyObserverSlimmer.ChildNodesNotifyObserverSlimmer(staticSubjectTitle.DROPDOWN_ITEM_CLICK, (payload) => this.selectedController.select(payload.detail.itemKey), this.selectedController.isAcceptableItemSelectionObserver.bind(this.selectedController));
|
1553
|
+
this.showEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdown, vegaEventId.VegaDropdownShow);
|
1554
|
+
this.hideEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdown, vegaEventId.VegaDropdownHide);
|
1555
|
+
this.dropdownClickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdown, vegaEventId.VegaDropdownClick);
|
1556
|
+
this.createEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdown, vegaEventId.VegaCreate);
|
1557
|
+
this.searchEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdown, vegaEventId.VegaDropdownSearch);
|
1558
|
+
this.itemDisplayRuleNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaDropdown, 'itemDisplayRule', 'watchItemDisplayRule');
|
1559
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer(VegaDropdownRuntimeMetricsPayloadDefinition);
|
1560
|
+
this.searchString = null;
|
1561
|
+
this.isDropdownShow = false;
|
1562
|
+
/**
|
1563
|
+
* Specifies the trigger mode for the dropdown.
|
1564
|
+
*
|
1565
|
+
* @vegaVersion 1.3.0
|
1566
|
+
*/
|
1567
|
+
this.trigger = 'hover';
|
1568
|
+
/**
|
1569
|
+
* Specifies the position adjustment for the dropdown
|
1570
|
+
* relative to the target element.
|
1571
|
+
*
|
1572
|
+
* By default, the dropdown is displayed on the left-bottom of the target.
|
1573
|
+
*
|
1574
|
+
* @vegaVersion 1.3.0
|
1575
|
+
*/
|
1576
|
+
this.translocation = {
|
1577
|
+
X: 0,
|
1578
|
+
Y: 8,
|
1579
|
+
};
|
1580
|
+
/**
|
1581
|
+
* Sets the source array of items for the dropdown,
|
1582
|
+
* where each item must have a `key` and `label` property.
|
1583
|
+
*
|
1584
|
+
* @vegaVersion 1.3.0
|
1585
|
+
*/
|
1586
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
1587
|
+
this.source = [];
|
1588
|
+
/**
|
1589
|
+
* Controls the dropdown menu's selection. It accepts three values:
|
1590
|
+
*
|
1591
|
+
* - `none`:
|
1592
|
+
* After an item is selected, this option not only triggers the `vegaDropdownClick`
|
1593
|
+
* event but also conceals the dropdown menu immediately.
|
1594
|
+
* - `single`:
|
1595
|
+
* Upon selection of an item whose key matches the `selectedSourceKey` property,
|
1596
|
+
* this setting both dispatches the `vegaDropdownClick` event and
|
1597
|
+
* hides the dropdown menu.
|
1598
|
+
* - `multiple`:
|
1599
|
+
* When an item with a key found in the `selectedSourceKey` array is selected,
|
1600
|
+
* this mode releases the `vegaDropdownClick` event. Unlike the others, however,
|
1601
|
+
* Determines the selection mode for multiple item selection.
|
1602
|
+
*
|
1603
|
+
* @vegaVersion 1.3.0
|
1604
|
+
*/
|
1605
|
+
this.selectType = 'none';
|
1606
|
+
/**
|
1607
|
+
* Represents the key corresponding to the selected item in the dropdown menu.
|
1608
|
+
* It becomes active only when `selectType` is set to `single` or `multiple`.
|
1609
|
+
*
|
1610
|
+
* @vegaVersion 1.3.0
|
1611
|
+
*/
|
1612
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
1613
|
+
this.selectedSourceKey = this.selectType === 'multiple' ? [] : '';
|
1614
|
+
/**
|
1615
|
+
* Controls whether the prefix icon occupy a position, even if prefix has no value.
|
1616
|
+
*
|
1617
|
+
* @vegaVersion 1.47.0
|
1618
|
+
*/
|
1619
|
+
this.prefixIconSlot = false;
|
1620
|
+
/**
|
1621
|
+
* Specifies the maximum height for the dropdown.
|
1622
|
+
*
|
1623
|
+
* @vegaVersion 1.3.0
|
1624
|
+
*/
|
1625
|
+
this.maxHeight = 400;
|
1626
|
+
/**
|
1627
|
+
* Controls whether the dropdown list can be searched.
|
1628
|
+
*
|
1629
|
+
* @vegaVersion 1.3.0
|
1630
|
+
*/
|
1631
|
+
this.searchable = false;
|
1632
|
+
/**
|
1633
|
+
* Determines whether the dropdown should have the
|
1634
|
+
* same width as the target element.
|
1635
|
+
*
|
1636
|
+
* @vegaVersion 1.3.0
|
1637
|
+
*/
|
1638
|
+
this.matchTargetWidth = false;
|
1639
|
+
/**
|
1640
|
+
* Specifies the display rule for items in the dropdown.
|
1641
|
+
*
|
1642
|
+
* @vegaVersion 1.13.0
|
1643
|
+
*/
|
1644
|
+
this.itemDisplayRule = 'newline';
|
1645
|
+
/**
|
1646
|
+
* Determines if the dropdown height should be automatically adjusted
|
1647
|
+
* to fit its container height.
|
1648
|
+
*
|
1649
|
+
* If set to `true`, the dropdown will always be positioned at
|
1650
|
+
* the bottom of the available space.
|
1651
|
+
*
|
1652
|
+
* @vegaVersion 1.3.0
|
1653
|
+
*/
|
1654
|
+
this.matchContainerHeight = false;
|
1655
|
+
/**
|
1656
|
+
* Specifies whether the search source list is case-sensitive.
|
1657
|
+
*
|
1658
|
+
* Note that the default filter rules are fuzzy matching and case-insensitive.
|
1659
|
+
* This parameter only takes effect when `searchable` is set to `true`.
|
1660
|
+
*
|
1661
|
+
* @vegaVersion 1.4.0
|
1662
|
+
*/
|
1663
|
+
this.caseSensitive = false;
|
1664
|
+
/**
|
1665
|
+
* Controls whether the dropdown can add a new item when
|
1666
|
+
* no proper item is available. It becomes active only when
|
1667
|
+
* `searchable` is set to `true`.
|
1668
|
+
*
|
1669
|
+
* @vegaVersion 1.16.0
|
1670
|
+
*/
|
1671
|
+
this.dynamicOption = false;
|
1672
|
+
/**
|
1673
|
+
* Determines whether to enable source filtering based on input words.
|
1674
|
+
*
|
1675
|
+
* When set to 'false', the component will emit a `vegaSearch` event
|
1676
|
+
* when input words are provided. In this case, you are responsible for
|
1677
|
+
* managing the source, including adding, deleting, and updating the source.
|
1678
|
+
*
|
1679
|
+
* Note that the `dynamicOption` property will not work when
|
1680
|
+
* this property is set to `false`.
|
1681
|
+
*
|
1682
|
+
* @vegaVersion 1.24.0
|
1683
|
+
*/
|
1684
|
+
this.useDefaultFilter = true;
|
1685
|
+
/**
|
1686
|
+
* Determines whether the dropdown displays a loading status.
|
1687
|
+
*
|
1688
|
+
* @vegaVersion 1.24.0
|
1689
|
+
*/
|
1690
|
+
this.isLoading = false;
|
1691
|
+
/**
|
1692
|
+
* Specifies the vertical positioning of the dropdown
|
1693
|
+
* within its container or relative to a reference point.
|
1694
|
+
*
|
1695
|
+
* @vegaVersion 1.41.0
|
1696
|
+
*/
|
1697
|
+
this.placement = ['bottom', 'top'];
|
1698
|
+
/**
|
1699
|
+
* Determines the horizontal positioning of the dropdown
|
1700
|
+
* within its container or relative to a reference point.
|
1701
|
+
*
|
1702
|
+
* @vegaVersion 1.41.0
|
1703
|
+
*/
|
1704
|
+
this.alignment = 'start';
|
1705
|
+
/**
|
1706
|
+
* Determines whether the dropdown displays a lazy loading status.
|
1707
|
+
*
|
1708
|
+
* @vegaVersion 2.3.0
|
1709
|
+
*/
|
1710
|
+
this.isLazyLoading = false;
|
1711
|
+
/**
|
1712
|
+
* Determines whether the dropdown search is triggered by input or pressing the Enter key.
|
1713
|
+
*
|
1714
|
+
* @vegaVersion 2.26.0
|
1715
|
+
*/
|
1716
|
+
this.searchTriggerBy = 'input';
|
1717
|
+
}
|
1718
|
+
watchIsDropdownShow() {
|
1719
|
+
}
|
1720
|
+
watchSource() {
|
1721
|
+
}
|
1722
|
+
watchSelectType() {
|
1723
|
+
}
|
1724
|
+
watchSelectedSourceKey() {
|
1725
|
+
}
|
1726
|
+
watchPrefixIconSlot() {
|
1727
|
+
}
|
1728
|
+
watchItemDisplayRule() {
|
1729
|
+
}
|
1730
|
+
/**
|
1731
|
+
* Invoke this method to programmatically display the dropdown menu.
|
1732
|
+
*
|
1733
|
+
* @vegaVersion 1.3.0
|
1734
|
+
*/
|
1735
|
+
async show() {
|
1736
|
+
}
|
1737
|
+
/**
|
1738
|
+
* Invoke this method to programmatically dismiss the dropdown menu.
|
1739
|
+
*
|
1740
|
+
* @vegaVersion 1.3.0
|
1741
|
+
*/
|
1742
|
+
async hide() {
|
1743
|
+
}
|
1744
|
+
/**
|
1745
|
+
* Invoke this method to set the search input value and
|
1746
|
+
* filter the list of items in the dropdown.
|
1747
|
+
*
|
1748
|
+
* This method is applicable only when the dropdown is searchable.
|
1749
|
+
*
|
1750
|
+
* @vegaVersion 1.11.0
|
1751
|
+
*/
|
1752
|
+
async search(input) {
|
1753
|
+
}
|
1754
|
+
/**
|
1755
|
+
* Invoke this method to clear the selected items keys,
|
1756
|
+
* removing any current selection.
|
1757
|
+
*
|
1758
|
+
* @vegaVersion 1.47.0
|
1759
|
+
*/
|
1760
|
+
async clearSelection() {
|
1761
|
+
}
|
1762
|
+
/**
|
1763
|
+
* Invoke this method to retrieve the selected items keys,
|
1764
|
+
* providing an key or list of the keys representing
|
1765
|
+
* the currently selected items.
|
1766
|
+
*
|
1767
|
+
* @vegaVersion 1.47.0
|
1768
|
+
*/
|
1769
|
+
async getSelection() {
|
1770
|
+
return placeholder.methodPlaceholder();
|
1771
|
+
}
|
1772
|
+
/**
|
1773
|
+
* Invoke this method to set the selected items keys,
|
1774
|
+
* specifying an array or list of keys to represent
|
1775
|
+
* the desired selected items.
|
1776
|
+
*
|
1777
|
+
* @param {string[]} keys - Row keys to be set as selected.
|
1778
|
+
* @vegaVersion 1.47.0
|
1779
|
+
*/
|
1780
|
+
async setSelection(keys) {
|
1781
|
+
}
|
1782
|
+
render() {
|
1783
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
1784
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, this.renderer.render()), this.host);
|
1785
|
+
}
|
1786
|
+
get host() { return index.getElement(this); }
|
1787
|
+
static get watchers() { return {
|
1788
|
+
"isDropdownShow": ["watchIsDropdownShow"],
|
1789
|
+
"source": ["watchSource", "watchItemDisplayRule"],
|
1790
|
+
"selectType": ["watchSelectType"],
|
1791
|
+
"selectedSourceKey": ["watchSelectedSourceKey"],
|
1792
|
+
"prefixIconSlot": ["watchPrefixIconSlot"]
|
1793
|
+
}; }
|
1794
|
+
};
|
1795
|
+
__decorate$d([
|
1796
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
1797
|
+
], VegaDropdown.prototype, "globalSlimmers", void 0);
|
1798
|
+
__decorate$d([
|
1799
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1800
|
+
], VegaDropdown.prototype, "renderer", void 0);
|
1801
|
+
__decorate$d([
|
1802
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1803
|
+
], VegaDropdown.prototype, "sourceController", void 0);
|
1804
|
+
__decorate$d([
|
1805
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1806
|
+
], VegaDropdown.prototype, "searchRenderer", void 0);
|
1807
|
+
__decorate$d([
|
1808
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1809
|
+
], VegaDropdown.prototype, "createRenderer", void 0);
|
1810
|
+
__decorate$d([
|
1811
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1812
|
+
], VegaDropdown.prototype, "listRenderer", void 0);
|
1813
|
+
__decorate$d([
|
1814
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1815
|
+
], VegaDropdown.prototype, "groupLevelRenderer", void 0);
|
1816
|
+
__decorate$d([
|
1817
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1818
|
+
], VegaDropdown.prototype, "itemLevelRenderer", void 0);
|
1819
|
+
__decorate$d([
|
1820
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1821
|
+
], VegaDropdown.prototype, "keyboardController", void 0);
|
1822
|
+
__decorate$d([
|
1823
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1824
|
+
], VegaDropdown.prototype, "appenderController", void 0);
|
1825
|
+
__decorate$d([
|
1826
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1827
|
+
], VegaDropdown.prototype, "searchController", void 0);
|
1828
|
+
__decorate$d([
|
1829
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1830
|
+
], VegaDropdown.prototype, "childrenController", void 0);
|
1831
|
+
__decorate$d([
|
1832
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1833
|
+
], VegaDropdown.prototype, "selectedController", void 0);
|
1834
|
+
__decorate$d([
|
1835
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1836
|
+
], VegaDropdown.prototype, "renderModeController", void 0);
|
1837
|
+
__decorate$d([
|
1838
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1839
|
+
], VegaDropdown.prototype, "scrollableController", void 0);
|
1840
|
+
__decorate$d([
|
1841
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1842
|
+
], VegaDropdown.prototype, "remoteInvocationController", void 0);
|
1843
|
+
__decorate$d([
|
1844
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1845
|
+
], VegaDropdown.prototype, "selectTypeNotifySlimmer", void 0);
|
1846
|
+
__decorate$d([
|
1847
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1848
|
+
], VegaDropdown.prototype, "selectedSourceKeyNotifySlimmer", void 0);
|
1849
|
+
__decorate$d([
|
1850
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1851
|
+
], VegaDropdown.prototype, "prefixIconSlotNotifySlimmer", void 0);
|
1852
|
+
__decorate$d([
|
1853
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1854
|
+
], VegaDropdown.prototype, "itemClickObserver", void 0);
|
1855
|
+
__decorate$d([
|
1856
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1857
|
+
], VegaDropdown.prototype, "showEventEmitter", void 0);
|
1858
|
+
__decorate$d([
|
1859
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1860
|
+
], VegaDropdown.prototype, "hideEventEmitter", void 0);
|
1861
|
+
__decorate$d([
|
1862
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1863
|
+
], VegaDropdown.prototype, "dropdownClickEventEmitter", void 0);
|
1864
|
+
__decorate$d([
|
1865
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1866
|
+
], VegaDropdown.prototype, "createEventEmitter", void 0);
|
1867
|
+
__decorate$d([
|
1868
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1869
|
+
], VegaDropdown.prototype, "searchEventEmitter", void 0);
|
1870
|
+
__decorate$d([
|
1871
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1872
|
+
], VegaDropdown.prototype, "itemDisplayRuleNotifySlimmer", void 0);
|
1873
|
+
__decorate$d([
|
1874
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1875
|
+
], VegaDropdown.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
1876
|
+
VegaDropdown.style = vegaDropdownCss;
|
1877
|
+
|
1878
|
+
const vegaDropdownContentBoxCss = ":host{display:block;position:absolute}:host .vega-dropdown{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));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));padding-top:8px;padding-bottom:8px;text-align:left;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;overflow:hidden;box-sizing:border-box;width:inherit}:host(.vega-force-hidden){display:none}:host .vega-dropdown.vega-dropdown-with-searchable{padding-top:0px}:host .vega-dropdown .vega-dropdown-container{overflow-y:auto;position:relative;min-width:100px;min-height:40px}:host .vega-dropdown .vega-dropdown-container>ul{padding-left:0px;margin:0px;list-style-type:none}:host .vega-dropdown .vega-dropdown-search{padding-top:16px;padding-left:12px;padding-right:12px;padding-bottom:12px;margin-bottom:4px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border-width:0px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-dropdown .vega-dropdown-search vega-input::part(input-container){padding:0px;border-width:0px;--tw-shadow:0 0 #0000;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px}:host .vega-dropdown .vega-dropdown-search vega-input::part(prefix-icon-container){color:rgba(var(--v-text-secondary, 107, 116, 125, 1));width:16px;height:16px;padding-top:0px}:host .vega-dropdown .vega-dropdown-search vega-input::part(input-container):focus-within{outline:none}:host .vega-dropdown .vega-dropdown-search vega-input::part(input-container):hover{border-width:0px}:host .vega-dropdown .vega-dropdown-loading{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}:host .v-hidden{display:none}:host .vega-dropdown .vega-dropdown-loading>vega-flex>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-dropdown .vega-dropdown-loading>vega-flex>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-dropdown .vega-dropdown-loading>vega-flex>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-dropdown .vega-dropdown-loading>vega-flex>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-dropdown .vega-dropdown-add-item{padding-top:8px;padding-left:12px;padding-right:12px;padding-bottom:8px;margin-left:4px;margin-right:4px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));cursor:pointer;display:flex;gap:8px;align-items:center}:host .vega-dropdown .vega-dropdown-add-item>div{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host .vega-dropdown .vega-dropdown-add-item>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-dropdown .vega-dropdown-add-item>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-dropdown .vega-dropdown-add-item>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-dropdown .vega-dropdown-add-item>span{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-dropdown .vega-dropdown-add-item:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25));outline:2px solid transparent;outline-offset:2px}:host .vega-dropdown .vega-dropdown-clear-icon{width:16px;height:16px;cursor:pointer}:host .vega-dropdown .vega-dropdown-empty-list{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));padding-top:8px;padding-bottom:8px;padding-left:16px;padding-right:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-dropdown .vega-dropdown-empty-list{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-dropdown .vega-dropdown-empty-list{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-dropdown .vega-dropdown-empty-list{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-dropdown .vega-dropdown-divider{margin-top:4px;margin-bottom:4px;border-bottom:1px solid rgb(171, 198, 216)}";
|
1879
|
+
|
1880
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1881
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1882
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
1883
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
1884
|
+
else
|
1885
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
1886
|
+
if (d = decorators[i])
|
1887
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1888
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1889
|
+
};
|
1890
|
+
const VegaDropdownContentBox = class {
|
1891
|
+
constructor(hostRef) {
|
1892
|
+
index.registerInstance(this, hostRef);
|
1893
|
+
this.globalSlimmers = {};
|
1894
|
+
this.eventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaClick], () => this.host, undefined, true);
|
1895
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
1896
|
+
}
|
1897
|
+
render() {
|
1898
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, index.h("slot", null)), this.host);
|
1899
|
+
}
|
1900
|
+
get host() { return index.getElement(this); }
|
1901
|
+
};
|
1902
|
+
__decorate$c([
|
1903
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
1904
|
+
], VegaDropdownContentBox.prototype, "globalSlimmers", void 0);
|
1905
|
+
__decorate$c([
|
1906
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1907
|
+
], VegaDropdownContentBox.prototype, "eventPrevent", void 0);
|
1908
|
+
__decorate$c([
|
1909
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1910
|
+
], VegaDropdownContentBox.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
1911
|
+
VegaDropdownContentBox.style = vegaDropdownContentBoxCss;
|
1912
|
+
|
1913
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1914
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1915
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1916
|
+
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;
|
1917
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1918
|
+
};
|
1919
|
+
class VegaDropdownGroupRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1920
|
+
render() {
|
1921
|
+
return (index.h("li", { class: "vega-dropdown-group" },
|
1922
|
+
this.renderLabel(),
|
1923
|
+
this.renderChildren(),
|
1924
|
+
this.renderDivide()));
|
1925
|
+
}
|
1926
|
+
renderLabel() {
|
1927
|
+
return this.label && index.h("div", { class: "vega-dropdown-group-label" }, this.label);
|
1928
|
+
}
|
1929
|
+
renderChildren() {
|
1930
|
+
return (index.h("ul", { class: "vega-dropdown-group-items" },
|
1931
|
+
index.h("slot", null)));
|
1932
|
+
}
|
1933
|
+
renderDivide() {
|
1934
|
+
return this.divide && index.h("div", { class: "vega-dropdown-group-divide" });
|
1935
|
+
}
|
1936
|
+
}
|
1937
|
+
__decorate$b([
|
1938
|
+
globalSlimmerRegistry.MapToComponentField()
|
1939
|
+
], VegaDropdownGroupRenderer.prototype, "label", void 0);
|
1940
|
+
__decorate$b([
|
1941
|
+
globalSlimmerRegistry.MapToComponentField()
|
1942
|
+
], VegaDropdownGroupRenderer.prototype, "divide", void 0);
|
1943
|
+
|
1944
|
+
const vegaDropdownGroupCss = ":host{display:block}:host .vega-dropdown-group{padding:0px;margin:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));cursor:default;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-dropdown-group{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-dropdown-group{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-dropdown-group{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host .vega-dropdown-group-label{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:4px}:host .vega-dropdown-group-items{padding:0px;margin:0px}:host .vega-dropdown-group-divide{background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));margin-top:4px;margin-bottom:4px;height:1px}";
|
1945
|
+
|
1946
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1947
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1948
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
1949
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
1950
|
+
else
|
1951
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
1952
|
+
if (d = decorators[i])
|
1953
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1954
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1955
|
+
};
|
1956
|
+
const VegaDropdownGroup = class {
|
1957
|
+
constructor(hostRef) {
|
1958
|
+
index.registerInstance(this, hostRef);
|
1959
|
+
this.globalSlimmers = {};
|
1960
|
+
this.renderer = new VegaDropdownGroupRenderer();
|
1961
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
1962
|
+
/**
|
1963
|
+
* Determines whether to include a dividing line at
|
1964
|
+
* the bottom of the dropdown group.
|
1965
|
+
*
|
1966
|
+
* @vegaVersion 1.47.0
|
1967
|
+
*/
|
1968
|
+
this.divide = true;
|
1969
|
+
}
|
1970
|
+
render() {
|
1971
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
1972
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, this.renderer.render()), this.host);
|
1973
|
+
}
|
1974
|
+
get host() { return index.getElement(this); }
|
1975
|
+
};
|
1976
|
+
__decorate$a([
|
1977
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
1978
|
+
], VegaDropdownGroup.prototype, "globalSlimmers", void 0);
|
1979
|
+
__decorate$a([
|
1980
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1981
|
+
], VegaDropdownGroup.prototype, "renderer", void 0);
|
1982
|
+
__decorate$a([
|
1983
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
1984
|
+
], VegaDropdownGroup.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
1985
|
+
VegaDropdownGroup.style = vegaDropdownGroupCss;
|
1986
|
+
|
1987
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1988
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1989
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1990
|
+
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;
|
1991
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1992
|
+
};
|
1993
|
+
class VegaDropdownItemRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1994
|
+
render() {
|
1995
|
+
return (index.h("li", { key: this.label, role: "menuitem", "aria-label": this.label, class: {
|
1996
|
+
'vega-dropdown-item-selected': this.selected,
|
1997
|
+
'vega-dropdown-item-disabled': this.disabled,
|
1998
|
+
[`vega-dropdown-item-display-${this.itemDisplayRule}`]: true,
|
1999
|
+
'danger': this.danger && this.selectType === 'none',
|
2000
|
+
}, tabIndex: this.disabled ? -1 : 0,
|
2001
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
2002
|
+
onClick: (e) => this.onSelect(e), onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick(), style: this.height > 0 && {
|
2003
|
+
height: `${this.height}px`,
|
2004
|
+
boxSizing: 'border-box',
|
2005
|
+
overflow: 'hidden',
|
2006
|
+
} },
|
2007
|
+
this.renderSelectIcon(),
|
2008
|
+
this.renderPrefixIcon(),
|
2009
|
+
this.renderLabel(),
|
2010
|
+
this.renderCounter()));
|
2011
|
+
}
|
2012
|
+
renderSelectIcon() {
|
2013
|
+
return (this.selectType !== 'none' && (index.h("span", { class: "selected-prefix" },
|
2014
|
+
this.selectType === 'single' && this.renderSingleSelectIcon(),
|
2015
|
+
this.selectType === 'multiple' && this.renderMultipleSelectIcon())));
|
2016
|
+
}
|
2017
|
+
renderSingleSelectIcon() {
|
2018
|
+
return this.selected && index.h("vega-icon", { icon: "checkmark", size: "size-16" });
|
2019
|
+
}
|
2020
|
+
renderMultipleSelectIcon() {
|
2021
|
+
return index.h("vega-checkbox", { size: "small", checked: this.selected, disabled: this.disabled });
|
2022
|
+
}
|
2023
|
+
renderPrefixIcon() {
|
2024
|
+
return ((this.prefixIcon || this.prefixIconSlot) && (index.h("div", { class: "item-prefix" }, this.renderItemPrefixIcon())));
|
2025
|
+
}
|
2026
|
+
renderItemPrefixIcon() {
|
2027
|
+
return this.prefixIcon && index.h("vega-icon", { icon: this.prefixIcon, size: "size-16" });
|
2028
|
+
}
|
2029
|
+
renderLabel() {
|
2030
|
+
// We prioritize slots, and when both slots and labels are defined, we can collect label information for component display,
|
2031
|
+
// such as input select selected item display
|
2032
|
+
if (this.host.childElementCount > 0 || this.host.textContent.trim() !== '') {
|
2033
|
+
return (index.h("span", { class: "vega-dropdown-item-label" },
|
2034
|
+
index.h("slot", null)));
|
2035
|
+
}
|
2036
|
+
else {
|
2037
|
+
return (index.h(index.Fragment, null,
|
2038
|
+
index.h("span", { innerHTML: this.label, class: "vega-dropdown-item-label" }),
|
2039
|
+
index.h("span", { class: "v-hidden" },
|
2040
|
+
index.h("slot", null))));
|
2041
|
+
}
|
2042
|
+
}
|
2043
|
+
renderCounter() {
|
2044
|
+
return (this.count > 0 && (index.h("div", { class: "item-counter" },
|
2045
|
+
index.h("vega-counter-badge", { count: this.count, color: "bg-action", offset: [10, 10] }))));
|
2046
|
+
}
|
2047
|
+
onSelect(e) {
|
2048
|
+
this.vegaDropdownItemClickController.handleClick(e);
|
2049
|
+
}
|
2050
|
+
}
|
2051
|
+
__decorate$9([
|
2052
|
+
globalSlimmerRegistry.MapToComponentField()
|
2053
|
+
], VegaDropdownItemRenderer.prototype, "host", void 0);
|
2054
|
+
__decorate$9([
|
2055
|
+
globalSlimmerRegistry.MapToComponentField()
|
2056
|
+
], VegaDropdownItemRenderer.prototype, "label", void 0);
|
2057
|
+
__decorate$9([
|
2058
|
+
globalSlimmerRegistry.MapToComponentField()
|
2059
|
+
], VegaDropdownItemRenderer.prototype, "count", void 0);
|
2060
|
+
__decorate$9([
|
2061
|
+
globalSlimmerRegistry.MapToComponentField()
|
2062
|
+
], VegaDropdownItemRenderer.prototype, "prefixIcon", void 0);
|
2063
|
+
__decorate$9([
|
2064
|
+
globalSlimmerRegistry.MapToComponentField()
|
2065
|
+
], VegaDropdownItemRenderer.prototype, "prefixIconSlot", void 0);
|
2066
|
+
__decorate$9([
|
2067
|
+
globalSlimmerRegistry.MapToComponentField()
|
2068
|
+
], VegaDropdownItemRenderer.prototype, "disabled", void 0);
|
2069
|
+
__decorate$9([
|
2070
|
+
globalSlimmerRegistry.MapToComponentField()
|
2071
|
+
], VegaDropdownItemRenderer.prototype, "selected", void 0);
|
2072
|
+
__decorate$9([
|
2073
|
+
globalSlimmerRegistry.MapToComponentField()
|
2074
|
+
], VegaDropdownItemRenderer.prototype, "selectType", void 0);
|
2075
|
+
__decorate$9([
|
2076
|
+
globalSlimmerRegistry.MapToComponentField()
|
2077
|
+
], VegaDropdownItemRenderer.prototype, "height", void 0);
|
2078
|
+
__decorate$9([
|
2079
|
+
globalSlimmerRegistry.MapToComponentField()
|
2080
|
+
], VegaDropdownItemRenderer.prototype, "itemDisplayRule", void 0);
|
2081
|
+
__decorate$9([
|
2082
|
+
globalSlimmerRegistry.MapToComponentField()
|
2083
|
+
], VegaDropdownItemRenderer.prototype, "danger", void 0);
|
2084
|
+
__decorate$9([
|
2085
|
+
globalSlimmerRegistry.MapToComponentField()
|
2086
|
+
], VegaDropdownItemRenderer.prototype, "vegaDropdownItemClickController", void 0);
|
2087
|
+
|
2088
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2089
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2090
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2091
|
+
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;
|
2092
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2093
|
+
};
|
2094
|
+
/**
|
2095
|
+
* Controller for the vega dropdown item states
|
2096
|
+
*/
|
2097
|
+
class VegaDropdownItemStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
2098
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2099
|
+
constructor() {
|
2100
|
+
super({
|
2101
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2102
|
+
parent: () => {
|
2103
|
+
// we trigger this method in `componentWillLoad`.
|
2104
|
+
// if dropdown is template mode, the `vega-dropdown-content-box` have not been rendered, but we can find dropdown directly.
|
2105
|
+
// if dropdown is source mode, the `vega-dropdown-content-box` load before dropdown-item load, we can through `vega-dropdown-content-box` to find vega-dropdown
|
2106
|
+
const parent = ui.findParent(this.host, 'vega-dropdown');
|
2107
|
+
if (parent) {
|
2108
|
+
return parent;
|
2109
|
+
}
|
2110
|
+
else {
|
2111
|
+
const appender = ui.findParent(this.host, 'vega-dropdown-content-box');
|
2112
|
+
/* istanbul ignore next */
|
2113
|
+
// TODO: to add test for throw, since there is not better function to handle `componentWillLoad` in spec/e2e test.
|
2114
|
+
if (appender && appender['data-parent-ref']) {
|
2115
|
+
return appender['data-parent-ref'];
|
2116
|
+
}
|
2117
|
+
}
|
2118
|
+
},
|
2119
|
+
subStates: [
|
2120
|
+
{
|
2121
|
+
subStateName: 'selectType',
|
2122
|
+
parentStateName: 'selectType',
|
2123
|
+
},
|
2124
|
+
{
|
2125
|
+
subStateName: 'prefixIconSlot',
|
2126
|
+
parentStateName: 'prefixIconSlot',
|
2127
|
+
},
|
2128
|
+
{
|
2129
|
+
subStateName: 'itemDisplayRule',
|
2130
|
+
parentStateName: 'itemDisplayRule',
|
2131
|
+
},
|
2132
|
+
{
|
2133
|
+
subStateName: 'selected',
|
2134
|
+
parentStateName: 'selectedSourceKey',
|
2135
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2136
|
+
callback: (selectedSourceKey) => {
|
2137
|
+
this.selected = Array.isArray(selectedSourceKey)
|
2138
|
+
? selectedSourceKey.includes(this.itemKey)
|
2139
|
+
: selectedSourceKey === this.itemKey;
|
2140
|
+
},
|
2141
|
+
},
|
2142
|
+
],
|
2143
|
+
pullStatesWhenReattached: true,
|
2144
|
+
});
|
2145
|
+
}
|
2146
|
+
}
|
2147
|
+
__decorate$8([
|
2148
|
+
globalSlimmerRegistry.MapToComponentField()
|
2149
|
+
], VegaDropdownItemStateController.prototype, "host", void 0);
|
2150
|
+
__decorate$8([
|
2151
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2152
|
+
], VegaDropdownItemStateController.prototype, "selectType", void 0);
|
2153
|
+
__decorate$8([
|
2154
|
+
globalSlimmerRegistry.MapToComponentField()
|
2155
|
+
], VegaDropdownItemStateController.prototype, "itemKey", void 0);
|
2156
|
+
__decorate$8([
|
2157
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2158
|
+
], VegaDropdownItemStateController.prototype, "selected", void 0);
|
2159
|
+
__decorate$8([
|
2160
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2161
|
+
], VegaDropdownItemStateController.prototype, "prefixIconSlot", void 0);
|
2162
|
+
__decorate$8([
|
2163
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2164
|
+
], VegaDropdownItemStateController.prototype, "itemDisplayRule", void 0);
|
2165
|
+
|
2166
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2167
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2168
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2169
|
+
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;
|
2170
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2171
|
+
};
|
2172
|
+
/**
|
2173
|
+
* Controller for the vega dropdown item states
|
2174
|
+
*/
|
2175
|
+
class VegaDropdownItemClickController extends globalSlimmerRegistry.VegaSlimmer {
|
2176
|
+
/**
|
2177
|
+
* The handleClick function emits an event with the itemKey and notifies the ChangeManager with the
|
2178
|
+
* dropdown item click event and the itemKey.
|
2179
|
+
*
|
2180
|
+
* @param {MouseEvent} e - MouseEvent - The event object that contains information about the mouse
|
2181
|
+
* click event.
|
2182
|
+
*/
|
2183
|
+
handleClick(e) {
|
2184
|
+
this.clickEventEmitter.emit({ itemKey: this.itemKey }, e);
|
2185
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.DROPDOWN_ITEM_CLICK, { host: this.host, detail: { itemKey: this.itemKey } });
|
2186
|
+
}
|
2187
|
+
}
|
2188
|
+
__decorate$7([
|
2189
|
+
globalSlimmerRegistry.MapToComponentField()
|
2190
|
+
], VegaDropdownItemClickController.prototype, "host", void 0);
|
2191
|
+
__decorate$7([
|
2192
|
+
globalSlimmerRegistry.MapToComponentField()
|
2193
|
+
], VegaDropdownItemClickController.prototype, "itemKey", void 0);
|
2194
|
+
__decorate$7([
|
2195
|
+
globalSlimmerRegistry.MapToComponentField()
|
2196
|
+
], VegaDropdownItemClickController.prototype, "vegaClick", void 0);
|
2197
|
+
__decorate$7([
|
2198
|
+
globalSlimmerRegistry.MapToComponentField()
|
2199
|
+
], VegaDropdownItemClickController.prototype, "clickEventEmitter", void 0);
|
2200
|
+
|
2201
|
+
const vegaDropdownItemCss = ":host{display:block}:host li{padding-top:8px;padding-bottom:8px;padding-left:20px;padding-right:20px;cursor:pointer;display:flex;align-items:center;gap:8px}:host li:focus{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));outline:0}:host li,:host li a{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}@media screen and (min-width: 768px) and (max-width: 1023px){:host li,:host li a{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host li,:host li a{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host li,:host li a{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host li:hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}:host li:focus{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}:host li.vega-dropdown-item-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1));pointer-events:none}:host li.vega-dropdown-item-disabled .item-prefix,:host li.vega-dropdown-item-disabled .selected-prefix{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host li.danger .item-prefix,:host li.danger .vega-dropdown-item-label{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host li .item-prefix{display:flex;width:16px;height:16px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));flex-shrink:1}:host li .selected-prefix{color:rgba(var(--v-text-link, 19, 98, 226, 1));width:16px;height:16px;display:flex;align-items:center;min-width:16px}:host li .item-counter{width:20px;height:20px}:host .vega-dropdown-item-label{flex-grow:1}:host .vega-dropdown-item-display-newline .vega-dropdown-item-label{overflow-wrap:break-word}:host .vega-dropdown-item-display-ellipsis .vega-dropdown-item-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .v-hidden{display:none}";
|
2202
|
+
|
2203
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2204
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2205
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2206
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2207
|
+
else
|
2208
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2209
|
+
if (d = decorators[i])
|
2210
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2211
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2212
|
+
};
|
2213
|
+
const VegaDropdownItem = class {
|
2214
|
+
constructor(hostRef) {
|
2215
|
+
index.registerInstance(this, hostRef);
|
2216
|
+
this.vegaClick = index.createEvent(this, "vegaClick", 7);
|
2217
|
+
this.click = index.createEvent(this, "click", 7);
|
2218
|
+
this.globalSlimmers = {};
|
2219
|
+
this.renderer = new VegaDropdownItemRenderer();
|
2220
|
+
this.vegaDropdownItemStateController = new VegaDropdownItemStateController();
|
2221
|
+
this.vegaDropdownItemClickController = new VegaDropdownItemClickController();
|
2222
|
+
this.dropdownItemEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.host);
|
2223
|
+
this.clickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaDropdownItem, vegaEventId.VegaClick);
|
2224
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
2225
|
+
/**
|
2226
|
+
* The placeholder of prefix icon, while other item have prefix icon but no in this item,
|
2227
|
+
* if you want to keep those items align, you can set this placeholder as true.
|
2228
|
+
*/
|
2229
|
+
this.prefixIconSlot = false;
|
2230
|
+
/**
|
2231
|
+
* Specifies the dropdown item's selected status.
|
2232
|
+
*/
|
2233
|
+
this.selected = false;
|
2234
|
+
/**
|
2235
|
+
* Specifies the dropdown item's rule of display.
|
2236
|
+
*/
|
2237
|
+
this.itemDisplayRule = 'newline';
|
2238
|
+
/**
|
2239
|
+
* Specifies the disabled status of the dropdown item.
|
2240
|
+
*
|
2241
|
+
* @vegaVersion 1.47.0
|
2242
|
+
*/
|
2243
|
+
this.disabled = false;
|
2244
|
+
/**
|
2245
|
+
* Specifies whether the dropdown item represents a danger action.
|
2246
|
+
* It highlights actions that may have critical consequences
|
2247
|
+
* when the select type is set to none.
|
2248
|
+
*
|
2249
|
+
* @vegaVersion 2.25.0
|
2250
|
+
*/
|
2251
|
+
this.danger = false;
|
2252
|
+
}
|
2253
|
+
render() {
|
2254
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
2255
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, this.renderer.render()), this.host);
|
2256
|
+
}
|
2257
|
+
get host() { return index.getElement(this); }
|
2258
|
+
};
|
2259
|
+
__decorate$6([
|
2260
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2261
|
+
], VegaDropdownItem.prototype, "globalSlimmers", void 0);
|
2262
|
+
__decorate$6([
|
2263
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2264
|
+
], VegaDropdownItem.prototype, "renderer", void 0);
|
2265
|
+
__decorate$6([
|
2266
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2267
|
+
], VegaDropdownItem.prototype, "vegaDropdownItemStateController", void 0);
|
2268
|
+
__decorate$6([
|
2269
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2270
|
+
], VegaDropdownItem.prototype, "vegaDropdownItemClickController", void 0);
|
2271
|
+
__decorate$6([
|
2272
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2273
|
+
], VegaDropdownItem.prototype, "dropdownItemEventPrevent", void 0);
|
2274
|
+
__decorate$6([
|
2275
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2276
|
+
], VegaDropdownItem.prototype, "clickEventEmitter", void 0);
|
2277
|
+
__decorate$6([
|
2278
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2279
|
+
], VegaDropdownItem.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2280
|
+
VegaDropdownItem.style = vegaDropdownItemCss;
|
2281
|
+
|
2282
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2283
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2284
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2285
|
+
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;
|
2286
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2287
|
+
};
|
2288
|
+
/**
|
2289
|
+
* The `VegaVirtualScrollPositionController` class in TypeScript implements virtual scrolling functionality
|
2290
|
+
* by managing source data, item heights, viewport settings, and scroll positions.
|
2291
|
+
*/
|
2292
|
+
class VegaVirtualScrollPositionController extends globalSlimmerRegistry.VegaSlimmer {
|
2293
|
+
constructor() {
|
2294
|
+
super(...arguments);
|
2295
|
+
this.extendItemsCount = 10;
|
2296
|
+
this.totalCount = 0;
|
2297
|
+
this.viewportItemsCount = 0;
|
2298
|
+
}
|
2299
|
+
/**
|
2300
|
+
* The componentWillLoad function is used to initialize virtual scrolling in a TypeScript component.
|
2301
|
+
*/
|
2302
|
+
componentWillLoad() {
|
2303
|
+
this.initVirtualScroll();
|
2304
|
+
this.initPositionConfig();
|
2305
|
+
}
|
2306
|
+
/**
|
2307
|
+
* The function `watchSourceChange` initializes virtual scrolling if the source items have changed.
|
2308
|
+
*
|
2309
|
+
* @param {SourceItemType[]} newValue - newValue is an array of items of type SourceItemType that
|
2310
|
+
* represents the new source data.
|
2311
|
+
* @param {SourceItemType[]} oldValue - The `oldValue` parameter in the `watchSourceChange` function
|
2312
|
+
* represents the previous value of the source items before the change occurred. It is used to compare
|
2313
|
+
* with the new value (`newValue`) to determine if there has been a change in the source items.
|
2314
|
+
*/
|
2315
|
+
watchSourceChange(newValue, oldValue) {
|
2316
|
+
if (!this.isSameSource(newValue, oldValue)) {
|
2317
|
+
this.initVirtualScroll();
|
2318
|
+
}
|
2319
|
+
}
|
2320
|
+
/**
|
2321
|
+
* The function `watchApproxItemHeight` initializes virtual scrolling.
|
2322
|
+
*/
|
2323
|
+
watchApproxItemHeight() {
|
2324
|
+
this.initVirtualScroll();
|
2325
|
+
}
|
2326
|
+
/**
|
2327
|
+
* The function `watchViewportMaxHeight` initializes virtual scrolling.
|
2328
|
+
*/
|
2329
|
+
watchViewportMaxHeight() {
|
2330
|
+
this.initVirtualScroll();
|
2331
|
+
}
|
2332
|
+
/**
|
2333
|
+
* Get maxStartIndex
|
2334
|
+
*
|
2335
|
+
* @returns {number} - maxStartIndex
|
2336
|
+
*/
|
2337
|
+
getMaxStartIndex() {
|
2338
|
+
return this.maxStartIndex;
|
2339
|
+
}
|
2340
|
+
/**
|
2341
|
+
* While scrollTop of container change, the startIndex, endIndex, viewPortStartIndex and transformY will be change.
|
2342
|
+
* The following is the process of change:
|
2343
|
+
*
|
2344
|
+
*---scrollTop---startIndex---viewportStartIndex---endIndex---transformY
|
2345
|
+
*---30----------0------------0--------------------18---------0
|
2346
|
+
*---40----------0------------1--------------------19---------0
|
2347
|
+
*---320---------0------------8--------------------26---------0
|
2348
|
+
*---400---------0------------10-------------------28---------0
|
2349
|
+
*---480---------2------------12-------------------30---------80
|
2350
|
+
*---800---------10-----------20-------------------38---------400
|
2351
|
+
*/
|
2352
|
+
setPositionByScrollTop() {
|
2353
|
+
if (this.modeController.getMode() === 'virtual') {
|
2354
|
+
const currentIndex = Math.floor(this.scrollTop / this.approxItemHeight);
|
2355
|
+
const startIndex = Math.min(Math.max(currentIndex - this.extendItemsCount, 0), this.maxStartIndex);
|
2356
|
+
const viewportStartIndex = startIndex === 0 ? currentIndex : startIndex + this.extendItemsCount;
|
2357
|
+
const endIndex = viewportStartIndex + this.viewportItemsCount + this.extendItemsCount;
|
2358
|
+
const transformY = Math.min(Math.max(this.scrollTop - this.extendItemsCount * this.approxItemHeight, 0), this.maxStartIndex * this.approxItemHeight);
|
2359
|
+
this.positionConfig = { startIndex, viewportStartIndex, endIndex, transformY };
|
2360
|
+
}
|
2361
|
+
}
|
2362
|
+
/**
|
2363
|
+
* While mode change from `normal` to `virtual`, we should init virtual scroll and set the position.
|
2364
|
+
*/
|
2365
|
+
changeModeFromNormalToVirtual() {
|
2366
|
+
this.initVirtualScroll();
|
2367
|
+
this.setPositionByScrollTop();
|
2368
|
+
}
|
2369
|
+
/**
|
2370
|
+
* The function `initVirtualScroll` initializes variables for a virtual scrolling feature in a
|
2371
|
+
* TypeScript component.
|
2372
|
+
*/
|
2373
|
+
initVirtualScroll() {
|
2374
|
+
if (this.modeController.getMode() === 'virtual') {
|
2375
|
+
this.totalCount = this.source.length;
|
2376
|
+
this.viewportItemsCount = Math.ceil(this.viewportMaxHeight / this.approxItemHeight);
|
2377
|
+
this.maxStartIndex = this.totalCount - this.viewportItemsCount - this.extendItemsCount;
|
2378
|
+
}
|
2379
|
+
}
|
2380
|
+
/**
|
2381
|
+
* Init positionConfig while componentWillLoad
|
2382
|
+
*/
|
2383
|
+
initPositionConfig() {
|
2384
|
+
this.positionConfig = {
|
2385
|
+
startIndex: 0,
|
2386
|
+
viewportStartIndex: 0,
|
2387
|
+
endIndex: this.viewportItemsCount + this.extendItemsCount,
|
2388
|
+
transformY: 0,
|
2389
|
+
};
|
2390
|
+
this.scrollableController.resetScrollTop();
|
2391
|
+
}
|
2392
|
+
/**
|
2393
|
+
* The function `isSameSource` compares two arrays of objects based on a specific identifier and
|
2394
|
+
* returns true if they are the same.
|
2395
|
+
*
|
2396
|
+
* @param {SourceItemType[]} first - `first` is an array of `SourceItemType` elements.
|
2397
|
+
* @param {SourceItemType[]} second - The `second` parameter in the `isSameSource` method is an array
|
2398
|
+
* of `SourceItemType` elements.
|
2399
|
+
* @returns {boolean} The `isSameSource` method is returning a boolean value, either `true` or `false`. It checks
|
2400
|
+
* if the `first` and `second` arrays of `SourceItemType` objects have the same length and if the
|
2401
|
+
* `sourceItemIdentifier` property of each object at the same index in both arrays is equal. If all
|
2402
|
+
* conditions are met, it returns `true`, otherwise it returns `
|
2403
|
+
*/
|
2404
|
+
isSameSource(first, second) {
|
2405
|
+
if (first.length !== second.length)
|
2406
|
+
return false;
|
2407
|
+
for (let i = 0; i < first.length; i++) {
|
2408
|
+
if (first[i][this.sourceItemIdentifier] !== second[i][this.sourceItemIdentifier]) {
|
2409
|
+
return false;
|
2410
|
+
}
|
2411
|
+
}
|
2412
|
+
/* istanbul ignore next */
|
2413
|
+
return true;
|
2414
|
+
}
|
2415
|
+
}
|
2416
|
+
__decorate$5([
|
2417
|
+
globalSlimmerRegistry.MapToComponentField()
|
2418
|
+
], VegaVirtualScrollPositionController.prototype, "sourceItemIdentifier", void 0);
|
2419
|
+
__decorate$5([
|
2420
|
+
globalSlimmerRegistry.MapToComponentField()
|
2421
|
+
], VegaVirtualScrollPositionController.prototype, "source", void 0);
|
2422
|
+
__decorate$5([
|
2423
|
+
globalSlimmerRegistry.MapToComponentField()
|
2424
|
+
], VegaVirtualScrollPositionController.prototype, "approxItemHeight", void 0);
|
2425
|
+
__decorate$5([
|
2426
|
+
globalSlimmerRegistry.MapToComponentField()
|
2427
|
+
], VegaVirtualScrollPositionController.prototype, "viewportMaxHeight", void 0);
|
2428
|
+
__decorate$5([
|
2429
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2430
|
+
], VegaVirtualScrollPositionController.prototype, "positionConfig", void 0);
|
2431
|
+
__decorate$5([
|
2432
|
+
globalSlimmerRegistry.MapToComponentField()
|
2433
|
+
], VegaVirtualScrollPositionController.prototype, "scrollTop", void 0);
|
2434
|
+
__decorate$5([
|
2435
|
+
globalSlimmerRegistry.MapToComponentField()
|
2436
|
+
], VegaVirtualScrollPositionController.prototype, "scrollableController", void 0);
|
2437
|
+
__decorate$5([
|
2438
|
+
globalSlimmerRegistry.MapToComponentField()
|
2439
|
+
], VegaVirtualScrollPositionController.prototype, "modeController", void 0);
|
2440
|
+
__decorate$5([
|
2441
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
2442
|
+
], VegaVirtualScrollPositionController.prototype, "componentWillLoad", null);
|
2443
|
+
__decorate$5([
|
2444
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSourceChange')
|
2445
|
+
], VegaVirtualScrollPositionController.prototype, "watchSourceChange", null);
|
2446
|
+
__decorate$5([
|
2447
|
+
globalSlimmerRegistry.MapToComponentMethod('watchApproxItemHeight')
|
2448
|
+
], VegaVirtualScrollPositionController.prototype, "watchApproxItemHeight", null);
|
2449
|
+
__decorate$5([
|
2450
|
+
globalSlimmerRegistry.MapToComponentMethod('watchViewportMaxHeight')
|
2451
|
+
], VegaVirtualScrollPositionController.prototype, "watchViewportMaxHeight", null);
|
2452
|
+
|
2453
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2454
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2455
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2456
|
+
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;
|
2457
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2458
|
+
};
|
2459
|
+
/**
|
2460
|
+
* The `VegaVirtualScrollScrollableController` class in TypeScript manages virtual scrolling behavior
|
2461
|
+
* by handling scroll events and scrolling to specific indexes within a container element.
|
2462
|
+
*/
|
2463
|
+
class VegaVirtualScrollScrollableController extends globalSlimmerRegistry.VegaSlimmer {
|
2464
|
+
/**
|
2465
|
+
* The `componentDidLoad` function in TypeScript listens for scroll events on a container.
|
2466
|
+
*/
|
2467
|
+
componentDidLoad() {
|
2468
|
+
this.listenScrollContainer();
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* The `componentDidRender` function sets the scroll position of a container element to a specified value.
|
2472
|
+
* While dropdown select a item and hide dropdown and show dropdown again, the virtual scroll will be re-render
|
2473
|
+
* and dropdown will call scrollToIndex with same index param.
|
2474
|
+
* In this time, the value of scrollTop not change, but container scrollTop is become 0 by the re-render of virtual scroll,
|
2475
|
+
* so we should update container scrollTop to avoid inconsistencies between view and component.
|
2476
|
+
*/
|
2477
|
+
componentDidRender() {
|
2478
|
+
this.renderer.getContainerRef().scrollTop = this.scrollTop;
|
2479
|
+
}
|
2480
|
+
/**
|
2481
|
+
* The function `watchScrollTop` in TypeScript calls the `handleScroll` method.
|
2482
|
+
*/
|
2483
|
+
watchScrollTop() {
|
2484
|
+
this.handleScroll();
|
2485
|
+
}
|
2486
|
+
/**
|
2487
|
+
* watchSourceChange
|
2488
|
+
*/
|
2489
|
+
watchSourceChange() {
|
2490
|
+
this.adjustScrollTopWhilePropChange();
|
2491
|
+
}
|
2492
|
+
/**
|
2493
|
+
* watchApproxItemHeight
|
2494
|
+
*/
|
2495
|
+
watchApproxItemHeight() {
|
2496
|
+
this.adjustScrollTopWhilePropChange();
|
2497
|
+
}
|
2498
|
+
/**
|
2499
|
+
* watchViewportMaxHeight
|
2500
|
+
*/
|
2501
|
+
watchViewportMaxHeight() {
|
2502
|
+
this.adjustScrollTopWhilePropChange();
|
2503
|
+
}
|
2504
|
+
/**
|
2505
|
+
* The scrollToIndex function scrolls to a specific index within a container element either by
|
2506
|
+
* directly scrolling to the item or by setting the scrollTop property based on the index and item
|
2507
|
+
* height.
|
2508
|
+
*
|
2509
|
+
* @param {number} index - The `index` parameter is a number that represents the position of the item
|
2510
|
+
* you want to scroll to within a list or container. It is used to determine which item should be
|
2511
|
+
* scrolled into view.
|
2512
|
+
*/
|
2513
|
+
scrollToIndex(index) {
|
2514
|
+
const containerRef = this.renderer.getContainerRef();
|
2515
|
+
if (index >= 0) {
|
2516
|
+
if (this.modeController.getMode() === 'normal') {
|
2517
|
+
const selectedItem = containerRef.querySelector(`:nth-child(${index + 1})`);
|
2518
|
+
ui.containerScrollToItem(containerRef, selectedItem);
|
2519
|
+
}
|
2520
|
+
else {
|
2521
|
+
this.scrollTop = index * this.approxItemHeight;
|
2522
|
+
}
|
2523
|
+
}
|
2524
|
+
}
|
2525
|
+
/**
|
2526
|
+
* The function `resetScrollTop` sets the `scrollTop` property to 0.
|
2527
|
+
*/
|
2528
|
+
resetScrollTop() {
|
2529
|
+
this.scrollTop = 0;
|
2530
|
+
}
|
2531
|
+
/**
|
2532
|
+
* The function `listenScrollContainer` listens for scroll events on a container element and updates
|
2533
|
+
* the `scrollTop` property accordingly.
|
2534
|
+
*/
|
2535
|
+
listenScrollContainer() {
|
2536
|
+
this.renderer.getContainerRef().addEventListener('scroll', () => {
|
2537
|
+
this.scrollTop = this.renderer.getContainerRef().scrollTop;
|
2538
|
+
});
|
2539
|
+
}
|
2540
|
+
/**
|
2541
|
+
* The handleScroll function sets the scrollTop property of a container element and updates the
|
2542
|
+
* position based on the scroll top value.
|
2543
|
+
*/
|
2544
|
+
handleScroll() {
|
2545
|
+
const containerRef = this.renderer.getContainerRef();
|
2546
|
+
containerRef && (containerRef.scrollTop = this.scrollTop);
|
2547
|
+
this.positionController.setPositionByScrollTop();
|
2548
|
+
this.checkIsScrollToBottom();
|
2549
|
+
}
|
2550
|
+
/**
|
2551
|
+
* The function adjusts the scroll top position based on certain properties to ensure it stays within
|
2552
|
+
* valid bounds.
|
2553
|
+
*/
|
2554
|
+
adjustScrollTopWhilePropChange() {
|
2555
|
+
this.scrollTop = Math.min((this.source.length - Math.floor(this.viewportMaxHeight / this.approxItemHeight)) *
|
2556
|
+
this.approxItemHeight, this.scrollTop);
|
2557
|
+
}
|
2558
|
+
/**
|
2559
|
+
* Checks if the page is at the bottom of the page and if so notifies the change manager
|
2560
|
+
*/
|
2561
|
+
checkIsScrollToBottom() {
|
2562
|
+
if (!this.isLoading &&
|
2563
|
+
(this.isScrollToBottomInVirtualMode() || this.isScrollToBottomInNormalMode())) {
|
2564
|
+
changeManager.ChangeManager.notify(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalVirtualScrollToBottom), {
|
2565
|
+
endIndex: this.source.length - 1,
|
2566
|
+
});
|
2567
|
+
}
|
2568
|
+
}
|
2569
|
+
/**
|
2570
|
+
* The function `isScrollToBottomInVirtualMode` checks if the `startIndex` is equal to `maxStartIndex`.
|
2571
|
+
*
|
2572
|
+
* @returns {boolean} The method `isScrollToBottomInVirtualMode()` is returning a boolean value based on the comparison of
|
2573
|
+
* `this.startIndex` and `this.maxStartIndex`. If they are equal, it will return `true`, otherwise
|
2574
|
+
* `false`.
|
2575
|
+
*/
|
2576
|
+
isScrollToBottomInVirtualMode() {
|
2577
|
+
return (this.modeController.getMode() === 'virtual' &&
|
2578
|
+
this.positionConfig.startIndex === this.positionController.getMaxStartIndex());
|
2579
|
+
}
|
2580
|
+
/**
|
2581
|
+
* The function `isScrollToBottomInNormalMode` checks if the virtual scroll container is scrolled to the bottom based
|
2582
|
+
* on its scroll height, scroll top, and viewport max height.
|
2583
|
+
*
|
2584
|
+
* @returns {boolean} The function `isScrollToBottomInNormalMode()` is returning a boolean value based on the comparison of the
|
2585
|
+
* sum of `this.virtualScrollContainerRef.scrollHeight` and `this.virtualScrollContainerRef.scrollTop`
|
2586
|
+
* being equal to `this.viewportMaxHeight`.
|
2587
|
+
*/
|
2588
|
+
isScrollToBottomInNormalMode() {
|
2589
|
+
return (this.modeController.getMode() === 'normal' &&
|
2590
|
+
this.source.length * this.approxItemHeight - this.scrollTop === this.viewportMaxHeight);
|
2591
|
+
}
|
2592
|
+
}
|
2593
|
+
__decorate$4([
|
2594
|
+
globalSlimmerRegistry.MapToComponentField()
|
2595
|
+
], VegaVirtualScrollScrollableController.prototype, "sourceItemIdentifier", void 0);
|
2596
|
+
__decorate$4([
|
2597
|
+
globalSlimmerRegistry.MapToComponentField()
|
2598
|
+
], VegaVirtualScrollScrollableController.prototype, "source", void 0);
|
2599
|
+
__decorate$4([
|
2600
|
+
globalSlimmerRegistry.MapToComponentField()
|
2601
|
+
], VegaVirtualScrollScrollableController.prototype, "host", void 0);
|
2602
|
+
__decorate$4([
|
2603
|
+
globalSlimmerRegistry.MapToComponentField()
|
2604
|
+
], VegaVirtualScrollScrollableController.prototype, "viewportMaxHeight", void 0);
|
2605
|
+
__decorate$4([
|
2606
|
+
globalSlimmerRegistry.MapToComponentField()
|
2607
|
+
], VegaVirtualScrollScrollableController.prototype, "approxItemHeight", void 0);
|
2608
|
+
__decorate$4([
|
2609
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2610
|
+
], VegaVirtualScrollScrollableController.prototype, "scrollTop", void 0);
|
2611
|
+
__decorate$4([
|
2612
|
+
globalSlimmerRegistry.MapToComponentField()
|
2613
|
+
], VegaVirtualScrollScrollableController.prototype, "positionConfig", void 0);
|
2614
|
+
__decorate$4([
|
2615
|
+
globalSlimmerRegistry.MapToComponentField()
|
2616
|
+
], VegaVirtualScrollScrollableController.prototype, "isLoading", void 0);
|
2617
|
+
__decorate$4([
|
2618
|
+
globalSlimmerRegistry.MapToComponentField()
|
2619
|
+
], VegaVirtualScrollScrollableController.prototype, "renderer", void 0);
|
2620
|
+
__decorate$4([
|
2621
|
+
globalSlimmerRegistry.MapToComponentField()
|
2622
|
+
], VegaVirtualScrollScrollableController.prototype, "positionController", void 0);
|
2623
|
+
__decorate$4([
|
2624
|
+
globalSlimmerRegistry.MapToComponentField()
|
2625
|
+
], VegaVirtualScrollScrollableController.prototype, "modeController", void 0);
|
2626
|
+
__decorate$4([
|
2627
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
2628
|
+
], VegaVirtualScrollScrollableController.prototype, "componentDidLoad", null);
|
2629
|
+
__decorate$4([
|
2630
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidRender')
|
2631
|
+
], VegaVirtualScrollScrollableController.prototype, "componentDidRender", null);
|
2632
|
+
__decorate$4([
|
2633
|
+
globalSlimmerRegistry.MapToComponentMethod('watchScrollTop')
|
2634
|
+
], VegaVirtualScrollScrollableController.prototype, "watchScrollTop", null);
|
2635
|
+
__decorate$4([
|
2636
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSourceChange')
|
2637
|
+
], VegaVirtualScrollScrollableController.prototype, "watchSourceChange", null);
|
2638
|
+
__decorate$4([
|
2639
|
+
globalSlimmerRegistry.MapToComponentMethod('watchApproxItemHeight')
|
2640
|
+
], VegaVirtualScrollScrollableController.prototype, "watchApproxItemHeight", null);
|
2641
|
+
__decorate$4([
|
2642
|
+
globalSlimmerRegistry.MapToComponentMethod('watchViewportMaxHeight')
|
2643
|
+
], VegaVirtualScrollScrollableController.prototype, "watchViewportMaxHeight", null);
|
2644
|
+
__decorate$4([
|
2645
|
+
globalSlimmerRegistry.MapToComponentMethod('scrollToIndex')
|
2646
|
+
], VegaVirtualScrollScrollableController.prototype, "scrollToIndex", null);
|
2647
|
+
|
2648
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2649
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2650
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2651
|
+
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;
|
2652
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2653
|
+
};
|
2654
|
+
class VegaVirtualScrollRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
2655
|
+
getContainerRef() {
|
2656
|
+
return this.virtualScrollContainerRef;
|
2657
|
+
}
|
2658
|
+
render() {
|
2659
|
+
return (index.h("div", { style: { maxHeight: `${this.viewportMaxHeight}px`, overflow: 'auto' }, class: "virtual-scroll-container", ref: (el) => (this.virtualScrollContainerRef = el) }, this.modeController.getMode() === 'normal'
|
2660
|
+
? this.renderNormal()
|
2661
|
+
: this.renderVirtualScroll()));
|
2662
|
+
}
|
2663
|
+
renderNormal() {
|
2664
|
+
return (index.h(index.Fragment, null,
|
2665
|
+
this.source.map((item, index) => {
|
2666
|
+
return this.renderItem(item, index);
|
2667
|
+
}),
|
2668
|
+
this.loadingRenderer.render()));
|
2669
|
+
}
|
2670
|
+
renderVirtualScroll() {
|
2671
|
+
return (index.h("div", { style: {
|
2672
|
+
height: `${this.source.length * this.approxItemHeight}px`,
|
2673
|
+
position: 'relative',
|
2674
|
+
} },
|
2675
|
+
index.h("div", { class: "virtual-scroll-block", style: {
|
2676
|
+
transform: `translateY(${this.positionConfig.transformY}px)`,
|
2677
|
+
} },
|
2678
|
+
this.source
|
2679
|
+
.slice(this.positionConfig.startIndex, this.positionConfig.viewportStartIndex)
|
2680
|
+
.map((item, index) => {
|
2681
|
+
return this.renderItem(item, this.positionConfig.startIndex + index, this.approxItemHeight);
|
2682
|
+
}),
|
2683
|
+
this.source
|
2684
|
+
.slice(this.positionConfig.viewportStartIndex, this.positionConfig.endIndex)
|
2685
|
+
.map((item, index) => {
|
2686
|
+
return this.renderItem(item, this.positionConfig.viewportStartIndex + index);
|
2687
|
+
}),
|
2688
|
+
this.loadingRenderer.render())));
|
2689
|
+
}
|
2690
|
+
}
|
2691
|
+
__decorate$3([
|
2692
|
+
globalSlimmerRegistry.MapToComponentField()
|
2693
|
+
], VegaVirtualScrollRenderer.prototype, "source", void 0);
|
2694
|
+
__decorate$3([
|
2695
|
+
globalSlimmerRegistry.MapToComponentField()
|
2696
|
+
], VegaVirtualScrollRenderer.prototype, "renderItem", void 0);
|
2697
|
+
__decorate$3([
|
2698
|
+
globalSlimmerRegistry.MapToComponentField()
|
2699
|
+
], VegaVirtualScrollRenderer.prototype, "approxItemHeight", void 0);
|
2700
|
+
__decorate$3([
|
2701
|
+
globalSlimmerRegistry.MapToComponentField()
|
2702
|
+
], VegaVirtualScrollRenderer.prototype, "positionConfig", void 0);
|
2703
|
+
__decorate$3([
|
2704
|
+
globalSlimmerRegistry.MapToComponentField()
|
2705
|
+
], VegaVirtualScrollRenderer.prototype, "viewportMaxHeight", void 0);
|
2706
|
+
__decorate$3([
|
2707
|
+
globalSlimmerRegistry.MapToComponentField()
|
2708
|
+
], VegaVirtualScrollRenderer.prototype, "modeController", void 0);
|
2709
|
+
__decorate$3([
|
2710
|
+
globalSlimmerRegistry.MapToComponentField()
|
2711
|
+
], VegaVirtualScrollRenderer.prototype, "loadingRenderer", void 0);
|
2712
|
+
|
2713
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2714
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2715
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2716
|
+
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;
|
2717
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2718
|
+
};
|
2719
|
+
/**
|
2720
|
+
* The class is responsible for managing the visibility and behavior of the tooltip content box.
|
2721
|
+
*/
|
2722
|
+
class VegaVirtualScrollModeController extends globalSlimmerRegistry.VegaSlimmer {
|
2723
|
+
constructor() {
|
2724
|
+
super(...arguments);
|
2725
|
+
this.mode = 'normal';
|
2726
|
+
}
|
2727
|
+
/**
|
2728
|
+
* The componentWillLoad function is used to initialize mode.
|
2729
|
+
*/
|
2730
|
+
componentWillLoad() {
|
2731
|
+
this.setMode();
|
2732
|
+
}
|
2733
|
+
/**
|
2734
|
+
* While watchVirtualizationThreshold changed, we should reset the mode.
|
2735
|
+
*/
|
2736
|
+
watchVirtualizationThreshold() {
|
2737
|
+
this.setMode();
|
2738
|
+
}
|
2739
|
+
/**
|
2740
|
+
* While source changed, we should reset the mode.
|
2741
|
+
*/
|
2742
|
+
watchSourceChange() {
|
2743
|
+
this.setMode();
|
2744
|
+
}
|
2745
|
+
/**
|
2746
|
+
* Get current mode
|
2747
|
+
*
|
2748
|
+
* @returns {VirtualScrollMode} - mode
|
2749
|
+
*/
|
2750
|
+
getMode() {
|
2751
|
+
return this.mode;
|
2752
|
+
}
|
2753
|
+
/**
|
2754
|
+
* Set the mode of the pager to virtual or normal depending on the length of
|
2755
|
+
*/
|
2756
|
+
setMode() {
|
2757
|
+
const originalMode = this.mode;
|
2758
|
+
this.mode = this.source.length > this.virtualizationThreshold ? 'virtual' : 'normal';
|
2759
|
+
if (originalMode === 'normal' && this.mode === 'virtual') {
|
2760
|
+
this.positionController.changeModeFromNormalToVirtual();
|
2761
|
+
}
|
2762
|
+
}
|
2763
|
+
}
|
2764
|
+
__decorate$2([
|
2765
|
+
globalSlimmerRegistry.MapToComponentField()
|
2766
|
+
], VegaVirtualScrollModeController.prototype, "source", void 0);
|
2767
|
+
__decorate$2([
|
2768
|
+
globalSlimmerRegistry.MapToComponentField()
|
2769
|
+
], VegaVirtualScrollModeController.prototype, "virtualizationThreshold", void 0);
|
2770
|
+
__decorate$2([
|
2771
|
+
globalSlimmerRegistry.MapToComponentField()
|
2772
|
+
], VegaVirtualScrollModeController.prototype, "positionController", void 0);
|
2773
|
+
__decorate$2([
|
2774
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
2775
|
+
], VegaVirtualScrollModeController.prototype, "componentWillLoad", null);
|
2776
|
+
__decorate$2([
|
2777
|
+
globalSlimmerRegistry.MapToComponentMethod('watchVirtualizationThreshold')
|
2778
|
+
], VegaVirtualScrollModeController.prototype, "watchVirtualizationThreshold", null);
|
2779
|
+
__decorate$2([
|
2780
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSourceChange')
|
2781
|
+
], VegaVirtualScrollModeController.prototype, "watchSourceChange", null);
|
2782
|
+
|
2783
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2784
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2785
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2786
|
+
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;
|
2787
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2788
|
+
};
|
2789
|
+
/**
|
2790
|
+
* The class `VegaVirtualScrollMoreLoadingRenderer` extends `VegaSlimmer` and renders
|
2791
|
+
* a loading indicator for virtual scrolling in a TypeScript React application.
|
2792
|
+
*/
|
2793
|
+
class VegaVirtualScrollLoadingIndicatorRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
2794
|
+
render() {
|
2795
|
+
return (this.isLoading && (index.h("div", { class: "virtual-scroll-more-loading" },
|
2796
|
+
index.h("vega-flex", { gap: "size-8", direction: "row" },
|
2797
|
+
index.h("vega-loading-indicator", { size: "small" }),
|
2798
|
+
index.h("vega-font", { variant: "font-field-value", color: "text-secondary" }, "Loading")))));
|
2799
|
+
}
|
2800
|
+
}
|
2801
|
+
__decorate$1([
|
2802
|
+
globalSlimmerRegistry.MapToComponentField()
|
2803
|
+
], VegaVirtualScrollLoadingIndicatorRenderer.prototype, "isLoading", void 0);
|
2804
|
+
|
2805
|
+
const vegaVirtualScrollCss = ":host .virtual-scroll-more-loading{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}";
|
2806
|
+
|
2807
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2808
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2809
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2810
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2811
|
+
else
|
2812
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2813
|
+
if (d = decorators[i])
|
2814
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2815
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2816
|
+
};
|
2817
|
+
const VegaVirtualScroll = class {
|
2818
|
+
constructor(hostRef) {
|
2819
|
+
index.registerInstance(this, hostRef);
|
2820
|
+
this.globalSlimmers = {};
|
2821
|
+
this.modeController = new VegaVirtualScrollModeController();
|
2822
|
+
this.positionController = new VegaVirtualScrollPositionController();
|
2823
|
+
this.scrollableController = new VegaVirtualScrollScrollableController();
|
2824
|
+
this.renderer = new VegaVirtualScrollRenderer();
|
2825
|
+
this.loadingRenderer = new VegaVirtualScrollLoadingIndicatorRenderer();
|
2826
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
2827
|
+
this.scrollTop = 0;
|
2828
|
+
/** The all items of source *
|
2829
|
+
* @vegaVersion 1.13.0
|
2830
|
+
*/
|
2831
|
+
this.source = [];
|
2832
|
+
/** The approximate height of each item *
|
2833
|
+
* @vegaVersion 1.13.0
|
2834
|
+
*/
|
2835
|
+
this.approxItemHeight = 40;
|
2836
|
+
/** The max height of viewport *
|
2837
|
+
* @vegaVersion 1.13.0
|
2838
|
+
*/
|
2839
|
+
this.viewportMaxHeight = 320;
|
2840
|
+
/**
|
2841
|
+
* Determines whether the dropdown displays a loading status.
|
2842
|
+
*
|
2843
|
+
* @vegaVersion 2.3.0
|
2844
|
+
*/
|
2845
|
+
this.isLoading = false;
|
2846
|
+
/**
|
2847
|
+
* The count of the source that will be used as the threshold for determining whether to use virtual scrolling.
|
2848
|
+
* If the count of source exceeds this threshold, we employ virtual scrolling. Otherwise, normal item rendering is used
|
2849
|
+
*
|
2850
|
+
* @vegaVersion 2.3.0
|
2851
|
+
*/
|
2852
|
+
this.virtualizationThreshold = 60;
|
2853
|
+
/** We set this key to check the source is really change and should refresh virtual scroll *
|
2854
|
+
* @vegaVersion 1.26.0
|
2855
|
+
*/
|
2856
|
+
this.sourceItemIdentifier = 'key';
|
2857
|
+
}
|
2858
|
+
watchScrollTop() {
|
2859
|
+
}
|
2860
|
+
watchSourceChange(newValue, oldValue) {
|
2861
|
+
}
|
2862
|
+
watchApproxItemHeight() {
|
2863
|
+
}
|
2864
|
+
watchViewportMaxHeight() {
|
2865
|
+
}
|
2866
|
+
watchVirtualizationThreshold() {
|
2867
|
+
}
|
2868
|
+
/**
|
2869
|
+
* Scroll to the index of the item in the list by setting the scrollTop property of the virtual scroll
|
2870
|
+
* container to the index of the item multiplied by the approximate height of each item in the list.
|
2871
|
+
*
|
2872
|
+
* @vegaVersion 1.13.0
|
2873
|
+
*/
|
2874
|
+
async scrollToIndex(index) {
|
2875
|
+
}
|
2876
|
+
render() {
|
2877
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, this.renderer.render()), this.host);
|
2878
|
+
}
|
2879
|
+
get host() { return index.getElement(this); }
|
2880
|
+
static get watchers() { return {
|
2881
|
+
"scrollTop": ["watchScrollTop"],
|
2882
|
+
"source": ["watchSourceChange"],
|
2883
|
+
"approxItemHeight": ["watchApproxItemHeight"],
|
2884
|
+
"viewportMaxHeight": ["watchViewportMaxHeight"],
|
2885
|
+
"virtualizationThreshold": ["watchVirtualizationThreshold"]
|
2886
|
+
}; }
|
2887
|
+
};
|
2888
|
+
__decorate([
|
2889
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2890
|
+
], VegaVirtualScroll.prototype, "globalSlimmers", void 0);
|
2891
|
+
__decorate([
|
2892
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2893
|
+
], VegaVirtualScroll.prototype, "modeController", void 0);
|
2894
|
+
__decorate([
|
2895
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2896
|
+
], VegaVirtualScroll.prototype, "positionController", void 0);
|
2897
|
+
__decorate([
|
2898
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2899
|
+
], VegaVirtualScroll.prototype, "scrollableController", void 0);
|
2900
|
+
__decorate([
|
2901
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2902
|
+
], VegaVirtualScroll.prototype, "renderer", void 0);
|
2903
|
+
__decorate([
|
2904
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2905
|
+
], VegaVirtualScroll.prototype, "loadingRenderer", void 0);
|
2906
|
+
__decorate([
|
2907
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2908
|
+
], VegaVirtualScroll.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2909
|
+
VegaVirtualScroll.style = vegaVirtualScrollCss;
|
2910
|
+
|
2911
|
+
exports.vega_dropdown = VegaDropdown;
|
2912
|
+
exports.vega_dropdown_content_box = VegaDropdownContentBox;
|
2913
|
+
exports.vega_dropdown_group = VegaDropdownGroup;
|
2914
|
+
exports.vega_dropdown_item = VegaDropdownItem;
|
2915
|
+
exports.vega_virtual_scroll = VegaVirtualScroll;
|