@heartlandone/vega-sandbox-pr-1476-282f3570a36392d27e568237c53e73a03cab2a13 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-9cb602d7.js +252 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-7e2dff90.js +66 -0
- package/dist/cjs/change-manager-a297e4d2.js +78 -0
- package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
- package/dist/cjs/child-nodes-event-prevent-slimmer-e383a914.js +158 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-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-17b8e4d8.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-bf5ecbd8.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-6043252f.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-a8cf1874.js +122 -0
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/placeholder-cb6d37ad.js +27 -0
- package/dist/cjs/regex-c1f70fd4.js +15 -0
- package/dist/cjs/remote-invocation-registry-162044d5.js +64 -0
- package/dist/cjs/required-field-rule-8655758f.js +83 -0
- package/dist/cjs/responsive-format-facade-7bc51a43.js +718 -0
- package/dist/cjs/state-background-color-formatter-418b84e6.js +85 -0
- package/dist/cjs/static-subject-title-35e2a92c.js +67 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-fcfa5bb7.js +364 -0
- package/dist/cjs/style-formatter-a0829641.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-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-a07b353b.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-08f33116.js +200 -0
- package/dist/cjs/ui-32e69595.js +52 -0
- package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
- package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
- package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
- package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
- package/dist/cjs/vega-banner.cjs.entry.js +354 -0
- package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
- package/dist/cjs/vega-box.cjs.entry.js +208 -0
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +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-c0b7184d.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 +1269 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4515 -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 +191 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
- package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +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 +7247 -0
- package/dist/collection/components/vega-box/vega-box.js +798 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
- package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
- package/dist/collection/components/vega-button/vega-button.css +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 +116 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +251 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
- package/dist/collection/components/vega-table/interface.js +10 -0
- package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +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 +134 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +298 -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-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-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 +31 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
- package/dist/collection/helpers/icon/icon-manager.js +55 -0
- package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
- package/dist/collection/helpers/immutable/immutable-map.js +113 -0
- package/dist/collection/helpers/immutable/immutable-set.js +95 -0
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
- package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +124 -0
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
- package/dist/collection/helpers/notify/vega-notify-controller.js +122 -0
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
- package/dist/collection/helpers/paginator/value-paginator.js +78 -0
- package/dist/collection/helpers/public-api.js +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-f18ddd05.js +250 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-36a3ed69.js +62 -0
- package/dist/esm/change-manager-6a7eb88c.js +76 -0
- package/dist/esm/chevron-down-4303bddb.js +9 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-345c46c5.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-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-3671ce60.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-1172e2ea.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-b4f943df.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-994c1e1b.js +120 -0
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/placeholder-bf562081.js +24 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/regex-dfe11abf.js +8 -0
- package/dist/esm/remote-invocation-registry-cf9c81bb.js +62 -0
- package/dist/esm/required-field-rule-f438a73f.js +81 -0
- package/dist/esm/responsive-format-facade-5a1329a7.js +716 -0
- package/dist/esm/state-background-color-formatter-0540d006.js +82 -0
- package/dist/esm/static-subject-title-2a4d6602.js +45 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-bfe3f5e5.js +361 -0
- package/dist/esm/style-formatter-2fa5ce09.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-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-63caf78b.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-8424715a.js +38 -0
- package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
- package/dist/esm/vega-accordion.entry.js +265 -0
- package/dist/esm/vega-app-footer.entry.js +145 -0
- package/dist/esm/vega-app-header-button.entry.js +310 -0
- package/dist/esm/vega-backdrop.entry.js +152 -0
- package/dist/esm/vega-banner.entry.js +350 -0
- package/dist/esm/vega-bar-chart.entry.js +234 -0
- package/dist/esm/vega-box.entry.js +204 -0
- package/dist/esm/vega-breadcrumb.entry.js +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-22ee05b3.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 +1264 -0
- package/dist/esm/vega-table_8.entry.js +4504 -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 +26 -0
- package/dist/types/components/vega-tab-group/types.d.ts +19 -0
- package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
- package/dist/types/components/vega-table/interface.d.ts +221 -0
- package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +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 +80 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
- package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
- package/dist/types/components/vega-table/vega-table.d.ts +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-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-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-00c88861.entry.js +1 -0
- package/dist/vega/p-0134e8c5.js +1 -0
- package/dist/vega/p-016045b0.js +1 -0
- package/dist/vega/p-01e284b9.js +1 -0
- package/dist/vega/p-031dbf5e.entry.js +1 -0
- package/dist/vega/p-063c3ba6.entry.js +1 -0
- package/dist/vega/p-0a7facb9.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0e42fd41.entry.js +1 -0
- package/dist/vega/p-10ce61af.entry.js +1 -0
- package/dist/vega/p-126781ec.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-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1c7dd281.entry.js +1 -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-28b1a294.entry.js +1 -0
- package/dist/vega/p-29ac203a.js +1 -0
- package/dist/vega/p-2d0d575f.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-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-3fc59fd3.entry.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-42768c85.entry.js +1 -0
- package/dist/vega/p-47975722.entry.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47c87634.js +1 -0
- package/dist/vega/p-47d106e7.js +1 -0
- package/dist/vega/p-48335db0.entry.js +1 -0
- package/dist/vega/p-5283e72a.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-56d640a8.entry.js +1 -0
- package/dist/vega/p-573948c2.js +1 -0
- package/dist/vega/p-5902aa38.entry.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-59df17a3.entry.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-6224cd1d.entry.js +1 -0
- package/dist/vega/p-62a6fe30.entry.js +1 -0
- package/dist/vega/p-6774a16d.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-71384fb5.entry.js +1 -0
- package/dist/vega/p-74168615.js +1 -0
- package/dist/vega/p-7588f229.js +1 -0
- package/dist/vega/p-7797d082.entry.js +13 -0
- package/dist/vega/p-7a1df282.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-84118b6d.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-86d6d2d6.entry.js +1 -0
- package/dist/vega/p-880f91fb.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8b5d3a52.js +1 -0
- package/dist/vega/p-91b1a0b7.entry.js +1 -0
- package/dist/vega/p-961e1ecd.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9899a4b0.entry.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9d367b27.entry.js +1 -0
- package/dist/vega/p-9e71d91a.entry.js +1 -0
- package/dist/vega/p-9fbdeada.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a115f76a.entry.js +1 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a57eed48.entry.js +1 -0
- package/dist/vega/p-a5f80d35.js +1 -0
- package/dist/vega/p-a777f341.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-a901494d.entry.js +1 -0
- package/dist/vega/p-acc14aa2.js +1 -0
- package/dist/vega/p-acf8b473.js +1 -0
- package/dist/vega/p-add68953.entry.js +1 -0
- package/dist/vega/p-af50eab1.entry.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b2053fa8.entry.js +1 -0
- package/dist/vega/p-b4e92130.entry.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b86e8c8b.entry.js +1 -0
- package/dist/vega/p-b8e42c11.entry.js +1 -0
- package/dist/vega/p-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-bf8c1fe3.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c4b0ee3a.entry.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-cbeda6ca.entry.js +1 -0
- package/dist/vega/p-cdc89193.entry.js +1 -0
- package/dist/vega/p-d9a30ec8.entry.js +1 -0
- package/dist/vega/p-db120a1e.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-de213033.entry.js +1 -0
- package/dist/vega/p-dfe22070.js +1 -0
- package/dist/vega/p-e13dcd94.entry.js +1 -0
- package/dist/vega/p-e3ad20a6.entry.js +1 -0
- package/dist/vega/p-e9874af1.js +1 -0
- package/dist/vega/p-ea07f228.entry.js +1 -0
- package/dist/vega/p-ea1f50c9.entry.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-eae4a1c1.js +1 -0
- package/dist/vega/p-ebeb4bc8.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-ede2a63e.entry.js +1 -0
- package/dist/vega/p-ee68920f.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f46c930f.js +1 -0
- package/dist/vega/p-f5028d10.entry.js +1 -0
- package/dist/vega/p-f5d76f14.entry.js +1 -0
- package/dist/vega/p-f7551703.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-faea1620.js +1 -0
- package/dist/vega/p-fd929ab5.entry.js +1 -0
- package/dist/vega/vega.css +1 -0
- package/dist/vega/vega.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +130 -0
- package/readme.md +182 -0
- package/style/vega.css +1 -0
@@ -0,0 +1,3906 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
const misc = require('./misc-3d30df91.js');
|
4
|
+
const ui = require('./ui-08f33116.js');
|
5
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
6
|
+
const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-d2d49ff5.js');
|
7
|
+
const internalVegaZIndexManager = require('./internal-vega-z-index-manager-23051df4.js');
|
8
|
+
const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
|
9
|
+
const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-a8cf1874.js');
|
10
|
+
const index = require('./index-5792390b.js');
|
11
|
+
const internalVegaEventManager = require('./internal-vega-event-manager-627b1328.js');
|
12
|
+
|
13
|
+
const VegaLoaderRuntimeMetricsPayloadDefinition = [
|
14
|
+
{
|
15
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
16
|
+
payloadDescription: 'Indicate if the method load of public API VegaLoaderController is called',
|
17
|
+
/**
|
18
|
+
* Indicate whether the method is collected when the method been called .
|
19
|
+
*
|
20
|
+
* @param {string} scope - The class name of public api
|
21
|
+
* @param {string} methodName - The method name called by the public api
|
22
|
+
* @returns {boolean} A boolean value
|
23
|
+
*/
|
24
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'load',
|
25
|
+
/**
|
26
|
+
* The function checks if the method name is load.
|
27
|
+
*
|
28
|
+
* @returns {boolean} A boolean value
|
29
|
+
*/
|
30
|
+
payloadValue: () => {
|
31
|
+
return true;
|
32
|
+
},
|
33
|
+
},
|
34
|
+
{
|
35
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
36
|
+
payloadDescription: 'Indicate if the method close of public API VegaLoaderController is called',
|
37
|
+
/**
|
38
|
+
* Indicate whether the method is collected when the method been called .
|
39
|
+
*
|
40
|
+
* @param {string} scope - The class name of public api
|
41
|
+
* @param {string} methodName - The method name called by the public api
|
42
|
+
* @returns {boolean} A boolean value
|
43
|
+
*/
|
44
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'close',
|
45
|
+
/**
|
46
|
+
* The function checks if the method name is close.
|
47
|
+
*
|
48
|
+
* @returns {boolean} A boolean value
|
49
|
+
*/
|
50
|
+
payloadValue: () => {
|
51
|
+
return true;
|
52
|
+
},
|
53
|
+
},
|
54
|
+
];
|
55
|
+
|
56
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
57
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
58
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
59
|
+
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;
|
60
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
61
|
+
};
|
62
|
+
/**
|
63
|
+
* Vega loader controller to control the loading indicator
|
64
|
+
*/
|
65
|
+
class VegaLoaderController {
|
66
|
+
constructor() {
|
67
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaLoaderController, ['load', 'close'], VegaLoaderRuntimeMetricsPayloadDefinition);
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Create a loading indicator and append it to the container
|
71
|
+
*
|
72
|
+
* @param {VegaLoaderIndicatorOptions} options - VegaLoaderOptions = {} options of the method
|
73
|
+
* @returns {string} The uuid of the loader.
|
74
|
+
* @vegaVersion 1.16.0
|
75
|
+
*/
|
76
|
+
load(options = {}) {
|
77
|
+
const containerSelector = options.containerSelector || 'body';
|
78
|
+
const containerElement = document.querySelector(containerSelector);
|
79
|
+
if (!containerElement) {
|
80
|
+
globalSlimmerRegistry.LogUtility.error('Container is not found by selector: ', containerSelector);
|
81
|
+
return null;
|
82
|
+
}
|
83
|
+
const loadingIndicator = this.createLoadingIndicator(options.indicatorOptions);
|
84
|
+
const loader = this.createLoader(containerSelector);
|
85
|
+
loader.append(loadingIndicator);
|
86
|
+
return this.appendLoader(loader, containerElement);
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* Close the loader by id
|
90
|
+
*
|
91
|
+
* @param {string} id - The id of the loader.
|
92
|
+
* @vegaVersion 1.16.0
|
93
|
+
*/
|
94
|
+
close(id) {
|
95
|
+
const loader = this.findLoader(id);
|
96
|
+
if (loader) {
|
97
|
+
if (loader.dataset.container) {
|
98
|
+
const container = document.querySelector(loader.dataset.container);
|
99
|
+
if (container) {
|
100
|
+
container.style.position = container.dataset['vegaLoaderOriginPosition'] || 'static';
|
101
|
+
}
|
102
|
+
}
|
103
|
+
loader.remove();
|
104
|
+
}
|
105
|
+
}
|
106
|
+
/**
|
107
|
+
* Find loader by id, if the id include '>>>' it will find inside shadowRoot
|
108
|
+
*
|
109
|
+
* @param {string} id - The id of the loader.
|
110
|
+
* @returns {string} The loader found by id.
|
111
|
+
*/
|
112
|
+
findLoader(id) {
|
113
|
+
var _a, _b;
|
114
|
+
let loader;
|
115
|
+
if (id.includes('>>>')) {
|
116
|
+
const [containerSelector, loaderSelector] = id.split('>>>');
|
117
|
+
loader = (_b = (_a = document.querySelector(containerSelector)) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.getElementById(loaderSelector);
|
118
|
+
}
|
119
|
+
else {
|
120
|
+
loader = document.getElementById(id);
|
121
|
+
}
|
122
|
+
return loader;
|
123
|
+
}
|
124
|
+
/**
|
125
|
+
* Create a loader for loading indicator
|
126
|
+
*
|
127
|
+
* @param {string} containerSelector The container which you want to append
|
128
|
+
* @returns {HTMLElement} a wrapper for loader
|
129
|
+
*/
|
130
|
+
createLoader(containerSelector) {
|
131
|
+
const loader = document.createElement('vega-loader-wrapper');
|
132
|
+
loader.className = ui.arrayToClassString([
|
133
|
+
containerSelector === 'body' ? 'fixed-wrapper' : 'absolute-wrapper',
|
134
|
+
]);
|
135
|
+
loader.dataset['container'] = containerSelector;
|
136
|
+
loader.id = `vega-loader-${misc.generateUUID()}`;
|
137
|
+
return loader;
|
138
|
+
}
|
139
|
+
/**
|
140
|
+
* Create a loading indicator
|
141
|
+
*
|
142
|
+
* @param {VegaLoaderIndicatorOptions} indicatorOptions the props of vega loading indicator
|
143
|
+
* @returns {HTMLElement} vega-loading-indicator component template
|
144
|
+
*/
|
145
|
+
createLoadingIndicator(indicatorOptions = {}) {
|
146
|
+
const loadingIndicator = document.createElement('vega-loading-indicator');
|
147
|
+
Object.assign(loadingIndicator, indicatorOptions);
|
148
|
+
return loadingIndicator;
|
149
|
+
}
|
150
|
+
/**
|
151
|
+
* Append the loader to the container
|
152
|
+
*
|
153
|
+
* @param {HTMLElement} loader A loader with loading indicator
|
154
|
+
* @param {string} containerElement The container which you want to append the loader to
|
155
|
+
* @returns {string} The uuid of the loader.
|
156
|
+
*/
|
157
|
+
appendLoader(loader, containerElement) {
|
158
|
+
containerElement.dataset['vegaLoaderOriginPosition'] = containerElement.style.position;
|
159
|
+
containerElement.style.position = 'relative';
|
160
|
+
if (containerElement.shadowRoot) {
|
161
|
+
containerElement.shadowRoot.append(loader);
|
162
|
+
return `${loader.dataset['container']}>>>${loader.id}`;
|
163
|
+
}
|
164
|
+
else {
|
165
|
+
containerElement.append(loader);
|
166
|
+
return loader.id;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
__decorate$6([
|
171
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
172
|
+
], VegaLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
173
|
+
const VegaLoader = new VegaLoaderController();
|
174
|
+
|
175
|
+
const VegaNotifyRuntimeMetricsPayloadDefinition = [
|
176
|
+
{
|
177
|
+
payloadKey: 'IS_OPEN_METHOD_CALLED',
|
178
|
+
payloadDescription: 'Indicate if the method open of public API VegaNotifyController is called',
|
179
|
+
/**
|
180
|
+
* Indicate whether the method is collected when the method been called .
|
181
|
+
*
|
182
|
+
* @param {string} scope - The class name of public api
|
183
|
+
* @param {string} methodName - The method name called by the public api
|
184
|
+
* @returns {boolean} A boolean value
|
185
|
+
*/
|
186
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'open',
|
187
|
+
/**
|
188
|
+
* The function checks if the method name is open.
|
189
|
+
*
|
190
|
+
* @returns {boolean} A boolean value
|
191
|
+
*/
|
192
|
+
payloadValue: () => {
|
193
|
+
return true;
|
194
|
+
},
|
195
|
+
},
|
196
|
+
{
|
197
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
198
|
+
payloadDescription: 'Indicate if the method close of public API VegaNotifyController is called',
|
199
|
+
/**
|
200
|
+
* Indicate whether the method is collected when the method been called .
|
201
|
+
*
|
202
|
+
* @param {string} scope - The class name of public api
|
203
|
+
* @param {string} methodName - The method name called by the public api
|
204
|
+
* @returns {boolean} A boolean value
|
205
|
+
*/
|
206
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'close',
|
207
|
+
/**
|
208
|
+
* The function checks if the method name is close.
|
209
|
+
*
|
210
|
+
* @returns {boolean} A boolean value
|
211
|
+
*/
|
212
|
+
payloadValue: () => {
|
213
|
+
return true;
|
214
|
+
},
|
215
|
+
},
|
216
|
+
{
|
217
|
+
payloadKey: 'IS_CLOSEALL_METHOD_CALLED',
|
218
|
+
payloadDescription: 'Indicate if the method closeAll of public API VegaNotifyController is called',
|
219
|
+
/**
|
220
|
+
* Indicate whether the method is collected when the method been called .
|
221
|
+
*
|
222
|
+
* @param {string} scope - The class name of public api
|
223
|
+
* @param {string} methodName - The method name called by the public api
|
224
|
+
* @returns {boolean} A boolean value
|
225
|
+
*/
|
226
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'closeAll',
|
227
|
+
/**
|
228
|
+
* The function checks if the method name is closeAll.
|
229
|
+
*
|
230
|
+
* @returns {boolean} A boolean value
|
231
|
+
*/
|
232
|
+
payloadValue: () => {
|
233
|
+
return true;
|
234
|
+
},
|
235
|
+
},
|
236
|
+
];
|
237
|
+
|
238
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
239
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
240
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
241
|
+
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;
|
242
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
243
|
+
};
|
244
|
+
/**
|
245
|
+
* The page notification controller
|
246
|
+
*/
|
247
|
+
class VegaNotifyController {
|
248
|
+
constructor() {
|
249
|
+
this.resizeObserverSlimmer = dynamicSlimmer.createDynamicSlimmer(VegaNotifyController, pageResizeObserverSlimmer.PageResizeObserverSlimmer, [], [{ mapFrom: 'connectResizeObserver', mapTo: 'connectResizeObserver' }], [
|
250
|
+
{
|
251
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
252
|
+
callback: (entries) => {
|
253
|
+
var _a;
|
254
|
+
const currentVisible = entries[0].contentRect.height > 0;
|
255
|
+
if (!currentVisible && ((_a = this.container) === null || _a === void 0 ? void 0 : _a.classList.contains('hydrated'))) {
|
256
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.container, 'top');
|
257
|
+
this.container.remove();
|
258
|
+
this.container = null;
|
259
|
+
}
|
260
|
+
},
|
261
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
262
|
+
target: () => this.container,
|
263
|
+
},
|
264
|
+
]);
|
265
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaNotifyController, ['open', 'close', 'closeAll'], VegaNotifyRuntimeMetricsPayloadDefinition);
|
266
|
+
}
|
267
|
+
/**
|
268
|
+
* It creates a new notification element, adds it to the container, and returns the notification's ID
|
269
|
+
*
|
270
|
+
* @param {VegaNotifyOption} options - VegaNotifyProps
|
271
|
+
* @returns {string} The ID of the notification.
|
272
|
+
* @vegaVersion 1.17.0
|
273
|
+
*/
|
274
|
+
async open(options) {
|
275
|
+
const pageNotification = this.createPageNotification(options);
|
276
|
+
this.getContainer().append(pageNotification);
|
277
|
+
return pageNotification.id;
|
278
|
+
}
|
279
|
+
/**
|
280
|
+
* It closes all notifications
|
281
|
+
*
|
282
|
+
* @vegaVersion 1.17.0
|
283
|
+
*/
|
284
|
+
async closeAll() {
|
285
|
+
this.container &&
|
286
|
+
Array.from(this.container.children).forEach((item) => {
|
287
|
+
void item.close();
|
288
|
+
});
|
289
|
+
}
|
290
|
+
/**
|
291
|
+
* It closes the notification with the given id
|
292
|
+
*
|
293
|
+
* @param {string} id - The id of the notification to close.
|
294
|
+
* @vegaVersion 1.17.0
|
295
|
+
*/
|
296
|
+
async close(id) {
|
297
|
+
await document.getElementById(id).close();
|
298
|
+
}
|
299
|
+
/**
|
300
|
+
* The function "connectResizeObserver" is used to connect a resize observer.
|
301
|
+
*
|
302
|
+
* @vegaVersion 1.17.0
|
303
|
+
*/
|
304
|
+
connectResizeObserver() {
|
305
|
+
}
|
306
|
+
/**
|
307
|
+
* It creates a new page notification element, sets its properties, and returns it
|
308
|
+
*
|
309
|
+
* @param {VegaNotifyOption} props - VegaNotifyProps - the properties of the notification
|
310
|
+
* @returns {HTMLElement} A function that takes in a props object and returns a pageNotification element.
|
311
|
+
*/
|
312
|
+
createPageNotification(props) {
|
313
|
+
const pageNotification = document.createElement('vega-page-notification');
|
314
|
+
Object.keys(props).forEach((propName) => {
|
315
|
+
props[propName] !== undefined && (pageNotification[propName] = props[propName]);
|
316
|
+
});
|
317
|
+
pageNotification.style.marginBottom = ui.getDeviceType() === ui.DeviceType.MOBILE ? '12px' : '16px';
|
318
|
+
pageNotification.id = `vega-page-notification-${misc.generateUUID()}`;
|
319
|
+
return pageNotification;
|
320
|
+
}
|
321
|
+
/**
|
322
|
+
* It creates a div element, sets its z-index to be on top of everything else, adds a class to it, and
|
323
|
+
* then adds it to the body of the page
|
324
|
+
*
|
325
|
+
* @returns {HTMLElement} The container is being returned.
|
326
|
+
*/
|
327
|
+
getContainer() {
|
328
|
+
if (this.container) {
|
329
|
+
return this.container;
|
330
|
+
}
|
331
|
+
this.container = document.createElement('vega-page-notification-list');
|
332
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.setZIndex(this.container, 'top');
|
333
|
+
if (ui.getDeviceType() === ui.DeviceType.MOBILE) {
|
334
|
+
this.container.classList.add('vega-page-notification-list-bottom');
|
335
|
+
}
|
336
|
+
else {
|
337
|
+
this.container.classList.add('vega-page-notification-list-topRight');
|
338
|
+
}
|
339
|
+
document.body.append(this.container);
|
340
|
+
this.connectResizeObserver();
|
341
|
+
return this.container;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
__decorate$5([
|
345
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
346
|
+
], VegaNotifyController.prototype, "resizeObserverSlimmer", void 0);
|
347
|
+
__decorate$5([
|
348
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
349
|
+
], VegaNotifyController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
350
|
+
const VegaNotify = new VegaNotifyController();
|
351
|
+
|
352
|
+
var tinycolor = index.createCommonjsModule(function (module, exports) {
|
353
|
+
// This file is autogenerated. It's used to publish CJS to npm.
|
354
|
+
(function (global, factory) {
|
355
|
+
module.exports = factory() ;
|
356
|
+
})(index.commonjsGlobal, (function () {
|
357
|
+
// https://github.com/bgrins/TinyColor
|
358
|
+
// Brian Grinstead, MIT License
|
359
|
+
|
360
|
+
const trimLeft = /^\s+/;
|
361
|
+
const trimRight = /\s+$/;
|
362
|
+
|
363
|
+
function tinycolor(color, opts) {
|
364
|
+
color = color ? color : "";
|
365
|
+
opts = opts || {};
|
366
|
+
|
367
|
+
// If input is already a tinycolor, return itself
|
368
|
+
if (color instanceof tinycolor) {
|
369
|
+
return color;
|
370
|
+
}
|
371
|
+
// If we are called as a function, call using new instead
|
372
|
+
if (!(this instanceof tinycolor)) {
|
373
|
+
return new tinycolor(color, opts);
|
374
|
+
}
|
375
|
+
|
376
|
+
var rgb = inputToRGB(color);
|
377
|
+
(this._originalInput = color),
|
378
|
+
(this._r = rgb.r),
|
379
|
+
(this._g = rgb.g),
|
380
|
+
(this._b = rgb.b),
|
381
|
+
(this._a = rgb.a),
|
382
|
+
(this._roundA = Math.round(100 * this._a) / 100),
|
383
|
+
(this._format = opts.format || rgb.format);
|
384
|
+
this._gradientType = opts.gradientType;
|
385
|
+
|
386
|
+
// Don't let the range of [0,255] come back in [0,1].
|
387
|
+
// Potentially lose a little bit of precision here, but will fix issues where
|
388
|
+
// .5 gets interpreted as half of the total, instead of half of 1
|
389
|
+
// If it was supposed to be 128, this was already taken care of by `inputToRgb`
|
390
|
+
if (this._r < 1) this._r = Math.round(this._r);
|
391
|
+
if (this._g < 1) this._g = Math.round(this._g);
|
392
|
+
if (this._b < 1) this._b = Math.round(this._b);
|
393
|
+
|
394
|
+
this._ok = rgb.ok;
|
395
|
+
}
|
396
|
+
|
397
|
+
tinycolor.prototype = {
|
398
|
+
isDark: function () {
|
399
|
+
return this.getBrightness() < 128;
|
400
|
+
},
|
401
|
+
isLight: function () {
|
402
|
+
return !this.isDark();
|
403
|
+
},
|
404
|
+
isValid: function () {
|
405
|
+
return this._ok;
|
406
|
+
},
|
407
|
+
getOriginalInput: function () {
|
408
|
+
return this._originalInput;
|
409
|
+
},
|
410
|
+
getFormat: function () {
|
411
|
+
return this._format;
|
412
|
+
},
|
413
|
+
getAlpha: function () {
|
414
|
+
return this._a;
|
415
|
+
},
|
416
|
+
getBrightness: function () {
|
417
|
+
//http://www.w3.org/TR/AERT#color-contrast
|
418
|
+
var rgb = this.toRgb();
|
419
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
|
420
|
+
},
|
421
|
+
getLuminance: function () {
|
422
|
+
//http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
|
423
|
+
var rgb = this.toRgb();
|
424
|
+
var RsRGB, GsRGB, BsRGB, R, G, B;
|
425
|
+
RsRGB = rgb.r / 255;
|
426
|
+
GsRGB = rgb.g / 255;
|
427
|
+
BsRGB = rgb.b / 255;
|
428
|
+
|
429
|
+
if (RsRGB <= 0.03928) R = RsRGB / 12.92;
|
430
|
+
else R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
|
431
|
+
if (GsRGB <= 0.03928) G = GsRGB / 12.92;
|
432
|
+
else G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
|
433
|
+
if (BsRGB <= 0.03928) B = BsRGB / 12.92;
|
434
|
+
else B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
|
435
|
+
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
|
436
|
+
},
|
437
|
+
setAlpha: function (value) {
|
438
|
+
this._a = boundAlpha(value);
|
439
|
+
this._roundA = Math.round(100 * this._a) / 100;
|
440
|
+
return this;
|
441
|
+
},
|
442
|
+
toHsv: function () {
|
443
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
444
|
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
|
445
|
+
},
|
446
|
+
toHsvString: function () {
|
447
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
448
|
+
var h = Math.round(hsv.h * 360),
|
449
|
+
s = Math.round(hsv.s * 100),
|
450
|
+
v = Math.round(hsv.v * 100);
|
451
|
+
return this._a == 1
|
452
|
+
? "hsv(" + h + ", " + s + "%, " + v + "%)"
|
453
|
+
: "hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
|
454
|
+
},
|
455
|
+
toHsl: function () {
|
456
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
457
|
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
|
458
|
+
},
|
459
|
+
toHslString: function () {
|
460
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
461
|
+
var h = Math.round(hsl.h * 360),
|
462
|
+
s = Math.round(hsl.s * 100),
|
463
|
+
l = Math.round(hsl.l * 100);
|
464
|
+
return this._a == 1
|
465
|
+
? "hsl(" + h + ", " + s + "%, " + l + "%)"
|
466
|
+
: "hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
|
467
|
+
},
|
468
|
+
toHex: function (allow3Char) {
|
469
|
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
470
|
+
},
|
471
|
+
toHexString: function (allow3Char) {
|
472
|
+
return "#" + this.toHex(allow3Char);
|
473
|
+
},
|
474
|
+
toHex8: function (allow4Char) {
|
475
|
+
return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
|
476
|
+
},
|
477
|
+
toHex8String: function (allow4Char) {
|
478
|
+
return "#" + this.toHex8(allow4Char);
|
479
|
+
},
|
480
|
+
toRgb: function () {
|
481
|
+
return {
|
482
|
+
r: Math.round(this._r),
|
483
|
+
g: Math.round(this._g),
|
484
|
+
b: Math.round(this._b),
|
485
|
+
a: this._a,
|
486
|
+
};
|
487
|
+
},
|
488
|
+
toRgbString: function () {
|
489
|
+
return this._a == 1
|
490
|
+
? "rgb(" +
|
491
|
+
Math.round(this._r) +
|
492
|
+
", " +
|
493
|
+
Math.round(this._g) +
|
494
|
+
", " +
|
495
|
+
Math.round(this._b) +
|
496
|
+
")"
|
497
|
+
: "rgba(" +
|
498
|
+
Math.round(this._r) +
|
499
|
+
", " +
|
500
|
+
Math.round(this._g) +
|
501
|
+
", " +
|
502
|
+
Math.round(this._b) +
|
503
|
+
", " +
|
504
|
+
this._roundA +
|
505
|
+
")";
|
506
|
+
},
|
507
|
+
toPercentageRgb: function () {
|
508
|
+
return {
|
509
|
+
r: Math.round(bound01(this._r, 255) * 100) + "%",
|
510
|
+
g: Math.round(bound01(this._g, 255) * 100) + "%",
|
511
|
+
b: Math.round(bound01(this._b, 255) * 100) + "%",
|
512
|
+
a: this._a,
|
513
|
+
};
|
514
|
+
},
|
515
|
+
toPercentageRgbString: function () {
|
516
|
+
return this._a == 1
|
517
|
+
? "rgb(" +
|
518
|
+
Math.round(bound01(this._r, 255) * 100) +
|
519
|
+
"%, " +
|
520
|
+
Math.round(bound01(this._g, 255) * 100) +
|
521
|
+
"%, " +
|
522
|
+
Math.round(bound01(this._b, 255) * 100) +
|
523
|
+
"%)"
|
524
|
+
: "rgba(" +
|
525
|
+
Math.round(bound01(this._r, 255) * 100) +
|
526
|
+
"%, " +
|
527
|
+
Math.round(bound01(this._g, 255) * 100) +
|
528
|
+
"%, " +
|
529
|
+
Math.round(bound01(this._b, 255) * 100) +
|
530
|
+
"%, " +
|
531
|
+
this._roundA +
|
532
|
+
")";
|
533
|
+
},
|
534
|
+
toName: function () {
|
535
|
+
if (this._a === 0) {
|
536
|
+
return "transparent";
|
537
|
+
}
|
538
|
+
|
539
|
+
if (this._a < 1) {
|
540
|
+
return false;
|
541
|
+
}
|
542
|
+
|
543
|
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
544
|
+
},
|
545
|
+
toFilter: function (secondColor) {
|
546
|
+
var hex8String = "#" + rgbaToArgbHex(this._r, this._g, this._b, this._a);
|
547
|
+
var secondHex8String = hex8String;
|
548
|
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
549
|
+
|
550
|
+
if (secondColor) {
|
551
|
+
var s = tinycolor(secondColor);
|
552
|
+
secondHex8String = "#" + rgbaToArgbHex(s._r, s._g, s._b, s._a);
|
553
|
+
}
|
554
|
+
|
555
|
+
return (
|
556
|
+
"progid:DXImageTransform.Microsoft.gradient(" +
|
557
|
+
gradientType +
|
558
|
+
"startColorstr=" +
|
559
|
+
hex8String +
|
560
|
+
",endColorstr=" +
|
561
|
+
secondHex8String +
|
562
|
+
")"
|
563
|
+
);
|
564
|
+
},
|
565
|
+
toString: function (format) {
|
566
|
+
var formatSet = !!format;
|
567
|
+
format = format || this._format;
|
568
|
+
|
569
|
+
var formattedString = false;
|
570
|
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
571
|
+
var needsAlphaFormat =
|
572
|
+
!formatSet &&
|
573
|
+
hasAlpha &&
|
574
|
+
(format === "hex" ||
|
575
|
+
format === "hex6" ||
|
576
|
+
format === "hex3" ||
|
577
|
+
format === "hex4" ||
|
578
|
+
format === "hex8" ||
|
579
|
+
format === "name");
|
580
|
+
|
581
|
+
if (needsAlphaFormat) {
|
582
|
+
// Special case for "transparent", all other non-alpha formats
|
583
|
+
// will return rgba when there is transparency.
|
584
|
+
if (format === "name" && this._a === 0) {
|
585
|
+
return this.toName();
|
586
|
+
}
|
587
|
+
return this.toRgbString();
|
588
|
+
}
|
589
|
+
if (format === "rgb") {
|
590
|
+
formattedString = this.toRgbString();
|
591
|
+
}
|
592
|
+
if (format === "prgb") {
|
593
|
+
formattedString = this.toPercentageRgbString();
|
594
|
+
}
|
595
|
+
if (format === "hex" || format === "hex6") {
|
596
|
+
formattedString = this.toHexString();
|
597
|
+
}
|
598
|
+
if (format === "hex3") {
|
599
|
+
formattedString = this.toHexString(true);
|
600
|
+
}
|
601
|
+
if (format === "hex4") {
|
602
|
+
formattedString = this.toHex8String(true);
|
603
|
+
}
|
604
|
+
if (format === "hex8") {
|
605
|
+
formattedString = this.toHex8String();
|
606
|
+
}
|
607
|
+
if (format === "name") {
|
608
|
+
formattedString = this.toName();
|
609
|
+
}
|
610
|
+
if (format === "hsl") {
|
611
|
+
formattedString = this.toHslString();
|
612
|
+
}
|
613
|
+
if (format === "hsv") {
|
614
|
+
formattedString = this.toHsvString();
|
615
|
+
}
|
616
|
+
|
617
|
+
return formattedString || this.toHexString();
|
618
|
+
},
|
619
|
+
clone: function () {
|
620
|
+
return tinycolor(this.toString());
|
621
|
+
},
|
622
|
+
|
623
|
+
_applyModification: function (fn, args) {
|
624
|
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
625
|
+
this._r = color._r;
|
626
|
+
this._g = color._g;
|
627
|
+
this._b = color._b;
|
628
|
+
this.setAlpha(color._a);
|
629
|
+
return this;
|
630
|
+
},
|
631
|
+
lighten: function () {
|
632
|
+
return this._applyModification(lighten, arguments);
|
633
|
+
},
|
634
|
+
brighten: function () {
|
635
|
+
return this._applyModification(brighten, arguments);
|
636
|
+
},
|
637
|
+
darken: function () {
|
638
|
+
return this._applyModification(darken, arguments);
|
639
|
+
},
|
640
|
+
desaturate: function () {
|
641
|
+
return this._applyModification(desaturate, arguments);
|
642
|
+
},
|
643
|
+
saturate: function () {
|
644
|
+
return this._applyModification(saturate, arguments);
|
645
|
+
},
|
646
|
+
greyscale: function () {
|
647
|
+
return this._applyModification(greyscale, arguments);
|
648
|
+
},
|
649
|
+
spin: function () {
|
650
|
+
return this._applyModification(spin, arguments);
|
651
|
+
},
|
652
|
+
|
653
|
+
_applyCombination: function (fn, args) {
|
654
|
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
655
|
+
},
|
656
|
+
analogous: function () {
|
657
|
+
return this._applyCombination(analogous, arguments);
|
658
|
+
},
|
659
|
+
complement: function () {
|
660
|
+
return this._applyCombination(complement, arguments);
|
661
|
+
},
|
662
|
+
monochromatic: function () {
|
663
|
+
return this._applyCombination(monochromatic, arguments);
|
664
|
+
},
|
665
|
+
splitcomplement: function () {
|
666
|
+
return this._applyCombination(splitcomplement, arguments);
|
667
|
+
},
|
668
|
+
// Disabled until https://github.com/bgrins/TinyColor/issues/254
|
669
|
+
// polyad: function (number) {
|
670
|
+
// return this._applyCombination(polyad, [number]);
|
671
|
+
// },
|
672
|
+
triad: function () {
|
673
|
+
return this._applyCombination(polyad, [3]);
|
674
|
+
},
|
675
|
+
tetrad: function () {
|
676
|
+
return this._applyCombination(polyad, [4]);
|
677
|
+
},
|
678
|
+
};
|
679
|
+
|
680
|
+
// If input is an object, force 1 into "1.0" to handle ratios properly
|
681
|
+
// String input requires "1.0" as input, so 1 will be treated as 1
|
682
|
+
tinycolor.fromRatio = function (color, opts) {
|
683
|
+
if (typeof color == "object") {
|
684
|
+
var newColor = {};
|
685
|
+
for (var i in color) {
|
686
|
+
if (color.hasOwnProperty(i)) {
|
687
|
+
if (i === "a") {
|
688
|
+
newColor[i] = color[i];
|
689
|
+
} else {
|
690
|
+
newColor[i] = convertToPercentage(color[i]);
|
691
|
+
}
|
692
|
+
}
|
693
|
+
}
|
694
|
+
color = newColor;
|
695
|
+
}
|
696
|
+
|
697
|
+
return tinycolor(color, opts);
|
698
|
+
};
|
699
|
+
|
700
|
+
// Given a string or object, convert that input to RGB
|
701
|
+
// Possible string inputs:
|
702
|
+
//
|
703
|
+
// "red"
|
704
|
+
// "#f00" or "f00"
|
705
|
+
// "#ff0000" or "ff0000"
|
706
|
+
// "#ff000000" or "ff000000"
|
707
|
+
// "rgb 255 0 0" or "rgb (255, 0, 0)"
|
708
|
+
// "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
709
|
+
// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
710
|
+
// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
711
|
+
// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
712
|
+
// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
713
|
+
// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
714
|
+
//
|
715
|
+
function inputToRGB(color) {
|
716
|
+
var rgb = { r: 0, g: 0, b: 0 };
|
717
|
+
var a = 1;
|
718
|
+
var s = null;
|
719
|
+
var v = null;
|
720
|
+
var l = null;
|
721
|
+
var ok = false;
|
722
|
+
var format = false;
|
723
|
+
|
724
|
+
if (typeof color == "string") {
|
725
|
+
color = stringInputToObject(color);
|
726
|
+
}
|
727
|
+
|
728
|
+
if (typeof color == "object") {
|
729
|
+
if (
|
730
|
+
isValidCSSUnit(color.r) &&
|
731
|
+
isValidCSSUnit(color.g) &&
|
732
|
+
isValidCSSUnit(color.b)
|
733
|
+
) {
|
734
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
735
|
+
ok = true;
|
736
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
737
|
+
} else if (
|
738
|
+
isValidCSSUnit(color.h) &&
|
739
|
+
isValidCSSUnit(color.s) &&
|
740
|
+
isValidCSSUnit(color.v)
|
741
|
+
) {
|
742
|
+
s = convertToPercentage(color.s);
|
743
|
+
v = convertToPercentage(color.v);
|
744
|
+
rgb = hsvToRgb(color.h, s, v);
|
745
|
+
ok = true;
|
746
|
+
format = "hsv";
|
747
|
+
} else if (
|
748
|
+
isValidCSSUnit(color.h) &&
|
749
|
+
isValidCSSUnit(color.s) &&
|
750
|
+
isValidCSSUnit(color.l)
|
751
|
+
) {
|
752
|
+
s = convertToPercentage(color.s);
|
753
|
+
l = convertToPercentage(color.l);
|
754
|
+
rgb = hslToRgb(color.h, s, l);
|
755
|
+
ok = true;
|
756
|
+
format = "hsl";
|
757
|
+
}
|
758
|
+
|
759
|
+
if (color.hasOwnProperty("a")) {
|
760
|
+
a = color.a;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
|
764
|
+
a = boundAlpha(a);
|
765
|
+
|
766
|
+
return {
|
767
|
+
ok: ok,
|
768
|
+
format: color.format || format,
|
769
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
770
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
771
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
772
|
+
a: a,
|
773
|
+
};
|
774
|
+
}
|
775
|
+
|
776
|
+
// Conversion Functions
|
777
|
+
// --------------------
|
778
|
+
|
779
|
+
// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
|
780
|
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
781
|
+
|
782
|
+
// `rgbToRgb`
|
783
|
+
// Handle bounds / percentage checking to conform to CSS color spec
|
784
|
+
// <http://www.w3.org/TR/css3-color/>
|
785
|
+
// *Assumes:* r, g, b in [0, 255] or [0, 1]
|
786
|
+
// *Returns:* { r, g, b } in [0, 255]
|
787
|
+
function rgbToRgb(r, g, b) {
|
788
|
+
return {
|
789
|
+
r: bound01(r, 255) * 255,
|
790
|
+
g: bound01(g, 255) * 255,
|
791
|
+
b: bound01(b, 255) * 255,
|
792
|
+
};
|
793
|
+
}
|
794
|
+
|
795
|
+
// `rgbToHsl`
|
796
|
+
// Converts an RGB color value to HSL.
|
797
|
+
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
|
798
|
+
// *Returns:* { h, s, l } in [0,1]
|
799
|
+
function rgbToHsl(r, g, b) {
|
800
|
+
r = bound01(r, 255);
|
801
|
+
g = bound01(g, 255);
|
802
|
+
b = bound01(b, 255);
|
803
|
+
|
804
|
+
var max = Math.max(r, g, b),
|
805
|
+
min = Math.min(r, g, b);
|
806
|
+
var h,
|
807
|
+
s,
|
808
|
+
l = (max + min) / 2;
|
809
|
+
|
810
|
+
if (max == min) {
|
811
|
+
h = s = 0; // achromatic
|
812
|
+
} else {
|
813
|
+
var d = max - min;
|
814
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
815
|
+
switch (max) {
|
816
|
+
case r:
|
817
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
818
|
+
break;
|
819
|
+
case g:
|
820
|
+
h = (b - r) / d + 2;
|
821
|
+
break;
|
822
|
+
case b:
|
823
|
+
h = (r - g) / d + 4;
|
824
|
+
break;
|
825
|
+
}
|
826
|
+
|
827
|
+
h /= 6;
|
828
|
+
}
|
829
|
+
|
830
|
+
return { h: h, s: s, l: l };
|
831
|
+
}
|
832
|
+
|
833
|
+
// `hslToRgb`
|
834
|
+
// Converts an HSL color value to RGB.
|
835
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
836
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
837
|
+
function hslToRgb(h, s, l) {
|
838
|
+
var r, g, b;
|
839
|
+
|
840
|
+
h = bound01(h, 360);
|
841
|
+
s = bound01(s, 100);
|
842
|
+
l = bound01(l, 100);
|
843
|
+
|
844
|
+
function hue2rgb(p, q, t) {
|
845
|
+
if (t < 0) t += 1;
|
846
|
+
if (t > 1) t -= 1;
|
847
|
+
if (t < 1 / 6) return p + (q - p) * 6 * t;
|
848
|
+
if (t < 1 / 2) return q;
|
849
|
+
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
850
|
+
return p;
|
851
|
+
}
|
852
|
+
|
853
|
+
if (s === 0) {
|
854
|
+
r = g = b = l; // achromatic
|
855
|
+
} else {
|
856
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
857
|
+
var p = 2 * l - q;
|
858
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
859
|
+
g = hue2rgb(p, q, h);
|
860
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
861
|
+
}
|
862
|
+
|
863
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
864
|
+
}
|
865
|
+
|
866
|
+
// `rgbToHsv`
|
867
|
+
// Converts an RGB color value to HSV
|
868
|
+
// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
869
|
+
// *Returns:* { h, s, v } in [0,1]
|
870
|
+
function rgbToHsv(r, g, b) {
|
871
|
+
r = bound01(r, 255);
|
872
|
+
g = bound01(g, 255);
|
873
|
+
b = bound01(b, 255);
|
874
|
+
|
875
|
+
var max = Math.max(r, g, b),
|
876
|
+
min = Math.min(r, g, b);
|
877
|
+
var h,
|
878
|
+
s,
|
879
|
+
v = max;
|
880
|
+
|
881
|
+
var d = max - min;
|
882
|
+
s = max === 0 ? 0 : d / max;
|
883
|
+
|
884
|
+
if (max == min) {
|
885
|
+
h = 0; // achromatic
|
886
|
+
} else {
|
887
|
+
switch (max) {
|
888
|
+
case r:
|
889
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
890
|
+
break;
|
891
|
+
case g:
|
892
|
+
h = (b - r) / d + 2;
|
893
|
+
break;
|
894
|
+
case b:
|
895
|
+
h = (r - g) / d + 4;
|
896
|
+
break;
|
897
|
+
}
|
898
|
+
h /= 6;
|
899
|
+
}
|
900
|
+
return { h: h, s: s, v: v };
|
901
|
+
}
|
902
|
+
|
903
|
+
// `hsvToRgb`
|
904
|
+
// Converts an HSV color value to RGB.
|
905
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
906
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
907
|
+
function hsvToRgb(h, s, v) {
|
908
|
+
h = bound01(h, 360) * 6;
|
909
|
+
s = bound01(s, 100);
|
910
|
+
v = bound01(v, 100);
|
911
|
+
|
912
|
+
var i = Math.floor(h),
|
913
|
+
f = h - i,
|
914
|
+
p = v * (1 - s),
|
915
|
+
q = v * (1 - f * s),
|
916
|
+
t = v * (1 - (1 - f) * s),
|
917
|
+
mod = i % 6,
|
918
|
+
r = [v, q, p, p, t, v][mod],
|
919
|
+
g = [t, v, v, q, p, p][mod],
|
920
|
+
b = [p, p, t, v, v, q][mod];
|
921
|
+
|
922
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
923
|
+
}
|
924
|
+
|
925
|
+
// `rgbToHex`
|
926
|
+
// Converts an RGB color to hex
|
927
|
+
// Assumes r, g, and b are contained in the set [0, 255]
|
928
|
+
// Returns a 3 or 6 character hex
|
929
|
+
function rgbToHex(r, g, b, allow3Char) {
|
930
|
+
var hex = [
|
931
|
+
pad2(Math.round(r).toString(16)),
|
932
|
+
pad2(Math.round(g).toString(16)),
|
933
|
+
pad2(Math.round(b).toString(16)),
|
934
|
+
];
|
935
|
+
|
936
|
+
// Return a 3 character hex if possible
|
937
|
+
if (
|
938
|
+
allow3Char &&
|
939
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
940
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
941
|
+
hex[2].charAt(0) == hex[2].charAt(1)
|
942
|
+
) {
|
943
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
944
|
+
}
|
945
|
+
|
946
|
+
return hex.join("");
|
947
|
+
}
|
948
|
+
|
949
|
+
// `rgbaToHex`
|
950
|
+
// Converts an RGBA color plus alpha transparency to hex
|
951
|
+
// Assumes r, g, b are contained in the set [0, 255] and
|
952
|
+
// a in [0, 1]. Returns a 4 or 8 character rgba hex
|
953
|
+
function rgbaToHex(r, g, b, a, allow4Char) {
|
954
|
+
var hex = [
|
955
|
+
pad2(Math.round(r).toString(16)),
|
956
|
+
pad2(Math.round(g).toString(16)),
|
957
|
+
pad2(Math.round(b).toString(16)),
|
958
|
+
pad2(convertDecimalToHex(a)),
|
959
|
+
];
|
960
|
+
|
961
|
+
// Return a 4 character hex if possible
|
962
|
+
if (
|
963
|
+
allow4Char &&
|
964
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
965
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
966
|
+
hex[2].charAt(0) == hex[2].charAt(1) &&
|
967
|
+
hex[3].charAt(0) == hex[3].charAt(1)
|
968
|
+
) {
|
969
|
+
return (
|
970
|
+
hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0)
|
971
|
+
);
|
972
|
+
}
|
973
|
+
|
974
|
+
return hex.join("");
|
975
|
+
}
|
976
|
+
|
977
|
+
// `rgbaToArgbHex`
|
978
|
+
// Converts an RGBA color to an ARGB Hex8 string
|
979
|
+
// Rarely used, but required for "toFilter()"
|
980
|
+
function rgbaToArgbHex(r, g, b, a) {
|
981
|
+
var hex = [
|
982
|
+
pad2(convertDecimalToHex(a)),
|
983
|
+
pad2(Math.round(r).toString(16)),
|
984
|
+
pad2(Math.round(g).toString(16)),
|
985
|
+
pad2(Math.round(b).toString(16)),
|
986
|
+
];
|
987
|
+
|
988
|
+
return hex.join("");
|
989
|
+
}
|
990
|
+
|
991
|
+
// `equals`
|
992
|
+
// Can be called with any tinycolor input
|
993
|
+
tinycolor.equals = function (color1, color2) {
|
994
|
+
if (!color1 || !color2) return false;
|
995
|
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
996
|
+
};
|
997
|
+
|
998
|
+
tinycolor.random = function () {
|
999
|
+
return tinycolor.fromRatio({
|
1000
|
+
r: Math.random(),
|
1001
|
+
g: Math.random(),
|
1002
|
+
b: Math.random(),
|
1003
|
+
});
|
1004
|
+
};
|
1005
|
+
|
1006
|
+
// Modification Functions
|
1007
|
+
// ----------------------
|
1008
|
+
// Thanks to less.js for some of the basics here
|
1009
|
+
// <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
|
1010
|
+
|
1011
|
+
function desaturate(color, amount) {
|
1012
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1013
|
+
var hsl = tinycolor(color).toHsl();
|
1014
|
+
hsl.s -= amount / 100;
|
1015
|
+
hsl.s = clamp01(hsl.s);
|
1016
|
+
return tinycolor(hsl);
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
function saturate(color, amount) {
|
1020
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1021
|
+
var hsl = tinycolor(color).toHsl();
|
1022
|
+
hsl.s += amount / 100;
|
1023
|
+
hsl.s = clamp01(hsl.s);
|
1024
|
+
return tinycolor(hsl);
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
function greyscale(color) {
|
1028
|
+
return tinycolor(color).desaturate(100);
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
function lighten(color, amount) {
|
1032
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1033
|
+
var hsl = tinycolor(color).toHsl();
|
1034
|
+
hsl.l += amount / 100;
|
1035
|
+
hsl.l = clamp01(hsl.l);
|
1036
|
+
return tinycolor(hsl);
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
function brighten(color, amount) {
|
1040
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1041
|
+
var rgb = tinycolor(color).toRgb();
|
1042
|
+
rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
|
1043
|
+
rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
|
1044
|
+
rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
|
1045
|
+
return tinycolor(rgb);
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
function darken(color, amount) {
|
1049
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1050
|
+
var hsl = tinycolor(color).toHsl();
|
1051
|
+
hsl.l -= amount / 100;
|
1052
|
+
hsl.l = clamp01(hsl.l);
|
1053
|
+
return tinycolor(hsl);
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
1057
|
+
// Values outside of this range will be wrapped into this range.
|
1058
|
+
function spin(color, amount) {
|
1059
|
+
var hsl = tinycolor(color).toHsl();
|
1060
|
+
var hue = (hsl.h + amount) % 360;
|
1061
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
1062
|
+
return tinycolor(hsl);
|
1063
|
+
}
|
1064
|
+
|
1065
|
+
// Combination Functions
|
1066
|
+
// ---------------------
|
1067
|
+
// Thanks to jQuery xColor for some of the ideas behind these
|
1068
|
+
// <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
|
1069
|
+
|
1070
|
+
function complement(color) {
|
1071
|
+
var hsl = tinycolor(color).toHsl();
|
1072
|
+
hsl.h = (hsl.h + 180) % 360;
|
1073
|
+
return tinycolor(hsl);
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
function polyad(color, number) {
|
1077
|
+
if (isNaN(number) || number <= 0) {
|
1078
|
+
throw new Error("Argument to polyad must be a positive number");
|
1079
|
+
}
|
1080
|
+
var hsl = tinycolor(color).toHsl();
|
1081
|
+
var result = [tinycolor(color)];
|
1082
|
+
var step = 360 / number;
|
1083
|
+
for (var i = 1; i < number; i++) {
|
1084
|
+
result.push(tinycolor({ h: (hsl.h + i * step) % 360, s: hsl.s, l: hsl.l }));
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
return result;
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
function splitcomplement(color) {
|
1091
|
+
var hsl = tinycolor(color).toHsl();
|
1092
|
+
var h = hsl.h;
|
1093
|
+
return [
|
1094
|
+
tinycolor(color),
|
1095
|
+
tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
|
1096
|
+
tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),
|
1097
|
+
];
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
function analogous(color, results, slices) {
|
1101
|
+
results = results || 6;
|
1102
|
+
slices = slices || 30;
|
1103
|
+
|
1104
|
+
var hsl = tinycolor(color).toHsl();
|
1105
|
+
var part = 360 / slices;
|
1106
|
+
var ret = [tinycolor(color)];
|
1107
|
+
|
1108
|
+
for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results; ) {
|
1109
|
+
hsl.h = (hsl.h + part) % 360;
|
1110
|
+
ret.push(tinycolor(hsl));
|
1111
|
+
}
|
1112
|
+
return ret;
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
function monochromatic(color, results) {
|
1116
|
+
results = results || 6;
|
1117
|
+
var hsv = tinycolor(color).toHsv();
|
1118
|
+
var h = hsv.h,
|
1119
|
+
s = hsv.s,
|
1120
|
+
v = hsv.v;
|
1121
|
+
var ret = [];
|
1122
|
+
var modification = 1 / results;
|
1123
|
+
|
1124
|
+
while (results--) {
|
1125
|
+
ret.push(tinycolor({ h: h, s: s, v: v }));
|
1126
|
+
v = (v + modification) % 1;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
return ret;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
// Utility Functions
|
1133
|
+
// ---------------------
|
1134
|
+
|
1135
|
+
tinycolor.mix = function (color1, color2, amount) {
|
1136
|
+
amount = amount === 0 ? 0 : amount || 50;
|
1137
|
+
|
1138
|
+
var rgb1 = tinycolor(color1).toRgb();
|
1139
|
+
var rgb2 = tinycolor(color2).toRgb();
|
1140
|
+
|
1141
|
+
var p = amount / 100;
|
1142
|
+
|
1143
|
+
var rgba = {
|
1144
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
1145
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
1146
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b,
|
1147
|
+
a: (rgb2.a - rgb1.a) * p + rgb1.a,
|
1148
|
+
};
|
1149
|
+
|
1150
|
+
return tinycolor(rgba);
|
1151
|
+
};
|
1152
|
+
|
1153
|
+
// Readability Functions
|
1154
|
+
// ---------------------
|
1155
|
+
// <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
|
1156
|
+
|
1157
|
+
// `contrast`
|
1158
|
+
// Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
|
1159
|
+
tinycolor.readability = function (color1, color2) {
|
1160
|
+
var c1 = tinycolor(color1);
|
1161
|
+
var c2 = tinycolor(color2);
|
1162
|
+
return (
|
1163
|
+
(Math.max(c1.getLuminance(), c2.getLuminance()) + 0.05) /
|
1164
|
+
(Math.min(c1.getLuminance(), c2.getLuminance()) + 0.05)
|
1165
|
+
);
|
1166
|
+
};
|
1167
|
+
|
1168
|
+
// `isReadable`
|
1169
|
+
// Ensure that foreground and background color combinations meet WCAG2 guidelines.
|
1170
|
+
// The third argument is an optional Object.
|
1171
|
+
// the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
|
1172
|
+
// the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
|
1173
|
+
// If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
|
1174
|
+
|
1175
|
+
// *Example*
|
1176
|
+
// tinycolor.isReadable("#000", "#111") => false
|
1177
|
+
// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
|
1178
|
+
tinycolor.isReadable = function (color1, color2, wcag2) {
|
1179
|
+
var readability = tinycolor.readability(color1, color2);
|
1180
|
+
var wcag2Parms, out;
|
1181
|
+
|
1182
|
+
out = false;
|
1183
|
+
|
1184
|
+
wcag2Parms = validateWCAG2Parms(wcag2);
|
1185
|
+
switch (wcag2Parms.level + wcag2Parms.size) {
|
1186
|
+
case "AAsmall":
|
1187
|
+
case "AAAlarge":
|
1188
|
+
out = readability >= 4.5;
|
1189
|
+
break;
|
1190
|
+
case "AAlarge":
|
1191
|
+
out = readability >= 3;
|
1192
|
+
break;
|
1193
|
+
case "AAAsmall":
|
1194
|
+
out = readability >= 7;
|
1195
|
+
break;
|
1196
|
+
}
|
1197
|
+
return out;
|
1198
|
+
};
|
1199
|
+
|
1200
|
+
// `mostReadable`
|
1201
|
+
// Given a base color and a list of possible foreground or background
|
1202
|
+
// colors for that base, returns the most readable color.
|
1203
|
+
// Optionally returns Black or White if the most readable color is unreadable.
|
1204
|
+
// *Example*
|
1205
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
|
1206
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
|
1207
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
|
1208
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
|
1209
|
+
tinycolor.mostReadable = function (baseColor, colorList, args) {
|
1210
|
+
var bestColor = null;
|
1211
|
+
var bestScore = 0;
|
1212
|
+
var readability;
|
1213
|
+
var includeFallbackColors, level, size;
|
1214
|
+
args = args || {};
|
1215
|
+
includeFallbackColors = args.includeFallbackColors;
|
1216
|
+
level = args.level;
|
1217
|
+
size = args.size;
|
1218
|
+
|
1219
|
+
for (var i = 0; i < colorList.length; i++) {
|
1220
|
+
readability = tinycolor.readability(baseColor, colorList[i]);
|
1221
|
+
if (readability > bestScore) {
|
1222
|
+
bestScore = readability;
|
1223
|
+
bestColor = tinycolor(colorList[i]);
|
1224
|
+
}
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
if (
|
1228
|
+
tinycolor.isReadable(baseColor, bestColor, {
|
1229
|
+
level: level,
|
1230
|
+
size: size,
|
1231
|
+
}) ||
|
1232
|
+
!includeFallbackColors
|
1233
|
+
) {
|
1234
|
+
return bestColor;
|
1235
|
+
} else {
|
1236
|
+
args.includeFallbackColors = false;
|
1237
|
+
return tinycolor.mostReadable(baseColor, ["#fff", "#000"], args);
|
1238
|
+
}
|
1239
|
+
};
|
1240
|
+
|
1241
|
+
// Big List of Colors
|
1242
|
+
// ------------------
|
1243
|
+
// <https://www.w3.org/TR/css-color-4/#named-colors>
|
1244
|
+
var names = (tinycolor.names = {
|
1245
|
+
aliceblue: "f0f8ff",
|
1246
|
+
antiquewhite: "faebd7",
|
1247
|
+
aqua: "0ff",
|
1248
|
+
aquamarine: "7fffd4",
|
1249
|
+
azure: "f0ffff",
|
1250
|
+
beige: "f5f5dc",
|
1251
|
+
bisque: "ffe4c4",
|
1252
|
+
black: "000",
|
1253
|
+
blanchedalmond: "ffebcd",
|
1254
|
+
blue: "00f",
|
1255
|
+
blueviolet: "8a2be2",
|
1256
|
+
brown: "a52a2a",
|
1257
|
+
burlywood: "deb887",
|
1258
|
+
burntsienna: "ea7e5d",
|
1259
|
+
cadetblue: "5f9ea0",
|
1260
|
+
chartreuse: "7fff00",
|
1261
|
+
chocolate: "d2691e",
|
1262
|
+
coral: "ff7f50",
|
1263
|
+
cornflowerblue: "6495ed",
|
1264
|
+
cornsilk: "fff8dc",
|
1265
|
+
crimson: "dc143c",
|
1266
|
+
cyan: "0ff",
|
1267
|
+
darkblue: "00008b",
|
1268
|
+
darkcyan: "008b8b",
|
1269
|
+
darkgoldenrod: "b8860b",
|
1270
|
+
darkgray: "a9a9a9",
|
1271
|
+
darkgreen: "006400",
|
1272
|
+
darkgrey: "a9a9a9",
|
1273
|
+
darkkhaki: "bdb76b",
|
1274
|
+
darkmagenta: "8b008b",
|
1275
|
+
darkolivegreen: "556b2f",
|
1276
|
+
darkorange: "ff8c00",
|
1277
|
+
darkorchid: "9932cc",
|
1278
|
+
darkred: "8b0000",
|
1279
|
+
darksalmon: "e9967a",
|
1280
|
+
darkseagreen: "8fbc8f",
|
1281
|
+
darkslateblue: "483d8b",
|
1282
|
+
darkslategray: "2f4f4f",
|
1283
|
+
darkslategrey: "2f4f4f",
|
1284
|
+
darkturquoise: "00ced1",
|
1285
|
+
darkviolet: "9400d3",
|
1286
|
+
deeppink: "ff1493",
|
1287
|
+
deepskyblue: "00bfff",
|
1288
|
+
dimgray: "696969",
|
1289
|
+
dimgrey: "696969",
|
1290
|
+
dodgerblue: "1e90ff",
|
1291
|
+
firebrick: "b22222",
|
1292
|
+
floralwhite: "fffaf0",
|
1293
|
+
forestgreen: "228b22",
|
1294
|
+
fuchsia: "f0f",
|
1295
|
+
gainsboro: "dcdcdc",
|
1296
|
+
ghostwhite: "f8f8ff",
|
1297
|
+
gold: "ffd700",
|
1298
|
+
goldenrod: "daa520",
|
1299
|
+
gray: "808080",
|
1300
|
+
green: "008000",
|
1301
|
+
greenyellow: "adff2f",
|
1302
|
+
grey: "808080",
|
1303
|
+
honeydew: "f0fff0",
|
1304
|
+
hotpink: "ff69b4",
|
1305
|
+
indianred: "cd5c5c",
|
1306
|
+
indigo: "4b0082",
|
1307
|
+
ivory: "fffff0",
|
1308
|
+
khaki: "f0e68c",
|
1309
|
+
lavender: "e6e6fa",
|
1310
|
+
lavenderblush: "fff0f5",
|
1311
|
+
lawngreen: "7cfc00",
|
1312
|
+
lemonchiffon: "fffacd",
|
1313
|
+
lightblue: "add8e6",
|
1314
|
+
lightcoral: "f08080",
|
1315
|
+
lightcyan: "e0ffff",
|
1316
|
+
lightgoldenrodyellow: "fafad2",
|
1317
|
+
lightgray: "d3d3d3",
|
1318
|
+
lightgreen: "90ee90",
|
1319
|
+
lightgrey: "d3d3d3",
|
1320
|
+
lightpink: "ffb6c1",
|
1321
|
+
lightsalmon: "ffa07a",
|
1322
|
+
lightseagreen: "20b2aa",
|
1323
|
+
lightskyblue: "87cefa",
|
1324
|
+
lightslategray: "789",
|
1325
|
+
lightslategrey: "789",
|
1326
|
+
lightsteelblue: "b0c4de",
|
1327
|
+
lightyellow: "ffffe0",
|
1328
|
+
lime: "0f0",
|
1329
|
+
limegreen: "32cd32",
|
1330
|
+
linen: "faf0e6",
|
1331
|
+
magenta: "f0f",
|
1332
|
+
maroon: "800000",
|
1333
|
+
mediumaquamarine: "66cdaa",
|
1334
|
+
mediumblue: "0000cd",
|
1335
|
+
mediumorchid: "ba55d3",
|
1336
|
+
mediumpurple: "9370db",
|
1337
|
+
mediumseagreen: "3cb371",
|
1338
|
+
mediumslateblue: "7b68ee",
|
1339
|
+
mediumspringgreen: "00fa9a",
|
1340
|
+
mediumturquoise: "48d1cc",
|
1341
|
+
mediumvioletred: "c71585",
|
1342
|
+
midnightblue: "191970",
|
1343
|
+
mintcream: "f5fffa",
|
1344
|
+
mistyrose: "ffe4e1",
|
1345
|
+
moccasin: "ffe4b5",
|
1346
|
+
navajowhite: "ffdead",
|
1347
|
+
navy: "000080",
|
1348
|
+
oldlace: "fdf5e6",
|
1349
|
+
olive: "808000",
|
1350
|
+
olivedrab: "6b8e23",
|
1351
|
+
orange: "ffa500",
|
1352
|
+
orangered: "ff4500",
|
1353
|
+
orchid: "da70d6",
|
1354
|
+
palegoldenrod: "eee8aa",
|
1355
|
+
palegreen: "98fb98",
|
1356
|
+
paleturquoise: "afeeee",
|
1357
|
+
palevioletred: "db7093",
|
1358
|
+
papayawhip: "ffefd5",
|
1359
|
+
peachpuff: "ffdab9",
|
1360
|
+
peru: "cd853f",
|
1361
|
+
pink: "ffc0cb",
|
1362
|
+
plum: "dda0dd",
|
1363
|
+
powderblue: "b0e0e6",
|
1364
|
+
purple: "800080",
|
1365
|
+
rebeccapurple: "663399",
|
1366
|
+
red: "f00",
|
1367
|
+
rosybrown: "bc8f8f",
|
1368
|
+
royalblue: "4169e1",
|
1369
|
+
saddlebrown: "8b4513",
|
1370
|
+
salmon: "fa8072",
|
1371
|
+
sandybrown: "f4a460",
|
1372
|
+
seagreen: "2e8b57",
|
1373
|
+
seashell: "fff5ee",
|
1374
|
+
sienna: "a0522d",
|
1375
|
+
silver: "c0c0c0",
|
1376
|
+
skyblue: "87ceeb",
|
1377
|
+
slateblue: "6a5acd",
|
1378
|
+
slategray: "708090",
|
1379
|
+
slategrey: "708090",
|
1380
|
+
snow: "fffafa",
|
1381
|
+
springgreen: "00ff7f",
|
1382
|
+
steelblue: "4682b4",
|
1383
|
+
tan: "d2b48c",
|
1384
|
+
teal: "008080",
|
1385
|
+
thistle: "d8bfd8",
|
1386
|
+
tomato: "ff6347",
|
1387
|
+
turquoise: "40e0d0",
|
1388
|
+
violet: "ee82ee",
|
1389
|
+
wheat: "f5deb3",
|
1390
|
+
white: "fff",
|
1391
|
+
whitesmoke: "f5f5f5",
|
1392
|
+
yellow: "ff0",
|
1393
|
+
yellowgreen: "9acd32",
|
1394
|
+
});
|
1395
|
+
|
1396
|
+
// Make it easy to access colors via `hexNames[hex]`
|
1397
|
+
var hexNames = (tinycolor.hexNames = flip(names));
|
1398
|
+
|
1399
|
+
// Utilities
|
1400
|
+
// ---------
|
1401
|
+
|
1402
|
+
// `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
|
1403
|
+
function flip(o) {
|
1404
|
+
var flipped = {};
|
1405
|
+
for (var i in o) {
|
1406
|
+
if (o.hasOwnProperty(i)) {
|
1407
|
+
flipped[o[i]] = i;
|
1408
|
+
}
|
1409
|
+
}
|
1410
|
+
return flipped;
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
// Return a valid alpha value [0,1] with all invalid values being set to 1
|
1414
|
+
function boundAlpha(a) {
|
1415
|
+
a = parseFloat(a);
|
1416
|
+
|
1417
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
1418
|
+
a = 1;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
return a;
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
// Take input from [0, n] and return it as [0, 1]
|
1425
|
+
function bound01(n, max) {
|
1426
|
+
if (isOnePointZero(n)) n = "100%";
|
1427
|
+
|
1428
|
+
var processPercent = isPercentage(n);
|
1429
|
+
n = Math.min(max, Math.max(0, parseFloat(n)));
|
1430
|
+
|
1431
|
+
// Automatically convert percentage into number
|
1432
|
+
if (processPercent) {
|
1433
|
+
n = parseInt(n * max, 10) / 100;
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
// Handle floating point rounding errors
|
1437
|
+
if (Math.abs(n - max) < 0.000001) {
|
1438
|
+
return 1;
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
// Convert into [0, 1] range if it isn't already
|
1442
|
+
return (n % max) / parseFloat(max);
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
// Force a number between 0 and 1
|
1446
|
+
function clamp01(val) {
|
1447
|
+
return Math.min(1, Math.max(0, val));
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
// Parse a base-16 hex value into a base-10 integer
|
1451
|
+
function parseIntFromHex(val) {
|
1452
|
+
return parseInt(val, 16);
|
1453
|
+
}
|
1454
|
+
|
1455
|
+
// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
1456
|
+
// <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
1457
|
+
function isOnePointZero(n) {
|
1458
|
+
return typeof n == "string" && n.indexOf(".") != -1 && parseFloat(n) === 1;
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
// Check to see if string passed in is a percentage
|
1462
|
+
function isPercentage(n) {
|
1463
|
+
return typeof n === "string" && n.indexOf("%") != -1;
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
// Force a hex value to have 2 characters
|
1467
|
+
function pad2(c) {
|
1468
|
+
return c.length == 1 ? "0" + c : "" + c;
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
// Replace a decimal with it's percentage value
|
1472
|
+
function convertToPercentage(n) {
|
1473
|
+
if (n <= 1) {
|
1474
|
+
n = n * 100 + "%";
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
return n;
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
// Converts a decimal to a hex value
|
1481
|
+
function convertDecimalToHex(d) {
|
1482
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
1483
|
+
}
|
1484
|
+
// Converts a hex value to a decimal
|
1485
|
+
function convertHexToDecimal(h) {
|
1486
|
+
return parseIntFromHex(h) / 255;
|
1487
|
+
}
|
1488
|
+
|
1489
|
+
var matchers = (function () {
|
1490
|
+
// <http://www.w3.org/TR/css3-values/#integers>
|
1491
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
1492
|
+
|
1493
|
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
1494
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
1495
|
+
|
1496
|
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
1497
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
1498
|
+
|
1499
|
+
// Actual matching.
|
1500
|
+
// Parentheses and commas are optional, but not required.
|
1501
|
+
// Whitespace can take the place of commas or opening paren
|
1502
|
+
var PERMISSIVE_MATCH3 =
|
1503
|
+
"[\\s|\\(]+(" +
|
1504
|
+
CSS_UNIT +
|
1505
|
+
")[,|\\s]+(" +
|
1506
|
+
CSS_UNIT +
|
1507
|
+
")[,|\\s]+(" +
|
1508
|
+
CSS_UNIT +
|
1509
|
+
")\\s*\\)?";
|
1510
|
+
var PERMISSIVE_MATCH4 =
|
1511
|
+
"[\\s|\\(]+(" +
|
1512
|
+
CSS_UNIT +
|
1513
|
+
")[,|\\s]+(" +
|
1514
|
+
CSS_UNIT +
|
1515
|
+
")[,|\\s]+(" +
|
1516
|
+
CSS_UNIT +
|
1517
|
+
")[,|\\s]+(" +
|
1518
|
+
CSS_UNIT +
|
1519
|
+
")\\s*\\)?";
|
1520
|
+
|
1521
|
+
return {
|
1522
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
1523
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
1524
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
1525
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
1526
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
1527
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
1528
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
1529
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1530
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1531
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1532
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1533
|
+
};
|
1534
|
+
})();
|
1535
|
+
|
1536
|
+
// `isValidCSSUnit`
|
1537
|
+
// Take in a single string / number and check to see if it looks like a CSS unit
|
1538
|
+
// (see `matchers` above for definition).
|
1539
|
+
function isValidCSSUnit(color) {
|
1540
|
+
return !!matchers.CSS_UNIT.exec(color);
|
1541
|
+
}
|
1542
|
+
|
1543
|
+
// `stringInputToObject`
|
1544
|
+
// Permissive string parsing. Take in a number of formats, and output an object
|
1545
|
+
// based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
|
1546
|
+
function stringInputToObject(color) {
|
1547
|
+
color = color.replace(trimLeft, "").replace(trimRight, "").toLowerCase();
|
1548
|
+
var named = false;
|
1549
|
+
if (names[color]) {
|
1550
|
+
color = names[color];
|
1551
|
+
named = true;
|
1552
|
+
} else if (color == "transparent") {
|
1553
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
// Try to match string input using regular expressions.
|
1557
|
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
1558
|
+
// Just return an object and let the conversion functions handle that.
|
1559
|
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
1560
|
+
var match;
|
1561
|
+
if ((match = matchers.rgb.exec(color))) {
|
1562
|
+
return { r: match[1], g: match[2], b: match[3] };
|
1563
|
+
}
|
1564
|
+
if ((match = matchers.rgba.exec(color))) {
|
1565
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
1566
|
+
}
|
1567
|
+
if ((match = matchers.hsl.exec(color))) {
|
1568
|
+
return { h: match[1], s: match[2], l: match[3] };
|
1569
|
+
}
|
1570
|
+
if ((match = matchers.hsla.exec(color))) {
|
1571
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
1572
|
+
}
|
1573
|
+
if ((match = matchers.hsv.exec(color))) {
|
1574
|
+
return { h: match[1], s: match[2], v: match[3] };
|
1575
|
+
}
|
1576
|
+
if ((match = matchers.hsva.exec(color))) {
|
1577
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
1578
|
+
}
|
1579
|
+
if ((match = matchers.hex8.exec(color))) {
|
1580
|
+
return {
|
1581
|
+
r: parseIntFromHex(match[1]),
|
1582
|
+
g: parseIntFromHex(match[2]),
|
1583
|
+
b: parseIntFromHex(match[3]),
|
1584
|
+
a: convertHexToDecimal(match[4]),
|
1585
|
+
format: named ? "name" : "hex8",
|
1586
|
+
};
|
1587
|
+
}
|
1588
|
+
if ((match = matchers.hex6.exec(color))) {
|
1589
|
+
return {
|
1590
|
+
r: parseIntFromHex(match[1]),
|
1591
|
+
g: parseIntFromHex(match[2]),
|
1592
|
+
b: parseIntFromHex(match[3]),
|
1593
|
+
format: named ? "name" : "hex",
|
1594
|
+
};
|
1595
|
+
}
|
1596
|
+
if ((match = matchers.hex4.exec(color))) {
|
1597
|
+
return {
|
1598
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1599
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1600
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1601
|
+
a: convertHexToDecimal(match[4] + "" + match[4]),
|
1602
|
+
format: named ? "name" : "hex8",
|
1603
|
+
};
|
1604
|
+
}
|
1605
|
+
if ((match = matchers.hex3.exec(color))) {
|
1606
|
+
return {
|
1607
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1608
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1609
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1610
|
+
format: named ? "name" : "hex",
|
1611
|
+
};
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
return false;
|
1615
|
+
}
|
1616
|
+
|
1617
|
+
function validateWCAG2Parms(parms) {
|
1618
|
+
// return valid WCAG2 parms for isReadable.
|
1619
|
+
// If input parms are invalid, return {"level":"AA", "size":"small"}
|
1620
|
+
var level, size;
|
1621
|
+
parms = parms || { level: "AA", size: "small" };
|
1622
|
+
level = (parms.level || "AA").toUpperCase();
|
1623
|
+
size = (parms.size || "small").toLowerCase();
|
1624
|
+
if (level !== "AA" && level !== "AAA") {
|
1625
|
+
level = "AA";
|
1626
|
+
}
|
1627
|
+
if (size !== "small" && size !== "large") {
|
1628
|
+
size = "small";
|
1629
|
+
}
|
1630
|
+
return { level: level, size: size };
|
1631
|
+
}
|
1632
|
+
|
1633
|
+
return tinycolor;
|
1634
|
+
|
1635
|
+
}));
|
1636
|
+
});
|
1637
|
+
|
1638
|
+
const formatValue$2 = (tinyColor) => {
|
1639
|
+
if (!tinyColor) {
|
1640
|
+
return '';
|
1641
|
+
}
|
1642
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
1643
|
+
return `${r} ${g} ${b} / ${a}`;
|
1644
|
+
};
|
1645
|
+
const OverridableColorTokens = [
|
1646
|
+
{
|
1647
|
+
name: 'bg-action',
|
1648
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1649
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1650
|
+
if (!overrideBaseColor) {
|
1651
|
+
return '';
|
1652
|
+
}
|
1653
|
+
const baseColor = overrideBaseColor
|
1654
|
+
? tinycolor(overrideBaseColor)
|
1655
|
+
: undefined;
|
1656
|
+
let value = baseColor
|
1657
|
+
? baseColor.clone()
|
1658
|
+
: undefined;
|
1659
|
+
return formatValue$2(value);
|
1660
|
+
},
|
1661
|
+
},
|
1662
|
+
{
|
1663
|
+
name: 'dark-bg-action',
|
1664
|
+
},
|
1665
|
+
{
|
1666
|
+
name: 'bg-action-hover',
|
1667
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1668
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1669
|
+
if (!overrideBaseColor) {
|
1670
|
+
return '';
|
1671
|
+
}
|
1672
|
+
const baseColor = overrideBaseColor
|
1673
|
+
? tinycolor(overrideBaseColor)
|
1674
|
+
: undefined;
|
1675
|
+
let value = baseColor
|
1676
|
+
? baseColor.clone()
|
1677
|
+
: undefined;
|
1678
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1679
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1680
|
+
}
|
1681
|
+
else {
|
1682
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1683
|
+
}
|
1684
|
+
return formatValue$2(value);
|
1685
|
+
},
|
1686
|
+
},
|
1687
|
+
{
|
1688
|
+
name: 'dark-bg-action-hover',
|
1689
|
+
},
|
1690
|
+
{
|
1691
|
+
name: 'bg-action-focus',
|
1692
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1693
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1694
|
+
if (!overrideBaseColor) {
|
1695
|
+
return '';
|
1696
|
+
}
|
1697
|
+
const baseColor = overrideBaseColor
|
1698
|
+
? tinycolor(overrideBaseColor)
|
1699
|
+
: undefined;
|
1700
|
+
let value = baseColor
|
1701
|
+
? baseColor.clone()
|
1702
|
+
: undefined;
|
1703
|
+
return formatValue$2(value);
|
1704
|
+
},
|
1705
|
+
},
|
1706
|
+
{
|
1707
|
+
name: 'dark-bg-action-focus',
|
1708
|
+
},
|
1709
|
+
{
|
1710
|
+
name: 'bg-action-active',
|
1711
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1712
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1713
|
+
if (!overrideBaseColor) {
|
1714
|
+
return '';
|
1715
|
+
}
|
1716
|
+
const baseColor = overrideBaseColor
|
1717
|
+
? tinycolor(overrideBaseColor)
|
1718
|
+
: undefined;
|
1719
|
+
let value = baseColor
|
1720
|
+
? baseColor.clone()
|
1721
|
+
: undefined;
|
1722
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1723
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
1724
|
+
}
|
1725
|
+
else {
|
1726
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
1727
|
+
}
|
1728
|
+
return formatValue$2(value);
|
1729
|
+
},
|
1730
|
+
},
|
1731
|
+
{
|
1732
|
+
name: 'dark-bg-action-active',
|
1733
|
+
},
|
1734
|
+
{
|
1735
|
+
name: 'bg-action-secondary-hover',
|
1736
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1737
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1738
|
+
if (!overrideBaseColor) {
|
1739
|
+
return '';
|
1740
|
+
}
|
1741
|
+
const baseColor = overrideBaseColor
|
1742
|
+
? tinycolor(overrideBaseColor)
|
1743
|
+
: undefined;
|
1744
|
+
let value = baseColor
|
1745
|
+
? baseColor.clone()
|
1746
|
+
: undefined;
|
1747
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1748
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1749
|
+
}
|
1750
|
+
else {
|
1751
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1752
|
+
}
|
1753
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1754
|
+
return formatValue$2(value);
|
1755
|
+
},
|
1756
|
+
},
|
1757
|
+
{
|
1758
|
+
name: 'dark-bg-action-secondary-hover',
|
1759
|
+
},
|
1760
|
+
{
|
1761
|
+
name: 'bg-action-secondary-active',
|
1762
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1763
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1764
|
+
if (!overrideBaseColor) {
|
1765
|
+
return '';
|
1766
|
+
}
|
1767
|
+
const baseColor = overrideBaseColor
|
1768
|
+
? tinycolor(overrideBaseColor)
|
1769
|
+
: undefined;
|
1770
|
+
let value = baseColor
|
1771
|
+
? baseColor.clone()
|
1772
|
+
: undefined;
|
1773
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1774
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
1775
|
+
}
|
1776
|
+
else {
|
1777
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-20);
|
1778
|
+
}
|
1779
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1780
|
+
return formatValue$2(value);
|
1781
|
+
},
|
1782
|
+
},
|
1783
|
+
{
|
1784
|
+
name: 'dark-bg-action-secondary-active',
|
1785
|
+
},
|
1786
|
+
{
|
1787
|
+
name: 'bg-divider',
|
1788
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1789
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1790
|
+
if (!overrideBaseColor) {
|
1791
|
+
return '';
|
1792
|
+
}
|
1793
|
+
const baseColor = overrideBaseColor
|
1794
|
+
? tinycolor(overrideBaseColor)
|
1795
|
+
: undefined;
|
1796
|
+
let value = baseColor
|
1797
|
+
? baseColor.clone()
|
1798
|
+
: undefined;
|
1799
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
1800
|
+
return formatValue$2(value);
|
1801
|
+
},
|
1802
|
+
},
|
1803
|
+
{
|
1804
|
+
name: 'dark-bg-divider',
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
name: 'bg-keypad-btn-active',
|
1808
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1809
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1810
|
+
if (!overrideBaseColor) {
|
1811
|
+
return '';
|
1812
|
+
}
|
1813
|
+
const baseColor = overrideBaseColor
|
1814
|
+
? tinycolor(overrideBaseColor)
|
1815
|
+
: undefined;
|
1816
|
+
let value = baseColor
|
1817
|
+
? baseColor.clone()
|
1818
|
+
: undefined;
|
1819
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.3);
|
1820
|
+
return formatValue$2(value);
|
1821
|
+
},
|
1822
|
+
},
|
1823
|
+
{
|
1824
|
+
name: 'dark-bg-keypad-btn-active',
|
1825
|
+
},
|
1826
|
+
{
|
1827
|
+
name: 'bg-selected',
|
1828
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1829
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1830
|
+
if (!overrideBaseColor) {
|
1831
|
+
return '';
|
1832
|
+
}
|
1833
|
+
const baseColor = overrideBaseColor
|
1834
|
+
? tinycolor(overrideBaseColor)
|
1835
|
+
: undefined;
|
1836
|
+
let value = baseColor
|
1837
|
+
? baseColor.clone()
|
1838
|
+
: undefined;
|
1839
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1840
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1841
|
+
}
|
1842
|
+
else {
|
1843
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1844
|
+
}
|
1845
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
1846
|
+
return formatValue$2(value);
|
1847
|
+
},
|
1848
|
+
},
|
1849
|
+
{
|
1850
|
+
name: 'dark-bg-selected',
|
1851
|
+
},
|
1852
|
+
{
|
1853
|
+
name: 'bg-sidebar',
|
1854
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1855
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1856
|
+
if (!overrideBaseColor) {
|
1857
|
+
return '';
|
1858
|
+
}
|
1859
|
+
const baseColor = overrideBaseColor
|
1860
|
+
? tinycolor(overrideBaseColor)
|
1861
|
+
: undefined;
|
1862
|
+
let value = baseColor
|
1863
|
+
? baseColor.clone()
|
1864
|
+
: undefined;
|
1865
|
+
return formatValue$2(value);
|
1866
|
+
},
|
1867
|
+
},
|
1868
|
+
{
|
1869
|
+
name: 'dark-bg-sidebar',
|
1870
|
+
},
|
1871
|
+
{
|
1872
|
+
name: 'bg-sidebar-item-hover',
|
1873
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1874
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1875
|
+
if (!overrideBaseColor) {
|
1876
|
+
return '';
|
1877
|
+
}
|
1878
|
+
const baseColor = overrideBaseColor
|
1879
|
+
? tinycolor(overrideBaseColor)
|
1880
|
+
: undefined;
|
1881
|
+
let value = baseColor
|
1882
|
+
? baseColor.clone()
|
1883
|
+
: undefined;
|
1884
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1885
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
1886
|
+
}
|
1887
|
+
else {
|
1888
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
1889
|
+
}
|
1890
|
+
return formatValue$2(value);
|
1891
|
+
},
|
1892
|
+
},
|
1893
|
+
{
|
1894
|
+
name: 'dark-bg-sidebar-item-hover',
|
1895
|
+
},
|
1896
|
+
{
|
1897
|
+
name: 'bg-sidebar-item-selected',
|
1898
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1899
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1900
|
+
if (!overrideBaseColor) {
|
1901
|
+
return '';
|
1902
|
+
}
|
1903
|
+
const baseColor = overrideBaseColor
|
1904
|
+
? tinycolor(overrideBaseColor)
|
1905
|
+
: undefined;
|
1906
|
+
let value = baseColor
|
1907
|
+
? baseColor.clone()
|
1908
|
+
: undefined;
|
1909
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
1910
|
+
return formatValue$2(value);
|
1911
|
+
},
|
1912
|
+
},
|
1913
|
+
{
|
1914
|
+
name: 'dark-bg-sidebar-item-selected',
|
1915
|
+
},
|
1916
|
+
{
|
1917
|
+
name: 'bg-table-selected-row',
|
1918
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1919
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1920
|
+
if (!overrideBaseColor) {
|
1921
|
+
return '';
|
1922
|
+
}
|
1923
|
+
const baseColor = overrideBaseColor
|
1924
|
+
? tinycolor(overrideBaseColor)
|
1925
|
+
: undefined;
|
1926
|
+
let value = baseColor
|
1927
|
+
? baseColor.clone()
|
1928
|
+
: undefined;
|
1929
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.2);
|
1930
|
+
return formatValue$2(value);
|
1931
|
+
},
|
1932
|
+
},
|
1933
|
+
{
|
1934
|
+
name: 'dark-bg-table-selected-row',
|
1935
|
+
},
|
1936
|
+
{
|
1937
|
+
name: 'bg-toggle-switch-selected-disabled',
|
1938
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1939
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1940
|
+
if (!overrideBaseColor) {
|
1941
|
+
return '';
|
1942
|
+
}
|
1943
|
+
const baseColor = overrideBaseColor
|
1944
|
+
? tinycolor(overrideBaseColor)
|
1945
|
+
: undefined;
|
1946
|
+
let value = baseColor
|
1947
|
+
? baseColor.clone()
|
1948
|
+
: undefined;
|
1949
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.5);
|
1950
|
+
return formatValue$2(value);
|
1951
|
+
},
|
1952
|
+
},
|
1953
|
+
{
|
1954
|
+
name: 'dark-bg-toggle-switch-selected-disabled',
|
1955
|
+
},
|
1956
|
+
{
|
1957
|
+
name: 'bg-date-picker-range',
|
1958
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1959
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1960
|
+
if (!overrideBaseColor) {
|
1961
|
+
return '';
|
1962
|
+
}
|
1963
|
+
const baseColor = overrideBaseColor
|
1964
|
+
? tinycolor(overrideBaseColor)
|
1965
|
+
: undefined;
|
1966
|
+
let value = baseColor
|
1967
|
+
? baseColor.clone()
|
1968
|
+
: undefined;
|
1969
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1970
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1971
|
+
}
|
1972
|
+
else {
|
1973
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1974
|
+
}
|
1975
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1976
|
+
return formatValue$2(value);
|
1977
|
+
},
|
1978
|
+
},
|
1979
|
+
{
|
1980
|
+
name: 'dark-bg-date-picker-range',
|
1981
|
+
},
|
1982
|
+
{
|
1983
|
+
name: 'text-link',
|
1984
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1985
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1986
|
+
if (!overrideBaseColor) {
|
1987
|
+
return '';
|
1988
|
+
}
|
1989
|
+
const baseColor = overrideBaseColor
|
1990
|
+
? tinycolor(overrideBaseColor)
|
1991
|
+
: undefined;
|
1992
|
+
let value = baseColor
|
1993
|
+
? baseColor.clone()
|
1994
|
+
: undefined;
|
1995
|
+
return formatValue$2(value);
|
1996
|
+
},
|
1997
|
+
},
|
1998
|
+
{
|
1999
|
+
name: 'dark-text-link',
|
2000
|
+
},
|
2001
|
+
{
|
2002
|
+
name: 'text-link-hover',
|
2003
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2004
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2005
|
+
if (!overrideBaseColor) {
|
2006
|
+
return '';
|
2007
|
+
}
|
2008
|
+
const baseColor = overrideBaseColor
|
2009
|
+
? tinycolor(overrideBaseColor)
|
2010
|
+
: undefined;
|
2011
|
+
let value = baseColor
|
2012
|
+
? baseColor.clone()
|
2013
|
+
: undefined;
|
2014
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2015
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2016
|
+
}
|
2017
|
+
else {
|
2018
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2019
|
+
}
|
2020
|
+
return formatValue$2(value);
|
2021
|
+
},
|
2022
|
+
},
|
2023
|
+
{
|
2024
|
+
name: 'dark-text-link-hover',
|
2025
|
+
},
|
2026
|
+
{
|
2027
|
+
name: 'text-link-active',
|
2028
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2029
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2030
|
+
if (!overrideBaseColor) {
|
2031
|
+
return '';
|
2032
|
+
}
|
2033
|
+
const baseColor = overrideBaseColor
|
2034
|
+
? tinycolor(overrideBaseColor)
|
2035
|
+
: undefined;
|
2036
|
+
let value = baseColor
|
2037
|
+
? baseColor.clone()
|
2038
|
+
: undefined;
|
2039
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2040
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2041
|
+
}
|
2042
|
+
else {
|
2043
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2044
|
+
}
|
2045
|
+
return formatValue$2(value);
|
2046
|
+
},
|
2047
|
+
},
|
2048
|
+
{
|
2049
|
+
name: 'dark-text-link-active',
|
2050
|
+
},
|
2051
|
+
{
|
2052
|
+
name: 'text-link-focus',
|
2053
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2054
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2055
|
+
if (!overrideBaseColor) {
|
2056
|
+
return '';
|
2057
|
+
}
|
2058
|
+
const baseColor = overrideBaseColor
|
2059
|
+
? tinycolor(overrideBaseColor)
|
2060
|
+
: undefined;
|
2061
|
+
let value = baseColor
|
2062
|
+
? baseColor.clone()
|
2063
|
+
: undefined;
|
2064
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2065
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2066
|
+
}
|
2067
|
+
else {
|
2068
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2069
|
+
}
|
2070
|
+
return formatValue$2(value);
|
2071
|
+
},
|
2072
|
+
},
|
2073
|
+
{
|
2074
|
+
name: 'dark-text-link-focus',
|
2075
|
+
},
|
2076
|
+
{
|
2077
|
+
name: 'text-link-visited',
|
2078
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2079
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2080
|
+
if (!overrideBaseColor) {
|
2081
|
+
return '';
|
2082
|
+
}
|
2083
|
+
const baseColor = overrideBaseColor
|
2084
|
+
? tinycolor(overrideBaseColor)
|
2085
|
+
: undefined;
|
2086
|
+
let value = baseColor
|
2087
|
+
? baseColor.clone()
|
2088
|
+
: undefined;
|
2089
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2090
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
2091
|
+
}
|
2092
|
+
else {
|
2093
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-22);
|
2094
|
+
}
|
2095
|
+
return formatValue$2(value);
|
2096
|
+
},
|
2097
|
+
},
|
2098
|
+
{
|
2099
|
+
name: 'dark-text-link-visited',
|
2100
|
+
},
|
2101
|
+
{
|
2102
|
+
name: 'text-sidebar-link',
|
2103
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2104
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2105
|
+
if (!overrideBaseColor) {
|
2106
|
+
return '';
|
2107
|
+
}
|
2108
|
+
const baseColor = overrideBaseColor
|
2109
|
+
? tinycolor(overrideBaseColor)
|
2110
|
+
: undefined;
|
2111
|
+
let value = baseColor
|
2112
|
+
? baseColor.clone()
|
2113
|
+
: undefined;
|
2114
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2115
|
+
value = tinycolor({ a: 0.9, b: 255, r: 255, g: 255 });
|
2116
|
+
}
|
2117
|
+
else {
|
2118
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2119
|
+
}
|
2120
|
+
return formatValue$2(value);
|
2121
|
+
},
|
2122
|
+
},
|
2123
|
+
{
|
2124
|
+
name: 'dark-text-sidebar-link',
|
2125
|
+
},
|
2126
|
+
{
|
2127
|
+
name: 'text-sidebar-link-hover',
|
2128
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2129
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2130
|
+
if (!overrideBaseColor) {
|
2131
|
+
return '';
|
2132
|
+
}
|
2133
|
+
const baseColor = overrideBaseColor
|
2134
|
+
? tinycolor(overrideBaseColor)
|
2135
|
+
: undefined;
|
2136
|
+
let value = baseColor
|
2137
|
+
? baseColor.clone()
|
2138
|
+
: undefined;
|
2139
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2140
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
2141
|
+
}
|
2142
|
+
else {
|
2143
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2144
|
+
}
|
2145
|
+
return formatValue$2(value);
|
2146
|
+
},
|
2147
|
+
},
|
2148
|
+
{
|
2149
|
+
name: 'dark-text-sidebar-link-hover',
|
2150
|
+
},
|
2151
|
+
{
|
2152
|
+
name: 'text-sidebar-link-selected',
|
2153
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2154
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2155
|
+
if (!overrideBaseColor) {
|
2156
|
+
return '';
|
2157
|
+
}
|
2158
|
+
const baseColor = overrideBaseColor
|
2159
|
+
? tinycolor(overrideBaseColor)
|
2160
|
+
: undefined;
|
2161
|
+
let value = baseColor
|
2162
|
+
? baseColor.clone()
|
2163
|
+
: undefined;
|
2164
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2165
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2166
|
+
}
|
2167
|
+
else {
|
2168
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2169
|
+
}
|
2170
|
+
return formatValue$2(value);
|
2171
|
+
},
|
2172
|
+
},
|
2173
|
+
{
|
2174
|
+
name: 'dark-text-sidebar-link-selected',
|
2175
|
+
},
|
2176
|
+
{
|
2177
|
+
name: 'border-color-action',
|
2178
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2179
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2180
|
+
if (!overrideBaseColor) {
|
2181
|
+
return '';
|
2182
|
+
}
|
2183
|
+
const baseColor = overrideBaseColor
|
2184
|
+
? tinycolor(overrideBaseColor)
|
2185
|
+
: undefined;
|
2186
|
+
let value = baseColor
|
2187
|
+
? baseColor.clone()
|
2188
|
+
: undefined;
|
2189
|
+
return formatValue$2(value);
|
2190
|
+
},
|
2191
|
+
},
|
2192
|
+
{
|
2193
|
+
name: 'dark-border-color-action',
|
2194
|
+
},
|
2195
|
+
{
|
2196
|
+
name: 'border-color-action-hover',
|
2197
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2198
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2199
|
+
if (!overrideBaseColor) {
|
2200
|
+
return '';
|
2201
|
+
}
|
2202
|
+
const baseColor = overrideBaseColor
|
2203
|
+
? tinycolor(overrideBaseColor)
|
2204
|
+
: undefined;
|
2205
|
+
let value = baseColor
|
2206
|
+
? baseColor.clone()
|
2207
|
+
: undefined;
|
2208
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2209
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2210
|
+
}
|
2211
|
+
else {
|
2212
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2213
|
+
}
|
2214
|
+
return formatValue$2(value);
|
2215
|
+
},
|
2216
|
+
},
|
2217
|
+
{
|
2218
|
+
name: 'dark-border-color-action-hover',
|
2219
|
+
},
|
2220
|
+
{
|
2221
|
+
name: 'border-color-action-active',
|
2222
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2223
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2224
|
+
if (!overrideBaseColor) {
|
2225
|
+
return '';
|
2226
|
+
}
|
2227
|
+
const baseColor = overrideBaseColor
|
2228
|
+
? tinycolor(overrideBaseColor)
|
2229
|
+
: undefined;
|
2230
|
+
let value = baseColor
|
2231
|
+
? baseColor.clone()
|
2232
|
+
: undefined;
|
2233
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2234
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2235
|
+
}
|
2236
|
+
else {
|
2237
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2238
|
+
}
|
2239
|
+
return formatValue$2(value);
|
2240
|
+
},
|
2241
|
+
},
|
2242
|
+
{
|
2243
|
+
name: 'dark-border-color-action-active',
|
2244
|
+
},
|
2245
|
+
{
|
2246
|
+
name: 'border-color-divider',
|
2247
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2248
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2249
|
+
if (!overrideBaseColor) {
|
2250
|
+
return '';
|
2251
|
+
}
|
2252
|
+
const baseColor = overrideBaseColor
|
2253
|
+
? tinycolor(overrideBaseColor)
|
2254
|
+
: undefined;
|
2255
|
+
let value = baseColor
|
2256
|
+
? baseColor.clone()
|
2257
|
+
: undefined;
|
2258
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2259
|
+
return formatValue$2(value);
|
2260
|
+
},
|
2261
|
+
},
|
2262
|
+
{
|
2263
|
+
name: 'dark-border-color-divider',
|
2264
|
+
},
|
2265
|
+
{
|
2266
|
+
name: 'border-color-divider-secondary',
|
2267
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2268
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2269
|
+
if (!overrideBaseColor) {
|
2270
|
+
return '';
|
2271
|
+
}
|
2272
|
+
const baseColor = overrideBaseColor
|
2273
|
+
? tinycolor(overrideBaseColor)
|
2274
|
+
: undefined;
|
2275
|
+
let value = baseColor
|
2276
|
+
? baseColor.clone()
|
2277
|
+
: undefined;
|
2278
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2279
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2280
|
+
}
|
2281
|
+
else {
|
2282
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2283
|
+
}
|
2284
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2285
|
+
return formatValue$2(value);
|
2286
|
+
},
|
2287
|
+
},
|
2288
|
+
{
|
2289
|
+
name: 'dark-border-color-divider-secondary',
|
2290
|
+
},
|
2291
|
+
{
|
2292
|
+
name: 'border-color-input-field',
|
2293
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2294
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2295
|
+
if (!overrideBaseColor) {
|
2296
|
+
return '';
|
2297
|
+
}
|
2298
|
+
const baseColor = overrideBaseColor
|
2299
|
+
? tinycolor(overrideBaseColor)
|
2300
|
+
: undefined;
|
2301
|
+
let value = baseColor
|
2302
|
+
? baseColor.clone()
|
2303
|
+
: undefined;
|
2304
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2305
|
+
return formatValue$2(value);
|
2306
|
+
},
|
2307
|
+
},
|
2308
|
+
{
|
2309
|
+
name: 'dark-border-color-input-field',
|
2310
|
+
},
|
2311
|
+
{
|
2312
|
+
name: 'border-color-input-field-hover',
|
2313
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2314
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2315
|
+
if (!overrideBaseColor) {
|
2316
|
+
return '';
|
2317
|
+
}
|
2318
|
+
const baseColor = overrideBaseColor
|
2319
|
+
? tinycolor(overrideBaseColor)
|
2320
|
+
: undefined;
|
2321
|
+
let value = baseColor
|
2322
|
+
? baseColor.clone()
|
2323
|
+
: undefined;
|
2324
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2325
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2326
|
+
}
|
2327
|
+
else {
|
2328
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2329
|
+
}
|
2330
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2331
|
+
return formatValue$2(value);
|
2332
|
+
},
|
2333
|
+
},
|
2334
|
+
{
|
2335
|
+
name: 'dark-border-color-input-field-hover',
|
2336
|
+
},
|
2337
|
+
{
|
2338
|
+
name: 'border-color-input-field-focus',
|
2339
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2340
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2341
|
+
if (!overrideBaseColor) {
|
2342
|
+
return '';
|
2343
|
+
}
|
2344
|
+
const baseColor = overrideBaseColor
|
2345
|
+
? tinycolor(overrideBaseColor)
|
2346
|
+
: undefined;
|
2347
|
+
let value = baseColor
|
2348
|
+
? baseColor.clone()
|
2349
|
+
: undefined;
|
2350
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2351
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2352
|
+
}
|
2353
|
+
else {
|
2354
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2355
|
+
}
|
2356
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2357
|
+
return formatValue$2(value);
|
2358
|
+
},
|
2359
|
+
},
|
2360
|
+
{
|
2361
|
+
name: 'dark-border-color-input-field-focus',
|
2362
|
+
},
|
2363
|
+
{
|
2364
|
+
name: 'border-color-input-field-disabled',
|
2365
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2366
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2367
|
+
if (!overrideBaseColor) {
|
2368
|
+
return '';
|
2369
|
+
}
|
2370
|
+
const baseColor = overrideBaseColor
|
2371
|
+
? tinycolor(overrideBaseColor)
|
2372
|
+
: undefined;
|
2373
|
+
let value = baseColor
|
2374
|
+
? baseColor.clone()
|
2375
|
+
: undefined;
|
2376
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2377
|
+
return formatValue$2(value);
|
2378
|
+
},
|
2379
|
+
},
|
2380
|
+
{
|
2381
|
+
name: 'dark-border-color-input-field-disabled',
|
2382
|
+
},
|
2383
|
+
{
|
2384
|
+
name: 'border-color-tile-focus',
|
2385
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2386
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2387
|
+
if (!overrideBaseColor) {
|
2388
|
+
return '';
|
2389
|
+
}
|
2390
|
+
const baseColor = overrideBaseColor
|
2391
|
+
? tinycolor(overrideBaseColor)
|
2392
|
+
: undefined;
|
2393
|
+
let value = baseColor
|
2394
|
+
? baseColor.clone()
|
2395
|
+
: undefined;
|
2396
|
+
return formatValue$2(value);
|
2397
|
+
},
|
2398
|
+
},
|
2399
|
+
{
|
2400
|
+
name: 'dark-border-color-tile-focus',
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
name: 'border-color-tile-selected-focus',
|
2404
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2405
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2406
|
+
if (!overrideBaseColor) {
|
2407
|
+
return '';
|
2408
|
+
}
|
2409
|
+
const baseColor = overrideBaseColor
|
2410
|
+
? tinycolor(overrideBaseColor)
|
2411
|
+
: undefined;
|
2412
|
+
let value = baseColor
|
2413
|
+
? baseColor.clone()
|
2414
|
+
: undefined;
|
2415
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2416
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2417
|
+
}
|
2418
|
+
else {
|
2419
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2420
|
+
}
|
2421
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2422
|
+
return formatValue$2(value);
|
2423
|
+
},
|
2424
|
+
},
|
2425
|
+
{
|
2426
|
+
name: 'dark-border-color-tile-selected-focus',
|
2427
|
+
},
|
2428
|
+
{
|
2429
|
+
name: 'border-color-tile-selected',
|
2430
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2431
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2432
|
+
if (!overrideBaseColor) {
|
2433
|
+
return '';
|
2434
|
+
}
|
2435
|
+
const baseColor = overrideBaseColor
|
2436
|
+
? tinycolor(overrideBaseColor)
|
2437
|
+
: undefined;
|
2438
|
+
let value = baseColor
|
2439
|
+
? baseColor.clone()
|
2440
|
+
: undefined;
|
2441
|
+
return formatValue$2(value);
|
2442
|
+
},
|
2443
|
+
},
|
2444
|
+
{
|
2445
|
+
name: 'dark-border-color-tile-selected',
|
2446
|
+
},
|
2447
|
+
{
|
2448
|
+
name: 'border-color-tile-selected-hover',
|
2449
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2450
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2451
|
+
if (!overrideBaseColor) {
|
2452
|
+
return '';
|
2453
|
+
}
|
2454
|
+
const baseColor = overrideBaseColor
|
2455
|
+
? tinycolor(overrideBaseColor)
|
2456
|
+
: undefined;
|
2457
|
+
let value = baseColor
|
2458
|
+
? baseColor.clone()
|
2459
|
+
: undefined;
|
2460
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2461
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2462
|
+
}
|
2463
|
+
else {
|
2464
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2465
|
+
}
|
2466
|
+
return formatValue$2(value);
|
2467
|
+
},
|
2468
|
+
},
|
2469
|
+
{
|
2470
|
+
name: 'dark-border-color-tile-selected-hover',
|
2471
|
+
},
|
2472
|
+
];
|
2473
|
+
|
2474
|
+
const formatValue$1 = (tinyColor) => {
|
2475
|
+
if (!tinyColor) {
|
2476
|
+
return '';
|
2477
|
+
}
|
2478
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2479
|
+
return `${r} ${g} ${b} / ${a}`;
|
2480
|
+
};
|
2481
|
+
const OverridableBorderTokens = [
|
2482
|
+
{
|
2483
|
+
name: 'border-secondary-btn',
|
2484
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2485
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2486
|
+
if (!overrideBaseColor) {
|
2487
|
+
return '';
|
2488
|
+
}
|
2489
|
+
const baseColor = overrideBaseColor
|
2490
|
+
? tinycolor(overrideBaseColor)
|
2491
|
+
: undefined;
|
2492
|
+
let value = baseColor
|
2493
|
+
? baseColor.clone()
|
2494
|
+
: undefined;
|
2495
|
+
return formatValue$1(value);
|
2496
|
+
},
|
2497
|
+
},
|
2498
|
+
{
|
2499
|
+
name: 'dark-border-secondary-btn',
|
2500
|
+
},
|
2501
|
+
{
|
2502
|
+
name: 'border-secondary-btn-hover',
|
2503
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2504
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2505
|
+
if (!overrideBaseColor) {
|
2506
|
+
return '';
|
2507
|
+
}
|
2508
|
+
const baseColor = overrideBaseColor
|
2509
|
+
? tinycolor(overrideBaseColor)
|
2510
|
+
: undefined;
|
2511
|
+
let value = baseColor
|
2512
|
+
? baseColor.clone()
|
2513
|
+
: undefined;
|
2514
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2515
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2516
|
+
}
|
2517
|
+
else {
|
2518
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2519
|
+
}
|
2520
|
+
return formatValue$1(value);
|
2521
|
+
},
|
2522
|
+
},
|
2523
|
+
{
|
2524
|
+
name: 'dark-border-secondary-btn-hover',
|
2525
|
+
},
|
2526
|
+
{
|
2527
|
+
name: 'border-secondary-btn-active',
|
2528
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2529
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2530
|
+
if (!overrideBaseColor) {
|
2531
|
+
return '';
|
2532
|
+
}
|
2533
|
+
const baseColor = overrideBaseColor
|
2534
|
+
? tinycolor(overrideBaseColor)
|
2535
|
+
: undefined;
|
2536
|
+
let value = baseColor
|
2537
|
+
? baseColor.clone()
|
2538
|
+
: undefined;
|
2539
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2540
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2541
|
+
}
|
2542
|
+
else {
|
2543
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2544
|
+
}
|
2545
|
+
return formatValue$1(value);
|
2546
|
+
},
|
2547
|
+
},
|
2548
|
+
{
|
2549
|
+
name: 'dark-border-secondary-btn-active',
|
2550
|
+
},
|
2551
|
+
{
|
2552
|
+
name: 'border-input-field',
|
2553
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2554
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2555
|
+
if (!overrideBaseColor) {
|
2556
|
+
return '';
|
2557
|
+
}
|
2558
|
+
const baseColor = overrideBaseColor
|
2559
|
+
? tinycolor(overrideBaseColor)
|
2560
|
+
: undefined;
|
2561
|
+
let value = baseColor
|
2562
|
+
? baseColor.clone()
|
2563
|
+
: undefined;
|
2564
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2565
|
+
return formatValue$1(value);
|
2566
|
+
},
|
2567
|
+
},
|
2568
|
+
{
|
2569
|
+
name: 'dark-border-input-field',
|
2570
|
+
},
|
2571
|
+
{
|
2572
|
+
name: 'border-input-field-hover',
|
2573
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2574
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2575
|
+
if (!overrideBaseColor) {
|
2576
|
+
return '';
|
2577
|
+
}
|
2578
|
+
const baseColor = overrideBaseColor
|
2579
|
+
? tinycolor(overrideBaseColor)
|
2580
|
+
: undefined;
|
2581
|
+
let value = baseColor
|
2582
|
+
? baseColor.clone()
|
2583
|
+
: undefined;
|
2584
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2585
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2586
|
+
}
|
2587
|
+
else {
|
2588
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2589
|
+
}
|
2590
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2591
|
+
return formatValue$1(value);
|
2592
|
+
},
|
2593
|
+
},
|
2594
|
+
{
|
2595
|
+
name: 'dark-border-input-field-hover',
|
2596
|
+
},
|
2597
|
+
{
|
2598
|
+
name: 'border-input-field-focus',
|
2599
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2600
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2601
|
+
if (!overrideBaseColor) {
|
2602
|
+
return '';
|
2603
|
+
}
|
2604
|
+
const baseColor = overrideBaseColor
|
2605
|
+
? tinycolor(overrideBaseColor)
|
2606
|
+
: undefined;
|
2607
|
+
let value = baseColor
|
2608
|
+
? baseColor.clone()
|
2609
|
+
: undefined;
|
2610
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2611
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2612
|
+
}
|
2613
|
+
else {
|
2614
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2615
|
+
}
|
2616
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2617
|
+
return formatValue$1(value);
|
2618
|
+
},
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
name: 'dark-border-input-field-focus',
|
2622
|
+
},
|
2623
|
+
{
|
2624
|
+
name: 'border-input-field-disabled',
|
2625
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2626
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2627
|
+
if (!overrideBaseColor) {
|
2628
|
+
return '';
|
2629
|
+
}
|
2630
|
+
const baseColor = overrideBaseColor
|
2631
|
+
? tinycolor(overrideBaseColor)
|
2632
|
+
: undefined;
|
2633
|
+
let value = baseColor
|
2634
|
+
? baseColor.clone()
|
2635
|
+
: undefined;
|
2636
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2637
|
+
return formatValue$1(value);
|
2638
|
+
},
|
2639
|
+
},
|
2640
|
+
{
|
2641
|
+
name: 'dark-border-input-field-disabled',
|
2642
|
+
},
|
2643
|
+
{
|
2644
|
+
name: 'border-divider',
|
2645
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2646
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2647
|
+
if (!overrideBaseColor) {
|
2648
|
+
return '';
|
2649
|
+
}
|
2650
|
+
const baseColor = overrideBaseColor
|
2651
|
+
? tinycolor(overrideBaseColor)
|
2652
|
+
: undefined;
|
2653
|
+
let value = baseColor
|
2654
|
+
? baseColor.clone()
|
2655
|
+
: undefined;
|
2656
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2657
|
+
return formatValue$1(value);
|
2658
|
+
},
|
2659
|
+
},
|
2660
|
+
{
|
2661
|
+
name: 'dark-border-divider',
|
2662
|
+
},
|
2663
|
+
{
|
2664
|
+
name: 'border-divider-secondary',
|
2665
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2666
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2667
|
+
if (!overrideBaseColor) {
|
2668
|
+
return '';
|
2669
|
+
}
|
2670
|
+
const baseColor = overrideBaseColor
|
2671
|
+
? tinycolor(overrideBaseColor)
|
2672
|
+
: undefined;
|
2673
|
+
let value = baseColor
|
2674
|
+
? baseColor.clone()
|
2675
|
+
: undefined;
|
2676
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2677
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2678
|
+
}
|
2679
|
+
else {
|
2680
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2681
|
+
}
|
2682
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2683
|
+
return formatValue$1(value);
|
2684
|
+
},
|
2685
|
+
},
|
2686
|
+
{
|
2687
|
+
name: 'dark-border-divider-secondary',
|
2688
|
+
},
|
2689
|
+
{
|
2690
|
+
name: 'border-tile-selected',
|
2691
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2692
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2693
|
+
if (!overrideBaseColor) {
|
2694
|
+
return '';
|
2695
|
+
}
|
2696
|
+
const baseColor = overrideBaseColor
|
2697
|
+
? tinycolor(overrideBaseColor)
|
2698
|
+
: undefined;
|
2699
|
+
let value = baseColor
|
2700
|
+
? baseColor.clone()
|
2701
|
+
: undefined;
|
2702
|
+
return formatValue$1(value);
|
2703
|
+
},
|
2704
|
+
},
|
2705
|
+
{
|
2706
|
+
name: 'dark-border-tile-selected',
|
2707
|
+
},
|
2708
|
+
{
|
2709
|
+
name: 'border-tile-selected-hover',
|
2710
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2711
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2712
|
+
if (!overrideBaseColor) {
|
2713
|
+
return '';
|
2714
|
+
}
|
2715
|
+
const baseColor = overrideBaseColor
|
2716
|
+
? tinycolor(overrideBaseColor)
|
2717
|
+
: undefined;
|
2718
|
+
let value = baseColor
|
2719
|
+
? baseColor.clone()
|
2720
|
+
: undefined;
|
2721
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2722
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2723
|
+
}
|
2724
|
+
else {
|
2725
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2726
|
+
}
|
2727
|
+
return formatValue$1(value);
|
2728
|
+
},
|
2729
|
+
},
|
2730
|
+
{
|
2731
|
+
name: 'dark-border-tile-selected-hover',
|
2732
|
+
},
|
2733
|
+
{
|
2734
|
+
name: 'border-tile-focus',
|
2735
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2736
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2737
|
+
if (!overrideBaseColor) {
|
2738
|
+
return '';
|
2739
|
+
}
|
2740
|
+
const baseColor = overrideBaseColor
|
2741
|
+
? tinycolor(overrideBaseColor)
|
2742
|
+
: undefined;
|
2743
|
+
let value = baseColor
|
2744
|
+
? baseColor.clone()
|
2745
|
+
: undefined;
|
2746
|
+
return formatValue$1(value);
|
2747
|
+
},
|
2748
|
+
},
|
2749
|
+
{
|
2750
|
+
name: 'dark-border-tile-focus',
|
2751
|
+
},
|
2752
|
+
{
|
2753
|
+
name: 'border-tile-selected-focus',
|
2754
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2755
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2756
|
+
if (!overrideBaseColor) {
|
2757
|
+
return '';
|
2758
|
+
}
|
2759
|
+
const baseColor = overrideBaseColor
|
2760
|
+
? tinycolor(overrideBaseColor)
|
2761
|
+
: undefined;
|
2762
|
+
let value = baseColor
|
2763
|
+
? baseColor.clone()
|
2764
|
+
: undefined;
|
2765
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2766
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2767
|
+
}
|
2768
|
+
else {
|
2769
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2770
|
+
}
|
2771
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2772
|
+
return formatValue$1(value);
|
2773
|
+
},
|
2774
|
+
},
|
2775
|
+
{
|
2776
|
+
name: 'dark-border-tile-selected-focus',
|
2777
|
+
},
|
2778
|
+
];
|
2779
|
+
|
2780
|
+
const formatValue = (tinyColor) => {
|
2781
|
+
if (!tinyColor) {
|
2782
|
+
return '';
|
2783
|
+
}
|
2784
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2785
|
+
return `${r} ${g} ${b} / ${a}`;
|
2786
|
+
};
|
2787
|
+
const OverridableRingTokens = [
|
2788
|
+
{
|
2789
|
+
name: 'ring-input-focus',
|
2790
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2791
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2792
|
+
if (!overrideBaseColor) {
|
2793
|
+
return '';
|
2794
|
+
}
|
2795
|
+
const baseColor = overrideBaseColor
|
2796
|
+
? tinycolor(overrideBaseColor)
|
2797
|
+
: undefined;
|
2798
|
+
let value = baseColor
|
2799
|
+
? baseColor.clone()
|
2800
|
+
: undefined;
|
2801
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2802
|
+
return formatValue(value);
|
2803
|
+
},
|
2804
|
+
},
|
2805
|
+
{
|
2806
|
+
name: 'dark-ring-input-focus',
|
2807
|
+
},
|
2808
|
+
{
|
2809
|
+
name: 'ring-action-focus',
|
2810
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2811
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2812
|
+
if (!overrideBaseColor) {
|
2813
|
+
return '';
|
2814
|
+
}
|
2815
|
+
const baseColor = overrideBaseColor
|
2816
|
+
? tinycolor(overrideBaseColor)
|
2817
|
+
: undefined;
|
2818
|
+
let value = baseColor
|
2819
|
+
? baseColor.clone()
|
2820
|
+
: undefined;
|
2821
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2822
|
+
return formatValue(value);
|
2823
|
+
},
|
2824
|
+
},
|
2825
|
+
{
|
2826
|
+
name: 'dark-ring-action-focus',
|
2827
|
+
},
|
2828
|
+
];
|
2829
|
+
|
2830
|
+
/**
|
2831
|
+
* Vega components color override controller
|
2832
|
+
*/
|
2833
|
+
class ColorSchemaOverridingController {
|
2834
|
+
/**
|
2835
|
+
* It takes a color and generates a bunch of other colors based on that color
|
2836
|
+
*
|
2837
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that is passed in from the user.
|
2838
|
+
* @returns {OverrideColor[]} Parsed action colors
|
2839
|
+
*/
|
2840
|
+
generateOverrideThemes(overrideColors) {
|
2841
|
+
return this.getOverridableTokens().map((item) => {
|
2842
|
+
return {
|
2843
|
+
name: item.name,
|
2844
|
+
value: this.parseCssVarValue(item, overrideColors),
|
2845
|
+
};
|
2846
|
+
});
|
2847
|
+
}
|
2848
|
+
/**
|
2849
|
+
* Set the custom override theme colors to customOverrideThemeStyleContainer
|
2850
|
+
*
|
2851
|
+
* @param {OverrideColor[]} overrideThemes Parsed custom override colors
|
2852
|
+
*/
|
2853
|
+
applyTheme(overrideThemes) {
|
2854
|
+
this.getOverrideThemeContainer().innerHTML = `
|
2855
|
+
:root {
|
2856
|
+
\t\t${overrideThemes
|
2857
|
+
.filter((item) => {
|
2858
|
+
return !!item.value;
|
2859
|
+
})
|
2860
|
+
.map((item) => `--v-${item.name}: ${item.value};`)
|
2861
|
+
.join('\n\t\t')}
|
2862
|
+
}
|
2863
|
+
`;
|
2864
|
+
}
|
2865
|
+
/**
|
2866
|
+
* It creates a customOverrideTheme style tag in the head of the document if it doesn't exist, and returns it
|
2867
|
+
*
|
2868
|
+
* @returns {Element} The customOverrideThemeStyleContainer is being returned.
|
2869
|
+
*/
|
2870
|
+
getOverrideThemeContainer() {
|
2871
|
+
let customOverrideThemeStyleContainer = document.head.querySelector(`#vegaCustomOverrideTheme`);
|
2872
|
+
if (!customOverrideThemeStyleContainer) {
|
2873
|
+
customOverrideThemeStyleContainer = document.createElement('style');
|
2874
|
+
customOverrideThemeStyleContainer.id = 'vegaCustomOverrideTheme';
|
2875
|
+
document.head.append(customOverrideThemeStyleContainer);
|
2876
|
+
}
|
2877
|
+
return customOverrideThemeStyleContainer;
|
2878
|
+
}
|
2879
|
+
/**
|
2880
|
+
* Get the overridable color tokens from design token
|
2881
|
+
*
|
2882
|
+
* @returns {OverridableToken[]} overridable action color token array
|
2883
|
+
*/
|
2884
|
+
getOverridableTokens() {
|
2885
|
+
return [...OverridableColorTokens, ...OverridableBorderTokens, ...OverridableRingTokens];
|
2886
|
+
}
|
2887
|
+
/**
|
2888
|
+
* Calculate and parse color to css var value
|
2889
|
+
*
|
2890
|
+
* @param {OverridableToken} overrideColorToken The token will be overridden
|
2891
|
+
* @param {VegaThemeOverrideColors} overrideColors the payload of override colors
|
2892
|
+
* @returns {string} The css var value
|
2893
|
+
*/
|
2894
|
+
parseCssVarValue(overrideColorToken, overrideColors) {
|
2895
|
+
var _a;
|
2896
|
+
return (_a = overrideColorToken.overrideGetter) === null || _a === void 0 ? void 0 : _a.call(overrideColorToken, overrideColors, tinycolor);
|
2897
|
+
}
|
2898
|
+
}
|
2899
|
+
const VegaColorSchemaOverridingController = new ColorSchemaOverridingController();
|
2900
|
+
|
2901
|
+
/* This file is generated by vega-design 2.0.77 */
|
2902
|
+
const DarkModeColorTokens = {
|
2903
|
+
'bg-brand': '176, 180, 181, 1',
|
2904
|
+
'bg-page': '24, 24, 48, 1',
|
2905
|
+
'bg-primary': '4, 4, 28, 1',
|
2906
|
+
'bg-secondary': '18, 18, 39, 1',
|
2907
|
+
'bg-tertiary': '24, 24, 48, 1',
|
2908
|
+
'bg-quaternary': '70, 71, 101, 1',
|
2909
|
+
'bg-inverted-primary': '252, 252, 252, 1',
|
2910
|
+
'bg-inverted-secondary': '247, 247, 247, 1',
|
2911
|
+
'bg-inverted-tertiary': '240, 243, 247, 1',
|
2912
|
+
'bg-inverted-quaternary': '241, 248, 251, 1',
|
2913
|
+
'bg-action': '0, 187, 255, 1',
|
2914
|
+
'bg-action-hover': '0, 204, 255, 1',
|
2915
|
+
'bg-action-focus': '0, 187, 255, 1',
|
2916
|
+
'bg-action-active': '4, 165, 245, 1',
|
2917
|
+
'bg-action-quaternary': '51, 57, 61, 1',
|
2918
|
+
'bg-action-quaternary-hover': '89, 96, 99, 1',
|
2919
|
+
'bg-action-quaternary-active': '24, 24, 48, 1',
|
2920
|
+
'bg-action-secondary': '0, 0, 0, 0',
|
2921
|
+
'bg-action-secondary-hover': '0, 204, 255, 0.2',
|
2922
|
+
'bg-action-secondary-active': '4, 165, 245, 0.2',
|
2923
|
+
'bg-action-tertiary': '0, 0, 0, 0',
|
2924
|
+
'bg-action-tertiary-hover': '252, 252, 252, 0.2',
|
2925
|
+
'bg-action-tertiary-active': '252, 252, 252, 0.1',
|
2926
|
+
'bg-app-header': '24, 24, 48, 0.92',
|
2927
|
+
'bg-backdrop-modal': '70, 71, 101, 0.8',
|
2928
|
+
'bg-backdrop-popover': '70, 71, 101, 0.56',
|
2929
|
+
'bg-backdrop-sidebar': '70, 71, 101, 0.8',
|
2930
|
+
'bg-chip': '252, 252, 252, 0.1',
|
2931
|
+
'bg-chip-hover': '252, 252, 252, 0.2',
|
2932
|
+
'bg-chip-active': '252, 252, 252, 0.06',
|
2933
|
+
'bg-danger': '255, 56, 97, 1',
|
2934
|
+
'bg-danger-hover': '255, 71, 123, 1',
|
2935
|
+
'bg-danger-focus': '255, 56, 97, 1',
|
2936
|
+
'bg-danger-active': '230, 50, 87, 1',
|
2937
|
+
'bg-danger-tertiary': '0, 0, 0, 0',
|
2938
|
+
'bg-danger-tertiary-hover': '255, 71, 123, 0.2',
|
2939
|
+
'bg-danger-tertiary-active': '230, 50, 87, 0.2',
|
2940
|
+
'bg-disabled': '70, 71, 101, 1',
|
2941
|
+
'bg-divider': '32, 54, 69, 1',
|
2942
|
+
'bg-divider-secondary': '51, 57, 61, 1',
|
2943
|
+
'bg-keypad-btn-active': '45, 76, 97, 1',
|
2944
|
+
'bg-loading-progress': '4, 165, 245, 1',
|
2945
|
+
'bg-loading-track': '142, 223, 249, 1',
|
2946
|
+
'bg-segment-hover': '70, 71, 101, 1',
|
2947
|
+
'bg-segment-control': '210, 208, 223, 0.1',
|
2948
|
+
'bg-selected': '85, 218, 255, 0.3',
|
2949
|
+
'bg-sidebar': '18, 18, 39, 1',
|
2950
|
+
'bg-sidebar-icon': '188, 186, 213, 1',
|
2951
|
+
'bg-sidebar-icon-hover': '18, 18, 39, 1',
|
2952
|
+
'bg-sidebar-icon-selected': '252, 252, 252, 1',
|
2953
|
+
'bg-sidebar-item-hover': '252, 252, 252, 1',
|
2954
|
+
'bg-sidebar-item-selected': '0, 187, 255, 0.4',
|
2955
|
+
'bg-site-footer': '51, 57, 61, 1',
|
2956
|
+
'bg-site-footer-action': '171, 198, 216, 1',
|
2957
|
+
'bg-site-footer-action-hover': '199, 217, 229, 1',
|
2958
|
+
'bg-site-footer-action-active': '143, 179, 203, 1',
|
2959
|
+
'bg-site-footer-field': '89, 96, 99, 1',
|
2960
|
+
'bg-slider-handle': '252, 252, 252, 1',
|
2961
|
+
'bg-status-error': '189, 41, 71, 1',
|
2962
|
+
'bg-status-info': '252, 252, 252, 1',
|
2963
|
+
'bg-status-success': '123, 242, 151, 1',
|
2964
|
+
'bg-status-warning': '255, 212, 105, 1',
|
2965
|
+
'bg-tab': '51, 57, 61, 1',
|
2966
|
+
'bg-tab-hover': '89, 96, 99, 1',
|
2967
|
+
'bg-tab-selected': '240, 243, 247, 1',
|
2968
|
+
'bg-table-alt-row': '18, 18, 39, 1',
|
2969
|
+
'bg-table-header': '24, 24, 48, 1',
|
2970
|
+
'bg-table-row-hover': '70, 71, 101, 1',
|
2971
|
+
'bg-table-row-selected-expanded': '32, 54, 69, 1',
|
2972
|
+
'bg-table-selected-row': '45, 76, 97, 1',
|
2973
|
+
'bg-textarea-count': '252, 252, 252, 0.5',
|
2974
|
+
'bg-tile': '4, 4, 28, 1',
|
2975
|
+
'bg-tile-hover': '24, 24, 48, 1',
|
2976
|
+
'bg-tile-selected': '32, 54, 69, 1',
|
2977
|
+
'bg-tile-selected-hover': '45, 76, 97, 1',
|
2978
|
+
'bg-toggle-switch': '210, 208, 223, 1',
|
2979
|
+
'bg-toggle-switch-hover': '188, 186, 213, 1',
|
2980
|
+
'bg-toggle-switch-selected-disabled': '0, 75, 128, 1',
|
2981
|
+
'bg-transparent': '0, 0, 0, 0',
|
2982
|
+
'bg-accent1-primary': '109, 217, 202, 1',
|
2983
|
+
'bg-accent1-secondary': '174, 234, 226, 1',
|
2984
|
+
'bg-accent1-tertiary': '223, 247, 243, 1',
|
2985
|
+
'bg-accent2-primary': '95, 56, 206, 1',
|
2986
|
+
'bg-accent2-secondary': '184, 167, 233, 1',
|
2987
|
+
'bg-accent2-tertiary': '219, 211, 244, 1',
|
2988
|
+
'bg-accent3-primary': '255, 203, 105, 1',
|
2989
|
+
'bg-accent3-secondary': '251, 226, 185, 1',
|
2990
|
+
'bg-accent3-tertiary': '255, 243, 222, 1',
|
2991
|
+
'bg-accent4-primary': '255, 129, 87, 1',
|
2992
|
+
'bg-accent4-secondary': '255, 185, 162, 1',
|
2993
|
+
'bg-accent4-tertiary': '255, 227, 218, 1',
|
2994
|
+
'bg-accent5-primary': '4, 165, 245, 1',
|
2995
|
+
'bg-accent5-secondary': '85, 218, 255, 1',
|
2996
|
+
'bg-accent5-tertiary': '227, 247, 253, 1',
|
2997
|
+
'bg-accent6-primary': '255, 84, 165, 1',
|
2998
|
+
'bg-accent6-secondary': '255, 179, 215, 1',
|
2999
|
+
'bg-accent6-tertiary': '255, 217, 235, 1',
|
3000
|
+
'bg-accent7-primary': '37, 159, 159, 1',
|
3001
|
+
'bg-accent7-secondary': '155, 212, 214, 1',
|
3002
|
+
'bg-accent7-tertiary': '208, 239, 239, 1',
|
3003
|
+
'bg-accent8-primary': '86, 61, 130, 1',
|
3004
|
+
'bg-accent8-secondary': '199, 162, 204, 1',
|
3005
|
+
'bg-accent8-tertiary': '230, 214, 234, 1',
|
3006
|
+
'bg-accent9-primary': '255, 191, 63, 1',
|
3007
|
+
'bg-accent9-secondary': '254, 215, 142, 1',
|
3008
|
+
'bg-accent9-tertiary': '251, 226, 185, 1',
|
3009
|
+
'bg-accent10-primary': '237, 122, 35, 1',
|
3010
|
+
'bg-accent10-secondary': '241, 146, 85, 1',
|
3011
|
+
'bg-accent10-tertiary': '245, 187, 148, 1',
|
3012
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3013
|
+
'text-primary': '252, 252, 252, 1',
|
3014
|
+
'text-secondary': '188, 186, 213, 1',
|
3015
|
+
'text-inverted-primary': '4, 4, 28, 1',
|
3016
|
+
'text-inverted-secondary': '107, 116, 125, 1',
|
3017
|
+
'text-black': '32, 54, 69, 1',
|
3018
|
+
'text-white': '252, 252, 252, 1',
|
3019
|
+
'text-brand': '176, 180, 181, 1',
|
3020
|
+
'text-danger-link': '255, 56, 97, 1',
|
3021
|
+
'text-danger-link-hover': '255, 71, 123, 1',
|
3022
|
+
'text-danger-link-active': '230, 50, 87, 1',
|
3023
|
+
'text-danger-link-focus': '255, 82, 136, 1',
|
3024
|
+
'text-danger-link-visited': '255, 56, 97, 1',
|
3025
|
+
'text-disabled': '70, 71, 101, 1',
|
3026
|
+
'text-error': '255, 56, 97, 1',
|
3027
|
+
'text-input-disabled': '176, 180, 181, 1',
|
3028
|
+
'text-input-placeholder': '89, 96, 99, 1',
|
3029
|
+
'text-link': '0, 187, 255, 1',
|
3030
|
+
'text-link-hover': '0, 204, 255, 1',
|
3031
|
+
'text-link-active': '4, 165, 245, 1',
|
3032
|
+
'text-link-focus': '0, 204, 255, 1',
|
3033
|
+
'text-link-visited': '128, 107, 255, 1',
|
3034
|
+
'text-on-action': '4, 4, 28, 1',
|
3035
|
+
'text-on-danger': '4, 4, 28, 1',
|
3036
|
+
'text-on-disabled': '4, 4, 28, 1',
|
3037
|
+
'text-sidebar-link': '188, 186, 213, 1',
|
3038
|
+
'text-sidebar-link-hover': '18, 18, 39, 1',
|
3039
|
+
'text-sidebar-link-selected': '252, 252, 252, 1',
|
3040
|
+
'text-site-footer-link': '171, 198, 216, 1',
|
3041
|
+
'text-site-footer-link-hover': '199, 217, 229, 1',
|
3042
|
+
'text-site-footer-link-active': '143, 179, 203, 1',
|
3043
|
+
'text-success': '89, 217, 119, 1',
|
3044
|
+
'text-inverted-success': '1, 128, 31, 1',
|
3045
|
+
'text-accent1-primary': '109, 217, 202, 1',
|
3046
|
+
'text-accent2-primary': '95, 56, 206, 1',
|
3047
|
+
'text-accent3-primary': '255, 203, 105, 1',
|
3048
|
+
'text-accent4-primary': '255, 129, 87, 1',
|
3049
|
+
'text-accent5-primary': '4, 165, 245, 1',
|
3050
|
+
'text-accent6-primary': '255, 71, 123, 1',
|
3051
|
+
'text-accent7-primary': '37, 159, 159, 1',
|
3052
|
+
'text-accent8-primary': '86, 61, 130, 1',
|
3053
|
+
'text-accent9-primary': '255, 191, 63, 1',
|
3054
|
+
'text-accent10-primary': '237, 122, 35, 1',
|
3055
|
+
'border-color-action': '0, 187, 255, 1',
|
3056
|
+
'border-color-action-hover': '0, 204, 255, 1',
|
3057
|
+
'border-color-action-active': '4, 165, 245, 1',
|
3058
|
+
'border-color-chip': '107, 116, 125, 1',
|
3059
|
+
'border-color-danger': '255, 56, 97, 1',
|
3060
|
+
'border-color-danger-hover': '255, 71, 123, 1',
|
3061
|
+
'border-color-danger-active': '230, 50, 87, 1',
|
3062
|
+
'border-color-divider': '32, 54, 69, 1',
|
3063
|
+
'border-color-divider-secondary': '51, 57, 61, 1',
|
3064
|
+
'border-color-input-field': '32, 54, 69, 1',
|
3065
|
+
'border-color-input-field-hover': '58, 98, 125, 1',
|
3066
|
+
'border-color-input-field-focus': '0, 187, 255, 1',
|
3067
|
+
'border-color-input-field-danger': '255, 56, 97, 1',
|
3068
|
+
'border-color-input-field-danger-hover': '255, 71, 123, 1',
|
3069
|
+
'border-color-input-field-danger-focus': '255, 56, 97, 1',
|
3070
|
+
'border-color-input-field-disabled': '4, 4, 28, 1',
|
3071
|
+
'border-color-secondary-btn-disabled': '70, 71, 101, 1',
|
3072
|
+
'border-color-sidebar-item-focus': '0, 187, 255, 1',
|
3073
|
+
'border-color-slider-handle': '107, 116, 125, 1',
|
3074
|
+
'border-color-success': '89, 217, 119, 1',
|
3075
|
+
'border-color-table-divider': '32, 54, 69, 1',
|
3076
|
+
'border-color-tile': '32, 54, 69, 1',
|
3077
|
+
'border-color-tile-hover': '58, 98, 125, 1',
|
3078
|
+
'border-color-tile-focus': '0, 187, 255, 1',
|
3079
|
+
'border-color-tile-selected-focus': '153, 192, 255, 1',
|
3080
|
+
'border-color-tile-selected': '153, 192, 255, 1',
|
3081
|
+
'border-color-tile-selected-hover': '178, 208, 255, 1',
|
3082
|
+
'border-color-notification-btn': '252, 252, 252, 1',
|
3083
|
+
'border-color-notification-btn-dark': '32, 54, 69, 1',
|
3084
|
+
};
|
3085
|
+
|
3086
|
+
/* This file is generated by vega-design 2.0.77 */
|
3087
|
+
const DarkModeBorderTokens = {
|
3088
|
+
'border-secondary-btn': '0, 187, 255, 1',
|
3089
|
+
'border-secondary-btn-hover': '0, 204, 255, 1',
|
3090
|
+
'border-secondary-danger-btn': '255, 56, 97, 1',
|
3091
|
+
'border-secondary-btn-active': '4, 165, 245, 1',
|
3092
|
+
'border-secondary-danger-btn-hover': '255, 71, 123, 1',
|
3093
|
+
'border-secondary-danger-btn-active': '230, 50, 87, 1',
|
3094
|
+
'border-input-field': '32, 54, 69, 1',
|
3095
|
+
'border-input-field-hover': '58, 98, 125, 1',
|
3096
|
+
'border-input-field-focus': '0, 187, 255, 1',
|
3097
|
+
'border-input-field-danger': '255, 56, 97, 1',
|
3098
|
+
'border-input-field-danger-hover': '255, 71, 123, 1',
|
3099
|
+
'border-input-field-danger-focus': '255, 56, 97, 1',
|
3100
|
+
'border-sidebar-item-focus': '0, 187, 255, 1',
|
3101
|
+
'border-input-field-disabled': '4, 4, 28, 1',
|
3102
|
+
'border-success': '89, 217, 119, 1',
|
3103
|
+
'border-secondary-btn-disabled': '70, 71, 101, 1',
|
3104
|
+
'border-chip': '107, 116, 125, 1',
|
3105
|
+
'border-divider': '32, 54, 69, 1',
|
3106
|
+
'border-divider-secondary': '51, 57, 61, 1',
|
3107
|
+
'border-tile-selected': '153, 192, 255, 1',
|
3108
|
+
'border-tile-selected-hover': '178, 208, 255, 1',
|
3109
|
+
'border-table-divider': '32, 54, 69, 1',
|
3110
|
+
'border-slider-handle': '107, 116, 125, 1',
|
3111
|
+
'border-tile': '32, 54, 69, 1',
|
3112
|
+
'border-tile-hover': '58, 98, 125, 1',
|
3113
|
+
'border-tile-focus': '0, 187, 255, 1',
|
3114
|
+
'border-tile-selected-focus': '153, 192, 255, 1',
|
3115
|
+
'border-notification-btn': '252, 252, 252, 1',
|
3116
|
+
'border-notification-btn-black': '32, 54, 69, 1',
|
3117
|
+
};
|
3118
|
+
|
3119
|
+
/* This file is generated by vega-design 2.0.77 */
|
3120
|
+
const DarkModeShadowTokens = {
|
3121
|
+
'shadow-card': '0px 2px 10px 0px rgba(0, 0, 0, 0.18), 0px 2px 4px 0px rgba(0, 0, 0, 0.1)',
|
3122
|
+
'shadow-modal': '0px 6px 40px 0px rgba(2, 2, 15, 0.14), 0px 4px 24px 0px rgba(2, 2, 15, 0.28), 0px 8px 80px 0px rgba(2, 2, 15, 0.26)',
|
3123
|
+
'shadow-popover': '0px 0px 88px 0px rgba(2, 2, 15, 0.08), 0px 0px 32px 0px rgba(2, 2, 15, 0.1), 0px 4px 72px 0px rgba(2, 2, 15, 0.16)',
|
3124
|
+
'shadow-form-field': '0px 1px 2px 0px rgba(170, 170, 170, 0.06), 0px 1px 3px 0px rgba(170, 170, 170, 0.1)',
|
3125
|
+
'shadow-dropdown-menu': '0px 2px 4px -2px rgba(0, 0, 0, 0.14), 0px 4px 6px -1px rgba(0, 0, 0, 0.16)',
|
3126
|
+
'shadow-app-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3127
|
+
'shadow-modal-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3128
|
+
'shadow-modal-footer': '0px -2px 8px 0px rgba(188, 186, 213, 0.4), 0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3129
|
+
'shadow-modal-footer-no-scroll': '0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3130
|
+
};
|
3131
|
+
|
3132
|
+
/* This file is generated by vega-design 2.0.77 */
|
3133
|
+
const DarkModeRingTokens = {
|
3134
|
+
'ring-input-focus': '0, 187, 255, 0.25',
|
3135
|
+
'ring-input-danger-focus': '255, 56, 97, 0.25',
|
3136
|
+
'ring-action-focus': '0, 187, 255, 0.25',
|
3137
|
+
'ring-action-danger-focus': '255, 56, 97, 0.25',
|
3138
|
+
};
|
3139
|
+
|
3140
|
+
// TODO: Remove this after the token add in vega design.
|
3141
|
+
const CustomDarkModeColorTokens = {
|
3142
|
+
'bg-backdrop-loading': '0, 0, 0, 0.5',
|
3143
|
+
'text-page-notification-content': DarkModeColorTokens['text-inverted-primary'],
|
3144
|
+
'bg-textarea-counter-exceed-max-length': '255, 87, 114',
|
3145
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3146
|
+
'regular-credit-card-bg': '252, 252, 252, 1',
|
3147
|
+
'regular-credit-card-top': '4, 4, 28, 1',
|
3148
|
+
'regular-credit-card-bottom': '255, 255, 255, 1',
|
3149
|
+
};
|
3150
|
+
/**
|
3151
|
+
* Vega components dark mode style controller
|
3152
|
+
*/
|
3153
|
+
class DarkModeStyleController {
|
3154
|
+
/**
|
3155
|
+
* It generates a CSS style for dark mode to override the style.
|
3156
|
+
*/
|
3157
|
+
generateDarkModeStyle() {
|
3158
|
+
const tokens = Object.assign(DarkModeColorTokens, DarkModeBorderTokens, DarkModeRingTokens, DarkModeShadowTokens, CustomDarkModeColorTokens);
|
3159
|
+
const keys = Object.keys(tokens);
|
3160
|
+
this.getDarkModeStyleContainer().innerHTML = `
|
3161
|
+
html.dark {
|
3162
|
+
\t\t${keys.map((key) => `--v-${key}: ${tokens[key]};`).join('\n\t\t')}`;
|
3163
|
+
}
|
3164
|
+
/**
|
3165
|
+
* It creates a `vegaDarkModeStyle` style tag in the head of the document if it doesn't exist, and returns it.
|
3166
|
+
*
|
3167
|
+
* @returns {Element} The `vegaDarkModeStyleContainer` is being returned.
|
3168
|
+
*/
|
3169
|
+
getDarkModeStyleContainer() {
|
3170
|
+
let vegaDarkModeStyleContainer = document.head.querySelector(`#vegaDarkModeStyle`);
|
3171
|
+
if (!vegaDarkModeStyleContainer) {
|
3172
|
+
vegaDarkModeStyleContainer = document.createElement('style');
|
3173
|
+
vegaDarkModeStyleContainer.id = 'vegaDarkModeStyle';
|
3174
|
+
document.head.append(vegaDarkModeStyleContainer);
|
3175
|
+
}
|
3176
|
+
return vegaDarkModeStyleContainer;
|
3177
|
+
}
|
3178
|
+
}
|
3179
|
+
const VegaDarkModeStyleController = new DarkModeStyleController();
|
3180
|
+
|
3181
|
+
const ThemeManagerRuntimeMetricsPayloadDefinition = [
|
3182
|
+
{
|
3183
|
+
payloadKey: 'IS_OVERRIDECOLORS_METHOD_CALLED',
|
3184
|
+
payloadDescription: 'Indicate if the method overrideColors of public API ThemeManager is called',
|
3185
|
+
/**
|
3186
|
+
* Indicate whether the method is collected when the method been called .
|
3187
|
+
*
|
3188
|
+
* @param {string} scope - The class name of public api
|
3189
|
+
* @param {string} methodName - The method name called by the public api
|
3190
|
+
* @returns {boolean} A boolean value
|
3191
|
+
*/
|
3192
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'overrideColors',
|
3193
|
+
/**
|
3194
|
+
* The function checks if the method is be called.
|
3195
|
+
*
|
3196
|
+
* @returns {boolean} A boolean value
|
3197
|
+
*/
|
3198
|
+
payloadValue: () => {
|
3199
|
+
return true;
|
3200
|
+
},
|
3201
|
+
},
|
3202
|
+
{
|
3203
|
+
payloadKey: 'IS_RESET_METHOD_CALLED',
|
3204
|
+
payloadDescription: 'Indicate if the method reset of public API ThemeManager is called',
|
3205
|
+
/**
|
3206
|
+
* Indicate whether the method is collected when the method been called .
|
3207
|
+
*
|
3208
|
+
* @param {string} scope - The class name of public api
|
3209
|
+
* @param {string} methodName - The method name called by the public api
|
3210
|
+
* @returns {boolean} A boolean value
|
3211
|
+
*/
|
3212
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'reset',
|
3213
|
+
/**
|
3214
|
+
* The function checks if the method is be called.
|
3215
|
+
*
|
3216
|
+
* @returns {boolean} A boolean value
|
3217
|
+
*/
|
3218
|
+
payloadValue: () => {
|
3219
|
+
return true;
|
3220
|
+
},
|
3221
|
+
},
|
3222
|
+
{
|
3223
|
+
payloadKey: 'IS_TOGGLEDARKMODE_METHOD_CALLED',
|
3224
|
+
payloadDescription: 'Indicate if the method toggleDarkMode of public API ThemeManager is called',
|
3225
|
+
/**
|
3226
|
+
* Indicate whether the method is collected when the method been called .
|
3227
|
+
*
|
3228
|
+
* @param {string} scope - The class name of public api
|
3229
|
+
* @param {string} methodName - The method name called by the public api
|
3230
|
+
* @returns {boolean} A boolean value
|
3231
|
+
*/
|
3232
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'toggleDarkMode',
|
3233
|
+
/**
|
3234
|
+
* The function checks if the method is be called.
|
3235
|
+
*
|
3236
|
+
* @returns {boolean} A boolean value
|
3237
|
+
*/
|
3238
|
+
payloadValue: () => {
|
3239
|
+
return true;
|
3240
|
+
},
|
3241
|
+
},
|
3242
|
+
{
|
3243
|
+
payloadKey: 'IS_ISDARKMODE_METHOD_CALLED',
|
3244
|
+
payloadDescription: 'Indicate if the method isDarkMode of public API ThemeManager is called',
|
3245
|
+
/**
|
3246
|
+
* Indicate whether the method is collected when the method been called .
|
3247
|
+
*
|
3248
|
+
* @param {string} scope - The class name of public api
|
3249
|
+
* @param {string} methodName - The method name called by the public api
|
3250
|
+
* @returns {boolean} A boolean value
|
3251
|
+
*/
|
3252
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'isDarkMode',
|
3253
|
+
/**
|
3254
|
+
* The function checks if the method is be called.
|
3255
|
+
*
|
3256
|
+
* @returns {boolean} A boolean value
|
3257
|
+
*/
|
3258
|
+
payloadValue: () => {
|
3259
|
+
return true;
|
3260
|
+
},
|
3261
|
+
},
|
3262
|
+
];
|
3263
|
+
|
3264
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3265
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3266
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3267
|
+
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;
|
3268
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3269
|
+
};
|
3270
|
+
/**
|
3271
|
+
* Vega components theme manager
|
3272
|
+
*/
|
3273
|
+
class ThemeManager {
|
3274
|
+
constructor() {
|
3275
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(ThemeManager, ['overrideColors', 'reset', 'toggleDarkMode', 'isDarkMode'], ThemeManagerRuntimeMetricsPayloadDefinition);
|
3276
|
+
}
|
3277
|
+
/**
|
3278
|
+
* It takes the colors you passed in, parses them into the correct format, and then applies them to the theme
|
3279
|
+
*
|
3280
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that you pass to the function.
|
3281
|
+
* @vegaVersion 1.20.0
|
3282
|
+
*/
|
3283
|
+
async overrideColors(overrideColors) {
|
3284
|
+
const overrideThemes = VegaColorSchemaOverridingController.generateOverrideThemes(overrideColors);
|
3285
|
+
VegaColorSchemaOverridingController.applyTheme(overrideThemes);
|
3286
|
+
}
|
3287
|
+
/**
|
3288
|
+
* It removes all the custom override theme styles from the DOM
|
3289
|
+
*
|
3290
|
+
* @vegaVersion 1.20.0
|
3291
|
+
*/
|
3292
|
+
async reset() {
|
3293
|
+
VegaColorSchemaOverridingController.getOverrideThemeContainer().innerHTML = '';
|
3294
|
+
}
|
3295
|
+
/**
|
3296
|
+
* This function toggles the dark mode of a webpage by adding or removing a 'dark' class to the HTML element.
|
3297
|
+
*
|
3298
|
+
* @param {boolean | undefined} darkMode - A boolean or undefined value that determines whether to enable or disable dark mode.
|
3299
|
+
* If it is true, dark mode is enabled.
|
3300
|
+
* If it is false, dark mode is disabled.
|
3301
|
+
* @vegaVersion 1.32.0
|
3302
|
+
*/
|
3303
|
+
toggleDarkMode(darkMode) {
|
3304
|
+
if (darkMode) {
|
3305
|
+
document.documentElement.classList.add('dark');
|
3306
|
+
VegaDarkModeStyleController.generateDarkModeStyle();
|
3307
|
+
}
|
3308
|
+
else {
|
3309
|
+
document.documentElement.classList.remove('dark');
|
3310
|
+
}
|
3311
|
+
}
|
3312
|
+
/**
|
3313
|
+
* The function checks if the HTML element has a class of "dark" and returns a boolean value accordingly.
|
3314
|
+
*
|
3315
|
+
* @returns {boolean} A boolean value indicating whether the HTML element has a class of "dark", which is
|
3316
|
+
* typically used to indicate that the website is in dark mode.
|
3317
|
+
* @vegaVersion 1.32.0
|
3318
|
+
*/
|
3319
|
+
isDarkMode() {
|
3320
|
+
return document.documentElement.classList.contains('dark');
|
3321
|
+
}
|
3322
|
+
}
|
3323
|
+
__decorate$4([
|
3324
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3325
|
+
], ThemeManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3326
|
+
const VegaThemeManager = new ThemeManager();
|
3327
|
+
|
3328
|
+
/* istanbul ignore next */
|
3329
|
+
const VegaEventManagerRuntimeMetricsPayloadDefinition = [
|
3330
|
+
{
|
3331
|
+
payloadKey: 'IS_SETSEMANTICS_METHOD_CALLED',
|
3332
|
+
payloadDescription: 'Indicate if the method setSemantics of public API VegaEventManager is called',
|
3333
|
+
/**
|
3334
|
+
* Indicate whether the method is collected when the method been called .
|
3335
|
+
*
|
3336
|
+
* @param {string} scope - The class name of public api
|
3337
|
+
* @param {string} methodName - The method name called by the public api
|
3338
|
+
* @returns {boolean} A boolean value
|
3339
|
+
*/
|
3340
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3341
|
+
/**
|
3342
|
+
* The function checks if the method is been called.
|
3343
|
+
*
|
3344
|
+
* @returns {boolean} A boolean value
|
3345
|
+
*/
|
3346
|
+
payloadValue: () => {
|
3347
|
+
return true;
|
3348
|
+
},
|
3349
|
+
},
|
3350
|
+
{
|
3351
|
+
payloadKey: 'IS_GETSEMANTICS_METHOD_CALLED',
|
3352
|
+
payloadDescription: 'Indicate if the method getSemantics of public API VegaEventManager is called',
|
3353
|
+
/**
|
3354
|
+
* Indicate whether the method is collected when the method been called .
|
3355
|
+
*
|
3356
|
+
* @param {string} scope - The class name of public api
|
3357
|
+
* @param {string} methodName - The method name called by the public api
|
3358
|
+
* @returns {boolean} A boolean value
|
3359
|
+
*/
|
3360
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getSemantics',
|
3361
|
+
/**
|
3362
|
+
* The function checks if the method is been called.
|
3363
|
+
*
|
3364
|
+
* @returns {boolean} A boolean value
|
3365
|
+
*/
|
3366
|
+
payloadValue: () => {
|
3367
|
+
return true;
|
3368
|
+
},
|
3369
|
+
},
|
3370
|
+
{
|
3371
|
+
payloadKey: 'IS_GETENABLEDEVENTIDSBYCOMPONENT_METHOD_CALLED',
|
3372
|
+
payloadDescription: 'Indicate if the method getEnabledEventIdsByComponent of public API VegaEventManager is called',
|
3373
|
+
/**
|
3374
|
+
* Indicate whether the method is collected when the method been called .
|
3375
|
+
*
|
3376
|
+
* @param {string} scope - The class name of public api
|
3377
|
+
* @param {string} methodName - The method name called by the public api
|
3378
|
+
* @returns {boolean} A boolean value
|
3379
|
+
*/
|
3380
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getEnabledEventIdsByComponent',
|
3381
|
+
/**
|
3382
|
+
* The function checks if the method is been called.
|
3383
|
+
*
|
3384
|
+
* @returns {boolean} A boolean value
|
3385
|
+
*/
|
3386
|
+
payloadValue: () => {
|
3387
|
+
return true;
|
3388
|
+
},
|
3389
|
+
},
|
3390
|
+
{
|
3391
|
+
payloadKey: 'globalEventIsNative',
|
3392
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix',
|
3393
|
+
/**
|
3394
|
+
* Indicate whether the method is collected when the method been called .
|
3395
|
+
*
|
3396
|
+
* @param {string} scope - The class name of public api
|
3397
|
+
* @param {string} methodName - The method name called by the public api
|
3398
|
+
* @returns {boolean} A boolean value
|
3399
|
+
*/
|
3400
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3401
|
+
/**
|
3402
|
+
* The function checks if the method is been called.
|
3403
|
+
*
|
3404
|
+
* @param {unknown[]} args - The args parameter is an object
|
3405
|
+
* @returns {boolean} A boolean value
|
3406
|
+
*/
|
3407
|
+
payloadValue: (args) => {
|
3408
|
+
const config = args;
|
3409
|
+
return !!(config.global && config.global.namespace === 'native');
|
3410
|
+
},
|
3411
|
+
},
|
3412
|
+
{
|
3413
|
+
payloadKey: 'eventOfSpecificComponentsIsNative',
|
3414
|
+
payloadDescription: 'Indicate if the vega components will emit events with the vega prefix, but special components will emit events without vega prefix',
|
3415
|
+
/**
|
3416
|
+
* Indicate whether the method is collected when the method been called .
|
3417
|
+
*
|
3418
|
+
* @param {string} scope - The class name of public api
|
3419
|
+
* @param {string} methodName - The method name called by the public api
|
3420
|
+
* @returns {boolean} A boolean value
|
3421
|
+
*/
|
3422
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3423
|
+
/**
|
3424
|
+
* The function checks if the method is been called.
|
3425
|
+
*
|
3426
|
+
* @param {unknown[]} args - The args parameter is an object
|
3427
|
+
* @returns {boolean} A boolean value
|
3428
|
+
*/
|
3429
|
+
payloadValue: (args) => {
|
3430
|
+
const config = args;
|
3431
|
+
if (config.components) {
|
3432
|
+
const specialComponents = Object.keys(config.components);
|
3433
|
+
return !!(specialComponents.length > 0 &&
|
3434
|
+
config.components[specialComponents[0]].namespace === 'native');
|
3435
|
+
}
|
3436
|
+
return false;
|
3437
|
+
},
|
3438
|
+
},
|
3439
|
+
{
|
3440
|
+
payloadKey: 'eventOfSpecificComponentsIsVega',
|
3441
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix, but special components will emit events with vega prefix',
|
3442
|
+
/**
|
3443
|
+
* Indicate whether the method is collected when the method been called .
|
3444
|
+
*
|
3445
|
+
* @param {string} scope - The class name of public api
|
3446
|
+
* @param {string} methodName - The method name called by the public api
|
3447
|
+
* @returns {boolean} A boolean value
|
3448
|
+
*/
|
3449
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3450
|
+
/**
|
3451
|
+
* The function checks if the method is been called.
|
3452
|
+
*
|
3453
|
+
* @param {unknown[]} args - The args parameter is an object
|
3454
|
+
* @returns {boolean} A boolean value
|
3455
|
+
*/
|
3456
|
+
payloadValue: (args) => {
|
3457
|
+
const config = args;
|
3458
|
+
if (config.global && config.components) {
|
3459
|
+
const specialComponents = Object.keys(config.components);
|
3460
|
+
return !!(config.global.namespace === 'native' &&
|
3461
|
+
specialComponents.length > 0 &&
|
3462
|
+
config.components[specialComponents[0]].namespace === 'vega');
|
3463
|
+
}
|
3464
|
+
return false;
|
3465
|
+
},
|
3466
|
+
},
|
3467
|
+
{
|
3468
|
+
payloadKey: 'globalJqueryDelegatedEventIsTrue',
|
3469
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3470
|
+
/**
|
3471
|
+
* Indicate whether the method is collected when the method been called .
|
3472
|
+
*
|
3473
|
+
* @param {string} scope - The class name of public api
|
3474
|
+
* @param {string} methodName - The method name called by the public api
|
3475
|
+
* @returns {boolean} A boolean value
|
3476
|
+
*/
|
3477
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3478
|
+
/**
|
3479
|
+
* The function checks if the method is been called.
|
3480
|
+
*
|
3481
|
+
* @param {unknown[]} args - The args parameter is an object
|
3482
|
+
* @returns {boolean} A boolean value
|
3483
|
+
*/
|
3484
|
+
payloadValue: (args) => {
|
3485
|
+
const config = args;
|
3486
|
+
return !!(config.global && config.global.jqueryDelegatedEvent === true);
|
3487
|
+
},
|
3488
|
+
},
|
3489
|
+
{
|
3490
|
+
payloadKey: 'jqueryDelegatedEventIsCustomStrategy',
|
3491
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3492
|
+
/**
|
3493
|
+
* Indicate whether the method is collected when the method been called .
|
3494
|
+
*
|
3495
|
+
* @param {string} scope - The class name of public api
|
3496
|
+
* @param {string} methodName - The method name called by the public api
|
3497
|
+
* @returns {boolean} A boolean value
|
3498
|
+
*/
|
3499
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3500
|
+
/**
|
3501
|
+
* The function checks if the method is been called.
|
3502
|
+
*
|
3503
|
+
* @param {unknown[]} args - The args parameter is an object
|
3504
|
+
* @returns {boolean} A boolean value
|
3505
|
+
*/
|
3506
|
+
payloadValue: (args) => {
|
3507
|
+
const config = args;
|
3508
|
+
return !!(config.global &&
|
3509
|
+
Array.isArray(config.global.jqueryDelegatedEvent) &&
|
3510
|
+
config.global.jqueryDelegatedEvent.length > 0);
|
3511
|
+
},
|
3512
|
+
},
|
3513
|
+
{
|
3514
|
+
payloadKey: 'jqueryDelegatedEventOfSpecialComponentsIsTrue',
|
3515
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3516
|
+
/**
|
3517
|
+
* Indicate whether the method is collected when the method been called .
|
3518
|
+
*
|
3519
|
+
* @param {string} scope - The class name of public api
|
3520
|
+
* @param {string} methodName - The method name called by the public api
|
3521
|
+
* @returns {boolean} A boolean value
|
3522
|
+
*/
|
3523
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3524
|
+
/**
|
3525
|
+
* The function checks if the method is been called.
|
3526
|
+
*
|
3527
|
+
* @param {unknown[]} args - The args parameter is an object
|
3528
|
+
* @returns {boolean} A boolean value
|
3529
|
+
*/
|
3530
|
+
payloadValue: (args) => {
|
3531
|
+
const config = args;
|
3532
|
+
if (config.components) {
|
3533
|
+
const specialComponents = Object.keys(config.components);
|
3534
|
+
return !!(specialComponents.length > 0 &&
|
3535
|
+
config.components[specialComponents[0]].jqueryDelegatedEvent === true);
|
3536
|
+
}
|
3537
|
+
return false;
|
3538
|
+
},
|
3539
|
+
},
|
3540
|
+
];
|
3541
|
+
|
3542
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3543
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3544
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3545
|
+
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;
|
3546
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3547
|
+
};
|
3548
|
+
/**
|
3549
|
+
* The VegaEventManager class provides methods for setting and retrieving event semantics configuration,
|
3550
|
+
* as well as getting the corresponding native event name for a given event.
|
3551
|
+
*/
|
3552
|
+
class VegaEventManager {
|
3553
|
+
constructor() {
|
3554
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaEventManager, ['setSemantics', 'getSemantics', 'getEnabledEventIdsByComponent'], VegaEventManagerRuntimeMetricsPayloadDefinition);
|
3555
|
+
}
|
3556
|
+
/**
|
3557
|
+
* The function sets the semantics configuration for event management.
|
3558
|
+
*
|
3559
|
+
* @param {EventSemanticsConfig} config - The config parameter is an object that contains the
|
3560
|
+
* configuration settings for the event semantics. It may include properties such as the event type,
|
3561
|
+
* event source, event target, event data, and any other relevant information for setting up the
|
3562
|
+
* semantics of the event.
|
3563
|
+
* @vegaVersion 2.0.0
|
3564
|
+
*/
|
3565
|
+
setSemantics(config) {
|
3566
|
+
internalVegaEventManager.internalVegaEventManager.setSemantics(config);
|
3567
|
+
}
|
3568
|
+
/**
|
3569
|
+
* The function "getSemantics" returns the event semantics of an HTML element.
|
3570
|
+
*
|
3571
|
+
* @param {HTMLElement} host - The host parameter is an HTMLElement, which represents an HTML element
|
3572
|
+
* in the DOM (Document Object Model). It can be any valid HTML element such as a div, span, button,
|
3573
|
+
* etc.
|
3574
|
+
* @returns {EventSemantics} an object of type EventSemantics.
|
3575
|
+
* @vegaVersion 2.0.0
|
3576
|
+
*/
|
3577
|
+
getSemantics(host) {
|
3578
|
+
return internalVegaEventManager.internalVegaEventManager.getSemantics(host);
|
3579
|
+
}
|
3580
|
+
/**
|
3581
|
+
* The function "getEnabledEventIdsByComponent" returns the all eventIds in component.
|
3582
|
+
*
|
3583
|
+
* @param {VegaComponentName} componentName - The component name,
|
3584
|
+
* etc.
|
3585
|
+
* @returns {Nullable<VegaEventID[]>} All eventIds.
|
3586
|
+
* @vegaVersion 2.0.0
|
3587
|
+
*/
|
3588
|
+
getEnabledEventIdsByComponent(componentName) {
|
3589
|
+
return internalVegaEventManager.internalVegaEventManager.getEnabledEventIdsByComponent(componentName);
|
3590
|
+
}
|
3591
|
+
}
|
3592
|
+
__decorate$3([
|
3593
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3594
|
+
], VegaEventManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3595
|
+
const VegaEventManager$1 = new VegaEventManager();
|
3596
|
+
|
3597
|
+
const ZIndexManagerRuntimeMetricsPayloadDefinition = [
|
3598
|
+
{
|
3599
|
+
payloadKey: 'IS_OVERRIDEZINDEXBASICVALUES_METHOD_CALLED',
|
3600
|
+
payloadDescription: 'Indicate if the method overrideZIndexBasicValues of public API ZIndexManager is called',
|
3601
|
+
/**
|
3602
|
+
* Indicate whether the method is collected when the method been called .
|
3603
|
+
*
|
3604
|
+
* @param {string} scope - The class name of public api
|
3605
|
+
* @param {string} methodName - The method name called by the public api
|
3606
|
+
* @returns {boolean} A boolean value
|
3607
|
+
*/
|
3608
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3609
|
+
/**
|
3610
|
+
* The function checks if the method name is load.
|
3611
|
+
*
|
3612
|
+
* @returns {boolean} A boolean value
|
3613
|
+
*/
|
3614
|
+
payloadValue: () => {
|
3615
|
+
return true;
|
3616
|
+
},
|
3617
|
+
},
|
3618
|
+
{
|
3619
|
+
payloadKey: 'zIndexBasicValuesGreatThanTenThousand',
|
3620
|
+
payloadDescription: 'Indicate if the basic z-index value is great than ten thousand',
|
3621
|
+
/**
|
3622
|
+
* Indicate whether the method is collected when the method been called .
|
3623
|
+
*
|
3624
|
+
* @param {string} scope - The class name of public api
|
3625
|
+
* @param {string} methodName - The method name called by the public api
|
3626
|
+
* @returns {boolean} A boolean value
|
3627
|
+
*/
|
3628
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3629
|
+
/**
|
3630
|
+
* The function checks if the method name is load.
|
3631
|
+
*
|
3632
|
+
* @param {unknown[]} args - The parameter of slimmer method
|
3633
|
+
* @returns {boolean} A boolean value
|
3634
|
+
*/
|
3635
|
+
payloadValue: (args) => {
|
3636
|
+
return args['base'] > 10000;
|
3637
|
+
},
|
3638
|
+
},
|
3639
|
+
];
|
3640
|
+
|
3641
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3642
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3643
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3644
|
+
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;
|
3645
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3646
|
+
};
|
3647
|
+
/**
|
3648
|
+
* The VegaZIndexManager class calls a method in the ZIndexManager class to
|
3649
|
+
* change z-index values based on the input.
|
3650
|
+
*/
|
3651
|
+
class VegaZIndexManager {
|
3652
|
+
constructor() {
|
3653
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaZIndexManager, ['overrideZIndexBasicValues'], ZIndexManagerRuntimeMetricsPayloadDefinition);
|
3654
|
+
}
|
3655
|
+
/**
|
3656
|
+
* The function "overrideZIndexBasicValues" calls a method in the "ZIndexManager" class to change the
|
3657
|
+
* z-index values based on the input.
|
3658
|
+
*
|
3659
|
+
* @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues.
|
3660
|
+
* @vegaVersion 2.3.0
|
3661
|
+
*/
|
3662
|
+
overrideZIndexBasicValues(input) {
|
3663
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.overrideZIndexBasicValues(input);
|
3664
|
+
}
|
3665
|
+
}
|
3666
|
+
__decorate$2([
|
3667
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3668
|
+
], VegaZIndexManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3669
|
+
const VegaZIndexManager$1 = new VegaZIndexManager();
|
3670
|
+
|
3671
|
+
const WaitForVegaPayloadDefinition = [
|
3672
|
+
{
|
3673
|
+
payloadKey: 'IS_WAITFORVEGA_METHOD_CALLED',
|
3674
|
+
payloadDescription: 'Indicate if the method waitForVega of public API WaitForVegaHandler is called',
|
3675
|
+
/**
|
3676
|
+
* Indicate whether the method is collected when the method been called .
|
3677
|
+
*
|
3678
|
+
* @param {string} scope - The class name of public api
|
3679
|
+
* @param {string} methodName - The method name called by the public api
|
3680
|
+
* @returns {boolean} A boolean value
|
3681
|
+
*/
|
3682
|
+
canAccept: (scope, methodName) => scope === 'WaitForVegaHandler' && methodName === 'handle',
|
3683
|
+
/**
|
3684
|
+
* The function checks if the method name is waitForVega.
|
3685
|
+
*
|
3686
|
+
* @returns {boolean} A boolean value
|
3687
|
+
*/
|
3688
|
+
payloadValue: () => {
|
3689
|
+
return true;
|
3690
|
+
},
|
3691
|
+
},
|
3692
|
+
];
|
3693
|
+
|
3694
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3695
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3696
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3697
|
+
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;
|
3698
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3699
|
+
};
|
3700
|
+
/**
|
3701
|
+
* WaitForVegaHandler to check whether the vega component has been loaded.
|
3702
|
+
*/
|
3703
|
+
class WaitForVegaHandler {
|
3704
|
+
constructor() {
|
3705
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(WaitForVegaHandler, ['handle'], WaitForVegaPayloadDefinition);
|
3706
|
+
}
|
3707
|
+
/* istanbul ignore next */
|
3708
|
+
/**
|
3709
|
+
* Wait for all vega elements to be ready.
|
3710
|
+
*
|
3711
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3712
|
+
*
|
3713
|
+
* @vegaVersion 2.8.0
|
3714
|
+
*/
|
3715
|
+
async handle() {
|
3716
|
+
return await Promise.all(Array.from(document.querySelectorAll('*:not(.hydrated)'))
|
3717
|
+
.filter((item) => item.tagName.startsWith('VEGA'))
|
3718
|
+
.map((item) => { var _a; return (_a = item.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(item); }));
|
3719
|
+
}
|
3720
|
+
}
|
3721
|
+
__decorate$1([
|
3722
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3723
|
+
], WaitForVegaHandler.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3724
|
+
const WaitForVega = new WaitForVegaHandler();
|
3725
|
+
|
3726
|
+
/* istanbul ignore next */
|
3727
|
+
/**
|
3728
|
+
* Wait for all vega elements to be ready.
|
3729
|
+
*
|
3730
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3731
|
+
*/
|
3732
|
+
const waitForVega = async () => {
|
3733
|
+
return WaitForVega.handle();
|
3734
|
+
};
|
3735
|
+
|
3736
|
+
const VegaSkeletonRuntimeMetricsPayloadDefinition = [
|
3737
|
+
{
|
3738
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
3739
|
+
payloadDescription: 'Indicate if the method load of public API VegaSkeletonLoaderController is called',
|
3740
|
+
/**
|
3741
|
+
* Indicate whether the method is collected when the method been called .
|
3742
|
+
*
|
3743
|
+
* @param {string} scope - The class name of public api
|
3744
|
+
* @param {string} methodName - The method name called by the public api
|
3745
|
+
* @returns {boolean} A boolean value
|
3746
|
+
*/
|
3747
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'load',
|
3748
|
+
/**
|
3749
|
+
* The function checks if the method name is load.
|
3750
|
+
*
|
3751
|
+
* @returns {boolean} A boolean value
|
3752
|
+
*/
|
3753
|
+
payloadValue: () => {
|
3754
|
+
return true;
|
3755
|
+
},
|
3756
|
+
},
|
3757
|
+
{
|
3758
|
+
payloadKey: 'IS_UNLOAD_METHOD_CALLED',
|
3759
|
+
payloadDescription: 'Indicate if the method unLoad of public API VegaSkeletonLoaderController is called',
|
3760
|
+
/**
|
3761
|
+
* Indicate whether the method is collected when the method been called .
|
3762
|
+
*
|
3763
|
+
* @param {string} scope - The class name of public api
|
3764
|
+
* @param {string} methodName - The method name called by the public api
|
3765
|
+
* @returns {boolean} A boolean value
|
3766
|
+
*/
|
3767
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoad',
|
3768
|
+
/**
|
3769
|
+
* The function checks if the method name is unLoad.
|
3770
|
+
*
|
3771
|
+
* @returns {boolean} A boolean value
|
3772
|
+
*/
|
3773
|
+
payloadValue: () => {
|
3774
|
+
return true;
|
3775
|
+
},
|
3776
|
+
},
|
3777
|
+
{
|
3778
|
+
payloadKey: 'IS_UNLOADALL_METHOD_CALLED',
|
3779
|
+
payloadDescription: 'Indicate if the method unLoadAll of public API VegaSkeletonLoaderController is called',
|
3780
|
+
/**
|
3781
|
+
* Indicate whether the method is collected when the method been called .
|
3782
|
+
*
|
3783
|
+
* @param {string} scope - The class name of public api
|
3784
|
+
* @param {string} methodName - The method name called by the public api
|
3785
|
+
* @returns {boolean} A boolean value
|
3786
|
+
*/
|
3787
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoadAll',
|
3788
|
+
/**
|
3789
|
+
* The function checks if the method name is unLoadAll.
|
3790
|
+
*
|
3791
|
+
* @returns {boolean} A boolean value
|
3792
|
+
*/
|
3793
|
+
payloadValue: () => {
|
3794
|
+
return true;
|
3795
|
+
},
|
3796
|
+
},
|
3797
|
+
];
|
3798
|
+
|
3799
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3800
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3801
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3802
|
+
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;
|
3803
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3804
|
+
};
|
3805
|
+
/**
|
3806
|
+
* Vega Skeleton Loader Controller to show skeletons in the target elements
|
3807
|
+
*/
|
3808
|
+
class VegaSkeletonLoaderController {
|
3809
|
+
constructor() {
|
3810
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaSkeletonLoaderController, ['load', 'unLoad', 'unLoadAll'], VegaSkeletonRuntimeMetricsPayloadDefinition);
|
3811
|
+
this.loaderMap = new Map();
|
3812
|
+
}
|
3813
|
+
/**
|
3814
|
+
* Load the skeletons in the target elements
|
3815
|
+
*
|
3816
|
+
* @param { VegaSkeletonLoaderConfig } config - Configuration for the loading function
|
3817
|
+
* @param {string} config.target - Target elements to show the skeletons.
|
3818
|
+
* @param {VegaSkeletonLoaderConfig.type} [config.type = 'text'] - Type of the skeleton.
|
3819
|
+
* @param {VegaSkeletonLoaderConfig.width} config.width - Width of the skeleton.
|
3820
|
+
* @param {VegaSkeletonLoaderConfig.height} config.height - Height of the skeleton.
|
3821
|
+
* @param {VegaSkeletonLoaderConfig.items} config.items - Configuration for multiple skeleton items.
|
3822
|
+
* @param {VegaSkeletonLoaderConfig.layout} config.layout - Layout of the skeleton items.
|
3823
|
+
* @returns { string } - Key of the loaded skeleton items.
|
3824
|
+
* @vegaVersion 2.16.0
|
3825
|
+
*/
|
3826
|
+
load({ target, type = 'text', width, height, items, layout }) {
|
3827
|
+
const targets = Array.from(document.body.querySelectorAll(target));
|
3828
|
+
const key = `vega-skeleton-loader-${misc.generateUUID()}`;
|
3829
|
+
const loaderItems = [];
|
3830
|
+
targets.forEach((target) => {
|
3831
|
+
const skeletonsLoaders = !items
|
3832
|
+
? [this.createSkeleton({ type, width, height })]
|
3833
|
+
: items.map(this.createSkeleton);
|
3834
|
+
const itemsWithKey = (layout ? [this.wrapLayout(skeletonsLoaders, layout)] : skeletonsLoaders).map((item) => {
|
3835
|
+
item.dataset[VegaSkeletonLoaderController.LOADER_DATA_SET_KEY] = key;
|
3836
|
+
return item;
|
3837
|
+
});
|
3838
|
+
loaderItems.push(...itemsWithKey);
|
3839
|
+
target.append(...itemsWithKey);
|
3840
|
+
});
|
3841
|
+
this.loaderMap.set(key, loaderItems);
|
3842
|
+
return key;
|
3843
|
+
}
|
3844
|
+
/**
|
3845
|
+
* Remove the skeletons from the dom.
|
3846
|
+
*
|
3847
|
+
* @param {string} key - The key returned from {@link VegaSkeletonLoaderController.load}.
|
3848
|
+
* @vegaVersion 2.16.0
|
3849
|
+
*/
|
3850
|
+
unLoad(key) {
|
3851
|
+
if (this.loaderMap.has(key)) {
|
3852
|
+
this.loaderMap.get(key).forEach((item) => item.remove());
|
3853
|
+
this.loaderMap.delete(key);
|
3854
|
+
}
|
3855
|
+
}
|
3856
|
+
/**
|
3857
|
+
* Remove all the skeletons from the dom.
|
3858
|
+
*
|
3859
|
+
* @vegaVersion 2.16.0
|
3860
|
+
*/
|
3861
|
+
unLoadAll() {
|
3862
|
+
for (const items of this.loaderMap.values()) {
|
3863
|
+
items.forEach((item) => item.remove());
|
3864
|
+
}
|
3865
|
+
this.loaderMap.clear();
|
3866
|
+
}
|
3867
|
+
/**
|
3868
|
+
* Create a skeleton item. The skeleton animated always be true
|
3869
|
+
*
|
3870
|
+
* @param {VegaSkeletonLoaderItem} config - Configuration for the skeleton item.
|
3871
|
+
* @returns {HTMLElement} - Skeleton item.
|
3872
|
+
*/
|
3873
|
+
createSkeleton(config) {
|
3874
|
+
const { type, width, height } = config;
|
3875
|
+
const skeleton = document.createElement('vega-skeleton');
|
3876
|
+
Object.assign(skeleton, { animated: true, type, width, height });
|
3877
|
+
return skeleton;
|
3878
|
+
}
|
3879
|
+
/**
|
3880
|
+
* Wrap the flex layout for the skeletons.
|
3881
|
+
*
|
3882
|
+
* @param {HTMLElement[]} skeletons - Skeleton elements of the loader.
|
3883
|
+
* @param {VegaSkeletonLoaderLayout} layout - Flex properties for the layout.
|
3884
|
+
* @returns {HTMLElement} - Container wrapping the skeletons in the specified flex layout.
|
3885
|
+
*/
|
3886
|
+
wrapLayout(skeletons, layout) {
|
3887
|
+
const skeletonContainer = document.createElement('vega-flex');
|
3888
|
+
Object.assign(skeletonContainer, Object.assign({ className: 'vega-skeleton-loader-template-container' }, layout.props));
|
3889
|
+
Object.assign(skeletonContainer.style, layout.style);
|
3890
|
+
skeletonContainer.append(...skeletons);
|
3891
|
+
return skeletonContainer;
|
3892
|
+
}
|
3893
|
+
}
|
3894
|
+
VegaSkeletonLoaderController.LOADER_DATA_SET_KEY = 'vegaSkeletonLoaderKey';
|
3895
|
+
__decorate([
|
3896
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3897
|
+
], VegaSkeletonLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3898
|
+
const VegaSkeletonLoader = new VegaSkeletonLoaderController();
|
3899
|
+
|
3900
|
+
exports.VegaEventManager = VegaEventManager$1;
|
3901
|
+
exports.VegaLoader = VegaLoader;
|
3902
|
+
exports.VegaNotify = VegaNotify;
|
3903
|
+
exports.VegaSkeletonLoader = VegaSkeletonLoader;
|
3904
|
+
exports.VegaThemeManager = VegaThemeManager;
|
3905
|
+
exports.VegaZIndexManager = VegaZIndexManager$1;
|
3906
|
+
exports.waitForVega = waitForVega;
|