@heartlandone/vega-sandbox-pr-1520-a51b2975cb4fa00d6d301ff891a23f2eb3bccd2e 2.27.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/cjs/accessibility-bfa227f6.js +17 -0
- package/dist/cjs/app-globals-512d84f4.js +304 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-7e2dff90.js +66 -0
- package/dist/cjs/change-manager-a297e4d2.js +78 -0
- package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
- package/dist/cjs/child-nodes-event-prevent-slimmer-e383a914.js +158 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-79f2f5a7.js +90 -0
- package/dist/cjs/component-73a88c4e.js +117 -0
- package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
- package/dist/cjs/component-load-required-16d76afa.js +48 -0
- package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
- package/dist/cjs/create-public-api-runtime-metrics-slimmer-7510221b.js +208 -0
- package/dist/cjs/date-0a6bb035.js +95 -0
- package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
- package/dist/cjs/design-token-17b8e4d8.js +403 -0
- package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +141 -0
- package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
- package/dist/cjs/effect-37695d3d.js +52 -0
- package/dist/cjs/element-appender-slimmer-bf5ecbd8.js +1109 -0
- package/dist/cjs/event-emit-slimmer-8f51adaa.js +257 -0
- package/dist/cjs/feature-flag-controller-078da332.js +313 -0
- package/dist/cjs/form-field-controller-slimmer-223f8ee3.js +1137 -0
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/icon-manager-5a2b67cf.js +122 -0
- package/dist/cjs/icons-dbc3eb9c.js +520 -0
- package/dist/cjs/immutable-map-adf398cc.js +117 -0
- package/dist/cjs/index-09acd3c9.js +1763 -0
- package/dist/cjs/index-5792390b.js +1024 -0
- package/dist/cjs/index.cjs.js +96 -0
- package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
- package/dist/cjs/internal-icon-manager-858baff1.js +45 -0
- package/dist/cjs/internal-vega-event-manager-627b1328.js +460 -0
- package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
- package/dist/cjs/keyboard-manager-34b78600.js +106 -0
- package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
- package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
- package/dist/cjs/loader.cjs.js +47 -0
- package/dist/cjs/min-number-rule-84f21ad9.js +142 -0
- package/dist/cjs/min-string-length-rule-75f24a48.js +143 -0
- package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
- package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
- package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
- package/dist/cjs/number-459031f7.js +92 -0
- package/dist/cjs/object-bbd4ed7f.js +37 -0
- package/dist/cjs/observer-f49483e8.js +32 -0
- package/dist/cjs/page-resize-observer-slimmer-a8cf1874.js +122 -0
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/placeholder-cb6d37ad.js +27 -0
- package/dist/cjs/regex-c1f70fd4.js +15 -0
- package/dist/cjs/remote-invocation-registry-32aaf6c2.js +64 -0
- package/dist/cjs/required-field-rule-9a57b1a0.js +83 -0
- package/dist/cjs/responsive-format-facade-7bc51a43.js +718 -0
- package/dist/cjs/state-background-color-formatter-418b84e6.js +85 -0
- package/dist/cjs/static-subject-title-3599787e.js +69 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-fcfa5bb7.js +364 -0
- package/dist/cjs/style-formatter-a0829641.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-832a4215.js +204 -0
- package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/translation-0dd74433.js +276 -0
- package/dist/cjs/translation-slimmer-83577cfd.js +42 -0
- package/dist/cjs/type-guard-a07b353b.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-08f33116.js +200 -0
- package/dist/cjs/ui-32e69595.js +52 -0
- package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
- package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
- package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
- package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
- package/dist/cjs/vega-banner.cjs.entry.js +354 -0
- package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
- package/dist/cjs/vega-box.cjs.entry.js +208 -0
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +268 -0
- package/dist/cjs/vega-button-circle.cjs.entry.js +222 -0
- package/dist/cjs/vega-button-group_2.cjs.entry.js +424 -0
- package/dist/cjs/vega-button-link.cjs.entry.js +216 -0
- package/dist/cjs/vega-button.cjs.entry.js +234 -0
- package/dist/cjs/vega-calendar_3.cjs.entry.js +4054 -0
- package/dist/cjs/vega-card.cjs.entry.js +196 -0
- package/dist/cjs/vega-carousel.cjs.entry.js +515 -0
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +625 -0
- package/dist/cjs/vega-chip.cjs.entry.js +301 -0
- package/dist/cjs/vega-color-picker.cjs.entry.js +249 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +438 -0
- package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +2120 -0
- package/dist/cjs/vega-dialog-controller-6a8525b3.js +81 -0
- package/dist/cjs/vega-dialog_2.cjs.entry.js +716 -0
- package/dist/cjs/vega-divider.cjs.entry.js +149 -0
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +2928 -0
- package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
- package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
- package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +166 -0
- package/dist/cjs/vega-file-uploader.cjs.entry.js +687 -0
- package/dist/cjs/vega-flex.cjs.entry.js +197 -0
- package/dist/cjs/vega-font.cjs.entry.js +289 -0
- package/dist/cjs/vega-form.cjs.entry.js +485 -0
- package/dist/cjs/vega-grid.cjs.entry.js +99 -0
- package/dist/cjs/vega-hint.cjs.entry.js +38 -0
- package/dist/cjs/vega-icon.cjs.entry.js +228 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +935 -0
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +412 -0
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9223 -0
- package/dist/cjs/vega-input-range.cjs.entry.js +746 -0
- package/dist/cjs/vega-input-select.cjs.entry.js +879 -0
- package/dist/cjs/vega-input.cjs.entry.js +1015 -0
- package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +191 -0
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +1184 -0
- package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +211 -0
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +183 -0
- package/dist/cjs/vega-pagination.cjs.entry.js +386 -0
- package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
- package/dist/cjs/vega-popover_2.cjs.entry.js +321 -0
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +252 -0
- package/dist/cjs/vega-radio_2.cjs.entry.js +743 -0
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +58 -0
- package/dist/cjs/vega-rich-text-editor.cjs.entry.js +149 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +348 -0
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +836 -0
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +795 -0
- package/dist/cjs/vega-signature-capture.cjs.entry.js +572 -0
- package/dist/cjs/vega-skeleton-loader-controller-e886dc58.js +3905 -0
- package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
- package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
- package/dist/cjs/vega-stepper.cjs.entry.js +292 -0
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +1270 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4571 -0
- package/dist/cjs/vega-text.cjs.entry.js +232 -0
- package/dist/cjs/vega-textarea.cjs.entry.js +302 -0
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +2157 -0
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +248 -0
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
- package/dist/cjs/vega.cjs.js +45 -0
- package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
- package/dist/collection/collection-manifest.json +469 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
- package/dist/collection/components/vega-accordion/vega-accordion.css +191 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
- package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2088 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
- package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
- package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
- package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
- package/dist/collection/components/vega-banner/vega-banner.css +167 -0
- package/dist/collection/components/vega-banner/vega-banner.js +355 -0
- package/dist/collection/components/vega-box/interface.js +1 -0
- package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
- package/dist/collection/components/vega-box/vega-box.css +7247 -0
- package/dist/collection/components/vega-box/vega-box.js +798 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
- package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
- package/dist/collection/components/vega-button/vega-button.css +200 -0
- package/dist/collection/components/vega-button/vega-button.js +481 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +406 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
- package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +73 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
- package/dist/collection/components/vega-button-group/vega-button-group.css +26 -0
- package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
- package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
- package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
- package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
- package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +117 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +90 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +163 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +92 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +105 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +190 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +30 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +162 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +109 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +179 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +125 -0
- package/dist/collection/components/vega-calendar/utils/index.js +32 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +208 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +658 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +552 -0
- package/dist/collection/components/vega-card/vega-card.css +6713 -0
- package/dist/collection/components/vega-card/vega-card.js +193 -0
- package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
- package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
- package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
- package/dist/collection/components/vega-chip/vega-chip.css +2338 -0
- package/dist/collection/components/vega-chip/vega-chip.js +617 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
- package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +349 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +117 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +811 -0
- package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
- package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
- package/dist/collection/components/vega-divider/interface.js +1 -0
- package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
- package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
- package/dist/collection/components/vega-divider/vega-divider.js +170 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +103 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +94 -0
- package/dist/collection/components/vega-dropdown/test/share.js +13 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +237 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +44 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +32 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.css +62 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +93 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.js +37 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +80 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +103 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +129 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +291 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.css +8 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +1281 -0
- package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
- package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
- package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
- package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
- package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
- package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +171 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +665 -0
- package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
- package/dist/collection/components/vega-flex/vega-flex.js +435 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
- package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
- package/dist/collection/components/vega-font/vega-font.css +1837 -0
- package/dist/collection/components/vega-font/vega-font.js +251 -0
- package/dist/collection/components/vega-form/vega-form.css +8 -0
- package/dist/collection/components/vega-form/vega-form.js +812 -0
- package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
- package/dist/collection/components/vega-grid/vega-grid.js +178 -0
- package/dist/collection/components/vega-hint/vega-hint.js +39 -0
- package/dist/collection/components/vega-icon/vega-icon.css +391 -0
- package/dist/collection/components/vega-icon/vega-icon.js +291 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +45 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +794 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
- package/dist/collection/components/vega-input/vega-input.css +274 -0
- package/dist/collection/components/vega-input/vega-input.js +1147 -0
- package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
- package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
- package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
- package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +565 -0
- package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +143 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
- package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
- package/dist/collection/components/vega-input-range/vega-input-range.js +602 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +145 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
- package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +817 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
- package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
- package/dist/collection/components/vega-modal/vega-modal.js +954 -0
- package/dist/collection/components/vega-nav/interface.js +1 -0
- package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
- package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
- package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
- package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.js +31 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +39 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +203 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
- package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
- package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
- package/dist/collection/components/vega-pagination/vega-pagination.js +404 -0
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
- package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
- package/dist/collection/components/vega-popover/vega-popover.css +8 -0
- package/dist/collection/components/vega-popover/vega-popover.js +441 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
- package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
- package/dist/collection/components/vega-radio/vega-radio.css +203 -0
- package/dist/collection/components/vega-radio/vega-radio.js +434 -0
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +7 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +8 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +75 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +67 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +260 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +210 -0
- package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
- package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
- package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
- package/dist/collection/components/vega-selection-chip/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
- package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
- package/dist/collection/components/vega-selection-tile/interface.js +1 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
- package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
- package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
- package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +115 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +547 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.css +80 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
- package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
- package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +116 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +251 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
- package/dist/collection/components/vega-table/interface.js +10 -0
- package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +96 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
- package/dist/collection/components/vega-table/test/utils.js +22 -0
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
- package/dist/collection/components/vega-table/type-guard.js +20 -0
- package/dist/collection/components/vega-table/utils.js +44 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
- package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.js +38 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +130 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +297 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
- package/dist/collection/components/vega-table/vega-table.css +114 -0
- package/dist/collection/components/vega-table/vega-table.js +1851 -0
- package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
- package/dist/collection/components/vega-text/vega-text.css +16 -0
- package/dist/collection/components/vega-text/vega-text.js +118 -0
- package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
- package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +178 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +103 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +663 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
- package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
- package/dist/collection/constants/card-config.js +60 -0
- package/dist/collection/constants/locale.js +238 -0
- package/dist/collection/constants/misc.js +6 -0
- package/dist/collection/constants/public-api.js +9 -0
- package/dist/collection/constants/regex.js +6 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/tests/validator.test.js +24 -0
- package/dist/collection/constants/tokens/border-radius.js +16 -0
- package/dist/collection/constants/tokens/borders.js +37 -0
- package/dist/collection/constants/tokens/breakpoints.js +10 -0
- package/dist/collection/constants/tokens/colors-mapping.js +229 -0
- package/dist/collection/constants/tokens/colors.js +205 -0
- package/dist/collection/constants/tokens/icons.js +515 -0
- package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
- package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
- package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
- package/dist/collection/constants/tokens/rings.js +5 -0
- package/dist/collection/constants/tokens/shadows.js +17 -0
- package/dist/collection/constants/tokens/spacing.js +21 -0
- package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
- package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
- package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
- package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
- package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
- package/dist/collection/constants/tokens/typography.js +1074 -0
- package/dist/collection/constants/ui.js +85 -0
- package/dist/collection/constants/validator.js +7 -0
- package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
- package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
- package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
- package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
- package/dist/collection/global/icons/arrow-up-arrow-down.js +3 -0
- package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
- package/dist/collection/global/icons/chevron-down.js +3 -0
- package/dist/collection/global/icons/chevron-left.js +3 -0
- package/dist/collection/global/icons/chevron-right.js +3 -0
- package/dist/collection/global/icons/chevron-up.js +3 -0
- package/dist/collection/global/icons/circle-arrow-down.js +3 -0
- package/dist/collection/global/icons/circle-arrow-up.js +3 -0
- package/dist/collection/global/icons/circle-check-regular.js +3 -0
- package/dist/collection/global/icons/circle-check.js +3 -0
- package/dist/collection/global/icons/circle-info.js +3 -0
- package/dist/collection/global/icons/circle-question.js +3 -0
- package/dist/collection/global/icons/circle-xmark.js +3 -0
- package/dist/collection/global/icons/trash-can.js +3 -0
- package/dist/collection/global/icons/triangle-exclamation.js +3 -0
- package/dist/collection/global/icons/xmark-large.js +3 -0
- package/dist/collection/global/scripts/before-vega-load.js +166 -0
- package/dist/collection/global/tests/before-vega-load.test.js +55 -0
- package/dist/collection/helpers/calendar/calendar-date.js +114 -0
- package/dist/collection/helpers/calendar/calendar-event.js +305 -0
- package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +83 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +34 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +48 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +35 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +24 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +15 -0
- package/dist/collection/helpers/calendar/calendar-view.js +25 -0
- package/dist/collection/helpers/calendar/index.js +10 -0
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +65 -0
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +73 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +28 -0
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
- package/dist/collection/helpers/calendar/test/index.test.js +13 -0
- package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
- package/dist/collection/helpers/calendar/utils.js +10 -0
- package/dist/collection/helpers/change-manager/change-manager.js +73 -0
- package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +26 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
- package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
- package/dist/collection/helpers/chart/bar-chart.js +67 -0
- package/dist/collection/helpers/chart/base-chart.js +88 -0
- package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
- package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
- package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
- package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
- package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
- package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
- package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
- package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
- package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
- package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
- package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
- package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
- package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
- package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
- package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
- package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
- package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
- package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
- package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
- package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
- package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
- package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
- package/dist/collection/helpers/chart/line-chart.js +65 -0
- package/dist/collection/helpers/chart/pie-chart.js +56 -0
- package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
- package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
- package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
- package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
- package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
- package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
- package/dist/collection/helpers/common/index.js +10 -0
- package/dist/collection/helpers/common/test/common.test.js +7 -0
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +34 -0
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +55 -0
- package/dist/collection/helpers/event-manager/event-delegated/base-strategy.js +77 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.js +1 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.js +97 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-button-click-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-select-change-strategy.js +24 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-strategy.js +30 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-radio-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-textarea-change-strategy.js +21 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +70 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id-interface.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +100 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +33 -0
- package/dist/collection/helpers/event-manager/internal-vega-event-manager.js +70 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.js +155 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.js +85 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.js +1 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.js +54 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.js +40 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.js +39 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +123 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +209 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +81 -0
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +13 -0
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +107 -0
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +70 -0
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +131 -0
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +16 -0
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +92 -0
- package/dist/collection/helpers/event-manager/vega-event-manager.js +58 -0
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +124 -0
- package/dist/collection/helpers/feature-control/feature-flags-map.js +184 -0
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
- package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
- package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +77 -0
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +69 -0
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
- package/dist/collection/helpers/formatter/style-formatter.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +31 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
- package/dist/collection/helpers/icon/icon-manager.js +55 -0
- package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
- package/dist/collection/helpers/immutable/immutable-map.js +113 -0
- package/dist/collection/helpers/immutable/immutable-set.js +95 -0
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
- package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +124 -0
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
- package/dist/collection/helpers/notify/vega-notify-controller.js +122 -0
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
- package/dist/collection/helpers/paginator/value-paginator.js +78 -0
- package/dist/collection/helpers/public-api.js +16 -0
- package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +104 -0
- package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
- package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
- package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
- package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
- package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
- package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +132 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
- package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
- package/dist/collection/helpers/slimmers/global/vega-translate-observer-slimmer.js +44 -0
- package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
- package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
- package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
- package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +198 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
- package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +186 -0
- package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +89 -0
- package/dist/collection/helpers/slimmers/translation/index.js +1 -0
- package/dist/collection/helpers/slimmers/translation/translation-slimmer.js +37 -0
- package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
- package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
- package/dist/collection/helpers/theme/theme-manager.js +68 -0
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
- package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
- package/dist/collection/helpers/translation/index.js +4 -0
- package/dist/collection/helpers/translation/internal-translation-controller.js +104 -0
- package/dist/collection/helpers/translation/locales/en.js +74 -0
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +182 -0
- package/dist/collection/helpers/translation/tests/translation.test.js +32 -0
- package/dist/collection/helpers/translation/translation.js +51 -0
- package/dist/collection/helpers/ui/element-appender.js +319 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
- package/dist/collection/helpers/validator/form-field-controller.js +445 -0
- package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
- package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
- package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
- package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
- package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
- package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
- package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
- package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
- package/dist/collection/helpers/validator/rules/max-number-rule.js +68 -0
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +138 -0
- package/dist/collection/helpers/validator/rules/min-number-rule.js +68 -0
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +70 -0
- package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
- package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +111 -0
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
- package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +56 -0
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +77 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
- package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
- package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +33 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +42 -0
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +31 -0
- package/dist/collection/polyfill/test-polyfill/unit/events.js +100 -0
- package/dist/collection/polyfill/test-polyfill/unit/index.js +2 -0
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +29 -0
- package/dist/collection/test-assets/test-icons.js +5 -0
- package/dist/collection/types/class.type.js +1 -0
- package/dist/collection/types/design-token.type.js +1 -0
- package/dist/collection/types/public-api.js +1 -0
- package/dist/collection/types/test/type-guard.test.js +39 -0
- package/dist/collection/types/type-guard.js +372 -0
- package/dist/collection/types/ui.type.js +6 -0
- package/dist/collection/utils/accessibility.js +13 -0
- package/dist/collection/utils/api.js +60 -0
- package/dist/collection/utils/array.js +177 -0
- package/dist/collection/utils/breakpoints.js +49 -0
- package/dist/collection/utils/component.js +131 -0
- package/dist/collection/utils/date.js +84 -0
- package/dist/collection/utils/design-token.js +241 -0
- package/dist/collection/utils/e2e-utils.js +319 -0
- package/dist/collection/utils/effect.js +74 -0
- package/dist/collection/utils/local-storage.js +24 -0
- package/dist/collection/utils/log.js +67 -0
- package/dist/collection/utils/misc.js +35 -0
- package/dist/collection/utils/number.js +83 -0
- package/dist/collection/utils/object.js +32 -0
- package/dist/collection/utils/pagination.js +40 -0
- package/dist/collection/utils/pixel.js +48 -0
- package/dist/collection/utils/position.js +373 -0
- package/dist/collection/utils/public-api.js +4 -0
- package/dist/collection/utils/spec-utils.js +168 -0
- package/dist/collection/utils/string.js +9 -0
- package/dist/collection/utils/test/accessibility.test.js +40 -0
- package/dist/collection/utils/test/api.test.js +34 -0
- package/dist/collection/utils/test/array.test.js +198 -0
- package/dist/collection/utils/test/breakpoint.test.js +37 -0
- package/dist/collection/utils/test/component.test.js +59 -0
- package/dist/collection/utils/test/date.test.js +102 -0
- package/dist/collection/utils/test/design-token.test.js +91 -0
- package/dist/collection/utils/test/effect.test.js +64 -0
- package/dist/collection/utils/test/local-storage.test.js +38 -0
- package/dist/collection/utils/test/log.test.js +49 -0
- package/dist/collection/utils/test/misc.test.js +40 -0
- package/dist/collection/utils/test/number.test.js +14 -0
- package/dist/collection/utils/test/object.test.js +51 -0
- package/dist/collection/utils/test/pagination.test.js +40 -0
- package/dist/collection/utils/test/pixel.test.js +29 -0
- package/dist/collection/utils/test/position.test.js +262 -0
- package/dist/collection/utils/test/spec-utils.test.js +73 -0
- package/dist/collection/utils/test/string.test.js +8 -0
- package/dist/collection/utils/test/test-utils.test.js +70 -0
- package/dist/collection/utils/test/timer.test.js +16 -0
- package/dist/collection/utils/test/ui.test.js +241 -0
- package/dist/collection/utils/test-utils.js +134 -0
- package/dist/collection/utils/timer.js +20 -0
- package/dist/collection/utils/ui.js +200 -0
- package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +35 -0
- package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +30 -0
- package/dist/esm/accessibility-e5fd0fab.js +15 -0
- package/dist/esm/app-globals-41797af8.js +302 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-36a3ed69.js +62 -0
- package/dist/esm/change-manager-6a7eb88c.js +76 -0
- package/dist/esm/chevron-down-4303bddb.js +9 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-345c46c5.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-3d52b843.js +88 -0
- package/dist/esm/component-cae24190.js +114 -0
- package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
- package/dist/esm/component-load-required-ce710ef5.js +46 -0
- package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
- package/dist/esm/create-public-api-runtime-metrics-slimmer-928ad7f0.js +203 -0
- package/dist/esm/date-732bc749.js +87 -0
- package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
- package/dist/esm/design-token-3671ce60.js +389 -0
- package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +138 -0
- package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
- package/dist/esm/effect-8efd2c3c.js +49 -0
- package/dist/esm/element-appender-slimmer-1172e2ea.js +1107 -0
- package/dist/esm/event-emit-slimmer-eee9fd41.js +255 -0
- package/dist/esm/feature-flag-controller-10780eeb.js +311 -0
- package/dist/esm/form-field-controller-slimmer-edbaaf7c.js +1135 -0
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/icon-manager-0f030f8a.js +120 -0
- package/dist/esm/icons-8627925e.js +517 -0
- package/dist/esm/immutable-map-f545ed1a.js +115 -0
- package/dist/esm/index-0863eec6.js +1019 -0
- package/dist/esm/index-187f71d1.js +1733 -0
- package/dist/esm/index.js +38 -0
- package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
- package/dist/esm/internal-icon-manager-9671142a.js +43 -0
- package/dist/esm/internal-vega-event-manager-722461c1.js +456 -0
- package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
- package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
- package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
- package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
- package/dist/esm/loader.js +43 -0
- package/dist/esm/min-number-rule-8f643dbd.js +139 -0
- package/dist/esm/min-string-length-rule-c6a69eeb.js +140 -0
- package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
- package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
- package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
- package/dist/esm/number-e2519d1c.js +85 -0
- package/dist/esm/object-261e7344.js +34 -0
- package/dist/esm/observer-3959f9dd.js +30 -0
- package/dist/esm/page-resize-observer-slimmer-994c1e1b.js +120 -0
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/placeholder-bf562081.js +24 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/regex-dfe11abf.js +8 -0
- package/dist/esm/remote-invocation-registry-1682b34e.js +62 -0
- package/dist/esm/required-field-rule-5da360cc.js +81 -0
- package/dist/esm/responsive-format-facade-5a1329a7.js +716 -0
- package/dist/esm/state-background-color-formatter-0540d006.js +82 -0
- package/dist/esm/static-subject-title-6987a80b.js +46 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-bfe3f5e5.js +361 -0
- package/dist/esm/style-formatter-2fa5ce09.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-af28076b.js +201 -0
- package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/translation-0fa7cf77.js +272 -0
- package/dist/esm/translation-slimmer-79f9a9c9.js +40 -0
- package/dist/esm/type-guard-63caf78b.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-8424715a.js +38 -0
- package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
- package/dist/esm/vega-accordion.entry.js +265 -0
- package/dist/esm/vega-app-footer.entry.js +145 -0
- package/dist/esm/vega-app-header-button.entry.js +310 -0
- package/dist/esm/vega-backdrop.entry.js +152 -0
- package/dist/esm/vega-banner.entry.js +350 -0
- package/dist/esm/vega-bar-chart.entry.js +234 -0
- package/dist/esm/vega-box.entry.js +204 -0
- package/dist/esm/vega-breadcrumb.entry.js +264 -0
- package/dist/esm/vega-button-circle.entry.js +218 -0
- package/dist/esm/vega-button-group_2.entry.js +419 -0
- package/dist/esm/vega-button-link.entry.js +212 -0
- package/dist/esm/vega-button.entry.js +230 -0
- package/dist/esm/vega-calendar_3.entry.js +4048 -0
- package/dist/esm/vega-card.entry.js +192 -0
- package/dist/esm/vega-carousel.entry.js +511 -0
- package/dist/esm/vega-checkbox_2.entry.js +620 -0
- package/dist/esm/vega-chip.entry.js +297 -0
- package/dist/esm/vega-color-picker.entry.js +245 -0
- package/dist/esm/vega-combo-box.entry.js +434 -0
- package/dist/esm/vega-counter-badge.entry.js +86 -0
- package/dist/esm/vega-date-picker_2.entry.js +2115 -0
- package/dist/esm/vega-dialog-controller-3b905672.js +79 -0
- package/dist/esm/vega-dialog_2.entry.js +711 -0
- package/dist/esm/vega-divider.entry.js +145 -0
- package/dist/esm/vega-dropdown_5.entry.js +2920 -0
- package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
- package/dist/esm/vega-event-id-7465a011.js +100 -0
- package/dist/esm/vega-field-error.entry.js +98 -0
- package/dist/esm/vega-field-label.entry.js +162 -0
- package/dist/esm/vega-file-uploader.entry.js +683 -0
- package/dist/esm/vega-flex.entry.js +193 -0
- package/dist/esm/vega-font.entry.js +285 -0
- package/dist/esm/vega-form.entry.js +481 -0
- package/dist/esm/vega-grid.entry.js +95 -0
- package/dist/esm/vega-hint.entry.js +34 -0
- package/dist/esm/vega-icon.entry.js +224 -0
- package/dist/esm/vega-image-uploader.entry.js +931 -0
- package/dist/esm/vega-input-credit-card.entry.js +408 -0
- package/dist/esm/vega-input-phone-number.entry.js +9219 -0
- package/dist/esm/vega-input-range.entry.js +742 -0
- package/dist/esm/vega-input-select.entry.js +875 -0
- package/dist/esm/vega-input.entry.js +1011 -0
- package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
- package/dist/esm/vega-item-toggle.entry.js +187 -0
- package/dist/esm/vega-left-nav_5.entry.js +1176 -0
- package/dist/esm/vega-line-chart.entry.js +378 -0
- package/dist/esm/vega-loader-wrapper_2.entry.js +206 -0
- package/dist/esm/vega-page-notification_2.entry.js +178 -0
- package/dist/esm/vega-pagination.entry.js +382 -0
- package/dist/esm/vega-pie-chart.entry.js +439 -0
- package/dist/esm/vega-popover_2.entry.js +316 -0
- package/dist/esm/vega-progress-tracker.entry.js +248 -0
- package/dist/esm/vega-radio_2.entry.js +738 -0
- package/dist/esm/vega-rich-text-content.entry.js +54 -0
- package/dist/esm/vega-rich-text-editor.entry.js +145 -0
- package/dist/esm/vega-section-title.entry.js +108 -0
- package/dist/esm/vega-segment-control.entry.js +344 -0
- package/dist/esm/vega-selection-chip_2.entry.js +831 -0
- package/dist/esm/vega-selection-tile_2.entry.js +790 -0
- package/dist/esm/vega-signature-capture.entry.js +568 -0
- package/dist/esm/vega-skeleton-loader-controller-6fb25f3b.js +3897 -0
- package/dist/esm/vega-skeleton.entry.js +326 -0
- package/dist/esm/vega-slot-container.entry.js +36 -0
- package/dist/esm/vega-stepper.entry.js +288 -0
- package/dist/esm/vega-tab-group_2.entry.js +1265 -0
- package/dist/esm/vega-table_8.entry.js +4560 -0
- package/dist/esm/vega-text.entry.js +228 -0
- package/dist/esm/vega-textarea.entry.js +298 -0
- package/dist/esm/vega-time-picker_2.entry.js +2152 -0
- package/dist/esm/vega-toggle-switch.entry.js +244 -0
- package/dist/esm/vega-tooltip_2.entry.js +295 -0
- package/dist/esm/vega.js +43 -0
- package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
- package/dist/types/components/vega-app-footer/types.d.ts +7 -0
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
- package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
- package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
- package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
- package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
- package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
- package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
- package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
- package/dist/types/components/vega-banner/types.d.ts +11 -0
- package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
- package/dist/types/components/vega-box/interface.d.ts +22 -0
- package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
- package/dist/types/components/vega-box/vega-box.d.ts +231 -0
- package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
- package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
- package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
- package/dist/types/components/vega-button/types.d.ts +4 -0
- package/dist/types/components/vega-button/vega-button.d.ts +129 -0
- package/dist/types/components/vega-button-circle/types.d.ts +9 -0
- package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
- package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
- package/dist/types/components/vega-button-group/types.d.ts +21 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
- package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
- package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
- package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +48 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +35 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +82 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +14 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +67 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +46 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +53 -0
- package/dist/types/components/vega-calendar/types.d.ts +88 -0
- package/dist/types/components/vega-calendar/utils/index.d.ts +25 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +179 -0
- package/dist/types/components/vega-card/vega-card.d.ts +54 -0
- package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
- package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
- package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
- package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
- package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
- package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
- package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
- package/dist/types/components/vega-chip/types.d.ts +4 -0
- package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
- package/dist/types/components/vega-combo-box/types.d.ts +9 -0
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
- package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
- package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +95 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-date-picker/types.d.ts +10 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +213 -0
- package/dist/types/components/vega-dialog/types.d.ts +14 -0
- package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
- package/dist/types/components/vega-divider/interface.d.ts +6 -0
- package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
- package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +20 -0
- package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
- package/dist/types/components/vega-dropdown/types.d.ts +23 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +13 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.d.ts +26 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.d.ts +19 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +14 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +25 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/types.d.ts +1 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +97 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +385 -0
- package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
- package/dist/types/components/vega-field-error/types.d.ts +4 -0
- package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
- package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
- package/dist/types/components/vega-field-label/types.d.ts +5 -0
- package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +78 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
- package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +181 -0
- package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
- package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
- package/dist/types/components/vega-font/types.d.ts +18 -0
- package/dist/types/components/vega-font/vega-font.d.ts +64 -0
- package/dist/types/components/vega-form/types.d.ts +9 -0
- package/dist/types/components/vega-form/vega-form.d.ts +235 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
- package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
- package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +17 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +210 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
- package/dist/types/components/vega-input/types.d.ts +12 -0
- package/dist/types/components/vega-input/vega-input.d.ts +319 -0
- package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
- package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
- package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
- package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +143 -0
- package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +64 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-range/types.d.ts +5 -0
- package/dist/types/components/vega-input-range/vega-input-range.d.ts +169 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
- package/dist/types/components/vega-input-select/types.d.ts +36 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +217 -0
- package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
- package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
- package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
- package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
- package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
- package/dist/types/components/vega-modal/types.d.ts +2 -0
- package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
- package/dist/types/components/vega-nav/interface.d.ts +36 -0
- package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
- package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
- package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
- package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
- package/dist/types/components/vega-page-notification/types.d.ts +10 -0
- package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
- package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +10 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +10 -0
- package/dist/types/components/vega-pagination/types.d.ts +1 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +104 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
- package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
- package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
- package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
- package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
- package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
- package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
- package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +5 -0
- package/dist/types/components/vega-rich-text-content/vega-rich-text-content.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +82 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +58 -0
- package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
- package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
- package/dist/types/components/vega-segment-control/types.d.ts +8 -0
- package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
- package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
- package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
- package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
- package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
- package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +29 -0
- package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
- package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +138 -0
- package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +52 -0
- package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +26 -0
- package/dist/types/components/vega-tab-group/types.d.ts +19 -0
- package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
- package/dist/types/components/vega-table/interface.d.ts +221 -0
- package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/test/utils.d.ts +9 -0
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
- package/dist/types/components/vega-table/type-guard.d.ts +14 -0
- package/dist/types/components/vega-table/utils.d.ts +25 -0
- package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
- package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
- package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
- package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
- package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.d.ts +8 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
- package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
- package/dist/types/components/vega-table/vega-table.d.ts +500 -0
- package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
- package/dist/types/components/vega-text/types.d.ts +3 -0
- package/dist/types/components/vega-text/vega-text.d.ts +34 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +57 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +43 -0
- package/dist/types/components/vega-time-picker/types.d.ts +21 -0
- package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +179 -0
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
- package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
- package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
- package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
- package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
- package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
- package/dist/types/components.d.ts +9003 -0
- package/dist/types/constants/card-config.d.ts +8 -0
- package/dist/types/constants/locale.d.ts +5 -0
- package/dist/types/constants/misc.d.ts +6 -0
- package/dist/types/constants/public-api.d.ts +9 -0
- package/dist/types/constants/regex.d.ts +6 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/tests/validator.test.d.ts +1 -0
- package/dist/types/constants/tokens/border-radius.d.ts +3 -0
- package/dist/types/constants/tokens/borders.d.ts +4 -0
- package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
- package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
- package/dist/types/constants/tokens/colors.d.ts +193 -0
- package/dist/types/constants/tokens/icons.d.ts +2 -0
- package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/rings.d.ts +1 -0
- package/dist/types/constants/tokens/shadows.d.ts +4 -0
- package/dist/types/constants/tokens/spacing.d.ts +3 -0
- package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
- package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/typography.d.ts +10 -0
- package/dist/types/constants/ui.d.ts +16 -0
- package/dist/types/constants/validator.d.ts +5 -0
- package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
- package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
- package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-arrow-down.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
- package/dist/types/global/icons/chevron-down.d.ts +3 -0
- package/dist/types/global/icons/chevron-left.d.ts +3 -0
- package/dist/types/global/icons/chevron-right.d.ts +3 -0
- package/dist/types/global/icons/chevron-up.d.ts +3 -0
- package/dist/types/global/icons/circle-arrow-down.d.ts +3 -0
- package/dist/types/global/icons/circle-arrow-up.d.ts +3 -0
- package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
- package/dist/types/global/icons/circle-check.d.ts +3 -0
- package/dist/types/global/icons/circle-info.d.ts +3 -0
- package/dist/types/global/icons/circle-question.d.ts +3 -0
- package/dist/types/global/icons/circle-xmark.d.ts +3 -0
- package/dist/types/global/icons/trash-can.d.ts +3 -0
- package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
- package/dist/types/global/icons/xmark-large.d.ts +3 -0
- package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
- package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
- package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +81 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +33 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
- package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
- package/dist/types/helpers/calendar/index.d.ts +10 -0
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
- package/dist/types/helpers/calendar/utils.d.ts +7 -0
- package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
- package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +27 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
- package/dist/types/helpers/chart/base-chart.d.ts +61 -0
- package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
- package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
- package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
- package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
- package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
- package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
- package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
- package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
- package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
- package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
- package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
- package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
- package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
- package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
- package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
- package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
- package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
- package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
- package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
- package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
- package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
- package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
- package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
- package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
- package/dist/types/helpers/chart/line-chart.d.ts +27 -0
- package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
- package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
- package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
- package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
- package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
- package/dist/types/helpers/common/index.d.ts +7 -0
- package/dist/types/helpers/common/test/common.test.d.ts +1 -0
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
- package/dist/types/helpers/common/wait-for-vega-handler.d.ts +19 -0
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +1 -0
- package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +30 -0
- package/dist/types/helpers/event-manager/event-delegated/base-strategy.d.ts +60 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.d.ts +7 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.d.ts +44 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-button-click-strategy.d.ts +16 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-select-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-strategy.d.ts +23 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-radio-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-textarea-change-strategy.d.ts +14 -0
- package/dist/types/helpers/event-manager/event-id/component-event-id-map.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id-interface.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +92 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +31 -0
- package/dist/types/helpers/event-manager/internal-vega-event-manager.d.ts +63 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.d.ts +86 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.d.ts +47 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.d.ts +7 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.d.ts +33 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +63 -0
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/vega-event-manager.d.ts +43 -0
- package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +82 -0
- package/dist/types/helpers/feature-control/feature-flag.d.ts +53 -0
- package/dist/types/helpers/feature-control/feature-flags-map.d.ts +3 -0
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +27 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.d.ts +17 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.d.ts +20 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-format-facade.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-formatter.d.ts +5 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-size-formatter.d.ts +18 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.d.ts +21 -0
- package/dist/types/helpers/formatter/state-formatter/state-background-color-formatter.d.ts +32 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-color-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-formatter.d.ts +33 -0
- package/dist/types/helpers/formatter/state-formatter/state-format-facade.d.ts +27 -0
- package/dist/types/helpers/formatter/state-formatter/state-formatter.d.ts +3 -0
- package/dist/types/helpers/formatter/state-formatter/state-shadow-formatter.d.ts +28 -0
- package/dist/types/helpers/formatter/state-formatter/state-variant-formatter.d.ts +23 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +47 -0
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +56 -0
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +34 -0
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.d.ts +12 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +94 -0
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +23 -0
- package/dist/types/helpers/formatter/style-formatter.d.ts +14 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +1 -0
- package/dist/types/helpers/icon/icon-manager.d.ts +35 -0
- package/dist/types/helpers/icon/interface.d.ts +10 -0
- package/dist/types/helpers/icon/internal-icon-manager.d.ts +30 -0
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +1 -0
- package/dist/types/helpers/immutable/immutable-map.d.ts +78 -0
- package/dist/types/helpers/immutable/immutable-set.d.ts +65 -0
- package/dist/types/helpers/immutable/immutable.d.ts +3 -0
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +1 -0
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +60 -0
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +1 -0
- package/dist/types/helpers/level-tracker/nested-level-tracker.d.ts +36 -0
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +55 -0
- package/dist/types/helpers/loading-indicator/vega-loader.d.ts +17 -0
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +1 -0
- package/dist/types/helpers/notify/vega-notify-controller.d.ts +54 -0
- package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
- package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
- package/dist/types/helpers/public-api.d.ts +17 -0
- package/dist/types/helpers/queue/queue.d.ts +4 -0
- package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +54 -0
- package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
- package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
- package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
- package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
- package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
- package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +54 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
- package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/global/vega-translate-observer-slimmer.d.ts +19 -0
- package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
- package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
- package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/translation/index.d.ts +1 -0
- package/dist/types/helpers/slimmers/translation/translation-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/types.d.ts +5 -0
- package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
- package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/theme/theme-manager.d.ts +40 -0
- package/dist/types/helpers/theme/theme.d.ts +18 -0
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
- package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
- package/dist/types/helpers/translation/index.d.ts +4 -0
- package/dist/types/helpers/translation/interface.d.ts +90 -0
- package/dist/types/helpers/translation/internal-translation-controller.d.ts +58 -0
- package/dist/types/helpers/translation/locales/en.d.ts +5 -0
- package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +1 -0
- package/dist/types/helpers/translation/tests/translation.test.d.ts +1 -0
- package/dist/types/helpers/translation/translation.d.ts +33 -0
- package/dist/types/helpers/ui/element-appender.d.ts +154 -0
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
- package/dist/types/helpers/validator/form-validator.d.ts +8 -0
- package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +40 -0
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +37 -0
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +51 -0
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
- package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +25 -0
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +40 -0
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +63 -0
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +79 -0
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +45 -0
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +56 -0
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +109 -0
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +74 -0
- package/dist/types/helpers/validator/rules/validation-rule.d.ts +22 -0
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
- package/dist/types/helpers/validator/validator.d.ts +8 -0
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
- package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
- package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +22 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +8 -0
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +11 -0
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +1 -0
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +2 -0
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/test-assets/test-icons.d.ts +4 -0
- package/dist/types/types/class.type.d.ts +8 -0
- package/dist/types/types/components.type.d.ts +193 -0
- package/dist/types/types/design-token.type.d.ts +21 -0
- package/dist/types/types/general.d.ts +7 -0
- package/dist/types/types/public-api.d.ts +17 -0
- package/dist/types/types/test/type-guard.test.d.ts +1 -0
- package/dist/types/types/test-polyfill.d.ts +8 -0
- package/dist/types/types/type-guard.d.ts +284 -0
- package/dist/types/types/ui.type.d.ts +152 -0
- package/dist/types/types/vega-chart.d.ts +149 -0
- package/dist/types/utils/accessibility.d.ts +6 -0
- package/dist/types/utils/api.d.ts +35 -0
- package/dist/types/utils/array.d.ts +100 -0
- package/dist/types/utils/breakpoints.d.ts +27 -0
- package/dist/types/utils/component.d.ts +34 -0
- package/dist/types/utils/date.d.ts +54 -0
- package/dist/types/utils/design-token.d.ts +115 -0
- package/dist/types/utils/e2e-utils.d.ts +139 -0
- package/dist/types/utils/effect.d.ts +30 -0
- package/dist/types/utils/local-storage.d.ts +14 -0
- package/dist/types/utils/log.d.ts +48 -0
- package/dist/types/utils/misc.d.ts +20 -0
- package/dist/types/utils/number.d.ts +58 -0
- package/dist/types/utils/object.d.ts +20 -0
- package/dist/types/utils/pagination.d.ts +13 -0
- package/dist/types/utils/pixel.d.ts +30 -0
- package/dist/types/utils/position.d.ts +17 -0
- package/dist/types/utils/public-api.d.ts +4 -0
- package/dist/types/utils/spec-utils.d.ts +93 -0
- package/dist/types/utils/string.d.ts +7 -0
- package/dist/types/utils/test/accessibility.test.d.ts +1 -0
- package/dist/types/utils/test/api.test.d.ts +1 -0
- package/dist/types/utils/test/array.test.d.ts +1 -0
- package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
- package/dist/types/utils/test/component.test.d.ts +1 -0
- package/dist/types/utils/test/date.test.d.ts +1 -0
- package/dist/types/utils/test/design-token.test.d.ts +1 -0
- package/dist/types/utils/test/effect.test.d.ts +1 -0
- package/dist/types/utils/test/local-storage.test.d.ts +1 -0
- package/dist/types/utils/test/log.test.d.ts +1 -0
- package/dist/types/utils/test/misc.test.d.ts +1 -0
- package/dist/types/utils/test/number.test.d.ts +1 -0
- package/dist/types/utils/test/object.test.d.ts +1 -0
- package/dist/types/utils/test/pagination.test.d.ts +1 -0
- package/dist/types/utils/test/pixel.test.d.ts +1 -0
- package/dist/types/utils/test/position.test.d.ts +1 -0
- package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
- package/dist/types/utils/test/string.test.d.ts +1 -0
- package/dist/types/utils/test/test-utils.test.d.ts +1 -0
- package/dist/types/utils/test/timer.test.d.ts +1 -0
- package/dist/types/utils/test/ui.test.d.ts +1 -0
- package/dist/types/utils/test-utils.d.ts +55 -0
- package/dist/types/utils/timer.d.ts +11 -0
- package/dist/types/utils/ui.d.ts +108 -0
- package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
- package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
- package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
- package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
- package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
- package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
- package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
- package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
- package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
- package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
- package/dist/vega/index.esm.js +1 -0
- package/dist/vega/p-0120ce7a.js +1 -0
- package/dist/vega/p-0395e791.entry.js +1 -0
- package/dist/vega/p-056f448c.entry.js +1 -0
- package/dist/vega/p-063c3ba6.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0dd750b0.entry.js +1 -0
- package/dist/vega/p-115e5967.js +1 -0
- package/dist/vega/p-152393dd.js +1 -0
- package/dist/vega/p-16493e5b.js +1 -0
- package/dist/vega/p-172605c3.entry.js +1 -0
- package/dist/vega/p-1adfa073.entry.js +1 -0
- package/dist/vega/p-1b901368.entry.js +13 -0
- package/dist/vega/p-1bbc62ef.entry.js +1 -0
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1e33c6e3.entry.js +1 -0
- package/dist/vega/p-1ea57951.js +1 -0
- package/dist/vega/p-1fc5373a.entry.js +1 -0
- package/dist/vega/p-22a85055.entry.js +1 -0
- package/dist/vega/p-26d0d411.entry.js +1 -0
- package/dist/vega/p-2d0d575f.js +1 -0
- package/dist/vega/p-319efe6c.js +1 -0
- package/dist/vega/p-32708159.entry.js +1 -0
- package/dist/vega/p-331a62d5.js +1 -0
- package/dist/vega/p-33366630.entry.js +1 -0
- package/dist/vega/p-33596687.js +1 -0
- package/dist/vega/p-344ee7cb.js +1 -0
- package/dist/vega/p-34545d2d.entry.js +1 -0
- package/dist/vega/p-365c340d.entry.js +1 -0
- package/dist/vega/p-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-3fc59fd3.entry.js +1 -0
- package/dist/vega/p-40f6add9.entry.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-456416ea.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47c87634.js +1 -0
- package/dist/vega/p-4fffa7db.entry.js +1 -0
- package/dist/vega/p-51622ace.entry.js +1 -0
- package/dist/vega/p-51cd2a39.entry.js +1 -0
- package/dist/vega/p-5453f591.js +1 -0
- package/dist/vega/p-573948c2.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-5d231a82.entry.js +1 -0
- package/dist/vega/p-5dc98104.js +1 -0
- package/dist/vega/p-5f377954.js +1 -0
- package/dist/vega/p-6168c1e7.js +1 -0
- package/dist/vega/p-61f6167c.js +1 -0
- package/dist/vega/p-64e8bb64.js +1 -0
- package/dist/vega/p-657df167.entry.js +1 -0
- package/dist/vega/p-68055c2d.entry.js +1 -0
- package/dist/vega/p-6874d6a1.entry.js +1 -0
- package/dist/vega/p-6a334573.js +1 -0
- package/dist/vega/p-6bd5c49b.js +1 -0
- package/dist/vega/p-6c6d86da.js +1 -0
- package/dist/vega/p-6d015656.entry.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-74168615.js +1 -0
- package/dist/vega/p-7a1df282.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-80c0f98c.entry.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-83af8ed7.js +1 -0
- package/dist/vega/p-84118b6d.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-880f91fb.js +1 -0
- package/dist/vega/p-8b0533c4.entry.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8c72aa56.entry.js +1 -0
- package/dist/vega/p-8f60c3ee.entry.js +1 -0
- package/dist/vega/p-8fd6775a.entry.js +1 -0
- package/dist/vega/p-92c3a7f1.entry.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9a4ffc2c.entry.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9e6934fb.js +1 -0
- package/dist/vega/p-9fbdeada.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a190c86a.js +1 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a57eed48.entry.js +1 -0
- package/dist/vega/p-a59c221b.entry.js +1 -0
- package/dist/vega/p-a5f80d35.js +1 -0
- package/dist/vega/p-a658f72a.entry.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-a8b1f19c.entry.js +1 -0
- package/dist/vega/p-a901494d.entry.js +1 -0
- package/dist/vega/p-ac0ab38b.js +1 -0
- package/dist/vega/p-acc14aa2.js +1 -0
- package/dist/vega/p-acf8b473.js +1 -0
- package/dist/vega/p-af71fe84.entry.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b2053fa8.entry.js +1 -0
- package/dist/vega/p-b4e92130.entry.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b86e8c8b.entry.js +1 -0
- package/dist/vega/p-b8e42c11.entry.js +1 -0
- package/dist/vega/p-bccacf42.js +1 -0
- package/dist/vega/p-be26b334.entry.js +1 -0
- package/dist/vega/p-be784f53.js +1 -0
- package/dist/vega/p-bf8c1fe3.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-c5d136b5.entry.js +1 -0
- package/dist/vega/p-cbeda6ca.entry.js +1 -0
- package/dist/vega/p-d0a83562.entry.js +1 -0
- package/dist/vega/p-d4c85e4e.entry.js +1 -0
- package/dist/vega/p-d550fc66.entry.js +1 -0
- package/dist/vega/p-d686dd96.entry.js +1 -0
- package/dist/vega/p-d7bd2be5.entry.js +1 -0
- package/dist/vega/p-da86ba01.js +1 -0
- package/dist/vega/p-db120a1e.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-dee487f9.js +1 -0
- package/dist/vega/p-e2acbc60.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-ead9a2b9.entry.js +1 -0
- package/dist/vega/p-ec157238.js +1 -0
- package/dist/vega/p-ecfa7534.js +1 -0
- package/dist/vega/p-ed4a57a8.js +1 -0
- package/dist/vega/p-eddcb385.entry.js +1 -0
- package/dist/vega/p-ee68920f.js +1 -0
- package/dist/vega/p-f0ad06bd.entry.js +1 -0
- package/dist/vega/p-f2019f70.entry.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f41102cd.js +1 -0
- package/dist/vega/p-f46c930f.js +1 -0
- package/dist/vega/p-f6a157a9.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-f948debe.entry.js +1 -0
- package/dist/vega/p-faea1620.js +1 -0
- package/dist/vega/p-fb6c90d6.js +1 -0
- package/dist/vega/p-fcaeb7bb.entry.js +1 -0
- package/dist/vega/p-fd929ab5.entry.js +1 -0
- package/dist/vega/vega.css +1 -0
- package/dist/vega/vega.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +130 -0
- package/readme.md +182 -0
- package/style/vega.css +1 -0
@@ -0,0 +1,3897 @@
|
|
1
|
+
import { I as InjectVegaTelemetrySlimmer, c as createPublicAPIRuntimeMetricsSlimmer, g as generateUUID } from './create-public-api-runtime-metrics-slimmer-928ad7f0.js';
|
2
|
+
import { a as arrayToClassString, g as getDeviceType, D as DeviceType } from './ui-0132dbb5.js';
|
3
|
+
import { L as LogUtility, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
4
|
+
import { I as InternalVegaZIndexManager } from './internal-vega-z-index-manager-0553458e.js';
|
5
|
+
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
6
|
+
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-994c1e1b.js';
|
7
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './index-0863eec6.js';
|
8
|
+
import { i as internalVegaEventManager } from './internal-vega-event-manager-722461c1.js';
|
9
|
+
|
10
|
+
const VegaLoaderRuntimeMetricsPayloadDefinition = [
|
11
|
+
{
|
12
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
13
|
+
payloadDescription: 'Indicate if the method load of public API VegaLoaderController is called',
|
14
|
+
/**
|
15
|
+
* Indicate whether the method is collected when the method been called .
|
16
|
+
*
|
17
|
+
* @param {string} scope - The class name of public api
|
18
|
+
* @param {string} methodName - The method name called by the public api
|
19
|
+
* @returns {boolean} A boolean value
|
20
|
+
*/
|
21
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'load',
|
22
|
+
/**
|
23
|
+
* The function checks if the method name is load.
|
24
|
+
*
|
25
|
+
* @returns {boolean} A boolean value
|
26
|
+
*/
|
27
|
+
payloadValue: () => {
|
28
|
+
return true;
|
29
|
+
},
|
30
|
+
},
|
31
|
+
{
|
32
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
33
|
+
payloadDescription: 'Indicate if the method close of public API VegaLoaderController is called',
|
34
|
+
/**
|
35
|
+
* Indicate whether the method is collected when the method been called .
|
36
|
+
*
|
37
|
+
* @param {string} scope - The class name of public api
|
38
|
+
* @param {string} methodName - The method name called by the public api
|
39
|
+
* @returns {boolean} A boolean value
|
40
|
+
*/
|
41
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'close',
|
42
|
+
/**
|
43
|
+
* The function checks if the method name is close.
|
44
|
+
*
|
45
|
+
* @returns {boolean} A boolean value
|
46
|
+
*/
|
47
|
+
payloadValue: () => {
|
48
|
+
return true;
|
49
|
+
},
|
50
|
+
},
|
51
|
+
];
|
52
|
+
|
53
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
54
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
55
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
56
|
+
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;
|
57
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
58
|
+
};
|
59
|
+
/**
|
60
|
+
* Vega loader controller to control the loading indicator
|
61
|
+
*/
|
62
|
+
class VegaLoaderController {
|
63
|
+
constructor() {
|
64
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(VegaLoaderController, ['load', 'close'], VegaLoaderRuntimeMetricsPayloadDefinition);
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* Create a loading indicator and append it to the container
|
68
|
+
*
|
69
|
+
* @param {VegaLoaderIndicatorOptions} options - VegaLoaderOptions = {} options of the method
|
70
|
+
* @returns {string} The uuid of the loader.
|
71
|
+
* @vegaVersion 1.16.0
|
72
|
+
*/
|
73
|
+
load(options = {}) {
|
74
|
+
const containerSelector = options.containerSelector || 'body';
|
75
|
+
const containerElement = document.querySelector(containerSelector);
|
76
|
+
if (!containerElement) {
|
77
|
+
LogUtility.error('Container is not found by selector: ', containerSelector);
|
78
|
+
return null;
|
79
|
+
}
|
80
|
+
const loadingIndicator = this.createLoadingIndicator(options.indicatorOptions);
|
81
|
+
const loader = this.createLoader(containerSelector);
|
82
|
+
loader.append(loadingIndicator);
|
83
|
+
return this.appendLoader(loader, containerElement);
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* Close the loader by id
|
87
|
+
*
|
88
|
+
* @param {string} id - The id of the loader.
|
89
|
+
* @vegaVersion 1.16.0
|
90
|
+
*/
|
91
|
+
close(id) {
|
92
|
+
const loader = this.findLoader(id);
|
93
|
+
if (loader) {
|
94
|
+
if (loader.dataset.container) {
|
95
|
+
const container = document.querySelector(loader.dataset.container);
|
96
|
+
if (container) {
|
97
|
+
container.style.position = container.dataset['vegaLoaderOriginPosition'] || 'static';
|
98
|
+
}
|
99
|
+
}
|
100
|
+
loader.remove();
|
101
|
+
}
|
102
|
+
}
|
103
|
+
/**
|
104
|
+
* Find loader by id, if the id include '>>>' it will find inside shadowRoot
|
105
|
+
*
|
106
|
+
* @param {string} id - The id of the loader.
|
107
|
+
* @returns {string} The loader found by id.
|
108
|
+
*/
|
109
|
+
findLoader(id) {
|
110
|
+
var _a, _b;
|
111
|
+
let loader;
|
112
|
+
if (id.includes('>>>')) {
|
113
|
+
const [containerSelector, loaderSelector] = id.split('>>>');
|
114
|
+
loader = (_b = (_a = document.querySelector(containerSelector)) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.getElementById(loaderSelector);
|
115
|
+
}
|
116
|
+
else {
|
117
|
+
loader = document.getElementById(id);
|
118
|
+
}
|
119
|
+
return loader;
|
120
|
+
}
|
121
|
+
/**
|
122
|
+
* Create a loader for loading indicator
|
123
|
+
*
|
124
|
+
* @param {string} containerSelector The container which you want to append
|
125
|
+
* @returns {HTMLElement} a wrapper for loader
|
126
|
+
*/
|
127
|
+
createLoader(containerSelector) {
|
128
|
+
const loader = document.createElement('vega-loader-wrapper');
|
129
|
+
loader.className = arrayToClassString([
|
130
|
+
containerSelector === 'body' ? 'fixed-wrapper' : 'absolute-wrapper',
|
131
|
+
]);
|
132
|
+
loader.dataset['container'] = containerSelector;
|
133
|
+
loader.id = `vega-loader-${generateUUID()}`;
|
134
|
+
return loader;
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* Create a loading indicator
|
138
|
+
*
|
139
|
+
* @param {VegaLoaderIndicatorOptions} indicatorOptions the props of vega loading indicator
|
140
|
+
* @returns {HTMLElement} vega-loading-indicator component template
|
141
|
+
*/
|
142
|
+
createLoadingIndicator(indicatorOptions = {}) {
|
143
|
+
const loadingIndicator = document.createElement('vega-loading-indicator');
|
144
|
+
Object.assign(loadingIndicator, indicatorOptions);
|
145
|
+
return loadingIndicator;
|
146
|
+
}
|
147
|
+
/**
|
148
|
+
* Append the loader to the container
|
149
|
+
*
|
150
|
+
* @param {HTMLElement} loader A loader with loading indicator
|
151
|
+
* @param {string} containerElement The container which you want to append the loader to
|
152
|
+
* @returns {string} The uuid of the loader.
|
153
|
+
*/
|
154
|
+
appendLoader(loader, containerElement) {
|
155
|
+
containerElement.dataset['vegaLoaderOriginPosition'] = containerElement.style.position;
|
156
|
+
containerElement.style.position = 'relative';
|
157
|
+
if (containerElement.shadowRoot) {
|
158
|
+
containerElement.shadowRoot.append(loader);
|
159
|
+
return `${loader.dataset['container']}>>>${loader.id}`;
|
160
|
+
}
|
161
|
+
else {
|
162
|
+
containerElement.append(loader);
|
163
|
+
return loader.id;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
__decorate$6([
|
168
|
+
InjectVegaTelemetrySlimmer()
|
169
|
+
], VegaLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
170
|
+
const VegaLoader = new VegaLoaderController();
|
171
|
+
|
172
|
+
const VegaNotifyRuntimeMetricsPayloadDefinition = [
|
173
|
+
{
|
174
|
+
payloadKey: 'IS_OPEN_METHOD_CALLED',
|
175
|
+
payloadDescription: 'Indicate if the method open of public API VegaNotifyController is called',
|
176
|
+
/**
|
177
|
+
* Indicate whether the method is collected when the method been called .
|
178
|
+
*
|
179
|
+
* @param {string} scope - The class name of public api
|
180
|
+
* @param {string} methodName - The method name called by the public api
|
181
|
+
* @returns {boolean} A boolean value
|
182
|
+
*/
|
183
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'open',
|
184
|
+
/**
|
185
|
+
* The function checks if the method name is open.
|
186
|
+
*
|
187
|
+
* @returns {boolean} A boolean value
|
188
|
+
*/
|
189
|
+
payloadValue: () => {
|
190
|
+
return true;
|
191
|
+
},
|
192
|
+
},
|
193
|
+
{
|
194
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
195
|
+
payloadDescription: 'Indicate if the method close of public API VegaNotifyController is called',
|
196
|
+
/**
|
197
|
+
* Indicate whether the method is collected when the method been called .
|
198
|
+
*
|
199
|
+
* @param {string} scope - The class name of public api
|
200
|
+
* @param {string} methodName - The method name called by the public api
|
201
|
+
* @returns {boolean} A boolean value
|
202
|
+
*/
|
203
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'close',
|
204
|
+
/**
|
205
|
+
* The function checks if the method name is close.
|
206
|
+
*
|
207
|
+
* @returns {boolean} A boolean value
|
208
|
+
*/
|
209
|
+
payloadValue: () => {
|
210
|
+
return true;
|
211
|
+
},
|
212
|
+
},
|
213
|
+
{
|
214
|
+
payloadKey: 'IS_CLOSEALL_METHOD_CALLED',
|
215
|
+
payloadDescription: 'Indicate if the method closeAll of public API VegaNotifyController is called',
|
216
|
+
/**
|
217
|
+
* Indicate whether the method is collected when the method been called .
|
218
|
+
*
|
219
|
+
* @param {string} scope - The class name of public api
|
220
|
+
* @param {string} methodName - The method name called by the public api
|
221
|
+
* @returns {boolean} A boolean value
|
222
|
+
*/
|
223
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'closeAll',
|
224
|
+
/**
|
225
|
+
* The function checks if the method name is closeAll.
|
226
|
+
*
|
227
|
+
* @returns {boolean} A boolean value
|
228
|
+
*/
|
229
|
+
payloadValue: () => {
|
230
|
+
return true;
|
231
|
+
},
|
232
|
+
},
|
233
|
+
];
|
234
|
+
|
235
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
236
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
237
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
238
|
+
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;
|
239
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
240
|
+
};
|
241
|
+
/**
|
242
|
+
* The page notification controller
|
243
|
+
*/
|
244
|
+
class VegaNotifyController {
|
245
|
+
constructor() {
|
246
|
+
this.resizeObserverSlimmer = createDynamicSlimmer(VegaNotifyController, PageResizeObserverSlimmer, [], [{ mapFrom: 'connectResizeObserver', mapTo: 'connectResizeObserver' }], [
|
247
|
+
{
|
248
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
249
|
+
callback: (entries) => {
|
250
|
+
var _a;
|
251
|
+
const currentVisible = entries[0].contentRect.height > 0;
|
252
|
+
if (!currentVisible && ((_a = this.container) === null || _a === void 0 ? void 0 : _a.classList.contains('hydrated'))) {
|
253
|
+
InternalVegaZIndexManager.removeZIndex(this.container, 'top');
|
254
|
+
this.container.remove();
|
255
|
+
this.container = null;
|
256
|
+
}
|
257
|
+
},
|
258
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
259
|
+
target: () => this.container,
|
260
|
+
},
|
261
|
+
]);
|
262
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(VegaNotifyController, ['open', 'close', 'closeAll'], VegaNotifyRuntimeMetricsPayloadDefinition);
|
263
|
+
}
|
264
|
+
/**
|
265
|
+
* It creates a new notification element, adds it to the container, and returns the notification's ID
|
266
|
+
*
|
267
|
+
* @param {VegaNotifyOption} options - VegaNotifyProps
|
268
|
+
* @returns {string} The ID of the notification.
|
269
|
+
* @vegaVersion 1.17.0
|
270
|
+
*/
|
271
|
+
async open(options) {
|
272
|
+
const pageNotification = this.createPageNotification(options);
|
273
|
+
this.getContainer().append(pageNotification);
|
274
|
+
return pageNotification.id;
|
275
|
+
}
|
276
|
+
/**
|
277
|
+
* It closes all notifications
|
278
|
+
*
|
279
|
+
* @vegaVersion 1.17.0
|
280
|
+
*/
|
281
|
+
async closeAll() {
|
282
|
+
this.container &&
|
283
|
+
Array.from(this.container.children).forEach((item) => {
|
284
|
+
void item.close();
|
285
|
+
});
|
286
|
+
}
|
287
|
+
/**
|
288
|
+
* It closes the notification with the given id
|
289
|
+
*
|
290
|
+
* @param {string} id - The id of the notification to close.
|
291
|
+
* @vegaVersion 1.17.0
|
292
|
+
*/
|
293
|
+
async close(id) {
|
294
|
+
await document.getElementById(id).close();
|
295
|
+
}
|
296
|
+
/**
|
297
|
+
* The function "connectResizeObserver" is used to connect a resize observer.
|
298
|
+
*
|
299
|
+
* @vegaVersion 1.17.0
|
300
|
+
*/
|
301
|
+
connectResizeObserver() {
|
302
|
+
}
|
303
|
+
/**
|
304
|
+
* It creates a new page notification element, sets its properties, and returns it
|
305
|
+
*
|
306
|
+
* @param {VegaNotifyOption} props - VegaNotifyProps - the properties of the notification
|
307
|
+
* @returns {HTMLElement} A function that takes in a props object and returns a pageNotification element.
|
308
|
+
*/
|
309
|
+
createPageNotification(props) {
|
310
|
+
const pageNotification = document.createElement('vega-page-notification');
|
311
|
+
Object.keys(props).forEach((propName) => {
|
312
|
+
props[propName] !== undefined && (pageNotification[propName] = props[propName]);
|
313
|
+
});
|
314
|
+
pageNotification.style.marginBottom = getDeviceType() === DeviceType.MOBILE ? '12px' : '16px';
|
315
|
+
pageNotification.id = `vega-page-notification-${generateUUID()}`;
|
316
|
+
return pageNotification;
|
317
|
+
}
|
318
|
+
/**
|
319
|
+
* It creates a div element, sets its z-index to be on top of everything else, adds a class to it, and
|
320
|
+
* then adds it to the body of the page
|
321
|
+
*
|
322
|
+
* @returns {HTMLElement} The container is being returned.
|
323
|
+
*/
|
324
|
+
getContainer() {
|
325
|
+
if (this.container) {
|
326
|
+
return this.container;
|
327
|
+
}
|
328
|
+
this.container = document.createElement('vega-page-notification-list');
|
329
|
+
InternalVegaZIndexManager.setZIndex(this.container, 'top');
|
330
|
+
if (getDeviceType() === DeviceType.MOBILE) {
|
331
|
+
this.container.classList.add('vega-page-notification-list-bottom');
|
332
|
+
}
|
333
|
+
else {
|
334
|
+
this.container.classList.add('vega-page-notification-list-topRight');
|
335
|
+
}
|
336
|
+
document.body.append(this.container);
|
337
|
+
this.connectResizeObserver();
|
338
|
+
return this.container;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
__decorate$5([
|
342
|
+
InjectVegaSlimmer()
|
343
|
+
], VegaNotifyController.prototype, "resizeObserverSlimmer", void 0);
|
344
|
+
__decorate$5([
|
345
|
+
InjectVegaTelemetrySlimmer()
|
346
|
+
], VegaNotifyController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
347
|
+
const VegaNotify = new VegaNotifyController();
|
348
|
+
|
349
|
+
var tinycolor = createCommonjsModule(function (module, exports) {
|
350
|
+
// This file is autogenerated. It's used to publish CJS to npm.
|
351
|
+
(function (global, factory) {
|
352
|
+
module.exports = factory() ;
|
353
|
+
})(commonjsGlobal, (function () {
|
354
|
+
// https://github.com/bgrins/TinyColor
|
355
|
+
// Brian Grinstead, MIT License
|
356
|
+
|
357
|
+
const trimLeft = /^\s+/;
|
358
|
+
const trimRight = /\s+$/;
|
359
|
+
|
360
|
+
function tinycolor(color, opts) {
|
361
|
+
color = color ? color : "";
|
362
|
+
opts = opts || {};
|
363
|
+
|
364
|
+
// If input is already a tinycolor, return itself
|
365
|
+
if (color instanceof tinycolor) {
|
366
|
+
return color;
|
367
|
+
}
|
368
|
+
// If we are called as a function, call using new instead
|
369
|
+
if (!(this instanceof tinycolor)) {
|
370
|
+
return new tinycolor(color, opts);
|
371
|
+
}
|
372
|
+
|
373
|
+
var rgb = inputToRGB(color);
|
374
|
+
(this._originalInput = color),
|
375
|
+
(this._r = rgb.r),
|
376
|
+
(this._g = rgb.g),
|
377
|
+
(this._b = rgb.b),
|
378
|
+
(this._a = rgb.a),
|
379
|
+
(this._roundA = Math.round(100 * this._a) / 100),
|
380
|
+
(this._format = opts.format || rgb.format);
|
381
|
+
this._gradientType = opts.gradientType;
|
382
|
+
|
383
|
+
// Don't let the range of [0,255] come back in [0,1].
|
384
|
+
// Potentially lose a little bit of precision here, but will fix issues where
|
385
|
+
// .5 gets interpreted as half of the total, instead of half of 1
|
386
|
+
// If it was supposed to be 128, this was already taken care of by `inputToRgb`
|
387
|
+
if (this._r < 1) this._r = Math.round(this._r);
|
388
|
+
if (this._g < 1) this._g = Math.round(this._g);
|
389
|
+
if (this._b < 1) this._b = Math.round(this._b);
|
390
|
+
|
391
|
+
this._ok = rgb.ok;
|
392
|
+
}
|
393
|
+
|
394
|
+
tinycolor.prototype = {
|
395
|
+
isDark: function () {
|
396
|
+
return this.getBrightness() < 128;
|
397
|
+
},
|
398
|
+
isLight: function () {
|
399
|
+
return !this.isDark();
|
400
|
+
},
|
401
|
+
isValid: function () {
|
402
|
+
return this._ok;
|
403
|
+
},
|
404
|
+
getOriginalInput: function () {
|
405
|
+
return this._originalInput;
|
406
|
+
},
|
407
|
+
getFormat: function () {
|
408
|
+
return this._format;
|
409
|
+
},
|
410
|
+
getAlpha: function () {
|
411
|
+
return this._a;
|
412
|
+
},
|
413
|
+
getBrightness: function () {
|
414
|
+
//http://www.w3.org/TR/AERT#color-contrast
|
415
|
+
var rgb = this.toRgb();
|
416
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
|
417
|
+
},
|
418
|
+
getLuminance: function () {
|
419
|
+
//http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
|
420
|
+
var rgb = this.toRgb();
|
421
|
+
var RsRGB, GsRGB, BsRGB, R, G, B;
|
422
|
+
RsRGB = rgb.r / 255;
|
423
|
+
GsRGB = rgb.g / 255;
|
424
|
+
BsRGB = rgb.b / 255;
|
425
|
+
|
426
|
+
if (RsRGB <= 0.03928) R = RsRGB / 12.92;
|
427
|
+
else R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
|
428
|
+
if (GsRGB <= 0.03928) G = GsRGB / 12.92;
|
429
|
+
else G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
|
430
|
+
if (BsRGB <= 0.03928) B = BsRGB / 12.92;
|
431
|
+
else B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
|
432
|
+
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
|
433
|
+
},
|
434
|
+
setAlpha: function (value) {
|
435
|
+
this._a = boundAlpha(value);
|
436
|
+
this._roundA = Math.round(100 * this._a) / 100;
|
437
|
+
return this;
|
438
|
+
},
|
439
|
+
toHsv: function () {
|
440
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
441
|
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
|
442
|
+
},
|
443
|
+
toHsvString: function () {
|
444
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
445
|
+
var h = Math.round(hsv.h * 360),
|
446
|
+
s = Math.round(hsv.s * 100),
|
447
|
+
v = Math.round(hsv.v * 100);
|
448
|
+
return this._a == 1
|
449
|
+
? "hsv(" + h + ", " + s + "%, " + v + "%)"
|
450
|
+
: "hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
|
451
|
+
},
|
452
|
+
toHsl: function () {
|
453
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
454
|
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
|
455
|
+
},
|
456
|
+
toHslString: function () {
|
457
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
458
|
+
var h = Math.round(hsl.h * 360),
|
459
|
+
s = Math.round(hsl.s * 100),
|
460
|
+
l = Math.round(hsl.l * 100);
|
461
|
+
return this._a == 1
|
462
|
+
? "hsl(" + h + ", " + s + "%, " + l + "%)"
|
463
|
+
: "hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
|
464
|
+
},
|
465
|
+
toHex: function (allow3Char) {
|
466
|
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
467
|
+
},
|
468
|
+
toHexString: function (allow3Char) {
|
469
|
+
return "#" + this.toHex(allow3Char);
|
470
|
+
},
|
471
|
+
toHex8: function (allow4Char) {
|
472
|
+
return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
|
473
|
+
},
|
474
|
+
toHex8String: function (allow4Char) {
|
475
|
+
return "#" + this.toHex8(allow4Char);
|
476
|
+
},
|
477
|
+
toRgb: function () {
|
478
|
+
return {
|
479
|
+
r: Math.round(this._r),
|
480
|
+
g: Math.round(this._g),
|
481
|
+
b: Math.round(this._b),
|
482
|
+
a: this._a,
|
483
|
+
};
|
484
|
+
},
|
485
|
+
toRgbString: function () {
|
486
|
+
return this._a == 1
|
487
|
+
? "rgb(" +
|
488
|
+
Math.round(this._r) +
|
489
|
+
", " +
|
490
|
+
Math.round(this._g) +
|
491
|
+
", " +
|
492
|
+
Math.round(this._b) +
|
493
|
+
")"
|
494
|
+
: "rgba(" +
|
495
|
+
Math.round(this._r) +
|
496
|
+
", " +
|
497
|
+
Math.round(this._g) +
|
498
|
+
", " +
|
499
|
+
Math.round(this._b) +
|
500
|
+
", " +
|
501
|
+
this._roundA +
|
502
|
+
")";
|
503
|
+
},
|
504
|
+
toPercentageRgb: function () {
|
505
|
+
return {
|
506
|
+
r: Math.round(bound01(this._r, 255) * 100) + "%",
|
507
|
+
g: Math.round(bound01(this._g, 255) * 100) + "%",
|
508
|
+
b: Math.round(bound01(this._b, 255) * 100) + "%",
|
509
|
+
a: this._a,
|
510
|
+
};
|
511
|
+
},
|
512
|
+
toPercentageRgbString: function () {
|
513
|
+
return this._a == 1
|
514
|
+
? "rgb(" +
|
515
|
+
Math.round(bound01(this._r, 255) * 100) +
|
516
|
+
"%, " +
|
517
|
+
Math.round(bound01(this._g, 255) * 100) +
|
518
|
+
"%, " +
|
519
|
+
Math.round(bound01(this._b, 255) * 100) +
|
520
|
+
"%)"
|
521
|
+
: "rgba(" +
|
522
|
+
Math.round(bound01(this._r, 255) * 100) +
|
523
|
+
"%, " +
|
524
|
+
Math.round(bound01(this._g, 255) * 100) +
|
525
|
+
"%, " +
|
526
|
+
Math.round(bound01(this._b, 255) * 100) +
|
527
|
+
"%, " +
|
528
|
+
this._roundA +
|
529
|
+
")";
|
530
|
+
},
|
531
|
+
toName: function () {
|
532
|
+
if (this._a === 0) {
|
533
|
+
return "transparent";
|
534
|
+
}
|
535
|
+
|
536
|
+
if (this._a < 1) {
|
537
|
+
return false;
|
538
|
+
}
|
539
|
+
|
540
|
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
541
|
+
},
|
542
|
+
toFilter: function (secondColor) {
|
543
|
+
var hex8String = "#" + rgbaToArgbHex(this._r, this._g, this._b, this._a);
|
544
|
+
var secondHex8String = hex8String;
|
545
|
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
546
|
+
|
547
|
+
if (secondColor) {
|
548
|
+
var s = tinycolor(secondColor);
|
549
|
+
secondHex8String = "#" + rgbaToArgbHex(s._r, s._g, s._b, s._a);
|
550
|
+
}
|
551
|
+
|
552
|
+
return (
|
553
|
+
"progid:DXImageTransform.Microsoft.gradient(" +
|
554
|
+
gradientType +
|
555
|
+
"startColorstr=" +
|
556
|
+
hex8String +
|
557
|
+
",endColorstr=" +
|
558
|
+
secondHex8String +
|
559
|
+
")"
|
560
|
+
);
|
561
|
+
},
|
562
|
+
toString: function (format) {
|
563
|
+
var formatSet = !!format;
|
564
|
+
format = format || this._format;
|
565
|
+
|
566
|
+
var formattedString = false;
|
567
|
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
568
|
+
var needsAlphaFormat =
|
569
|
+
!formatSet &&
|
570
|
+
hasAlpha &&
|
571
|
+
(format === "hex" ||
|
572
|
+
format === "hex6" ||
|
573
|
+
format === "hex3" ||
|
574
|
+
format === "hex4" ||
|
575
|
+
format === "hex8" ||
|
576
|
+
format === "name");
|
577
|
+
|
578
|
+
if (needsAlphaFormat) {
|
579
|
+
// Special case for "transparent", all other non-alpha formats
|
580
|
+
// will return rgba when there is transparency.
|
581
|
+
if (format === "name" && this._a === 0) {
|
582
|
+
return this.toName();
|
583
|
+
}
|
584
|
+
return this.toRgbString();
|
585
|
+
}
|
586
|
+
if (format === "rgb") {
|
587
|
+
formattedString = this.toRgbString();
|
588
|
+
}
|
589
|
+
if (format === "prgb") {
|
590
|
+
formattedString = this.toPercentageRgbString();
|
591
|
+
}
|
592
|
+
if (format === "hex" || format === "hex6") {
|
593
|
+
formattedString = this.toHexString();
|
594
|
+
}
|
595
|
+
if (format === "hex3") {
|
596
|
+
formattedString = this.toHexString(true);
|
597
|
+
}
|
598
|
+
if (format === "hex4") {
|
599
|
+
formattedString = this.toHex8String(true);
|
600
|
+
}
|
601
|
+
if (format === "hex8") {
|
602
|
+
formattedString = this.toHex8String();
|
603
|
+
}
|
604
|
+
if (format === "name") {
|
605
|
+
formattedString = this.toName();
|
606
|
+
}
|
607
|
+
if (format === "hsl") {
|
608
|
+
formattedString = this.toHslString();
|
609
|
+
}
|
610
|
+
if (format === "hsv") {
|
611
|
+
formattedString = this.toHsvString();
|
612
|
+
}
|
613
|
+
|
614
|
+
return formattedString || this.toHexString();
|
615
|
+
},
|
616
|
+
clone: function () {
|
617
|
+
return tinycolor(this.toString());
|
618
|
+
},
|
619
|
+
|
620
|
+
_applyModification: function (fn, args) {
|
621
|
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
622
|
+
this._r = color._r;
|
623
|
+
this._g = color._g;
|
624
|
+
this._b = color._b;
|
625
|
+
this.setAlpha(color._a);
|
626
|
+
return this;
|
627
|
+
},
|
628
|
+
lighten: function () {
|
629
|
+
return this._applyModification(lighten, arguments);
|
630
|
+
},
|
631
|
+
brighten: function () {
|
632
|
+
return this._applyModification(brighten, arguments);
|
633
|
+
},
|
634
|
+
darken: function () {
|
635
|
+
return this._applyModification(darken, arguments);
|
636
|
+
},
|
637
|
+
desaturate: function () {
|
638
|
+
return this._applyModification(desaturate, arguments);
|
639
|
+
},
|
640
|
+
saturate: function () {
|
641
|
+
return this._applyModification(saturate, arguments);
|
642
|
+
},
|
643
|
+
greyscale: function () {
|
644
|
+
return this._applyModification(greyscale, arguments);
|
645
|
+
},
|
646
|
+
spin: function () {
|
647
|
+
return this._applyModification(spin, arguments);
|
648
|
+
},
|
649
|
+
|
650
|
+
_applyCombination: function (fn, args) {
|
651
|
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
652
|
+
},
|
653
|
+
analogous: function () {
|
654
|
+
return this._applyCombination(analogous, arguments);
|
655
|
+
},
|
656
|
+
complement: function () {
|
657
|
+
return this._applyCombination(complement, arguments);
|
658
|
+
},
|
659
|
+
monochromatic: function () {
|
660
|
+
return this._applyCombination(monochromatic, arguments);
|
661
|
+
},
|
662
|
+
splitcomplement: function () {
|
663
|
+
return this._applyCombination(splitcomplement, arguments);
|
664
|
+
},
|
665
|
+
// Disabled until https://github.com/bgrins/TinyColor/issues/254
|
666
|
+
// polyad: function (number) {
|
667
|
+
// return this._applyCombination(polyad, [number]);
|
668
|
+
// },
|
669
|
+
triad: function () {
|
670
|
+
return this._applyCombination(polyad, [3]);
|
671
|
+
},
|
672
|
+
tetrad: function () {
|
673
|
+
return this._applyCombination(polyad, [4]);
|
674
|
+
},
|
675
|
+
};
|
676
|
+
|
677
|
+
// If input is an object, force 1 into "1.0" to handle ratios properly
|
678
|
+
// String input requires "1.0" as input, so 1 will be treated as 1
|
679
|
+
tinycolor.fromRatio = function (color, opts) {
|
680
|
+
if (typeof color == "object") {
|
681
|
+
var newColor = {};
|
682
|
+
for (var i in color) {
|
683
|
+
if (color.hasOwnProperty(i)) {
|
684
|
+
if (i === "a") {
|
685
|
+
newColor[i] = color[i];
|
686
|
+
} else {
|
687
|
+
newColor[i] = convertToPercentage(color[i]);
|
688
|
+
}
|
689
|
+
}
|
690
|
+
}
|
691
|
+
color = newColor;
|
692
|
+
}
|
693
|
+
|
694
|
+
return tinycolor(color, opts);
|
695
|
+
};
|
696
|
+
|
697
|
+
// Given a string or object, convert that input to RGB
|
698
|
+
// Possible string inputs:
|
699
|
+
//
|
700
|
+
// "red"
|
701
|
+
// "#f00" or "f00"
|
702
|
+
// "#ff0000" or "ff0000"
|
703
|
+
// "#ff000000" or "ff000000"
|
704
|
+
// "rgb 255 0 0" or "rgb (255, 0, 0)"
|
705
|
+
// "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
706
|
+
// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
707
|
+
// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
708
|
+
// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
709
|
+
// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
710
|
+
// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
711
|
+
//
|
712
|
+
function inputToRGB(color) {
|
713
|
+
var rgb = { r: 0, g: 0, b: 0 };
|
714
|
+
var a = 1;
|
715
|
+
var s = null;
|
716
|
+
var v = null;
|
717
|
+
var l = null;
|
718
|
+
var ok = false;
|
719
|
+
var format = false;
|
720
|
+
|
721
|
+
if (typeof color == "string") {
|
722
|
+
color = stringInputToObject(color);
|
723
|
+
}
|
724
|
+
|
725
|
+
if (typeof color == "object") {
|
726
|
+
if (
|
727
|
+
isValidCSSUnit(color.r) &&
|
728
|
+
isValidCSSUnit(color.g) &&
|
729
|
+
isValidCSSUnit(color.b)
|
730
|
+
) {
|
731
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
732
|
+
ok = true;
|
733
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
734
|
+
} else if (
|
735
|
+
isValidCSSUnit(color.h) &&
|
736
|
+
isValidCSSUnit(color.s) &&
|
737
|
+
isValidCSSUnit(color.v)
|
738
|
+
) {
|
739
|
+
s = convertToPercentage(color.s);
|
740
|
+
v = convertToPercentage(color.v);
|
741
|
+
rgb = hsvToRgb(color.h, s, v);
|
742
|
+
ok = true;
|
743
|
+
format = "hsv";
|
744
|
+
} else if (
|
745
|
+
isValidCSSUnit(color.h) &&
|
746
|
+
isValidCSSUnit(color.s) &&
|
747
|
+
isValidCSSUnit(color.l)
|
748
|
+
) {
|
749
|
+
s = convertToPercentage(color.s);
|
750
|
+
l = convertToPercentage(color.l);
|
751
|
+
rgb = hslToRgb(color.h, s, l);
|
752
|
+
ok = true;
|
753
|
+
format = "hsl";
|
754
|
+
}
|
755
|
+
|
756
|
+
if (color.hasOwnProperty("a")) {
|
757
|
+
a = color.a;
|
758
|
+
}
|
759
|
+
}
|
760
|
+
|
761
|
+
a = boundAlpha(a);
|
762
|
+
|
763
|
+
return {
|
764
|
+
ok: ok,
|
765
|
+
format: color.format || format,
|
766
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
767
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
768
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
769
|
+
a: a,
|
770
|
+
};
|
771
|
+
}
|
772
|
+
|
773
|
+
// Conversion Functions
|
774
|
+
// --------------------
|
775
|
+
|
776
|
+
// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
|
777
|
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
778
|
+
|
779
|
+
// `rgbToRgb`
|
780
|
+
// Handle bounds / percentage checking to conform to CSS color spec
|
781
|
+
// <http://www.w3.org/TR/css3-color/>
|
782
|
+
// *Assumes:* r, g, b in [0, 255] or [0, 1]
|
783
|
+
// *Returns:* { r, g, b } in [0, 255]
|
784
|
+
function rgbToRgb(r, g, b) {
|
785
|
+
return {
|
786
|
+
r: bound01(r, 255) * 255,
|
787
|
+
g: bound01(g, 255) * 255,
|
788
|
+
b: bound01(b, 255) * 255,
|
789
|
+
};
|
790
|
+
}
|
791
|
+
|
792
|
+
// `rgbToHsl`
|
793
|
+
// Converts an RGB color value to HSL.
|
794
|
+
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
|
795
|
+
// *Returns:* { h, s, l } in [0,1]
|
796
|
+
function rgbToHsl(r, g, b) {
|
797
|
+
r = bound01(r, 255);
|
798
|
+
g = bound01(g, 255);
|
799
|
+
b = bound01(b, 255);
|
800
|
+
|
801
|
+
var max = Math.max(r, g, b),
|
802
|
+
min = Math.min(r, g, b);
|
803
|
+
var h,
|
804
|
+
s,
|
805
|
+
l = (max + min) / 2;
|
806
|
+
|
807
|
+
if (max == min) {
|
808
|
+
h = s = 0; // achromatic
|
809
|
+
} else {
|
810
|
+
var d = max - min;
|
811
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
812
|
+
switch (max) {
|
813
|
+
case r:
|
814
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
815
|
+
break;
|
816
|
+
case g:
|
817
|
+
h = (b - r) / d + 2;
|
818
|
+
break;
|
819
|
+
case b:
|
820
|
+
h = (r - g) / d + 4;
|
821
|
+
break;
|
822
|
+
}
|
823
|
+
|
824
|
+
h /= 6;
|
825
|
+
}
|
826
|
+
|
827
|
+
return { h: h, s: s, l: l };
|
828
|
+
}
|
829
|
+
|
830
|
+
// `hslToRgb`
|
831
|
+
// Converts an HSL color value to RGB.
|
832
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
833
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
834
|
+
function hslToRgb(h, s, l) {
|
835
|
+
var r, g, b;
|
836
|
+
|
837
|
+
h = bound01(h, 360);
|
838
|
+
s = bound01(s, 100);
|
839
|
+
l = bound01(l, 100);
|
840
|
+
|
841
|
+
function hue2rgb(p, q, t) {
|
842
|
+
if (t < 0) t += 1;
|
843
|
+
if (t > 1) t -= 1;
|
844
|
+
if (t < 1 / 6) return p + (q - p) * 6 * t;
|
845
|
+
if (t < 1 / 2) return q;
|
846
|
+
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
847
|
+
return p;
|
848
|
+
}
|
849
|
+
|
850
|
+
if (s === 0) {
|
851
|
+
r = g = b = l; // achromatic
|
852
|
+
} else {
|
853
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
854
|
+
var p = 2 * l - q;
|
855
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
856
|
+
g = hue2rgb(p, q, h);
|
857
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
858
|
+
}
|
859
|
+
|
860
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
861
|
+
}
|
862
|
+
|
863
|
+
// `rgbToHsv`
|
864
|
+
// Converts an RGB color value to HSV
|
865
|
+
// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
866
|
+
// *Returns:* { h, s, v } in [0,1]
|
867
|
+
function rgbToHsv(r, g, b) {
|
868
|
+
r = bound01(r, 255);
|
869
|
+
g = bound01(g, 255);
|
870
|
+
b = bound01(b, 255);
|
871
|
+
|
872
|
+
var max = Math.max(r, g, b),
|
873
|
+
min = Math.min(r, g, b);
|
874
|
+
var h,
|
875
|
+
s,
|
876
|
+
v = max;
|
877
|
+
|
878
|
+
var d = max - min;
|
879
|
+
s = max === 0 ? 0 : d / max;
|
880
|
+
|
881
|
+
if (max == min) {
|
882
|
+
h = 0; // achromatic
|
883
|
+
} else {
|
884
|
+
switch (max) {
|
885
|
+
case r:
|
886
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
887
|
+
break;
|
888
|
+
case g:
|
889
|
+
h = (b - r) / d + 2;
|
890
|
+
break;
|
891
|
+
case b:
|
892
|
+
h = (r - g) / d + 4;
|
893
|
+
break;
|
894
|
+
}
|
895
|
+
h /= 6;
|
896
|
+
}
|
897
|
+
return { h: h, s: s, v: v };
|
898
|
+
}
|
899
|
+
|
900
|
+
// `hsvToRgb`
|
901
|
+
// Converts an HSV color value to RGB.
|
902
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
903
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
904
|
+
function hsvToRgb(h, s, v) {
|
905
|
+
h = bound01(h, 360) * 6;
|
906
|
+
s = bound01(s, 100);
|
907
|
+
v = bound01(v, 100);
|
908
|
+
|
909
|
+
var i = Math.floor(h),
|
910
|
+
f = h - i,
|
911
|
+
p = v * (1 - s),
|
912
|
+
q = v * (1 - f * s),
|
913
|
+
t = v * (1 - (1 - f) * s),
|
914
|
+
mod = i % 6,
|
915
|
+
r = [v, q, p, p, t, v][mod],
|
916
|
+
g = [t, v, v, q, p, p][mod],
|
917
|
+
b = [p, p, t, v, v, q][mod];
|
918
|
+
|
919
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
920
|
+
}
|
921
|
+
|
922
|
+
// `rgbToHex`
|
923
|
+
// Converts an RGB color to hex
|
924
|
+
// Assumes r, g, and b are contained in the set [0, 255]
|
925
|
+
// Returns a 3 or 6 character hex
|
926
|
+
function rgbToHex(r, g, b, allow3Char) {
|
927
|
+
var hex = [
|
928
|
+
pad2(Math.round(r).toString(16)),
|
929
|
+
pad2(Math.round(g).toString(16)),
|
930
|
+
pad2(Math.round(b).toString(16)),
|
931
|
+
];
|
932
|
+
|
933
|
+
// Return a 3 character hex if possible
|
934
|
+
if (
|
935
|
+
allow3Char &&
|
936
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
937
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
938
|
+
hex[2].charAt(0) == hex[2].charAt(1)
|
939
|
+
) {
|
940
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
941
|
+
}
|
942
|
+
|
943
|
+
return hex.join("");
|
944
|
+
}
|
945
|
+
|
946
|
+
// `rgbaToHex`
|
947
|
+
// Converts an RGBA color plus alpha transparency to hex
|
948
|
+
// Assumes r, g, b are contained in the set [0, 255] and
|
949
|
+
// a in [0, 1]. Returns a 4 or 8 character rgba hex
|
950
|
+
function rgbaToHex(r, g, b, a, allow4Char) {
|
951
|
+
var hex = [
|
952
|
+
pad2(Math.round(r).toString(16)),
|
953
|
+
pad2(Math.round(g).toString(16)),
|
954
|
+
pad2(Math.round(b).toString(16)),
|
955
|
+
pad2(convertDecimalToHex(a)),
|
956
|
+
];
|
957
|
+
|
958
|
+
// Return a 4 character hex if possible
|
959
|
+
if (
|
960
|
+
allow4Char &&
|
961
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
962
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
963
|
+
hex[2].charAt(0) == hex[2].charAt(1) &&
|
964
|
+
hex[3].charAt(0) == hex[3].charAt(1)
|
965
|
+
) {
|
966
|
+
return (
|
967
|
+
hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0)
|
968
|
+
);
|
969
|
+
}
|
970
|
+
|
971
|
+
return hex.join("");
|
972
|
+
}
|
973
|
+
|
974
|
+
// `rgbaToArgbHex`
|
975
|
+
// Converts an RGBA color to an ARGB Hex8 string
|
976
|
+
// Rarely used, but required for "toFilter()"
|
977
|
+
function rgbaToArgbHex(r, g, b, a) {
|
978
|
+
var hex = [
|
979
|
+
pad2(convertDecimalToHex(a)),
|
980
|
+
pad2(Math.round(r).toString(16)),
|
981
|
+
pad2(Math.round(g).toString(16)),
|
982
|
+
pad2(Math.round(b).toString(16)),
|
983
|
+
];
|
984
|
+
|
985
|
+
return hex.join("");
|
986
|
+
}
|
987
|
+
|
988
|
+
// `equals`
|
989
|
+
// Can be called with any tinycolor input
|
990
|
+
tinycolor.equals = function (color1, color2) {
|
991
|
+
if (!color1 || !color2) return false;
|
992
|
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
993
|
+
};
|
994
|
+
|
995
|
+
tinycolor.random = function () {
|
996
|
+
return tinycolor.fromRatio({
|
997
|
+
r: Math.random(),
|
998
|
+
g: Math.random(),
|
999
|
+
b: Math.random(),
|
1000
|
+
});
|
1001
|
+
};
|
1002
|
+
|
1003
|
+
// Modification Functions
|
1004
|
+
// ----------------------
|
1005
|
+
// Thanks to less.js for some of the basics here
|
1006
|
+
// <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
|
1007
|
+
|
1008
|
+
function desaturate(color, amount) {
|
1009
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1010
|
+
var hsl = tinycolor(color).toHsl();
|
1011
|
+
hsl.s -= amount / 100;
|
1012
|
+
hsl.s = clamp01(hsl.s);
|
1013
|
+
return tinycolor(hsl);
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
function saturate(color, amount) {
|
1017
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1018
|
+
var hsl = tinycolor(color).toHsl();
|
1019
|
+
hsl.s += amount / 100;
|
1020
|
+
hsl.s = clamp01(hsl.s);
|
1021
|
+
return tinycolor(hsl);
|
1022
|
+
}
|
1023
|
+
|
1024
|
+
function greyscale(color) {
|
1025
|
+
return tinycolor(color).desaturate(100);
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
function lighten(color, amount) {
|
1029
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1030
|
+
var hsl = tinycolor(color).toHsl();
|
1031
|
+
hsl.l += amount / 100;
|
1032
|
+
hsl.l = clamp01(hsl.l);
|
1033
|
+
return tinycolor(hsl);
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
function brighten(color, amount) {
|
1037
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1038
|
+
var rgb = tinycolor(color).toRgb();
|
1039
|
+
rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
|
1040
|
+
rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
|
1041
|
+
rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
|
1042
|
+
return tinycolor(rgb);
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
function darken(color, amount) {
|
1046
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1047
|
+
var hsl = tinycolor(color).toHsl();
|
1048
|
+
hsl.l -= amount / 100;
|
1049
|
+
hsl.l = clamp01(hsl.l);
|
1050
|
+
return tinycolor(hsl);
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
1054
|
+
// Values outside of this range will be wrapped into this range.
|
1055
|
+
function spin(color, amount) {
|
1056
|
+
var hsl = tinycolor(color).toHsl();
|
1057
|
+
var hue = (hsl.h + amount) % 360;
|
1058
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
1059
|
+
return tinycolor(hsl);
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
// Combination Functions
|
1063
|
+
// ---------------------
|
1064
|
+
// Thanks to jQuery xColor for some of the ideas behind these
|
1065
|
+
// <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
|
1066
|
+
|
1067
|
+
function complement(color) {
|
1068
|
+
var hsl = tinycolor(color).toHsl();
|
1069
|
+
hsl.h = (hsl.h + 180) % 360;
|
1070
|
+
return tinycolor(hsl);
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
function polyad(color, number) {
|
1074
|
+
if (isNaN(number) || number <= 0) {
|
1075
|
+
throw new Error("Argument to polyad must be a positive number");
|
1076
|
+
}
|
1077
|
+
var hsl = tinycolor(color).toHsl();
|
1078
|
+
var result = [tinycolor(color)];
|
1079
|
+
var step = 360 / number;
|
1080
|
+
for (var i = 1; i < number; i++) {
|
1081
|
+
result.push(tinycolor({ h: (hsl.h + i * step) % 360, s: hsl.s, l: hsl.l }));
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
return result;
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
function splitcomplement(color) {
|
1088
|
+
var hsl = tinycolor(color).toHsl();
|
1089
|
+
var h = hsl.h;
|
1090
|
+
return [
|
1091
|
+
tinycolor(color),
|
1092
|
+
tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
|
1093
|
+
tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),
|
1094
|
+
];
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
function analogous(color, results, slices) {
|
1098
|
+
results = results || 6;
|
1099
|
+
slices = slices || 30;
|
1100
|
+
|
1101
|
+
var hsl = tinycolor(color).toHsl();
|
1102
|
+
var part = 360 / slices;
|
1103
|
+
var ret = [tinycolor(color)];
|
1104
|
+
|
1105
|
+
for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results; ) {
|
1106
|
+
hsl.h = (hsl.h + part) % 360;
|
1107
|
+
ret.push(tinycolor(hsl));
|
1108
|
+
}
|
1109
|
+
return ret;
|
1110
|
+
}
|
1111
|
+
|
1112
|
+
function monochromatic(color, results) {
|
1113
|
+
results = results || 6;
|
1114
|
+
var hsv = tinycolor(color).toHsv();
|
1115
|
+
var h = hsv.h,
|
1116
|
+
s = hsv.s,
|
1117
|
+
v = hsv.v;
|
1118
|
+
var ret = [];
|
1119
|
+
var modification = 1 / results;
|
1120
|
+
|
1121
|
+
while (results--) {
|
1122
|
+
ret.push(tinycolor({ h: h, s: s, v: v }));
|
1123
|
+
v = (v + modification) % 1;
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
return ret;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
// Utility Functions
|
1130
|
+
// ---------------------
|
1131
|
+
|
1132
|
+
tinycolor.mix = function (color1, color2, amount) {
|
1133
|
+
amount = amount === 0 ? 0 : amount || 50;
|
1134
|
+
|
1135
|
+
var rgb1 = tinycolor(color1).toRgb();
|
1136
|
+
var rgb2 = tinycolor(color2).toRgb();
|
1137
|
+
|
1138
|
+
var p = amount / 100;
|
1139
|
+
|
1140
|
+
var rgba = {
|
1141
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
1142
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
1143
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b,
|
1144
|
+
a: (rgb2.a - rgb1.a) * p + rgb1.a,
|
1145
|
+
};
|
1146
|
+
|
1147
|
+
return tinycolor(rgba);
|
1148
|
+
};
|
1149
|
+
|
1150
|
+
// Readability Functions
|
1151
|
+
// ---------------------
|
1152
|
+
// <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
|
1153
|
+
|
1154
|
+
// `contrast`
|
1155
|
+
// Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
|
1156
|
+
tinycolor.readability = function (color1, color2) {
|
1157
|
+
var c1 = tinycolor(color1);
|
1158
|
+
var c2 = tinycolor(color2);
|
1159
|
+
return (
|
1160
|
+
(Math.max(c1.getLuminance(), c2.getLuminance()) + 0.05) /
|
1161
|
+
(Math.min(c1.getLuminance(), c2.getLuminance()) + 0.05)
|
1162
|
+
);
|
1163
|
+
};
|
1164
|
+
|
1165
|
+
// `isReadable`
|
1166
|
+
// Ensure that foreground and background color combinations meet WCAG2 guidelines.
|
1167
|
+
// The third argument is an optional Object.
|
1168
|
+
// the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
|
1169
|
+
// the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
|
1170
|
+
// If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
|
1171
|
+
|
1172
|
+
// *Example*
|
1173
|
+
// tinycolor.isReadable("#000", "#111") => false
|
1174
|
+
// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
|
1175
|
+
tinycolor.isReadable = function (color1, color2, wcag2) {
|
1176
|
+
var readability = tinycolor.readability(color1, color2);
|
1177
|
+
var wcag2Parms, out;
|
1178
|
+
|
1179
|
+
out = false;
|
1180
|
+
|
1181
|
+
wcag2Parms = validateWCAG2Parms(wcag2);
|
1182
|
+
switch (wcag2Parms.level + wcag2Parms.size) {
|
1183
|
+
case "AAsmall":
|
1184
|
+
case "AAAlarge":
|
1185
|
+
out = readability >= 4.5;
|
1186
|
+
break;
|
1187
|
+
case "AAlarge":
|
1188
|
+
out = readability >= 3;
|
1189
|
+
break;
|
1190
|
+
case "AAAsmall":
|
1191
|
+
out = readability >= 7;
|
1192
|
+
break;
|
1193
|
+
}
|
1194
|
+
return out;
|
1195
|
+
};
|
1196
|
+
|
1197
|
+
// `mostReadable`
|
1198
|
+
// Given a base color and a list of possible foreground or background
|
1199
|
+
// colors for that base, returns the most readable color.
|
1200
|
+
// Optionally returns Black or White if the most readable color is unreadable.
|
1201
|
+
// *Example*
|
1202
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
|
1203
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
|
1204
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
|
1205
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
|
1206
|
+
tinycolor.mostReadable = function (baseColor, colorList, args) {
|
1207
|
+
var bestColor = null;
|
1208
|
+
var bestScore = 0;
|
1209
|
+
var readability;
|
1210
|
+
var includeFallbackColors, level, size;
|
1211
|
+
args = args || {};
|
1212
|
+
includeFallbackColors = args.includeFallbackColors;
|
1213
|
+
level = args.level;
|
1214
|
+
size = args.size;
|
1215
|
+
|
1216
|
+
for (var i = 0; i < colorList.length; i++) {
|
1217
|
+
readability = tinycolor.readability(baseColor, colorList[i]);
|
1218
|
+
if (readability > bestScore) {
|
1219
|
+
bestScore = readability;
|
1220
|
+
bestColor = tinycolor(colorList[i]);
|
1221
|
+
}
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
if (
|
1225
|
+
tinycolor.isReadable(baseColor, bestColor, {
|
1226
|
+
level: level,
|
1227
|
+
size: size,
|
1228
|
+
}) ||
|
1229
|
+
!includeFallbackColors
|
1230
|
+
) {
|
1231
|
+
return bestColor;
|
1232
|
+
} else {
|
1233
|
+
args.includeFallbackColors = false;
|
1234
|
+
return tinycolor.mostReadable(baseColor, ["#fff", "#000"], args);
|
1235
|
+
}
|
1236
|
+
};
|
1237
|
+
|
1238
|
+
// Big List of Colors
|
1239
|
+
// ------------------
|
1240
|
+
// <https://www.w3.org/TR/css-color-4/#named-colors>
|
1241
|
+
var names = (tinycolor.names = {
|
1242
|
+
aliceblue: "f0f8ff",
|
1243
|
+
antiquewhite: "faebd7",
|
1244
|
+
aqua: "0ff",
|
1245
|
+
aquamarine: "7fffd4",
|
1246
|
+
azure: "f0ffff",
|
1247
|
+
beige: "f5f5dc",
|
1248
|
+
bisque: "ffe4c4",
|
1249
|
+
black: "000",
|
1250
|
+
blanchedalmond: "ffebcd",
|
1251
|
+
blue: "00f",
|
1252
|
+
blueviolet: "8a2be2",
|
1253
|
+
brown: "a52a2a",
|
1254
|
+
burlywood: "deb887",
|
1255
|
+
burntsienna: "ea7e5d",
|
1256
|
+
cadetblue: "5f9ea0",
|
1257
|
+
chartreuse: "7fff00",
|
1258
|
+
chocolate: "d2691e",
|
1259
|
+
coral: "ff7f50",
|
1260
|
+
cornflowerblue: "6495ed",
|
1261
|
+
cornsilk: "fff8dc",
|
1262
|
+
crimson: "dc143c",
|
1263
|
+
cyan: "0ff",
|
1264
|
+
darkblue: "00008b",
|
1265
|
+
darkcyan: "008b8b",
|
1266
|
+
darkgoldenrod: "b8860b",
|
1267
|
+
darkgray: "a9a9a9",
|
1268
|
+
darkgreen: "006400",
|
1269
|
+
darkgrey: "a9a9a9",
|
1270
|
+
darkkhaki: "bdb76b",
|
1271
|
+
darkmagenta: "8b008b",
|
1272
|
+
darkolivegreen: "556b2f",
|
1273
|
+
darkorange: "ff8c00",
|
1274
|
+
darkorchid: "9932cc",
|
1275
|
+
darkred: "8b0000",
|
1276
|
+
darksalmon: "e9967a",
|
1277
|
+
darkseagreen: "8fbc8f",
|
1278
|
+
darkslateblue: "483d8b",
|
1279
|
+
darkslategray: "2f4f4f",
|
1280
|
+
darkslategrey: "2f4f4f",
|
1281
|
+
darkturquoise: "00ced1",
|
1282
|
+
darkviolet: "9400d3",
|
1283
|
+
deeppink: "ff1493",
|
1284
|
+
deepskyblue: "00bfff",
|
1285
|
+
dimgray: "696969",
|
1286
|
+
dimgrey: "696969",
|
1287
|
+
dodgerblue: "1e90ff",
|
1288
|
+
firebrick: "b22222",
|
1289
|
+
floralwhite: "fffaf0",
|
1290
|
+
forestgreen: "228b22",
|
1291
|
+
fuchsia: "f0f",
|
1292
|
+
gainsboro: "dcdcdc",
|
1293
|
+
ghostwhite: "f8f8ff",
|
1294
|
+
gold: "ffd700",
|
1295
|
+
goldenrod: "daa520",
|
1296
|
+
gray: "808080",
|
1297
|
+
green: "008000",
|
1298
|
+
greenyellow: "adff2f",
|
1299
|
+
grey: "808080",
|
1300
|
+
honeydew: "f0fff0",
|
1301
|
+
hotpink: "ff69b4",
|
1302
|
+
indianred: "cd5c5c",
|
1303
|
+
indigo: "4b0082",
|
1304
|
+
ivory: "fffff0",
|
1305
|
+
khaki: "f0e68c",
|
1306
|
+
lavender: "e6e6fa",
|
1307
|
+
lavenderblush: "fff0f5",
|
1308
|
+
lawngreen: "7cfc00",
|
1309
|
+
lemonchiffon: "fffacd",
|
1310
|
+
lightblue: "add8e6",
|
1311
|
+
lightcoral: "f08080",
|
1312
|
+
lightcyan: "e0ffff",
|
1313
|
+
lightgoldenrodyellow: "fafad2",
|
1314
|
+
lightgray: "d3d3d3",
|
1315
|
+
lightgreen: "90ee90",
|
1316
|
+
lightgrey: "d3d3d3",
|
1317
|
+
lightpink: "ffb6c1",
|
1318
|
+
lightsalmon: "ffa07a",
|
1319
|
+
lightseagreen: "20b2aa",
|
1320
|
+
lightskyblue: "87cefa",
|
1321
|
+
lightslategray: "789",
|
1322
|
+
lightslategrey: "789",
|
1323
|
+
lightsteelblue: "b0c4de",
|
1324
|
+
lightyellow: "ffffe0",
|
1325
|
+
lime: "0f0",
|
1326
|
+
limegreen: "32cd32",
|
1327
|
+
linen: "faf0e6",
|
1328
|
+
magenta: "f0f",
|
1329
|
+
maroon: "800000",
|
1330
|
+
mediumaquamarine: "66cdaa",
|
1331
|
+
mediumblue: "0000cd",
|
1332
|
+
mediumorchid: "ba55d3",
|
1333
|
+
mediumpurple: "9370db",
|
1334
|
+
mediumseagreen: "3cb371",
|
1335
|
+
mediumslateblue: "7b68ee",
|
1336
|
+
mediumspringgreen: "00fa9a",
|
1337
|
+
mediumturquoise: "48d1cc",
|
1338
|
+
mediumvioletred: "c71585",
|
1339
|
+
midnightblue: "191970",
|
1340
|
+
mintcream: "f5fffa",
|
1341
|
+
mistyrose: "ffe4e1",
|
1342
|
+
moccasin: "ffe4b5",
|
1343
|
+
navajowhite: "ffdead",
|
1344
|
+
navy: "000080",
|
1345
|
+
oldlace: "fdf5e6",
|
1346
|
+
olive: "808000",
|
1347
|
+
olivedrab: "6b8e23",
|
1348
|
+
orange: "ffa500",
|
1349
|
+
orangered: "ff4500",
|
1350
|
+
orchid: "da70d6",
|
1351
|
+
palegoldenrod: "eee8aa",
|
1352
|
+
palegreen: "98fb98",
|
1353
|
+
paleturquoise: "afeeee",
|
1354
|
+
palevioletred: "db7093",
|
1355
|
+
papayawhip: "ffefd5",
|
1356
|
+
peachpuff: "ffdab9",
|
1357
|
+
peru: "cd853f",
|
1358
|
+
pink: "ffc0cb",
|
1359
|
+
plum: "dda0dd",
|
1360
|
+
powderblue: "b0e0e6",
|
1361
|
+
purple: "800080",
|
1362
|
+
rebeccapurple: "663399",
|
1363
|
+
red: "f00",
|
1364
|
+
rosybrown: "bc8f8f",
|
1365
|
+
royalblue: "4169e1",
|
1366
|
+
saddlebrown: "8b4513",
|
1367
|
+
salmon: "fa8072",
|
1368
|
+
sandybrown: "f4a460",
|
1369
|
+
seagreen: "2e8b57",
|
1370
|
+
seashell: "fff5ee",
|
1371
|
+
sienna: "a0522d",
|
1372
|
+
silver: "c0c0c0",
|
1373
|
+
skyblue: "87ceeb",
|
1374
|
+
slateblue: "6a5acd",
|
1375
|
+
slategray: "708090",
|
1376
|
+
slategrey: "708090",
|
1377
|
+
snow: "fffafa",
|
1378
|
+
springgreen: "00ff7f",
|
1379
|
+
steelblue: "4682b4",
|
1380
|
+
tan: "d2b48c",
|
1381
|
+
teal: "008080",
|
1382
|
+
thistle: "d8bfd8",
|
1383
|
+
tomato: "ff6347",
|
1384
|
+
turquoise: "40e0d0",
|
1385
|
+
violet: "ee82ee",
|
1386
|
+
wheat: "f5deb3",
|
1387
|
+
white: "fff",
|
1388
|
+
whitesmoke: "f5f5f5",
|
1389
|
+
yellow: "ff0",
|
1390
|
+
yellowgreen: "9acd32",
|
1391
|
+
});
|
1392
|
+
|
1393
|
+
// Make it easy to access colors via `hexNames[hex]`
|
1394
|
+
var hexNames = (tinycolor.hexNames = flip(names));
|
1395
|
+
|
1396
|
+
// Utilities
|
1397
|
+
// ---------
|
1398
|
+
|
1399
|
+
// `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
|
1400
|
+
function flip(o) {
|
1401
|
+
var flipped = {};
|
1402
|
+
for (var i in o) {
|
1403
|
+
if (o.hasOwnProperty(i)) {
|
1404
|
+
flipped[o[i]] = i;
|
1405
|
+
}
|
1406
|
+
}
|
1407
|
+
return flipped;
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
// Return a valid alpha value [0,1] with all invalid values being set to 1
|
1411
|
+
function boundAlpha(a) {
|
1412
|
+
a = parseFloat(a);
|
1413
|
+
|
1414
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
1415
|
+
a = 1;
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
return a;
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
// Take input from [0, n] and return it as [0, 1]
|
1422
|
+
function bound01(n, max) {
|
1423
|
+
if (isOnePointZero(n)) n = "100%";
|
1424
|
+
|
1425
|
+
var processPercent = isPercentage(n);
|
1426
|
+
n = Math.min(max, Math.max(0, parseFloat(n)));
|
1427
|
+
|
1428
|
+
// Automatically convert percentage into number
|
1429
|
+
if (processPercent) {
|
1430
|
+
n = parseInt(n * max, 10) / 100;
|
1431
|
+
}
|
1432
|
+
|
1433
|
+
// Handle floating point rounding errors
|
1434
|
+
if (Math.abs(n - max) < 0.000001) {
|
1435
|
+
return 1;
|
1436
|
+
}
|
1437
|
+
|
1438
|
+
// Convert into [0, 1] range if it isn't already
|
1439
|
+
return (n % max) / parseFloat(max);
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
// Force a number between 0 and 1
|
1443
|
+
function clamp01(val) {
|
1444
|
+
return Math.min(1, Math.max(0, val));
|
1445
|
+
}
|
1446
|
+
|
1447
|
+
// Parse a base-16 hex value into a base-10 integer
|
1448
|
+
function parseIntFromHex(val) {
|
1449
|
+
return parseInt(val, 16);
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
1453
|
+
// <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
1454
|
+
function isOnePointZero(n) {
|
1455
|
+
return typeof n == "string" && n.indexOf(".") != -1 && parseFloat(n) === 1;
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
// Check to see if string passed in is a percentage
|
1459
|
+
function isPercentage(n) {
|
1460
|
+
return typeof n === "string" && n.indexOf("%") != -1;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
// Force a hex value to have 2 characters
|
1464
|
+
function pad2(c) {
|
1465
|
+
return c.length == 1 ? "0" + c : "" + c;
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
// Replace a decimal with it's percentage value
|
1469
|
+
function convertToPercentage(n) {
|
1470
|
+
if (n <= 1) {
|
1471
|
+
n = n * 100 + "%";
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
return n;
|
1475
|
+
}
|
1476
|
+
|
1477
|
+
// Converts a decimal to a hex value
|
1478
|
+
function convertDecimalToHex(d) {
|
1479
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
1480
|
+
}
|
1481
|
+
// Converts a hex value to a decimal
|
1482
|
+
function convertHexToDecimal(h) {
|
1483
|
+
return parseIntFromHex(h) / 255;
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
var matchers = (function () {
|
1487
|
+
// <http://www.w3.org/TR/css3-values/#integers>
|
1488
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
1489
|
+
|
1490
|
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
1491
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
1492
|
+
|
1493
|
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
1494
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
1495
|
+
|
1496
|
+
// Actual matching.
|
1497
|
+
// Parentheses and commas are optional, but not required.
|
1498
|
+
// Whitespace can take the place of commas or opening paren
|
1499
|
+
var PERMISSIVE_MATCH3 =
|
1500
|
+
"[\\s|\\(]+(" +
|
1501
|
+
CSS_UNIT +
|
1502
|
+
")[,|\\s]+(" +
|
1503
|
+
CSS_UNIT +
|
1504
|
+
")[,|\\s]+(" +
|
1505
|
+
CSS_UNIT +
|
1506
|
+
")\\s*\\)?";
|
1507
|
+
var PERMISSIVE_MATCH4 =
|
1508
|
+
"[\\s|\\(]+(" +
|
1509
|
+
CSS_UNIT +
|
1510
|
+
")[,|\\s]+(" +
|
1511
|
+
CSS_UNIT +
|
1512
|
+
")[,|\\s]+(" +
|
1513
|
+
CSS_UNIT +
|
1514
|
+
")[,|\\s]+(" +
|
1515
|
+
CSS_UNIT +
|
1516
|
+
")\\s*\\)?";
|
1517
|
+
|
1518
|
+
return {
|
1519
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
1520
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
1521
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
1522
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
1523
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
1524
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
1525
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
1526
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1527
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1528
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1529
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1530
|
+
};
|
1531
|
+
})();
|
1532
|
+
|
1533
|
+
// `isValidCSSUnit`
|
1534
|
+
// Take in a single string / number and check to see if it looks like a CSS unit
|
1535
|
+
// (see `matchers` above for definition).
|
1536
|
+
function isValidCSSUnit(color) {
|
1537
|
+
return !!matchers.CSS_UNIT.exec(color);
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
// `stringInputToObject`
|
1541
|
+
// Permissive string parsing. Take in a number of formats, and output an object
|
1542
|
+
// based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
|
1543
|
+
function stringInputToObject(color) {
|
1544
|
+
color = color.replace(trimLeft, "").replace(trimRight, "").toLowerCase();
|
1545
|
+
var named = false;
|
1546
|
+
if (names[color]) {
|
1547
|
+
color = names[color];
|
1548
|
+
named = true;
|
1549
|
+
} else if (color == "transparent") {
|
1550
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
1551
|
+
}
|
1552
|
+
|
1553
|
+
// Try to match string input using regular expressions.
|
1554
|
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
1555
|
+
// Just return an object and let the conversion functions handle that.
|
1556
|
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
1557
|
+
var match;
|
1558
|
+
if ((match = matchers.rgb.exec(color))) {
|
1559
|
+
return { r: match[1], g: match[2], b: match[3] };
|
1560
|
+
}
|
1561
|
+
if ((match = matchers.rgba.exec(color))) {
|
1562
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
1563
|
+
}
|
1564
|
+
if ((match = matchers.hsl.exec(color))) {
|
1565
|
+
return { h: match[1], s: match[2], l: match[3] };
|
1566
|
+
}
|
1567
|
+
if ((match = matchers.hsla.exec(color))) {
|
1568
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
1569
|
+
}
|
1570
|
+
if ((match = matchers.hsv.exec(color))) {
|
1571
|
+
return { h: match[1], s: match[2], v: match[3] };
|
1572
|
+
}
|
1573
|
+
if ((match = matchers.hsva.exec(color))) {
|
1574
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
1575
|
+
}
|
1576
|
+
if ((match = matchers.hex8.exec(color))) {
|
1577
|
+
return {
|
1578
|
+
r: parseIntFromHex(match[1]),
|
1579
|
+
g: parseIntFromHex(match[2]),
|
1580
|
+
b: parseIntFromHex(match[3]),
|
1581
|
+
a: convertHexToDecimal(match[4]),
|
1582
|
+
format: named ? "name" : "hex8",
|
1583
|
+
};
|
1584
|
+
}
|
1585
|
+
if ((match = matchers.hex6.exec(color))) {
|
1586
|
+
return {
|
1587
|
+
r: parseIntFromHex(match[1]),
|
1588
|
+
g: parseIntFromHex(match[2]),
|
1589
|
+
b: parseIntFromHex(match[3]),
|
1590
|
+
format: named ? "name" : "hex",
|
1591
|
+
};
|
1592
|
+
}
|
1593
|
+
if ((match = matchers.hex4.exec(color))) {
|
1594
|
+
return {
|
1595
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1596
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1597
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1598
|
+
a: convertHexToDecimal(match[4] + "" + match[4]),
|
1599
|
+
format: named ? "name" : "hex8",
|
1600
|
+
};
|
1601
|
+
}
|
1602
|
+
if ((match = matchers.hex3.exec(color))) {
|
1603
|
+
return {
|
1604
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1605
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1606
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1607
|
+
format: named ? "name" : "hex",
|
1608
|
+
};
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
return false;
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
function validateWCAG2Parms(parms) {
|
1615
|
+
// return valid WCAG2 parms for isReadable.
|
1616
|
+
// If input parms are invalid, return {"level":"AA", "size":"small"}
|
1617
|
+
var level, size;
|
1618
|
+
parms = parms || { level: "AA", size: "small" };
|
1619
|
+
level = (parms.level || "AA").toUpperCase();
|
1620
|
+
size = (parms.size || "small").toLowerCase();
|
1621
|
+
if (level !== "AA" && level !== "AAA") {
|
1622
|
+
level = "AA";
|
1623
|
+
}
|
1624
|
+
if (size !== "small" && size !== "large") {
|
1625
|
+
size = "small";
|
1626
|
+
}
|
1627
|
+
return { level: level, size: size };
|
1628
|
+
}
|
1629
|
+
|
1630
|
+
return tinycolor;
|
1631
|
+
|
1632
|
+
}));
|
1633
|
+
});
|
1634
|
+
|
1635
|
+
const formatValue$2 = (tinyColor) => {
|
1636
|
+
if (!tinyColor) {
|
1637
|
+
return '';
|
1638
|
+
}
|
1639
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
1640
|
+
return `${r} ${g} ${b} / ${a}`;
|
1641
|
+
};
|
1642
|
+
const OverridableColorTokens = [
|
1643
|
+
{
|
1644
|
+
name: 'bg-action',
|
1645
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1646
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1647
|
+
if (!overrideBaseColor) {
|
1648
|
+
return '';
|
1649
|
+
}
|
1650
|
+
const baseColor = overrideBaseColor
|
1651
|
+
? tinycolor(overrideBaseColor)
|
1652
|
+
: undefined;
|
1653
|
+
let value = baseColor
|
1654
|
+
? baseColor.clone()
|
1655
|
+
: undefined;
|
1656
|
+
return formatValue$2(value);
|
1657
|
+
},
|
1658
|
+
},
|
1659
|
+
{
|
1660
|
+
name: 'dark-bg-action',
|
1661
|
+
},
|
1662
|
+
{
|
1663
|
+
name: 'bg-action-hover',
|
1664
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1665
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1666
|
+
if (!overrideBaseColor) {
|
1667
|
+
return '';
|
1668
|
+
}
|
1669
|
+
const baseColor = overrideBaseColor
|
1670
|
+
? tinycolor(overrideBaseColor)
|
1671
|
+
: undefined;
|
1672
|
+
let value = baseColor
|
1673
|
+
? baseColor.clone()
|
1674
|
+
: undefined;
|
1675
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1676
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1677
|
+
}
|
1678
|
+
else {
|
1679
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1680
|
+
}
|
1681
|
+
return formatValue$2(value);
|
1682
|
+
},
|
1683
|
+
},
|
1684
|
+
{
|
1685
|
+
name: 'dark-bg-action-hover',
|
1686
|
+
},
|
1687
|
+
{
|
1688
|
+
name: 'bg-action-focus',
|
1689
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1690
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1691
|
+
if (!overrideBaseColor) {
|
1692
|
+
return '';
|
1693
|
+
}
|
1694
|
+
const baseColor = overrideBaseColor
|
1695
|
+
? tinycolor(overrideBaseColor)
|
1696
|
+
: undefined;
|
1697
|
+
let value = baseColor
|
1698
|
+
? baseColor.clone()
|
1699
|
+
: undefined;
|
1700
|
+
return formatValue$2(value);
|
1701
|
+
},
|
1702
|
+
},
|
1703
|
+
{
|
1704
|
+
name: 'dark-bg-action-focus',
|
1705
|
+
},
|
1706
|
+
{
|
1707
|
+
name: 'bg-action-active',
|
1708
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1709
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1710
|
+
if (!overrideBaseColor) {
|
1711
|
+
return '';
|
1712
|
+
}
|
1713
|
+
const baseColor = overrideBaseColor
|
1714
|
+
? tinycolor(overrideBaseColor)
|
1715
|
+
: undefined;
|
1716
|
+
let value = baseColor
|
1717
|
+
? baseColor.clone()
|
1718
|
+
: undefined;
|
1719
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1720
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
1721
|
+
}
|
1722
|
+
else {
|
1723
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
1724
|
+
}
|
1725
|
+
return formatValue$2(value);
|
1726
|
+
},
|
1727
|
+
},
|
1728
|
+
{
|
1729
|
+
name: 'dark-bg-action-active',
|
1730
|
+
},
|
1731
|
+
{
|
1732
|
+
name: 'bg-action-secondary-hover',
|
1733
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1734
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1735
|
+
if (!overrideBaseColor) {
|
1736
|
+
return '';
|
1737
|
+
}
|
1738
|
+
const baseColor = overrideBaseColor
|
1739
|
+
? tinycolor(overrideBaseColor)
|
1740
|
+
: undefined;
|
1741
|
+
let value = baseColor
|
1742
|
+
? baseColor.clone()
|
1743
|
+
: undefined;
|
1744
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1745
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1746
|
+
}
|
1747
|
+
else {
|
1748
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1749
|
+
}
|
1750
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1751
|
+
return formatValue$2(value);
|
1752
|
+
},
|
1753
|
+
},
|
1754
|
+
{
|
1755
|
+
name: 'dark-bg-action-secondary-hover',
|
1756
|
+
},
|
1757
|
+
{
|
1758
|
+
name: 'bg-action-secondary-active',
|
1759
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1760
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1761
|
+
if (!overrideBaseColor) {
|
1762
|
+
return '';
|
1763
|
+
}
|
1764
|
+
const baseColor = overrideBaseColor
|
1765
|
+
? tinycolor(overrideBaseColor)
|
1766
|
+
: undefined;
|
1767
|
+
let value = baseColor
|
1768
|
+
? baseColor.clone()
|
1769
|
+
: undefined;
|
1770
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1771
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
1772
|
+
}
|
1773
|
+
else {
|
1774
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-20);
|
1775
|
+
}
|
1776
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1777
|
+
return formatValue$2(value);
|
1778
|
+
},
|
1779
|
+
},
|
1780
|
+
{
|
1781
|
+
name: 'dark-bg-action-secondary-active',
|
1782
|
+
},
|
1783
|
+
{
|
1784
|
+
name: 'bg-divider',
|
1785
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1786
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1787
|
+
if (!overrideBaseColor) {
|
1788
|
+
return '';
|
1789
|
+
}
|
1790
|
+
const baseColor = overrideBaseColor
|
1791
|
+
? tinycolor(overrideBaseColor)
|
1792
|
+
: undefined;
|
1793
|
+
let value = baseColor
|
1794
|
+
? baseColor.clone()
|
1795
|
+
: undefined;
|
1796
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
1797
|
+
return formatValue$2(value);
|
1798
|
+
},
|
1799
|
+
},
|
1800
|
+
{
|
1801
|
+
name: 'dark-bg-divider',
|
1802
|
+
},
|
1803
|
+
{
|
1804
|
+
name: 'bg-keypad-btn-active',
|
1805
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1806
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1807
|
+
if (!overrideBaseColor) {
|
1808
|
+
return '';
|
1809
|
+
}
|
1810
|
+
const baseColor = overrideBaseColor
|
1811
|
+
? tinycolor(overrideBaseColor)
|
1812
|
+
: undefined;
|
1813
|
+
let value = baseColor
|
1814
|
+
? baseColor.clone()
|
1815
|
+
: undefined;
|
1816
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.3);
|
1817
|
+
return formatValue$2(value);
|
1818
|
+
},
|
1819
|
+
},
|
1820
|
+
{
|
1821
|
+
name: 'dark-bg-keypad-btn-active',
|
1822
|
+
},
|
1823
|
+
{
|
1824
|
+
name: 'bg-selected',
|
1825
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1826
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1827
|
+
if (!overrideBaseColor) {
|
1828
|
+
return '';
|
1829
|
+
}
|
1830
|
+
const baseColor = overrideBaseColor
|
1831
|
+
? tinycolor(overrideBaseColor)
|
1832
|
+
: undefined;
|
1833
|
+
let value = baseColor
|
1834
|
+
? baseColor.clone()
|
1835
|
+
: undefined;
|
1836
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1837
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1838
|
+
}
|
1839
|
+
else {
|
1840
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1841
|
+
}
|
1842
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
1843
|
+
return formatValue$2(value);
|
1844
|
+
},
|
1845
|
+
},
|
1846
|
+
{
|
1847
|
+
name: 'dark-bg-selected',
|
1848
|
+
},
|
1849
|
+
{
|
1850
|
+
name: 'bg-sidebar',
|
1851
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1852
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1853
|
+
if (!overrideBaseColor) {
|
1854
|
+
return '';
|
1855
|
+
}
|
1856
|
+
const baseColor = overrideBaseColor
|
1857
|
+
? tinycolor(overrideBaseColor)
|
1858
|
+
: undefined;
|
1859
|
+
let value = baseColor
|
1860
|
+
? baseColor.clone()
|
1861
|
+
: undefined;
|
1862
|
+
return formatValue$2(value);
|
1863
|
+
},
|
1864
|
+
},
|
1865
|
+
{
|
1866
|
+
name: 'dark-bg-sidebar',
|
1867
|
+
},
|
1868
|
+
{
|
1869
|
+
name: 'bg-sidebar-item-hover',
|
1870
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1871
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1872
|
+
if (!overrideBaseColor) {
|
1873
|
+
return '';
|
1874
|
+
}
|
1875
|
+
const baseColor = overrideBaseColor
|
1876
|
+
? tinycolor(overrideBaseColor)
|
1877
|
+
: undefined;
|
1878
|
+
let value = baseColor
|
1879
|
+
? baseColor.clone()
|
1880
|
+
: undefined;
|
1881
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1882
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
1883
|
+
}
|
1884
|
+
else {
|
1885
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
1886
|
+
}
|
1887
|
+
return formatValue$2(value);
|
1888
|
+
},
|
1889
|
+
},
|
1890
|
+
{
|
1891
|
+
name: 'dark-bg-sidebar-item-hover',
|
1892
|
+
},
|
1893
|
+
{
|
1894
|
+
name: 'bg-sidebar-item-selected',
|
1895
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1896
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1897
|
+
if (!overrideBaseColor) {
|
1898
|
+
return '';
|
1899
|
+
}
|
1900
|
+
const baseColor = overrideBaseColor
|
1901
|
+
? tinycolor(overrideBaseColor)
|
1902
|
+
: undefined;
|
1903
|
+
let value = baseColor
|
1904
|
+
? baseColor.clone()
|
1905
|
+
: undefined;
|
1906
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
1907
|
+
return formatValue$2(value);
|
1908
|
+
},
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
name: 'dark-bg-sidebar-item-selected',
|
1912
|
+
},
|
1913
|
+
{
|
1914
|
+
name: 'bg-table-selected-row',
|
1915
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1916
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1917
|
+
if (!overrideBaseColor) {
|
1918
|
+
return '';
|
1919
|
+
}
|
1920
|
+
const baseColor = overrideBaseColor
|
1921
|
+
? tinycolor(overrideBaseColor)
|
1922
|
+
: undefined;
|
1923
|
+
let value = baseColor
|
1924
|
+
? baseColor.clone()
|
1925
|
+
: undefined;
|
1926
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.2);
|
1927
|
+
return formatValue$2(value);
|
1928
|
+
},
|
1929
|
+
},
|
1930
|
+
{
|
1931
|
+
name: 'dark-bg-table-selected-row',
|
1932
|
+
},
|
1933
|
+
{
|
1934
|
+
name: 'bg-toggle-switch-selected-disabled',
|
1935
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1936
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1937
|
+
if (!overrideBaseColor) {
|
1938
|
+
return '';
|
1939
|
+
}
|
1940
|
+
const baseColor = overrideBaseColor
|
1941
|
+
? tinycolor(overrideBaseColor)
|
1942
|
+
: undefined;
|
1943
|
+
let value = baseColor
|
1944
|
+
? baseColor.clone()
|
1945
|
+
: undefined;
|
1946
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.5);
|
1947
|
+
return formatValue$2(value);
|
1948
|
+
},
|
1949
|
+
},
|
1950
|
+
{
|
1951
|
+
name: 'dark-bg-toggle-switch-selected-disabled',
|
1952
|
+
},
|
1953
|
+
{
|
1954
|
+
name: 'bg-date-picker-range',
|
1955
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1956
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1957
|
+
if (!overrideBaseColor) {
|
1958
|
+
return '';
|
1959
|
+
}
|
1960
|
+
const baseColor = overrideBaseColor
|
1961
|
+
? tinycolor(overrideBaseColor)
|
1962
|
+
: undefined;
|
1963
|
+
let value = baseColor
|
1964
|
+
? baseColor.clone()
|
1965
|
+
: undefined;
|
1966
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1967
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1968
|
+
}
|
1969
|
+
else {
|
1970
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1971
|
+
}
|
1972
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1973
|
+
return formatValue$2(value);
|
1974
|
+
},
|
1975
|
+
},
|
1976
|
+
{
|
1977
|
+
name: 'dark-bg-date-picker-range',
|
1978
|
+
},
|
1979
|
+
{
|
1980
|
+
name: 'text-link',
|
1981
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1982
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1983
|
+
if (!overrideBaseColor) {
|
1984
|
+
return '';
|
1985
|
+
}
|
1986
|
+
const baseColor = overrideBaseColor
|
1987
|
+
? tinycolor(overrideBaseColor)
|
1988
|
+
: undefined;
|
1989
|
+
let value = baseColor
|
1990
|
+
? baseColor.clone()
|
1991
|
+
: undefined;
|
1992
|
+
return formatValue$2(value);
|
1993
|
+
},
|
1994
|
+
},
|
1995
|
+
{
|
1996
|
+
name: 'dark-text-link',
|
1997
|
+
},
|
1998
|
+
{
|
1999
|
+
name: 'text-link-hover',
|
2000
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2001
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2002
|
+
if (!overrideBaseColor) {
|
2003
|
+
return '';
|
2004
|
+
}
|
2005
|
+
const baseColor = overrideBaseColor
|
2006
|
+
? tinycolor(overrideBaseColor)
|
2007
|
+
: undefined;
|
2008
|
+
let value = baseColor
|
2009
|
+
? baseColor.clone()
|
2010
|
+
: undefined;
|
2011
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2012
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2013
|
+
}
|
2014
|
+
else {
|
2015
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2016
|
+
}
|
2017
|
+
return formatValue$2(value);
|
2018
|
+
},
|
2019
|
+
},
|
2020
|
+
{
|
2021
|
+
name: 'dark-text-link-hover',
|
2022
|
+
},
|
2023
|
+
{
|
2024
|
+
name: 'text-link-active',
|
2025
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2026
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2027
|
+
if (!overrideBaseColor) {
|
2028
|
+
return '';
|
2029
|
+
}
|
2030
|
+
const baseColor = overrideBaseColor
|
2031
|
+
? tinycolor(overrideBaseColor)
|
2032
|
+
: undefined;
|
2033
|
+
let value = baseColor
|
2034
|
+
? baseColor.clone()
|
2035
|
+
: undefined;
|
2036
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2037
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2038
|
+
}
|
2039
|
+
else {
|
2040
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2041
|
+
}
|
2042
|
+
return formatValue$2(value);
|
2043
|
+
},
|
2044
|
+
},
|
2045
|
+
{
|
2046
|
+
name: 'dark-text-link-active',
|
2047
|
+
},
|
2048
|
+
{
|
2049
|
+
name: 'text-link-focus',
|
2050
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2051
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2052
|
+
if (!overrideBaseColor) {
|
2053
|
+
return '';
|
2054
|
+
}
|
2055
|
+
const baseColor = overrideBaseColor
|
2056
|
+
? tinycolor(overrideBaseColor)
|
2057
|
+
: undefined;
|
2058
|
+
let value = baseColor
|
2059
|
+
? baseColor.clone()
|
2060
|
+
: undefined;
|
2061
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2062
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2063
|
+
}
|
2064
|
+
else {
|
2065
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2066
|
+
}
|
2067
|
+
return formatValue$2(value);
|
2068
|
+
},
|
2069
|
+
},
|
2070
|
+
{
|
2071
|
+
name: 'dark-text-link-focus',
|
2072
|
+
},
|
2073
|
+
{
|
2074
|
+
name: 'text-link-visited',
|
2075
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2076
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2077
|
+
if (!overrideBaseColor) {
|
2078
|
+
return '';
|
2079
|
+
}
|
2080
|
+
const baseColor = overrideBaseColor
|
2081
|
+
? tinycolor(overrideBaseColor)
|
2082
|
+
: undefined;
|
2083
|
+
let value = baseColor
|
2084
|
+
? baseColor.clone()
|
2085
|
+
: undefined;
|
2086
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2087
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
2088
|
+
}
|
2089
|
+
else {
|
2090
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-22);
|
2091
|
+
}
|
2092
|
+
return formatValue$2(value);
|
2093
|
+
},
|
2094
|
+
},
|
2095
|
+
{
|
2096
|
+
name: 'dark-text-link-visited',
|
2097
|
+
},
|
2098
|
+
{
|
2099
|
+
name: 'text-sidebar-link',
|
2100
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2101
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2102
|
+
if (!overrideBaseColor) {
|
2103
|
+
return '';
|
2104
|
+
}
|
2105
|
+
const baseColor = overrideBaseColor
|
2106
|
+
? tinycolor(overrideBaseColor)
|
2107
|
+
: undefined;
|
2108
|
+
let value = baseColor
|
2109
|
+
? baseColor.clone()
|
2110
|
+
: undefined;
|
2111
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2112
|
+
value = tinycolor({ a: 0.9, b: 255, r: 255, g: 255 });
|
2113
|
+
}
|
2114
|
+
else {
|
2115
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2116
|
+
}
|
2117
|
+
return formatValue$2(value);
|
2118
|
+
},
|
2119
|
+
},
|
2120
|
+
{
|
2121
|
+
name: 'dark-text-sidebar-link',
|
2122
|
+
},
|
2123
|
+
{
|
2124
|
+
name: 'text-sidebar-link-hover',
|
2125
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2126
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2127
|
+
if (!overrideBaseColor) {
|
2128
|
+
return '';
|
2129
|
+
}
|
2130
|
+
const baseColor = overrideBaseColor
|
2131
|
+
? tinycolor(overrideBaseColor)
|
2132
|
+
: undefined;
|
2133
|
+
let value = baseColor
|
2134
|
+
? baseColor.clone()
|
2135
|
+
: undefined;
|
2136
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2137
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
2138
|
+
}
|
2139
|
+
else {
|
2140
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2141
|
+
}
|
2142
|
+
return formatValue$2(value);
|
2143
|
+
},
|
2144
|
+
},
|
2145
|
+
{
|
2146
|
+
name: 'dark-text-sidebar-link-hover',
|
2147
|
+
},
|
2148
|
+
{
|
2149
|
+
name: 'text-sidebar-link-selected',
|
2150
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2151
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2152
|
+
if (!overrideBaseColor) {
|
2153
|
+
return '';
|
2154
|
+
}
|
2155
|
+
const baseColor = overrideBaseColor
|
2156
|
+
? tinycolor(overrideBaseColor)
|
2157
|
+
: undefined;
|
2158
|
+
let value = baseColor
|
2159
|
+
? baseColor.clone()
|
2160
|
+
: undefined;
|
2161
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2162
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2163
|
+
}
|
2164
|
+
else {
|
2165
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2166
|
+
}
|
2167
|
+
return formatValue$2(value);
|
2168
|
+
},
|
2169
|
+
},
|
2170
|
+
{
|
2171
|
+
name: 'dark-text-sidebar-link-selected',
|
2172
|
+
},
|
2173
|
+
{
|
2174
|
+
name: 'border-color-action',
|
2175
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2176
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2177
|
+
if (!overrideBaseColor) {
|
2178
|
+
return '';
|
2179
|
+
}
|
2180
|
+
const baseColor = overrideBaseColor
|
2181
|
+
? tinycolor(overrideBaseColor)
|
2182
|
+
: undefined;
|
2183
|
+
let value = baseColor
|
2184
|
+
? baseColor.clone()
|
2185
|
+
: undefined;
|
2186
|
+
return formatValue$2(value);
|
2187
|
+
},
|
2188
|
+
},
|
2189
|
+
{
|
2190
|
+
name: 'dark-border-color-action',
|
2191
|
+
},
|
2192
|
+
{
|
2193
|
+
name: 'border-color-action-hover',
|
2194
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2195
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2196
|
+
if (!overrideBaseColor) {
|
2197
|
+
return '';
|
2198
|
+
}
|
2199
|
+
const baseColor = overrideBaseColor
|
2200
|
+
? tinycolor(overrideBaseColor)
|
2201
|
+
: undefined;
|
2202
|
+
let value = baseColor
|
2203
|
+
? baseColor.clone()
|
2204
|
+
: undefined;
|
2205
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2206
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2207
|
+
}
|
2208
|
+
else {
|
2209
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2210
|
+
}
|
2211
|
+
return formatValue$2(value);
|
2212
|
+
},
|
2213
|
+
},
|
2214
|
+
{
|
2215
|
+
name: 'dark-border-color-action-hover',
|
2216
|
+
},
|
2217
|
+
{
|
2218
|
+
name: 'border-color-action-active',
|
2219
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2220
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2221
|
+
if (!overrideBaseColor) {
|
2222
|
+
return '';
|
2223
|
+
}
|
2224
|
+
const baseColor = overrideBaseColor
|
2225
|
+
? tinycolor(overrideBaseColor)
|
2226
|
+
: undefined;
|
2227
|
+
let value = baseColor
|
2228
|
+
? baseColor.clone()
|
2229
|
+
: undefined;
|
2230
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2231
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2232
|
+
}
|
2233
|
+
else {
|
2234
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2235
|
+
}
|
2236
|
+
return formatValue$2(value);
|
2237
|
+
},
|
2238
|
+
},
|
2239
|
+
{
|
2240
|
+
name: 'dark-border-color-action-active',
|
2241
|
+
},
|
2242
|
+
{
|
2243
|
+
name: 'border-color-divider',
|
2244
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2245
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2246
|
+
if (!overrideBaseColor) {
|
2247
|
+
return '';
|
2248
|
+
}
|
2249
|
+
const baseColor = overrideBaseColor
|
2250
|
+
? tinycolor(overrideBaseColor)
|
2251
|
+
: undefined;
|
2252
|
+
let value = baseColor
|
2253
|
+
? baseColor.clone()
|
2254
|
+
: undefined;
|
2255
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2256
|
+
return formatValue$2(value);
|
2257
|
+
},
|
2258
|
+
},
|
2259
|
+
{
|
2260
|
+
name: 'dark-border-color-divider',
|
2261
|
+
},
|
2262
|
+
{
|
2263
|
+
name: 'border-color-divider-secondary',
|
2264
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2265
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2266
|
+
if (!overrideBaseColor) {
|
2267
|
+
return '';
|
2268
|
+
}
|
2269
|
+
const baseColor = overrideBaseColor
|
2270
|
+
? tinycolor(overrideBaseColor)
|
2271
|
+
: undefined;
|
2272
|
+
let value = baseColor
|
2273
|
+
? baseColor.clone()
|
2274
|
+
: undefined;
|
2275
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2276
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2277
|
+
}
|
2278
|
+
else {
|
2279
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2280
|
+
}
|
2281
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2282
|
+
return formatValue$2(value);
|
2283
|
+
},
|
2284
|
+
},
|
2285
|
+
{
|
2286
|
+
name: 'dark-border-color-divider-secondary',
|
2287
|
+
},
|
2288
|
+
{
|
2289
|
+
name: 'border-color-input-field',
|
2290
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2291
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2292
|
+
if (!overrideBaseColor) {
|
2293
|
+
return '';
|
2294
|
+
}
|
2295
|
+
const baseColor = overrideBaseColor
|
2296
|
+
? tinycolor(overrideBaseColor)
|
2297
|
+
: undefined;
|
2298
|
+
let value = baseColor
|
2299
|
+
? baseColor.clone()
|
2300
|
+
: undefined;
|
2301
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2302
|
+
return formatValue$2(value);
|
2303
|
+
},
|
2304
|
+
},
|
2305
|
+
{
|
2306
|
+
name: 'dark-border-color-input-field',
|
2307
|
+
},
|
2308
|
+
{
|
2309
|
+
name: 'border-color-input-field-hover',
|
2310
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2311
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2312
|
+
if (!overrideBaseColor) {
|
2313
|
+
return '';
|
2314
|
+
}
|
2315
|
+
const baseColor = overrideBaseColor
|
2316
|
+
? tinycolor(overrideBaseColor)
|
2317
|
+
: undefined;
|
2318
|
+
let value = baseColor
|
2319
|
+
? baseColor.clone()
|
2320
|
+
: undefined;
|
2321
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2322
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2323
|
+
}
|
2324
|
+
else {
|
2325
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2326
|
+
}
|
2327
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2328
|
+
return formatValue$2(value);
|
2329
|
+
},
|
2330
|
+
},
|
2331
|
+
{
|
2332
|
+
name: 'dark-border-color-input-field-hover',
|
2333
|
+
},
|
2334
|
+
{
|
2335
|
+
name: 'border-color-input-field-focus',
|
2336
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2337
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2338
|
+
if (!overrideBaseColor) {
|
2339
|
+
return '';
|
2340
|
+
}
|
2341
|
+
const baseColor = overrideBaseColor
|
2342
|
+
? tinycolor(overrideBaseColor)
|
2343
|
+
: undefined;
|
2344
|
+
let value = baseColor
|
2345
|
+
? baseColor.clone()
|
2346
|
+
: undefined;
|
2347
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2348
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2349
|
+
}
|
2350
|
+
else {
|
2351
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2352
|
+
}
|
2353
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2354
|
+
return formatValue$2(value);
|
2355
|
+
},
|
2356
|
+
},
|
2357
|
+
{
|
2358
|
+
name: 'dark-border-color-input-field-focus',
|
2359
|
+
},
|
2360
|
+
{
|
2361
|
+
name: 'border-color-input-field-disabled',
|
2362
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2363
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2364
|
+
if (!overrideBaseColor) {
|
2365
|
+
return '';
|
2366
|
+
}
|
2367
|
+
const baseColor = overrideBaseColor
|
2368
|
+
? tinycolor(overrideBaseColor)
|
2369
|
+
: undefined;
|
2370
|
+
let value = baseColor
|
2371
|
+
? baseColor.clone()
|
2372
|
+
: undefined;
|
2373
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2374
|
+
return formatValue$2(value);
|
2375
|
+
},
|
2376
|
+
},
|
2377
|
+
{
|
2378
|
+
name: 'dark-border-color-input-field-disabled',
|
2379
|
+
},
|
2380
|
+
{
|
2381
|
+
name: 'border-color-tile-focus',
|
2382
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2383
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2384
|
+
if (!overrideBaseColor) {
|
2385
|
+
return '';
|
2386
|
+
}
|
2387
|
+
const baseColor = overrideBaseColor
|
2388
|
+
? tinycolor(overrideBaseColor)
|
2389
|
+
: undefined;
|
2390
|
+
let value = baseColor
|
2391
|
+
? baseColor.clone()
|
2392
|
+
: undefined;
|
2393
|
+
return formatValue$2(value);
|
2394
|
+
},
|
2395
|
+
},
|
2396
|
+
{
|
2397
|
+
name: 'dark-border-color-tile-focus',
|
2398
|
+
},
|
2399
|
+
{
|
2400
|
+
name: 'border-color-tile-selected-focus',
|
2401
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2402
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2403
|
+
if (!overrideBaseColor) {
|
2404
|
+
return '';
|
2405
|
+
}
|
2406
|
+
const baseColor = overrideBaseColor
|
2407
|
+
? tinycolor(overrideBaseColor)
|
2408
|
+
: undefined;
|
2409
|
+
let value = baseColor
|
2410
|
+
? baseColor.clone()
|
2411
|
+
: undefined;
|
2412
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2413
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2414
|
+
}
|
2415
|
+
else {
|
2416
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2417
|
+
}
|
2418
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2419
|
+
return formatValue$2(value);
|
2420
|
+
},
|
2421
|
+
},
|
2422
|
+
{
|
2423
|
+
name: 'dark-border-color-tile-selected-focus',
|
2424
|
+
},
|
2425
|
+
{
|
2426
|
+
name: 'border-color-tile-selected',
|
2427
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2428
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2429
|
+
if (!overrideBaseColor) {
|
2430
|
+
return '';
|
2431
|
+
}
|
2432
|
+
const baseColor = overrideBaseColor
|
2433
|
+
? tinycolor(overrideBaseColor)
|
2434
|
+
: undefined;
|
2435
|
+
let value = baseColor
|
2436
|
+
? baseColor.clone()
|
2437
|
+
: undefined;
|
2438
|
+
return formatValue$2(value);
|
2439
|
+
},
|
2440
|
+
},
|
2441
|
+
{
|
2442
|
+
name: 'dark-border-color-tile-selected',
|
2443
|
+
},
|
2444
|
+
{
|
2445
|
+
name: 'border-color-tile-selected-hover',
|
2446
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2447
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2448
|
+
if (!overrideBaseColor) {
|
2449
|
+
return '';
|
2450
|
+
}
|
2451
|
+
const baseColor = overrideBaseColor
|
2452
|
+
? tinycolor(overrideBaseColor)
|
2453
|
+
: undefined;
|
2454
|
+
let value = baseColor
|
2455
|
+
? baseColor.clone()
|
2456
|
+
: undefined;
|
2457
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2458
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2459
|
+
}
|
2460
|
+
else {
|
2461
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2462
|
+
}
|
2463
|
+
return formatValue$2(value);
|
2464
|
+
},
|
2465
|
+
},
|
2466
|
+
{
|
2467
|
+
name: 'dark-border-color-tile-selected-hover',
|
2468
|
+
},
|
2469
|
+
];
|
2470
|
+
|
2471
|
+
const formatValue$1 = (tinyColor) => {
|
2472
|
+
if (!tinyColor) {
|
2473
|
+
return '';
|
2474
|
+
}
|
2475
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2476
|
+
return `${r} ${g} ${b} / ${a}`;
|
2477
|
+
};
|
2478
|
+
const OverridableBorderTokens = [
|
2479
|
+
{
|
2480
|
+
name: 'border-secondary-btn',
|
2481
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2482
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2483
|
+
if (!overrideBaseColor) {
|
2484
|
+
return '';
|
2485
|
+
}
|
2486
|
+
const baseColor = overrideBaseColor
|
2487
|
+
? tinycolor(overrideBaseColor)
|
2488
|
+
: undefined;
|
2489
|
+
let value = baseColor
|
2490
|
+
? baseColor.clone()
|
2491
|
+
: undefined;
|
2492
|
+
return formatValue$1(value);
|
2493
|
+
},
|
2494
|
+
},
|
2495
|
+
{
|
2496
|
+
name: 'dark-border-secondary-btn',
|
2497
|
+
},
|
2498
|
+
{
|
2499
|
+
name: 'border-secondary-btn-hover',
|
2500
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2501
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2502
|
+
if (!overrideBaseColor) {
|
2503
|
+
return '';
|
2504
|
+
}
|
2505
|
+
const baseColor = overrideBaseColor
|
2506
|
+
? tinycolor(overrideBaseColor)
|
2507
|
+
: undefined;
|
2508
|
+
let value = baseColor
|
2509
|
+
? baseColor.clone()
|
2510
|
+
: undefined;
|
2511
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2512
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2513
|
+
}
|
2514
|
+
else {
|
2515
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2516
|
+
}
|
2517
|
+
return formatValue$1(value);
|
2518
|
+
},
|
2519
|
+
},
|
2520
|
+
{
|
2521
|
+
name: 'dark-border-secondary-btn-hover',
|
2522
|
+
},
|
2523
|
+
{
|
2524
|
+
name: 'border-secondary-btn-active',
|
2525
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2526
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2527
|
+
if (!overrideBaseColor) {
|
2528
|
+
return '';
|
2529
|
+
}
|
2530
|
+
const baseColor = overrideBaseColor
|
2531
|
+
? tinycolor(overrideBaseColor)
|
2532
|
+
: undefined;
|
2533
|
+
let value = baseColor
|
2534
|
+
? baseColor.clone()
|
2535
|
+
: undefined;
|
2536
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2537
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2538
|
+
}
|
2539
|
+
else {
|
2540
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2541
|
+
}
|
2542
|
+
return formatValue$1(value);
|
2543
|
+
},
|
2544
|
+
},
|
2545
|
+
{
|
2546
|
+
name: 'dark-border-secondary-btn-active',
|
2547
|
+
},
|
2548
|
+
{
|
2549
|
+
name: 'border-input-field',
|
2550
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2551
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2552
|
+
if (!overrideBaseColor) {
|
2553
|
+
return '';
|
2554
|
+
}
|
2555
|
+
const baseColor = overrideBaseColor
|
2556
|
+
? tinycolor(overrideBaseColor)
|
2557
|
+
: undefined;
|
2558
|
+
let value = baseColor
|
2559
|
+
? baseColor.clone()
|
2560
|
+
: undefined;
|
2561
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2562
|
+
return formatValue$1(value);
|
2563
|
+
},
|
2564
|
+
},
|
2565
|
+
{
|
2566
|
+
name: 'dark-border-input-field',
|
2567
|
+
},
|
2568
|
+
{
|
2569
|
+
name: 'border-input-field-hover',
|
2570
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2571
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2572
|
+
if (!overrideBaseColor) {
|
2573
|
+
return '';
|
2574
|
+
}
|
2575
|
+
const baseColor = overrideBaseColor
|
2576
|
+
? tinycolor(overrideBaseColor)
|
2577
|
+
: undefined;
|
2578
|
+
let value = baseColor
|
2579
|
+
? baseColor.clone()
|
2580
|
+
: undefined;
|
2581
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2582
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2583
|
+
}
|
2584
|
+
else {
|
2585
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2586
|
+
}
|
2587
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2588
|
+
return formatValue$1(value);
|
2589
|
+
},
|
2590
|
+
},
|
2591
|
+
{
|
2592
|
+
name: 'dark-border-input-field-hover',
|
2593
|
+
},
|
2594
|
+
{
|
2595
|
+
name: 'border-input-field-focus',
|
2596
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2597
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2598
|
+
if (!overrideBaseColor) {
|
2599
|
+
return '';
|
2600
|
+
}
|
2601
|
+
const baseColor = overrideBaseColor
|
2602
|
+
? tinycolor(overrideBaseColor)
|
2603
|
+
: undefined;
|
2604
|
+
let value = baseColor
|
2605
|
+
? baseColor.clone()
|
2606
|
+
: undefined;
|
2607
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2608
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2609
|
+
}
|
2610
|
+
else {
|
2611
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2612
|
+
}
|
2613
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2614
|
+
return formatValue$1(value);
|
2615
|
+
},
|
2616
|
+
},
|
2617
|
+
{
|
2618
|
+
name: 'dark-border-input-field-focus',
|
2619
|
+
},
|
2620
|
+
{
|
2621
|
+
name: 'border-input-field-disabled',
|
2622
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2623
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2624
|
+
if (!overrideBaseColor) {
|
2625
|
+
return '';
|
2626
|
+
}
|
2627
|
+
const baseColor = overrideBaseColor
|
2628
|
+
? tinycolor(overrideBaseColor)
|
2629
|
+
: undefined;
|
2630
|
+
let value = baseColor
|
2631
|
+
? baseColor.clone()
|
2632
|
+
: undefined;
|
2633
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2634
|
+
return formatValue$1(value);
|
2635
|
+
},
|
2636
|
+
},
|
2637
|
+
{
|
2638
|
+
name: 'dark-border-input-field-disabled',
|
2639
|
+
},
|
2640
|
+
{
|
2641
|
+
name: 'border-divider',
|
2642
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2643
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2644
|
+
if (!overrideBaseColor) {
|
2645
|
+
return '';
|
2646
|
+
}
|
2647
|
+
const baseColor = overrideBaseColor
|
2648
|
+
? tinycolor(overrideBaseColor)
|
2649
|
+
: undefined;
|
2650
|
+
let value = baseColor
|
2651
|
+
? baseColor.clone()
|
2652
|
+
: undefined;
|
2653
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2654
|
+
return formatValue$1(value);
|
2655
|
+
},
|
2656
|
+
},
|
2657
|
+
{
|
2658
|
+
name: 'dark-border-divider',
|
2659
|
+
},
|
2660
|
+
{
|
2661
|
+
name: 'border-divider-secondary',
|
2662
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2663
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2664
|
+
if (!overrideBaseColor) {
|
2665
|
+
return '';
|
2666
|
+
}
|
2667
|
+
const baseColor = overrideBaseColor
|
2668
|
+
? tinycolor(overrideBaseColor)
|
2669
|
+
: undefined;
|
2670
|
+
let value = baseColor
|
2671
|
+
? baseColor.clone()
|
2672
|
+
: undefined;
|
2673
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2674
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2675
|
+
}
|
2676
|
+
else {
|
2677
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2678
|
+
}
|
2679
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2680
|
+
return formatValue$1(value);
|
2681
|
+
},
|
2682
|
+
},
|
2683
|
+
{
|
2684
|
+
name: 'dark-border-divider-secondary',
|
2685
|
+
},
|
2686
|
+
{
|
2687
|
+
name: 'border-tile-selected',
|
2688
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2689
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2690
|
+
if (!overrideBaseColor) {
|
2691
|
+
return '';
|
2692
|
+
}
|
2693
|
+
const baseColor = overrideBaseColor
|
2694
|
+
? tinycolor(overrideBaseColor)
|
2695
|
+
: undefined;
|
2696
|
+
let value = baseColor
|
2697
|
+
? baseColor.clone()
|
2698
|
+
: undefined;
|
2699
|
+
return formatValue$1(value);
|
2700
|
+
},
|
2701
|
+
},
|
2702
|
+
{
|
2703
|
+
name: 'dark-border-tile-selected',
|
2704
|
+
},
|
2705
|
+
{
|
2706
|
+
name: 'border-tile-selected-hover',
|
2707
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2708
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2709
|
+
if (!overrideBaseColor) {
|
2710
|
+
return '';
|
2711
|
+
}
|
2712
|
+
const baseColor = overrideBaseColor
|
2713
|
+
? tinycolor(overrideBaseColor)
|
2714
|
+
: undefined;
|
2715
|
+
let value = baseColor
|
2716
|
+
? baseColor.clone()
|
2717
|
+
: undefined;
|
2718
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2719
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2720
|
+
}
|
2721
|
+
else {
|
2722
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2723
|
+
}
|
2724
|
+
return formatValue$1(value);
|
2725
|
+
},
|
2726
|
+
},
|
2727
|
+
{
|
2728
|
+
name: 'dark-border-tile-selected-hover',
|
2729
|
+
},
|
2730
|
+
{
|
2731
|
+
name: 'border-tile-focus',
|
2732
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2733
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2734
|
+
if (!overrideBaseColor) {
|
2735
|
+
return '';
|
2736
|
+
}
|
2737
|
+
const baseColor = overrideBaseColor
|
2738
|
+
? tinycolor(overrideBaseColor)
|
2739
|
+
: undefined;
|
2740
|
+
let value = baseColor
|
2741
|
+
? baseColor.clone()
|
2742
|
+
: undefined;
|
2743
|
+
return formatValue$1(value);
|
2744
|
+
},
|
2745
|
+
},
|
2746
|
+
{
|
2747
|
+
name: 'dark-border-tile-focus',
|
2748
|
+
},
|
2749
|
+
{
|
2750
|
+
name: 'border-tile-selected-focus',
|
2751
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2752
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2753
|
+
if (!overrideBaseColor) {
|
2754
|
+
return '';
|
2755
|
+
}
|
2756
|
+
const baseColor = overrideBaseColor
|
2757
|
+
? tinycolor(overrideBaseColor)
|
2758
|
+
: undefined;
|
2759
|
+
let value = baseColor
|
2760
|
+
? baseColor.clone()
|
2761
|
+
: undefined;
|
2762
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2763
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2764
|
+
}
|
2765
|
+
else {
|
2766
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2767
|
+
}
|
2768
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2769
|
+
return formatValue$1(value);
|
2770
|
+
},
|
2771
|
+
},
|
2772
|
+
{
|
2773
|
+
name: 'dark-border-tile-selected-focus',
|
2774
|
+
},
|
2775
|
+
];
|
2776
|
+
|
2777
|
+
const formatValue = (tinyColor) => {
|
2778
|
+
if (!tinyColor) {
|
2779
|
+
return '';
|
2780
|
+
}
|
2781
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2782
|
+
return `${r} ${g} ${b} / ${a}`;
|
2783
|
+
};
|
2784
|
+
const OverridableRingTokens = [
|
2785
|
+
{
|
2786
|
+
name: 'ring-input-focus',
|
2787
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2788
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2789
|
+
if (!overrideBaseColor) {
|
2790
|
+
return '';
|
2791
|
+
}
|
2792
|
+
const baseColor = overrideBaseColor
|
2793
|
+
? tinycolor(overrideBaseColor)
|
2794
|
+
: undefined;
|
2795
|
+
let value = baseColor
|
2796
|
+
? baseColor.clone()
|
2797
|
+
: undefined;
|
2798
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2799
|
+
return formatValue(value);
|
2800
|
+
},
|
2801
|
+
},
|
2802
|
+
{
|
2803
|
+
name: 'dark-ring-input-focus',
|
2804
|
+
},
|
2805
|
+
{
|
2806
|
+
name: 'ring-action-focus',
|
2807
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2808
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2809
|
+
if (!overrideBaseColor) {
|
2810
|
+
return '';
|
2811
|
+
}
|
2812
|
+
const baseColor = overrideBaseColor
|
2813
|
+
? tinycolor(overrideBaseColor)
|
2814
|
+
: undefined;
|
2815
|
+
let value = baseColor
|
2816
|
+
? baseColor.clone()
|
2817
|
+
: undefined;
|
2818
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2819
|
+
return formatValue(value);
|
2820
|
+
},
|
2821
|
+
},
|
2822
|
+
{
|
2823
|
+
name: 'dark-ring-action-focus',
|
2824
|
+
},
|
2825
|
+
];
|
2826
|
+
|
2827
|
+
/**
|
2828
|
+
* Vega components color override controller
|
2829
|
+
*/
|
2830
|
+
class ColorSchemaOverridingController {
|
2831
|
+
/**
|
2832
|
+
* It takes a color and generates a bunch of other colors based on that color
|
2833
|
+
*
|
2834
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that is passed in from the user.
|
2835
|
+
* @returns {OverrideColor[]} Parsed action colors
|
2836
|
+
*/
|
2837
|
+
generateOverrideThemes(overrideColors) {
|
2838
|
+
return this.getOverridableTokens().map((item) => {
|
2839
|
+
return {
|
2840
|
+
name: item.name,
|
2841
|
+
value: this.parseCssVarValue(item, overrideColors),
|
2842
|
+
};
|
2843
|
+
});
|
2844
|
+
}
|
2845
|
+
/**
|
2846
|
+
* Set the custom override theme colors to customOverrideThemeStyleContainer
|
2847
|
+
*
|
2848
|
+
* @param {OverrideColor[]} overrideThemes Parsed custom override colors
|
2849
|
+
*/
|
2850
|
+
applyTheme(overrideThemes) {
|
2851
|
+
this.getOverrideThemeContainer().innerHTML = `
|
2852
|
+
:root {
|
2853
|
+
\t\t${overrideThemes
|
2854
|
+
.filter((item) => {
|
2855
|
+
return !!item.value;
|
2856
|
+
})
|
2857
|
+
.map((item) => `--v-${item.name}: ${item.value};`)
|
2858
|
+
.join('\n\t\t')}
|
2859
|
+
}
|
2860
|
+
`;
|
2861
|
+
}
|
2862
|
+
/**
|
2863
|
+
* It creates a customOverrideTheme style tag in the head of the document if it doesn't exist, and returns it
|
2864
|
+
*
|
2865
|
+
* @returns {Element} The customOverrideThemeStyleContainer is being returned.
|
2866
|
+
*/
|
2867
|
+
getOverrideThemeContainer() {
|
2868
|
+
let customOverrideThemeStyleContainer = document.head.querySelector(`#vegaCustomOverrideTheme`);
|
2869
|
+
if (!customOverrideThemeStyleContainer) {
|
2870
|
+
customOverrideThemeStyleContainer = document.createElement('style');
|
2871
|
+
customOverrideThemeStyleContainer.id = 'vegaCustomOverrideTheme';
|
2872
|
+
document.head.append(customOverrideThemeStyleContainer);
|
2873
|
+
}
|
2874
|
+
return customOverrideThemeStyleContainer;
|
2875
|
+
}
|
2876
|
+
/**
|
2877
|
+
* Get the overridable color tokens from design token
|
2878
|
+
*
|
2879
|
+
* @returns {OverridableToken[]} overridable action color token array
|
2880
|
+
*/
|
2881
|
+
getOverridableTokens() {
|
2882
|
+
return [...OverridableColorTokens, ...OverridableBorderTokens, ...OverridableRingTokens];
|
2883
|
+
}
|
2884
|
+
/**
|
2885
|
+
* Calculate and parse color to css var value
|
2886
|
+
*
|
2887
|
+
* @param {OverridableToken} overrideColorToken The token will be overridden
|
2888
|
+
* @param {VegaThemeOverrideColors} overrideColors the payload of override colors
|
2889
|
+
* @returns {string} The css var value
|
2890
|
+
*/
|
2891
|
+
parseCssVarValue(overrideColorToken, overrideColors) {
|
2892
|
+
var _a;
|
2893
|
+
return (_a = overrideColorToken.overrideGetter) === null || _a === void 0 ? void 0 : _a.call(overrideColorToken, overrideColors, tinycolor);
|
2894
|
+
}
|
2895
|
+
}
|
2896
|
+
const VegaColorSchemaOverridingController = new ColorSchemaOverridingController();
|
2897
|
+
|
2898
|
+
/* This file is generated by vega-design 2.0.77 */
|
2899
|
+
const DarkModeColorTokens = {
|
2900
|
+
'bg-brand': '176, 180, 181, 1',
|
2901
|
+
'bg-page': '24, 24, 48, 1',
|
2902
|
+
'bg-primary': '4, 4, 28, 1',
|
2903
|
+
'bg-secondary': '18, 18, 39, 1',
|
2904
|
+
'bg-tertiary': '24, 24, 48, 1',
|
2905
|
+
'bg-quaternary': '70, 71, 101, 1',
|
2906
|
+
'bg-inverted-primary': '252, 252, 252, 1',
|
2907
|
+
'bg-inverted-secondary': '247, 247, 247, 1',
|
2908
|
+
'bg-inverted-tertiary': '240, 243, 247, 1',
|
2909
|
+
'bg-inverted-quaternary': '241, 248, 251, 1',
|
2910
|
+
'bg-action': '0, 187, 255, 1',
|
2911
|
+
'bg-action-hover': '0, 204, 255, 1',
|
2912
|
+
'bg-action-focus': '0, 187, 255, 1',
|
2913
|
+
'bg-action-active': '4, 165, 245, 1',
|
2914
|
+
'bg-action-quaternary': '51, 57, 61, 1',
|
2915
|
+
'bg-action-quaternary-hover': '89, 96, 99, 1',
|
2916
|
+
'bg-action-quaternary-active': '24, 24, 48, 1',
|
2917
|
+
'bg-action-secondary': '0, 0, 0, 0',
|
2918
|
+
'bg-action-secondary-hover': '0, 204, 255, 0.2',
|
2919
|
+
'bg-action-secondary-active': '4, 165, 245, 0.2',
|
2920
|
+
'bg-action-tertiary': '0, 0, 0, 0',
|
2921
|
+
'bg-action-tertiary-hover': '252, 252, 252, 0.2',
|
2922
|
+
'bg-action-tertiary-active': '252, 252, 252, 0.1',
|
2923
|
+
'bg-app-header': '24, 24, 48, 0.92',
|
2924
|
+
'bg-backdrop-modal': '70, 71, 101, 0.8',
|
2925
|
+
'bg-backdrop-popover': '70, 71, 101, 0.56',
|
2926
|
+
'bg-backdrop-sidebar': '70, 71, 101, 0.8',
|
2927
|
+
'bg-chip': '252, 252, 252, 0.1',
|
2928
|
+
'bg-chip-hover': '252, 252, 252, 0.2',
|
2929
|
+
'bg-chip-active': '252, 252, 252, 0.06',
|
2930
|
+
'bg-danger': '255, 56, 97, 1',
|
2931
|
+
'bg-danger-hover': '255, 71, 123, 1',
|
2932
|
+
'bg-danger-focus': '255, 56, 97, 1',
|
2933
|
+
'bg-danger-active': '230, 50, 87, 1',
|
2934
|
+
'bg-danger-tertiary': '0, 0, 0, 0',
|
2935
|
+
'bg-danger-tertiary-hover': '255, 71, 123, 0.2',
|
2936
|
+
'bg-danger-tertiary-active': '230, 50, 87, 0.2',
|
2937
|
+
'bg-disabled': '70, 71, 101, 1',
|
2938
|
+
'bg-divider': '32, 54, 69, 1',
|
2939
|
+
'bg-divider-secondary': '51, 57, 61, 1',
|
2940
|
+
'bg-keypad-btn-active': '45, 76, 97, 1',
|
2941
|
+
'bg-loading-progress': '4, 165, 245, 1',
|
2942
|
+
'bg-loading-track': '142, 223, 249, 1',
|
2943
|
+
'bg-segment-hover': '70, 71, 101, 1',
|
2944
|
+
'bg-segment-control': '210, 208, 223, 0.1',
|
2945
|
+
'bg-selected': '85, 218, 255, 0.3',
|
2946
|
+
'bg-sidebar': '18, 18, 39, 1',
|
2947
|
+
'bg-sidebar-icon': '188, 186, 213, 1',
|
2948
|
+
'bg-sidebar-icon-hover': '18, 18, 39, 1',
|
2949
|
+
'bg-sidebar-icon-selected': '252, 252, 252, 1',
|
2950
|
+
'bg-sidebar-item-hover': '252, 252, 252, 1',
|
2951
|
+
'bg-sidebar-item-selected': '0, 187, 255, 0.4',
|
2952
|
+
'bg-site-footer': '51, 57, 61, 1',
|
2953
|
+
'bg-site-footer-action': '171, 198, 216, 1',
|
2954
|
+
'bg-site-footer-action-hover': '199, 217, 229, 1',
|
2955
|
+
'bg-site-footer-action-active': '143, 179, 203, 1',
|
2956
|
+
'bg-site-footer-field': '89, 96, 99, 1',
|
2957
|
+
'bg-slider-handle': '252, 252, 252, 1',
|
2958
|
+
'bg-status-error': '189, 41, 71, 1',
|
2959
|
+
'bg-status-info': '252, 252, 252, 1',
|
2960
|
+
'bg-status-success': '123, 242, 151, 1',
|
2961
|
+
'bg-status-warning': '255, 212, 105, 1',
|
2962
|
+
'bg-tab': '51, 57, 61, 1',
|
2963
|
+
'bg-tab-hover': '89, 96, 99, 1',
|
2964
|
+
'bg-tab-selected': '240, 243, 247, 1',
|
2965
|
+
'bg-table-alt-row': '18, 18, 39, 1',
|
2966
|
+
'bg-table-header': '24, 24, 48, 1',
|
2967
|
+
'bg-table-row-hover': '70, 71, 101, 1',
|
2968
|
+
'bg-table-row-selected-expanded': '32, 54, 69, 1',
|
2969
|
+
'bg-table-selected-row': '45, 76, 97, 1',
|
2970
|
+
'bg-textarea-count': '252, 252, 252, 0.5',
|
2971
|
+
'bg-tile': '4, 4, 28, 1',
|
2972
|
+
'bg-tile-hover': '24, 24, 48, 1',
|
2973
|
+
'bg-tile-selected': '32, 54, 69, 1',
|
2974
|
+
'bg-tile-selected-hover': '45, 76, 97, 1',
|
2975
|
+
'bg-toggle-switch': '210, 208, 223, 1',
|
2976
|
+
'bg-toggle-switch-hover': '188, 186, 213, 1',
|
2977
|
+
'bg-toggle-switch-selected-disabled': '0, 75, 128, 1',
|
2978
|
+
'bg-transparent': '0, 0, 0, 0',
|
2979
|
+
'bg-accent1-primary': '109, 217, 202, 1',
|
2980
|
+
'bg-accent1-secondary': '174, 234, 226, 1',
|
2981
|
+
'bg-accent1-tertiary': '223, 247, 243, 1',
|
2982
|
+
'bg-accent2-primary': '95, 56, 206, 1',
|
2983
|
+
'bg-accent2-secondary': '184, 167, 233, 1',
|
2984
|
+
'bg-accent2-tertiary': '219, 211, 244, 1',
|
2985
|
+
'bg-accent3-primary': '255, 203, 105, 1',
|
2986
|
+
'bg-accent3-secondary': '251, 226, 185, 1',
|
2987
|
+
'bg-accent3-tertiary': '255, 243, 222, 1',
|
2988
|
+
'bg-accent4-primary': '255, 129, 87, 1',
|
2989
|
+
'bg-accent4-secondary': '255, 185, 162, 1',
|
2990
|
+
'bg-accent4-tertiary': '255, 227, 218, 1',
|
2991
|
+
'bg-accent5-primary': '4, 165, 245, 1',
|
2992
|
+
'bg-accent5-secondary': '85, 218, 255, 1',
|
2993
|
+
'bg-accent5-tertiary': '227, 247, 253, 1',
|
2994
|
+
'bg-accent6-primary': '255, 84, 165, 1',
|
2995
|
+
'bg-accent6-secondary': '255, 179, 215, 1',
|
2996
|
+
'bg-accent6-tertiary': '255, 217, 235, 1',
|
2997
|
+
'bg-accent7-primary': '37, 159, 159, 1',
|
2998
|
+
'bg-accent7-secondary': '155, 212, 214, 1',
|
2999
|
+
'bg-accent7-tertiary': '208, 239, 239, 1',
|
3000
|
+
'bg-accent8-primary': '86, 61, 130, 1',
|
3001
|
+
'bg-accent8-secondary': '199, 162, 204, 1',
|
3002
|
+
'bg-accent8-tertiary': '230, 214, 234, 1',
|
3003
|
+
'bg-accent9-primary': '255, 191, 63, 1',
|
3004
|
+
'bg-accent9-secondary': '254, 215, 142, 1',
|
3005
|
+
'bg-accent9-tertiary': '251, 226, 185, 1',
|
3006
|
+
'bg-accent10-primary': '237, 122, 35, 1',
|
3007
|
+
'bg-accent10-secondary': '241, 146, 85, 1',
|
3008
|
+
'bg-accent10-tertiary': '245, 187, 148, 1',
|
3009
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3010
|
+
'text-primary': '252, 252, 252, 1',
|
3011
|
+
'text-secondary': '188, 186, 213, 1',
|
3012
|
+
'text-inverted-primary': '4, 4, 28, 1',
|
3013
|
+
'text-inverted-secondary': '107, 116, 125, 1',
|
3014
|
+
'text-black': '32, 54, 69, 1',
|
3015
|
+
'text-white': '252, 252, 252, 1',
|
3016
|
+
'text-brand': '176, 180, 181, 1',
|
3017
|
+
'text-danger-link': '255, 56, 97, 1',
|
3018
|
+
'text-danger-link-hover': '255, 71, 123, 1',
|
3019
|
+
'text-danger-link-active': '230, 50, 87, 1',
|
3020
|
+
'text-danger-link-focus': '255, 82, 136, 1',
|
3021
|
+
'text-danger-link-visited': '255, 56, 97, 1',
|
3022
|
+
'text-disabled': '70, 71, 101, 1',
|
3023
|
+
'text-error': '255, 56, 97, 1',
|
3024
|
+
'text-input-disabled': '176, 180, 181, 1',
|
3025
|
+
'text-input-placeholder': '89, 96, 99, 1',
|
3026
|
+
'text-link': '0, 187, 255, 1',
|
3027
|
+
'text-link-hover': '0, 204, 255, 1',
|
3028
|
+
'text-link-active': '4, 165, 245, 1',
|
3029
|
+
'text-link-focus': '0, 204, 255, 1',
|
3030
|
+
'text-link-visited': '128, 107, 255, 1',
|
3031
|
+
'text-on-action': '4, 4, 28, 1',
|
3032
|
+
'text-on-danger': '4, 4, 28, 1',
|
3033
|
+
'text-on-disabled': '4, 4, 28, 1',
|
3034
|
+
'text-sidebar-link': '188, 186, 213, 1',
|
3035
|
+
'text-sidebar-link-hover': '18, 18, 39, 1',
|
3036
|
+
'text-sidebar-link-selected': '252, 252, 252, 1',
|
3037
|
+
'text-site-footer-link': '171, 198, 216, 1',
|
3038
|
+
'text-site-footer-link-hover': '199, 217, 229, 1',
|
3039
|
+
'text-site-footer-link-active': '143, 179, 203, 1',
|
3040
|
+
'text-success': '89, 217, 119, 1',
|
3041
|
+
'text-inverted-success': '1, 128, 31, 1',
|
3042
|
+
'text-accent1-primary': '109, 217, 202, 1',
|
3043
|
+
'text-accent2-primary': '95, 56, 206, 1',
|
3044
|
+
'text-accent3-primary': '255, 203, 105, 1',
|
3045
|
+
'text-accent4-primary': '255, 129, 87, 1',
|
3046
|
+
'text-accent5-primary': '4, 165, 245, 1',
|
3047
|
+
'text-accent6-primary': '255, 71, 123, 1',
|
3048
|
+
'text-accent7-primary': '37, 159, 159, 1',
|
3049
|
+
'text-accent8-primary': '86, 61, 130, 1',
|
3050
|
+
'text-accent9-primary': '255, 191, 63, 1',
|
3051
|
+
'text-accent10-primary': '237, 122, 35, 1',
|
3052
|
+
'border-color-action': '0, 187, 255, 1',
|
3053
|
+
'border-color-action-hover': '0, 204, 255, 1',
|
3054
|
+
'border-color-action-active': '4, 165, 245, 1',
|
3055
|
+
'border-color-chip': '107, 116, 125, 1',
|
3056
|
+
'border-color-danger': '255, 56, 97, 1',
|
3057
|
+
'border-color-danger-hover': '255, 71, 123, 1',
|
3058
|
+
'border-color-danger-active': '230, 50, 87, 1',
|
3059
|
+
'border-color-divider': '32, 54, 69, 1',
|
3060
|
+
'border-color-divider-secondary': '51, 57, 61, 1',
|
3061
|
+
'border-color-input-field': '32, 54, 69, 1',
|
3062
|
+
'border-color-input-field-hover': '58, 98, 125, 1',
|
3063
|
+
'border-color-input-field-focus': '0, 187, 255, 1',
|
3064
|
+
'border-color-input-field-danger': '255, 56, 97, 1',
|
3065
|
+
'border-color-input-field-danger-hover': '255, 71, 123, 1',
|
3066
|
+
'border-color-input-field-danger-focus': '255, 56, 97, 1',
|
3067
|
+
'border-color-input-field-disabled': '4, 4, 28, 1',
|
3068
|
+
'border-color-secondary-btn-disabled': '70, 71, 101, 1',
|
3069
|
+
'border-color-sidebar-item-focus': '0, 187, 255, 1',
|
3070
|
+
'border-color-slider-handle': '107, 116, 125, 1',
|
3071
|
+
'border-color-success': '89, 217, 119, 1',
|
3072
|
+
'border-color-table-divider': '32, 54, 69, 1',
|
3073
|
+
'border-color-tile': '32, 54, 69, 1',
|
3074
|
+
'border-color-tile-hover': '58, 98, 125, 1',
|
3075
|
+
'border-color-tile-focus': '0, 187, 255, 1',
|
3076
|
+
'border-color-tile-selected-focus': '153, 192, 255, 1',
|
3077
|
+
'border-color-tile-selected': '153, 192, 255, 1',
|
3078
|
+
'border-color-tile-selected-hover': '178, 208, 255, 1',
|
3079
|
+
'border-color-notification-btn': '252, 252, 252, 1',
|
3080
|
+
'border-color-notification-btn-dark': '32, 54, 69, 1',
|
3081
|
+
};
|
3082
|
+
|
3083
|
+
/* This file is generated by vega-design 2.0.77 */
|
3084
|
+
const DarkModeBorderTokens = {
|
3085
|
+
'border-secondary-btn': '0, 187, 255, 1',
|
3086
|
+
'border-secondary-btn-hover': '0, 204, 255, 1',
|
3087
|
+
'border-secondary-danger-btn': '255, 56, 97, 1',
|
3088
|
+
'border-secondary-btn-active': '4, 165, 245, 1',
|
3089
|
+
'border-secondary-danger-btn-hover': '255, 71, 123, 1',
|
3090
|
+
'border-secondary-danger-btn-active': '230, 50, 87, 1',
|
3091
|
+
'border-input-field': '32, 54, 69, 1',
|
3092
|
+
'border-input-field-hover': '58, 98, 125, 1',
|
3093
|
+
'border-input-field-focus': '0, 187, 255, 1',
|
3094
|
+
'border-input-field-danger': '255, 56, 97, 1',
|
3095
|
+
'border-input-field-danger-hover': '255, 71, 123, 1',
|
3096
|
+
'border-input-field-danger-focus': '255, 56, 97, 1',
|
3097
|
+
'border-sidebar-item-focus': '0, 187, 255, 1',
|
3098
|
+
'border-input-field-disabled': '4, 4, 28, 1',
|
3099
|
+
'border-success': '89, 217, 119, 1',
|
3100
|
+
'border-secondary-btn-disabled': '70, 71, 101, 1',
|
3101
|
+
'border-chip': '107, 116, 125, 1',
|
3102
|
+
'border-divider': '32, 54, 69, 1',
|
3103
|
+
'border-divider-secondary': '51, 57, 61, 1',
|
3104
|
+
'border-tile-selected': '153, 192, 255, 1',
|
3105
|
+
'border-tile-selected-hover': '178, 208, 255, 1',
|
3106
|
+
'border-table-divider': '32, 54, 69, 1',
|
3107
|
+
'border-slider-handle': '107, 116, 125, 1',
|
3108
|
+
'border-tile': '32, 54, 69, 1',
|
3109
|
+
'border-tile-hover': '58, 98, 125, 1',
|
3110
|
+
'border-tile-focus': '0, 187, 255, 1',
|
3111
|
+
'border-tile-selected-focus': '153, 192, 255, 1',
|
3112
|
+
'border-notification-btn': '252, 252, 252, 1',
|
3113
|
+
'border-notification-btn-black': '32, 54, 69, 1',
|
3114
|
+
};
|
3115
|
+
|
3116
|
+
/* This file is generated by vega-design 2.0.77 */
|
3117
|
+
const DarkModeShadowTokens = {
|
3118
|
+
'shadow-card': '0px 2px 10px 0px rgba(0, 0, 0, 0.18), 0px 2px 4px 0px rgba(0, 0, 0, 0.1)',
|
3119
|
+
'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)',
|
3120
|
+
'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)',
|
3121
|
+
'shadow-form-field': '0px 1px 2px 0px rgba(170, 170, 170, 0.06), 0px 1px 3px 0px rgba(170, 170, 170, 0.1)',
|
3122
|
+
'shadow-dropdown-menu': '0px 2px 4px -2px rgba(0, 0, 0, 0.14), 0px 4px 6px -1px rgba(0, 0, 0, 0.16)',
|
3123
|
+
'shadow-app-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3124
|
+
'shadow-modal-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3125
|
+
'shadow-modal-footer': '0px -2px 8px 0px rgba(188, 186, 213, 0.4), 0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3126
|
+
'shadow-modal-footer-no-scroll': '0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3127
|
+
};
|
3128
|
+
|
3129
|
+
/* This file is generated by vega-design 2.0.77 */
|
3130
|
+
const DarkModeRingTokens = {
|
3131
|
+
'ring-input-focus': '0, 187, 255, 0.25',
|
3132
|
+
'ring-input-danger-focus': '255, 56, 97, 0.25',
|
3133
|
+
'ring-action-focus': '0, 187, 255, 0.25',
|
3134
|
+
'ring-action-danger-focus': '255, 56, 97, 0.25',
|
3135
|
+
};
|
3136
|
+
|
3137
|
+
// TODO: Remove this after the token add in vega design.
|
3138
|
+
const CustomDarkModeColorTokens = {
|
3139
|
+
'bg-backdrop-loading': '0, 0, 0, 0.5',
|
3140
|
+
'text-page-notification-content': DarkModeColorTokens['text-inverted-primary'],
|
3141
|
+
'bg-textarea-counter-exceed-max-length': '255, 87, 114',
|
3142
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3143
|
+
'regular-credit-card-bg': '252, 252, 252, 1',
|
3144
|
+
'regular-credit-card-top': '4, 4, 28, 1',
|
3145
|
+
'regular-credit-card-bottom': '255, 255, 255, 1',
|
3146
|
+
};
|
3147
|
+
/**
|
3148
|
+
* Vega components dark mode style controller
|
3149
|
+
*/
|
3150
|
+
class DarkModeStyleController {
|
3151
|
+
/**
|
3152
|
+
* It generates a CSS style for dark mode to override the style.
|
3153
|
+
*/
|
3154
|
+
generateDarkModeStyle() {
|
3155
|
+
const tokens = Object.assign(DarkModeColorTokens, DarkModeBorderTokens, DarkModeRingTokens, DarkModeShadowTokens, CustomDarkModeColorTokens);
|
3156
|
+
const keys = Object.keys(tokens);
|
3157
|
+
this.getDarkModeStyleContainer().innerHTML = `
|
3158
|
+
html.dark {
|
3159
|
+
\t\t${keys.map((key) => `--v-${key}: ${tokens[key]};`).join('\n\t\t')}`;
|
3160
|
+
}
|
3161
|
+
/**
|
3162
|
+
* It creates a `vegaDarkModeStyle` style tag in the head of the document if it doesn't exist, and returns it.
|
3163
|
+
*
|
3164
|
+
* @returns {Element} The `vegaDarkModeStyleContainer` is being returned.
|
3165
|
+
*/
|
3166
|
+
getDarkModeStyleContainer() {
|
3167
|
+
let vegaDarkModeStyleContainer = document.head.querySelector(`#vegaDarkModeStyle`);
|
3168
|
+
if (!vegaDarkModeStyleContainer) {
|
3169
|
+
vegaDarkModeStyleContainer = document.createElement('style');
|
3170
|
+
vegaDarkModeStyleContainer.id = 'vegaDarkModeStyle';
|
3171
|
+
document.head.append(vegaDarkModeStyleContainer);
|
3172
|
+
}
|
3173
|
+
return vegaDarkModeStyleContainer;
|
3174
|
+
}
|
3175
|
+
}
|
3176
|
+
const VegaDarkModeStyleController = new DarkModeStyleController();
|
3177
|
+
|
3178
|
+
const ThemeManagerRuntimeMetricsPayloadDefinition = [
|
3179
|
+
{
|
3180
|
+
payloadKey: 'IS_OVERRIDECOLORS_METHOD_CALLED',
|
3181
|
+
payloadDescription: 'Indicate if the method overrideColors of public API ThemeManager is called',
|
3182
|
+
/**
|
3183
|
+
* Indicate whether the method is collected when the method been called .
|
3184
|
+
*
|
3185
|
+
* @param {string} scope - The class name of public api
|
3186
|
+
* @param {string} methodName - The method name called by the public api
|
3187
|
+
* @returns {boolean} A boolean value
|
3188
|
+
*/
|
3189
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'overrideColors',
|
3190
|
+
/**
|
3191
|
+
* The function checks if the method is be called.
|
3192
|
+
*
|
3193
|
+
* @returns {boolean} A boolean value
|
3194
|
+
*/
|
3195
|
+
payloadValue: () => {
|
3196
|
+
return true;
|
3197
|
+
},
|
3198
|
+
},
|
3199
|
+
{
|
3200
|
+
payloadKey: 'IS_RESET_METHOD_CALLED',
|
3201
|
+
payloadDescription: 'Indicate if the method reset of public API ThemeManager is called',
|
3202
|
+
/**
|
3203
|
+
* Indicate whether the method is collected when the method been called .
|
3204
|
+
*
|
3205
|
+
* @param {string} scope - The class name of public api
|
3206
|
+
* @param {string} methodName - The method name called by the public api
|
3207
|
+
* @returns {boolean} A boolean value
|
3208
|
+
*/
|
3209
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'reset',
|
3210
|
+
/**
|
3211
|
+
* The function checks if the method is be called.
|
3212
|
+
*
|
3213
|
+
* @returns {boolean} A boolean value
|
3214
|
+
*/
|
3215
|
+
payloadValue: () => {
|
3216
|
+
return true;
|
3217
|
+
},
|
3218
|
+
},
|
3219
|
+
{
|
3220
|
+
payloadKey: 'IS_TOGGLEDARKMODE_METHOD_CALLED',
|
3221
|
+
payloadDescription: 'Indicate if the method toggleDarkMode of public API ThemeManager is called',
|
3222
|
+
/**
|
3223
|
+
* Indicate whether the method is collected when the method been called .
|
3224
|
+
*
|
3225
|
+
* @param {string} scope - The class name of public api
|
3226
|
+
* @param {string} methodName - The method name called by the public api
|
3227
|
+
* @returns {boolean} A boolean value
|
3228
|
+
*/
|
3229
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'toggleDarkMode',
|
3230
|
+
/**
|
3231
|
+
* The function checks if the method is be called.
|
3232
|
+
*
|
3233
|
+
* @returns {boolean} A boolean value
|
3234
|
+
*/
|
3235
|
+
payloadValue: () => {
|
3236
|
+
return true;
|
3237
|
+
},
|
3238
|
+
},
|
3239
|
+
{
|
3240
|
+
payloadKey: 'IS_ISDARKMODE_METHOD_CALLED',
|
3241
|
+
payloadDescription: 'Indicate if the method isDarkMode of public API ThemeManager is called',
|
3242
|
+
/**
|
3243
|
+
* Indicate whether the method is collected when the method been called .
|
3244
|
+
*
|
3245
|
+
* @param {string} scope - The class name of public api
|
3246
|
+
* @param {string} methodName - The method name called by the public api
|
3247
|
+
* @returns {boolean} A boolean value
|
3248
|
+
*/
|
3249
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'isDarkMode',
|
3250
|
+
/**
|
3251
|
+
* The function checks if the method is be called.
|
3252
|
+
*
|
3253
|
+
* @returns {boolean} A boolean value
|
3254
|
+
*/
|
3255
|
+
payloadValue: () => {
|
3256
|
+
return true;
|
3257
|
+
},
|
3258
|
+
},
|
3259
|
+
];
|
3260
|
+
|
3261
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3262
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3263
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3264
|
+
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;
|
3265
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3266
|
+
};
|
3267
|
+
/**
|
3268
|
+
* Vega components theme manager
|
3269
|
+
*/
|
3270
|
+
class ThemeManager {
|
3271
|
+
constructor() {
|
3272
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(ThemeManager, ['overrideColors', 'reset', 'toggleDarkMode', 'isDarkMode'], ThemeManagerRuntimeMetricsPayloadDefinition);
|
3273
|
+
}
|
3274
|
+
/**
|
3275
|
+
* It takes the colors you passed in, parses them into the correct format, and then applies them to the theme
|
3276
|
+
*
|
3277
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that you pass to the function.
|
3278
|
+
* @vegaVersion 1.20.0
|
3279
|
+
*/
|
3280
|
+
async overrideColors(overrideColors) {
|
3281
|
+
const overrideThemes = VegaColorSchemaOverridingController.generateOverrideThemes(overrideColors);
|
3282
|
+
VegaColorSchemaOverridingController.applyTheme(overrideThemes);
|
3283
|
+
}
|
3284
|
+
/**
|
3285
|
+
* It removes all the custom override theme styles from the DOM
|
3286
|
+
*
|
3287
|
+
* @vegaVersion 1.20.0
|
3288
|
+
*/
|
3289
|
+
async reset() {
|
3290
|
+
VegaColorSchemaOverridingController.getOverrideThemeContainer().innerHTML = '';
|
3291
|
+
}
|
3292
|
+
/**
|
3293
|
+
* This function toggles the dark mode of a webpage by adding or removing a 'dark' class to the HTML element.
|
3294
|
+
*
|
3295
|
+
* @param {boolean | undefined} darkMode - A boolean or undefined value that determines whether to enable or disable dark mode.
|
3296
|
+
* If it is true, dark mode is enabled.
|
3297
|
+
* If it is false, dark mode is disabled.
|
3298
|
+
* @vegaVersion 1.32.0
|
3299
|
+
*/
|
3300
|
+
toggleDarkMode(darkMode) {
|
3301
|
+
if (darkMode) {
|
3302
|
+
document.documentElement.classList.add('dark');
|
3303
|
+
VegaDarkModeStyleController.generateDarkModeStyle();
|
3304
|
+
}
|
3305
|
+
else {
|
3306
|
+
document.documentElement.classList.remove('dark');
|
3307
|
+
}
|
3308
|
+
}
|
3309
|
+
/**
|
3310
|
+
* The function checks if the HTML element has a class of "dark" and returns a boolean value accordingly.
|
3311
|
+
*
|
3312
|
+
* @returns {boolean} A boolean value indicating whether the HTML element has a class of "dark", which is
|
3313
|
+
* typically used to indicate that the website is in dark mode.
|
3314
|
+
* @vegaVersion 1.32.0
|
3315
|
+
*/
|
3316
|
+
isDarkMode() {
|
3317
|
+
return document.documentElement.classList.contains('dark');
|
3318
|
+
}
|
3319
|
+
}
|
3320
|
+
__decorate$4([
|
3321
|
+
InjectVegaTelemetrySlimmer()
|
3322
|
+
], ThemeManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3323
|
+
const VegaThemeManager = new ThemeManager();
|
3324
|
+
|
3325
|
+
/* istanbul ignore next */
|
3326
|
+
const VegaEventManagerRuntimeMetricsPayloadDefinition = [
|
3327
|
+
{
|
3328
|
+
payloadKey: 'IS_SETSEMANTICS_METHOD_CALLED',
|
3329
|
+
payloadDescription: 'Indicate if the method setSemantics of public API VegaEventManager is called',
|
3330
|
+
/**
|
3331
|
+
* Indicate whether the method is collected when the method been called .
|
3332
|
+
*
|
3333
|
+
* @param {string} scope - The class name of public api
|
3334
|
+
* @param {string} methodName - The method name called by the public api
|
3335
|
+
* @returns {boolean} A boolean value
|
3336
|
+
*/
|
3337
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3338
|
+
/**
|
3339
|
+
* The function checks if the method is been called.
|
3340
|
+
*
|
3341
|
+
* @returns {boolean} A boolean value
|
3342
|
+
*/
|
3343
|
+
payloadValue: () => {
|
3344
|
+
return true;
|
3345
|
+
},
|
3346
|
+
},
|
3347
|
+
{
|
3348
|
+
payloadKey: 'IS_GETSEMANTICS_METHOD_CALLED',
|
3349
|
+
payloadDescription: 'Indicate if the method getSemantics of public API VegaEventManager is called',
|
3350
|
+
/**
|
3351
|
+
* Indicate whether the method is collected when the method been called .
|
3352
|
+
*
|
3353
|
+
* @param {string} scope - The class name of public api
|
3354
|
+
* @param {string} methodName - The method name called by the public api
|
3355
|
+
* @returns {boolean} A boolean value
|
3356
|
+
*/
|
3357
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getSemantics',
|
3358
|
+
/**
|
3359
|
+
* The function checks if the method is been called.
|
3360
|
+
*
|
3361
|
+
* @returns {boolean} A boolean value
|
3362
|
+
*/
|
3363
|
+
payloadValue: () => {
|
3364
|
+
return true;
|
3365
|
+
},
|
3366
|
+
},
|
3367
|
+
{
|
3368
|
+
payloadKey: 'IS_GETENABLEDEVENTIDSBYCOMPONENT_METHOD_CALLED',
|
3369
|
+
payloadDescription: 'Indicate if the method getEnabledEventIdsByComponent of public API VegaEventManager is called',
|
3370
|
+
/**
|
3371
|
+
* Indicate whether the method is collected when the method been called .
|
3372
|
+
*
|
3373
|
+
* @param {string} scope - The class name of public api
|
3374
|
+
* @param {string} methodName - The method name called by the public api
|
3375
|
+
* @returns {boolean} A boolean value
|
3376
|
+
*/
|
3377
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getEnabledEventIdsByComponent',
|
3378
|
+
/**
|
3379
|
+
* The function checks if the method is been called.
|
3380
|
+
*
|
3381
|
+
* @returns {boolean} A boolean value
|
3382
|
+
*/
|
3383
|
+
payloadValue: () => {
|
3384
|
+
return true;
|
3385
|
+
},
|
3386
|
+
},
|
3387
|
+
{
|
3388
|
+
payloadKey: 'globalEventIsNative',
|
3389
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix',
|
3390
|
+
/**
|
3391
|
+
* Indicate whether the method is collected when the method been called .
|
3392
|
+
*
|
3393
|
+
* @param {string} scope - The class name of public api
|
3394
|
+
* @param {string} methodName - The method name called by the public api
|
3395
|
+
* @returns {boolean} A boolean value
|
3396
|
+
*/
|
3397
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3398
|
+
/**
|
3399
|
+
* The function checks if the method is been called.
|
3400
|
+
*
|
3401
|
+
* @param {unknown[]} args - The args parameter is an object
|
3402
|
+
* @returns {boolean} A boolean value
|
3403
|
+
*/
|
3404
|
+
payloadValue: (args) => {
|
3405
|
+
const config = args;
|
3406
|
+
return !!(config.global && config.global.namespace === 'native');
|
3407
|
+
},
|
3408
|
+
},
|
3409
|
+
{
|
3410
|
+
payloadKey: 'eventOfSpecificComponentsIsNative',
|
3411
|
+
payloadDescription: 'Indicate if the vega components will emit events with the vega prefix, but special components will emit events without vega prefix',
|
3412
|
+
/**
|
3413
|
+
* Indicate whether the method is collected when the method been called .
|
3414
|
+
*
|
3415
|
+
* @param {string} scope - The class name of public api
|
3416
|
+
* @param {string} methodName - The method name called by the public api
|
3417
|
+
* @returns {boolean} A boolean value
|
3418
|
+
*/
|
3419
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3420
|
+
/**
|
3421
|
+
* The function checks if the method is been called.
|
3422
|
+
*
|
3423
|
+
* @param {unknown[]} args - The args parameter is an object
|
3424
|
+
* @returns {boolean} A boolean value
|
3425
|
+
*/
|
3426
|
+
payloadValue: (args) => {
|
3427
|
+
const config = args;
|
3428
|
+
if (config.components) {
|
3429
|
+
const specialComponents = Object.keys(config.components);
|
3430
|
+
return !!(specialComponents.length > 0 &&
|
3431
|
+
config.components[specialComponents[0]].namespace === 'native');
|
3432
|
+
}
|
3433
|
+
return false;
|
3434
|
+
},
|
3435
|
+
},
|
3436
|
+
{
|
3437
|
+
payloadKey: 'eventOfSpecificComponentsIsVega',
|
3438
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix, but special components will emit events with vega prefix',
|
3439
|
+
/**
|
3440
|
+
* Indicate whether the method is collected when the method been called .
|
3441
|
+
*
|
3442
|
+
* @param {string} scope - The class name of public api
|
3443
|
+
* @param {string} methodName - The method name called by the public api
|
3444
|
+
* @returns {boolean} A boolean value
|
3445
|
+
*/
|
3446
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3447
|
+
/**
|
3448
|
+
* The function checks if the method is been called.
|
3449
|
+
*
|
3450
|
+
* @param {unknown[]} args - The args parameter is an object
|
3451
|
+
* @returns {boolean} A boolean value
|
3452
|
+
*/
|
3453
|
+
payloadValue: (args) => {
|
3454
|
+
const config = args;
|
3455
|
+
if (config.global && config.components) {
|
3456
|
+
const specialComponents = Object.keys(config.components);
|
3457
|
+
return !!(config.global.namespace === 'native' &&
|
3458
|
+
specialComponents.length > 0 &&
|
3459
|
+
config.components[specialComponents[0]].namespace === 'vega');
|
3460
|
+
}
|
3461
|
+
return false;
|
3462
|
+
},
|
3463
|
+
},
|
3464
|
+
{
|
3465
|
+
payloadKey: 'globalJqueryDelegatedEventIsTrue',
|
3466
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3467
|
+
/**
|
3468
|
+
* Indicate whether the method is collected when the method been called .
|
3469
|
+
*
|
3470
|
+
* @param {string} scope - The class name of public api
|
3471
|
+
* @param {string} methodName - The method name called by the public api
|
3472
|
+
* @returns {boolean} A boolean value
|
3473
|
+
*/
|
3474
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3475
|
+
/**
|
3476
|
+
* The function checks if the method is been called.
|
3477
|
+
*
|
3478
|
+
* @param {unknown[]} args - The args parameter is an object
|
3479
|
+
* @returns {boolean} A boolean value
|
3480
|
+
*/
|
3481
|
+
payloadValue: (args) => {
|
3482
|
+
const config = args;
|
3483
|
+
return !!(config.global && config.global.jqueryDelegatedEvent === true);
|
3484
|
+
},
|
3485
|
+
},
|
3486
|
+
{
|
3487
|
+
payloadKey: 'jqueryDelegatedEventIsCustomStrategy',
|
3488
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3489
|
+
/**
|
3490
|
+
* Indicate whether the method is collected when the method been called .
|
3491
|
+
*
|
3492
|
+
* @param {string} scope - The class name of public api
|
3493
|
+
* @param {string} methodName - The method name called by the public api
|
3494
|
+
* @returns {boolean} A boolean value
|
3495
|
+
*/
|
3496
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3497
|
+
/**
|
3498
|
+
* The function checks if the method is been called.
|
3499
|
+
*
|
3500
|
+
* @param {unknown[]} args - The args parameter is an object
|
3501
|
+
* @returns {boolean} A boolean value
|
3502
|
+
*/
|
3503
|
+
payloadValue: (args) => {
|
3504
|
+
const config = args;
|
3505
|
+
return !!(config.global &&
|
3506
|
+
Array.isArray(config.global.jqueryDelegatedEvent) &&
|
3507
|
+
config.global.jqueryDelegatedEvent.length > 0);
|
3508
|
+
},
|
3509
|
+
},
|
3510
|
+
{
|
3511
|
+
payloadKey: 'jqueryDelegatedEventOfSpecialComponentsIsTrue',
|
3512
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3513
|
+
/**
|
3514
|
+
* Indicate whether the method is collected when the method been called .
|
3515
|
+
*
|
3516
|
+
* @param {string} scope - The class name of public api
|
3517
|
+
* @param {string} methodName - The method name called by the public api
|
3518
|
+
* @returns {boolean} A boolean value
|
3519
|
+
*/
|
3520
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3521
|
+
/**
|
3522
|
+
* The function checks if the method is been called.
|
3523
|
+
*
|
3524
|
+
* @param {unknown[]} args - The args parameter is an object
|
3525
|
+
* @returns {boolean} A boolean value
|
3526
|
+
*/
|
3527
|
+
payloadValue: (args) => {
|
3528
|
+
const config = args;
|
3529
|
+
if (config.components) {
|
3530
|
+
const specialComponents = Object.keys(config.components);
|
3531
|
+
return !!(specialComponents.length > 0 &&
|
3532
|
+
config.components[specialComponents[0]].jqueryDelegatedEvent === true);
|
3533
|
+
}
|
3534
|
+
return false;
|
3535
|
+
},
|
3536
|
+
},
|
3537
|
+
];
|
3538
|
+
|
3539
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3540
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3541
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3542
|
+
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;
|
3543
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3544
|
+
};
|
3545
|
+
/**
|
3546
|
+
* The VegaEventManager class provides methods for setting and retrieving event semantics configuration,
|
3547
|
+
* as well as getting the corresponding native event name for a given event.
|
3548
|
+
*/
|
3549
|
+
class VegaEventManager {
|
3550
|
+
constructor() {
|
3551
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(VegaEventManager, ['setSemantics', 'getSemantics', 'getEnabledEventIdsByComponent'], VegaEventManagerRuntimeMetricsPayloadDefinition);
|
3552
|
+
}
|
3553
|
+
/**
|
3554
|
+
* The function sets the semantics configuration for event management.
|
3555
|
+
*
|
3556
|
+
* @param {EventSemanticsConfig} config - The config parameter is an object that contains the
|
3557
|
+
* configuration settings for the event semantics. It may include properties such as the event type,
|
3558
|
+
* event source, event target, event data, and any other relevant information for setting up the
|
3559
|
+
* semantics of the event.
|
3560
|
+
* @vegaVersion 2.0.0
|
3561
|
+
*/
|
3562
|
+
setSemantics(config) {
|
3563
|
+
internalVegaEventManager.setSemantics(config);
|
3564
|
+
}
|
3565
|
+
/**
|
3566
|
+
* The function "getSemantics" returns the event semantics of an HTML element.
|
3567
|
+
*
|
3568
|
+
* @param {HTMLElement} host - The host parameter is an HTMLElement, which represents an HTML element
|
3569
|
+
* in the DOM (Document Object Model). It can be any valid HTML element such as a div, span, button,
|
3570
|
+
* etc.
|
3571
|
+
* @returns {EventSemantics} an object of type EventSemantics.
|
3572
|
+
* @vegaVersion 2.0.0
|
3573
|
+
*/
|
3574
|
+
getSemantics(host) {
|
3575
|
+
return internalVegaEventManager.getSemantics(host);
|
3576
|
+
}
|
3577
|
+
/**
|
3578
|
+
* The function "getEnabledEventIdsByComponent" returns the all eventIds in component.
|
3579
|
+
*
|
3580
|
+
* @param {VegaComponentName} componentName - The component name,
|
3581
|
+
* etc.
|
3582
|
+
* @returns {Nullable<VegaEventID[]>} All eventIds.
|
3583
|
+
* @vegaVersion 2.0.0
|
3584
|
+
*/
|
3585
|
+
getEnabledEventIdsByComponent(componentName) {
|
3586
|
+
return internalVegaEventManager.getEnabledEventIdsByComponent(componentName);
|
3587
|
+
}
|
3588
|
+
}
|
3589
|
+
__decorate$3([
|
3590
|
+
InjectVegaTelemetrySlimmer()
|
3591
|
+
], VegaEventManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3592
|
+
const VegaEventManager$1 = new VegaEventManager();
|
3593
|
+
|
3594
|
+
const ZIndexManagerRuntimeMetricsPayloadDefinition = [
|
3595
|
+
{
|
3596
|
+
payloadKey: 'IS_OVERRIDEZINDEXBASICVALUES_METHOD_CALLED',
|
3597
|
+
payloadDescription: 'Indicate if the method overrideZIndexBasicValues of public API ZIndexManager is called',
|
3598
|
+
/**
|
3599
|
+
* Indicate whether the method is collected when the method been called .
|
3600
|
+
*
|
3601
|
+
* @param {string} scope - The class name of public api
|
3602
|
+
* @param {string} methodName - The method name called by the public api
|
3603
|
+
* @returns {boolean} A boolean value
|
3604
|
+
*/
|
3605
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3606
|
+
/**
|
3607
|
+
* The function checks if the method name is load.
|
3608
|
+
*
|
3609
|
+
* @returns {boolean} A boolean value
|
3610
|
+
*/
|
3611
|
+
payloadValue: () => {
|
3612
|
+
return true;
|
3613
|
+
},
|
3614
|
+
},
|
3615
|
+
{
|
3616
|
+
payloadKey: 'zIndexBasicValuesGreatThanTenThousand',
|
3617
|
+
payloadDescription: 'Indicate if the basic z-index value is great than ten thousand',
|
3618
|
+
/**
|
3619
|
+
* Indicate whether the method is collected when the method been called .
|
3620
|
+
*
|
3621
|
+
* @param {string} scope - The class name of public api
|
3622
|
+
* @param {string} methodName - The method name called by the public api
|
3623
|
+
* @returns {boolean} A boolean value
|
3624
|
+
*/
|
3625
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3626
|
+
/**
|
3627
|
+
* The function checks if the method name is load.
|
3628
|
+
*
|
3629
|
+
* @param {unknown[]} args - The parameter of slimmer method
|
3630
|
+
* @returns {boolean} A boolean value
|
3631
|
+
*/
|
3632
|
+
payloadValue: (args) => {
|
3633
|
+
return args['base'] > 10000;
|
3634
|
+
},
|
3635
|
+
},
|
3636
|
+
];
|
3637
|
+
|
3638
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3639
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3640
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3641
|
+
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;
|
3642
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3643
|
+
};
|
3644
|
+
/**
|
3645
|
+
* The VegaZIndexManager class calls a method in the ZIndexManager class to
|
3646
|
+
* change z-index values based on the input.
|
3647
|
+
*/
|
3648
|
+
class VegaZIndexManager {
|
3649
|
+
constructor() {
|
3650
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(VegaZIndexManager, ['overrideZIndexBasicValues'], ZIndexManagerRuntimeMetricsPayloadDefinition);
|
3651
|
+
}
|
3652
|
+
/**
|
3653
|
+
* The function "overrideZIndexBasicValues" calls a method in the "ZIndexManager" class to change the
|
3654
|
+
* z-index values based on the input.
|
3655
|
+
*
|
3656
|
+
* @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues.
|
3657
|
+
* @vegaVersion 2.3.0
|
3658
|
+
*/
|
3659
|
+
overrideZIndexBasicValues(input) {
|
3660
|
+
InternalVegaZIndexManager.overrideZIndexBasicValues(input);
|
3661
|
+
}
|
3662
|
+
}
|
3663
|
+
__decorate$2([
|
3664
|
+
InjectVegaTelemetrySlimmer()
|
3665
|
+
], VegaZIndexManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3666
|
+
const VegaZIndexManager$1 = new VegaZIndexManager();
|
3667
|
+
|
3668
|
+
const WaitForVegaPayloadDefinition = [
|
3669
|
+
{
|
3670
|
+
payloadKey: 'IS_WAITFORVEGA_METHOD_CALLED',
|
3671
|
+
payloadDescription: 'Indicate if the method waitForVega of public API WaitForVegaHandler is called',
|
3672
|
+
/**
|
3673
|
+
* Indicate whether the method is collected when the method been called .
|
3674
|
+
*
|
3675
|
+
* @param {string} scope - The class name of public api
|
3676
|
+
* @param {string} methodName - The method name called by the public api
|
3677
|
+
* @returns {boolean} A boolean value
|
3678
|
+
*/
|
3679
|
+
canAccept: (scope, methodName) => scope === 'WaitForVegaHandler' && methodName === 'handle',
|
3680
|
+
/**
|
3681
|
+
* The function checks if the method name is waitForVega.
|
3682
|
+
*
|
3683
|
+
* @returns {boolean} A boolean value
|
3684
|
+
*/
|
3685
|
+
payloadValue: () => {
|
3686
|
+
return true;
|
3687
|
+
},
|
3688
|
+
},
|
3689
|
+
];
|
3690
|
+
|
3691
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3692
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3693
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3694
|
+
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;
|
3695
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3696
|
+
};
|
3697
|
+
/**
|
3698
|
+
* WaitForVegaHandler to check whether the vega component has been loaded.
|
3699
|
+
*/
|
3700
|
+
class WaitForVegaHandler {
|
3701
|
+
constructor() {
|
3702
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(WaitForVegaHandler, ['handle'], WaitForVegaPayloadDefinition);
|
3703
|
+
}
|
3704
|
+
/* istanbul ignore next */
|
3705
|
+
/**
|
3706
|
+
* Wait for all vega elements to be ready.
|
3707
|
+
*
|
3708
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3709
|
+
*
|
3710
|
+
* @vegaVersion 2.8.0
|
3711
|
+
*/
|
3712
|
+
async handle() {
|
3713
|
+
return await Promise.all(Array.from(document.querySelectorAll('*:not(.hydrated)'))
|
3714
|
+
.filter((item) => item.tagName.startsWith('VEGA'))
|
3715
|
+
.map((item) => { var _a; return (_a = item.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(item); }));
|
3716
|
+
}
|
3717
|
+
}
|
3718
|
+
__decorate$1([
|
3719
|
+
InjectVegaTelemetrySlimmer()
|
3720
|
+
], WaitForVegaHandler.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3721
|
+
const WaitForVega = new WaitForVegaHandler();
|
3722
|
+
|
3723
|
+
/* istanbul ignore next */
|
3724
|
+
/**
|
3725
|
+
* Wait for all vega elements to be ready.
|
3726
|
+
*
|
3727
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3728
|
+
*/
|
3729
|
+
const waitForVega = async () => {
|
3730
|
+
return WaitForVega.handle();
|
3731
|
+
};
|
3732
|
+
|
3733
|
+
const VegaSkeletonRuntimeMetricsPayloadDefinition = [
|
3734
|
+
{
|
3735
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
3736
|
+
payloadDescription: 'Indicate if the method load of public API VegaSkeletonLoaderController is called',
|
3737
|
+
/**
|
3738
|
+
* Indicate whether the method is collected when the method been called .
|
3739
|
+
*
|
3740
|
+
* @param {string} scope - The class name of public api
|
3741
|
+
* @param {string} methodName - The method name called by the public api
|
3742
|
+
* @returns {boolean} A boolean value
|
3743
|
+
*/
|
3744
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'load',
|
3745
|
+
/**
|
3746
|
+
* The function checks if the method name is load.
|
3747
|
+
*
|
3748
|
+
* @returns {boolean} A boolean value
|
3749
|
+
*/
|
3750
|
+
payloadValue: () => {
|
3751
|
+
return true;
|
3752
|
+
},
|
3753
|
+
},
|
3754
|
+
{
|
3755
|
+
payloadKey: 'IS_UNLOAD_METHOD_CALLED',
|
3756
|
+
payloadDescription: 'Indicate if the method unLoad of public API VegaSkeletonLoaderController is called',
|
3757
|
+
/**
|
3758
|
+
* Indicate whether the method is collected when the method been called .
|
3759
|
+
*
|
3760
|
+
* @param {string} scope - The class name of public api
|
3761
|
+
* @param {string} methodName - The method name called by the public api
|
3762
|
+
* @returns {boolean} A boolean value
|
3763
|
+
*/
|
3764
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoad',
|
3765
|
+
/**
|
3766
|
+
* The function checks if the method name is unLoad.
|
3767
|
+
*
|
3768
|
+
* @returns {boolean} A boolean value
|
3769
|
+
*/
|
3770
|
+
payloadValue: () => {
|
3771
|
+
return true;
|
3772
|
+
},
|
3773
|
+
},
|
3774
|
+
{
|
3775
|
+
payloadKey: 'IS_UNLOADALL_METHOD_CALLED',
|
3776
|
+
payloadDescription: 'Indicate if the method unLoadAll of public API VegaSkeletonLoaderController is called',
|
3777
|
+
/**
|
3778
|
+
* Indicate whether the method is collected when the method been called .
|
3779
|
+
*
|
3780
|
+
* @param {string} scope - The class name of public api
|
3781
|
+
* @param {string} methodName - The method name called by the public api
|
3782
|
+
* @returns {boolean} A boolean value
|
3783
|
+
*/
|
3784
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoadAll',
|
3785
|
+
/**
|
3786
|
+
* The function checks if the method name is unLoadAll.
|
3787
|
+
*
|
3788
|
+
* @returns {boolean} A boolean value
|
3789
|
+
*/
|
3790
|
+
payloadValue: () => {
|
3791
|
+
return true;
|
3792
|
+
},
|
3793
|
+
},
|
3794
|
+
];
|
3795
|
+
|
3796
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3797
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3798
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3799
|
+
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;
|
3800
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3801
|
+
};
|
3802
|
+
/**
|
3803
|
+
* Vega Skeleton Loader Controller to show skeletons in the target elements
|
3804
|
+
*/
|
3805
|
+
class VegaSkeletonLoaderController {
|
3806
|
+
constructor() {
|
3807
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicAPIRuntimeMetricsSlimmer(VegaSkeletonLoaderController, ['load', 'unLoad', 'unLoadAll'], VegaSkeletonRuntimeMetricsPayloadDefinition);
|
3808
|
+
this.loaderMap = new Map();
|
3809
|
+
}
|
3810
|
+
/**
|
3811
|
+
* Load the skeletons in the target elements
|
3812
|
+
*
|
3813
|
+
* @param { VegaSkeletonLoaderConfig } config - Configuration for the loading function
|
3814
|
+
* @param {string} config.target - Target elements to show the skeletons.
|
3815
|
+
* @param {VegaSkeletonLoaderConfig.type} [config.type = 'text'] - Type of the skeleton.
|
3816
|
+
* @param {VegaSkeletonLoaderConfig.width} config.width - Width of the skeleton.
|
3817
|
+
* @param {VegaSkeletonLoaderConfig.height} config.height - Height of the skeleton.
|
3818
|
+
* @param {VegaSkeletonLoaderConfig.items} config.items - Configuration for multiple skeleton items.
|
3819
|
+
* @param {VegaSkeletonLoaderConfig.layout} config.layout - Layout of the skeleton items.
|
3820
|
+
* @returns { string } - Key of the loaded skeleton items.
|
3821
|
+
* @vegaVersion 2.16.0
|
3822
|
+
*/
|
3823
|
+
load({ target, type = 'text', width, height, items, layout }) {
|
3824
|
+
const targets = Array.from(document.body.querySelectorAll(target));
|
3825
|
+
const key = `vega-skeleton-loader-${generateUUID()}`;
|
3826
|
+
const loaderItems = [];
|
3827
|
+
targets.forEach((target) => {
|
3828
|
+
const skeletonsLoaders = !items
|
3829
|
+
? [this.createSkeleton({ type, width, height })]
|
3830
|
+
: items.map(this.createSkeleton);
|
3831
|
+
const itemsWithKey = (layout ? [this.wrapLayout(skeletonsLoaders, layout)] : skeletonsLoaders).map((item) => {
|
3832
|
+
item.dataset[VegaSkeletonLoaderController.LOADER_DATA_SET_KEY] = key;
|
3833
|
+
return item;
|
3834
|
+
});
|
3835
|
+
loaderItems.push(...itemsWithKey);
|
3836
|
+
target.append(...itemsWithKey);
|
3837
|
+
});
|
3838
|
+
this.loaderMap.set(key, loaderItems);
|
3839
|
+
return key;
|
3840
|
+
}
|
3841
|
+
/**
|
3842
|
+
* Remove the skeletons from the dom.
|
3843
|
+
*
|
3844
|
+
* @param {string} key - The key returned from {@link VegaSkeletonLoaderController.load}.
|
3845
|
+
* @vegaVersion 2.16.0
|
3846
|
+
*/
|
3847
|
+
unLoad(key) {
|
3848
|
+
if (this.loaderMap.has(key)) {
|
3849
|
+
this.loaderMap.get(key).forEach((item) => item.remove());
|
3850
|
+
this.loaderMap.delete(key);
|
3851
|
+
}
|
3852
|
+
}
|
3853
|
+
/**
|
3854
|
+
* Remove all the skeletons from the dom.
|
3855
|
+
*
|
3856
|
+
* @vegaVersion 2.16.0
|
3857
|
+
*/
|
3858
|
+
unLoadAll() {
|
3859
|
+
for (const items of this.loaderMap.values()) {
|
3860
|
+
items.forEach((item) => item.remove());
|
3861
|
+
}
|
3862
|
+
this.loaderMap.clear();
|
3863
|
+
}
|
3864
|
+
/**
|
3865
|
+
* Create a skeleton item. The skeleton animated always be true
|
3866
|
+
*
|
3867
|
+
* @param {VegaSkeletonLoaderItem} config - Configuration for the skeleton item.
|
3868
|
+
* @returns {HTMLElement} - Skeleton item.
|
3869
|
+
*/
|
3870
|
+
createSkeleton(config) {
|
3871
|
+
const { type, width, height } = config;
|
3872
|
+
const skeleton = document.createElement('vega-skeleton');
|
3873
|
+
Object.assign(skeleton, { animated: true, type, width, height });
|
3874
|
+
return skeleton;
|
3875
|
+
}
|
3876
|
+
/**
|
3877
|
+
* Wrap the flex layout for the skeletons.
|
3878
|
+
*
|
3879
|
+
* @param {HTMLElement[]} skeletons - Skeleton elements of the loader.
|
3880
|
+
* @param {VegaSkeletonLoaderLayout} layout - Flex properties for the layout.
|
3881
|
+
* @returns {HTMLElement} - Container wrapping the skeletons in the specified flex layout.
|
3882
|
+
*/
|
3883
|
+
wrapLayout(skeletons, layout) {
|
3884
|
+
const skeletonContainer = document.createElement('vega-flex');
|
3885
|
+
Object.assign(skeletonContainer, Object.assign({ className: 'vega-skeleton-loader-template-container' }, layout.props));
|
3886
|
+
Object.assign(skeletonContainer.style, layout.style);
|
3887
|
+
skeletonContainer.append(...skeletons);
|
3888
|
+
return skeletonContainer;
|
3889
|
+
}
|
3890
|
+
}
|
3891
|
+
VegaSkeletonLoaderController.LOADER_DATA_SET_KEY = 'vegaSkeletonLoaderKey';
|
3892
|
+
__decorate([
|
3893
|
+
InjectVegaTelemetrySlimmer()
|
3894
|
+
], VegaSkeletonLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3895
|
+
const VegaSkeletonLoader = new VegaSkeletonLoaderController();
|
3896
|
+
|
3897
|
+
export { VegaLoader as V, VegaNotify as a, VegaThemeManager as b, VegaEventManager$1 as c, VegaZIndexManager$1 as d, VegaSkeletonLoader as e, waitForVega as w };
|