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