@heartlandone/vega-sandbox-pr-1457-26ca806e919492b9064caacdcb37782f4b5aeb1c 2.25.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-3b59f0a2.js +252 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-cb3291ba.js +66 -0
- package/dist/cjs/change-manager-a297e4d2.js +78 -0
- package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
- package/dist/cjs/child-nodes-event-prevent-slimmer-35bb64e4.js +158 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-c144a963.js +90 -0
- package/dist/cjs/component-73a88c4e.js +117 -0
- package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
- package/dist/cjs/component-load-required-16d76afa.js +48 -0
- package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
- package/dist/cjs/create-public-api-runtime-metrics-slimmer-d2d49ff5.js +171 -0
- package/dist/cjs/date-0a6bb035.js +95 -0
- package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
- package/dist/cjs/design-token-2c2cdd7d.js +403 -0
- package/dist/cjs/dom-node-subject-observer-factory-d2698876.js +170 -0
- package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
- package/dist/cjs/effect-37695d3d.js +52 -0
- package/dist/cjs/element-appender-slimmer-5fa9ff52.js +1109 -0
- package/dist/cjs/event-emit-slimmer-54616105.js +257 -0
- package/dist/cjs/feature-flag-controller-0e5235e1.js +305 -0
- package/dist/cjs/form-field-controller-slimmer-8b314ba2.js +1095 -0
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/icon-manager-2c3cf5ba.js +119 -0
- package/dist/cjs/icons-dbc3eb9c.js +520 -0
- package/dist/cjs/immutable-map-adf398cc.js +117 -0
- package/dist/cjs/index-09acd3c9.js +1755 -0
- package/dist/cjs/index-5792390b.js +1024 -0
- package/dist/cjs/index.cjs.js +92 -0
- package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
- package/dist/cjs/internal-icon-manager-3dd4faeb.js +45 -0
- package/dist/cjs/internal-vega-event-manager-627b1328.js +460 -0
- package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
- package/dist/cjs/keyboard-manager-34b78600.js +106 -0
- package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
- package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
- package/dist/cjs/loader.cjs.js +44 -0
- package/dist/cjs/min-number-rule-0ce5347c.js +138 -0
- package/dist/cjs/min-string-length-rule-d1a1ea94.js +136 -0
- package/dist/cjs/misc-3d30df91.js +41 -0
- package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
- package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
- package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
- package/dist/cjs/number-459031f7.js +92 -0
- package/dist/cjs/object-bbd4ed7f.js +37 -0
- package/dist/cjs/page-resize-observer-slimmer-1e404fc7.js +122 -0
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/placeholder-cb6d37ad.js +27 -0
- package/dist/cjs/regex-c1f70fd4.js +15 -0
- package/dist/cjs/remote-invocation-registry-162044d5.js +64 -0
- package/dist/cjs/required-field-rule-8655758f.js +83 -0
- package/dist/cjs/responsive-format-facade-aa849dc7.js +718 -0
- package/dist/cjs/state-background-color-formatter-33ae4282.js +85 -0
- package/dist/cjs/static-subject-title-35e2a92c.js +67 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-0ac6e18a.js +364 -0
- package/dist/cjs/style-formatter-dc0682a4.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-58217668.js +203 -0
- package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/type-guard-4d05d4b2.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-077fc009.js +52 -0
- package/dist/cjs/ui-08f33116.js +200 -0
- package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
- package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
- package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
- package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
- package/dist/cjs/vega-banner.cjs.entry.js +354 -0
- package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
- package/dist/cjs/vega-box.cjs.entry.js +208 -0
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +267 -0
- package/dist/cjs/vega-button-circle.cjs.entry.js +221 -0
- package/dist/cjs/vega-button-group_2.cjs.entry.js +423 -0
- package/dist/cjs/vega-button-link.cjs.entry.js +215 -0
- package/dist/cjs/vega-button.cjs.entry.js +233 -0
- package/dist/cjs/vega-calendar_3.cjs.entry.js +4016 -0
- package/dist/cjs/vega-card.cjs.entry.js +196 -0
- package/dist/cjs/vega-carousel.cjs.entry.js +514 -0
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +623 -0
- package/dist/cjs/vega-chip.cjs.entry.js +300 -0
- package/dist/cjs/vega-color-picker.cjs.entry.js +247 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +436 -0
- package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +2082 -0
- package/dist/cjs/vega-dialog-controller-cb07e697.js +81 -0
- package/dist/cjs/vega-dialog_2.cjs.entry.js +715 -0
- package/dist/cjs/vega-divider.cjs.entry.js +149 -0
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +2895 -0
- package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
- package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
- package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +165 -0
- package/dist/cjs/vega-file-uploader.cjs.entry.js +678 -0
- package/dist/cjs/vega-flex.cjs.entry.js +197 -0
- package/dist/cjs/vega-font.cjs.entry.js +289 -0
- package/dist/cjs/vega-form.cjs.entry.js +483 -0
- package/dist/cjs/vega-grid.cjs.entry.js +99 -0
- package/dist/cjs/vega-hint.cjs.entry.js +38 -0
- package/dist/cjs/vega-icon.cjs.entry.js +229 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +926 -0
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +411 -0
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9218 -0
- package/dist/cjs/vega-input-range.cjs.entry.js +736 -0
- package/dist/cjs/vega-input-select.cjs.entry.js +870 -0
- package/dist/cjs/vega-input.cjs.entry.js +1013 -0
- package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +190 -0
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +1170 -0
- package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +211 -0
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +182 -0
- package/dist/cjs/vega-pagination.cjs.entry.js +377 -0
- package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
- package/dist/cjs/vega-popover_2.cjs.entry.js +320 -0
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +251 -0
- package/dist/cjs/vega-radio_2.cjs.entry.js +741 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +347 -0
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +834 -0
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +793 -0
- package/dist/cjs/vega-signature-capture.cjs.entry.js +563 -0
- package/dist/cjs/vega-skeleton-loader-controller-cb631f0e.js +3883 -0
- package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
- package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
- package/dist/cjs/vega-stepper.cjs.entry.js +290 -0
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +1244 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4515 -0
- package/dist/cjs/vega-text.cjs.entry.js +232 -0
- package/dist/cjs/vega-textarea.cjs.entry.js +300 -0
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +2140 -0
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +246 -0
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
- package/dist/cjs/vega.cjs.js +42 -0
- package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
- package/dist/collection/collection-manifest.json +457 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
- package/dist/collection/components/vega-accordion/vega-accordion.css +170 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
- package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2087 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
- package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
- package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
- package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
- package/dist/collection/components/vega-banner/vega-banner.css +167 -0
- package/dist/collection/components/vega-banner/vega-banner.js +355 -0
- package/dist/collection/components/vega-box/interface.js +1 -0
- package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
- package/dist/collection/components/vega-box/vega-box.css +7226 -0
- package/dist/collection/components/vega-box/vega-box.js +798 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
- package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
- package/dist/collection/components/vega-button/vega-button.css +199 -0
- package/dist/collection/components/vega-button/vega-button.js +481 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +402 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
- package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +73 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
- package/dist/collection/components/vega-button-group/vega-button-group.css +26 -0
- package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
- package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
- package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
- package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
- package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +117 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +90 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +163 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +92 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +105 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +182 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +30 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +152 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +105 -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 +116 -0
- package/dist/collection/components/vega-calendar/utils/index.js +32 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +208 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +658 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +547 -0
- package/dist/collection/components/vega-card/vega-card.css +6713 -0
- package/dist/collection/components/vega-card/vega-card.js +193 -0
- package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
- package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
- package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
- package/dist/collection/components/vega-chip/vega-chip.css +2338 -0
- package/dist/collection/components/vega-chip/vega-chip.js +617 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
- package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +335 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +114 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +806 -0
- package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
- package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
- package/dist/collection/components/vega-divider/interface.js +1 -0
- package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
- package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
- package/dist/collection/components/vega-divider/vega-divider.js +170 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +98 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +80 -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 +1244 -0
- package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
- package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
- package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
- package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
- package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
- package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +168 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +660 -0
- package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
- package/dist/collection/components/vega-flex/vega-flex.js +435 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
- package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
- package/dist/collection/components/vega-font/vega-font.css +1837 -0
- package/dist/collection/components/vega-font/vega-font.js +251 -0
- package/dist/collection/components/vega-form/vega-form.css +8 -0
- package/dist/collection/components/vega-form/vega-form.js +812 -0
- package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
- package/dist/collection/components/vega-grid/vega-grid.js +178 -0
- package/dist/collection/components/vega-hint/vega-hint.js +39 -0
- package/dist/collection/components/vega-icon/vega-icon.css +391 -0
- package/dist/collection/components/vega-icon/vega-icon.js +291 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +42 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +789 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
- package/dist/collection/components/vega-input/vega-input.css +274 -0
- package/dist/collection/components/vega-input/vega-input.js +1147 -0
- package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
- package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
- package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
- package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +561 -0
- package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +140 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
- package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
- package/dist/collection/components/vega-input-range/vega-input-range.js +597 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +142 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
- package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +812 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
- package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
- package/dist/collection/components/vega-modal/vega-modal.js +954 -0
- package/dist/collection/components/vega-nav/interface.js +1 -0
- package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
- package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
- package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
- package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +128 -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 +199 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
- package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
- package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
- package/dist/collection/components/vega-pagination/vega-pagination.js +399 -0
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
- package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
- package/dist/collection/components/vega-popover/vega-popover.css +8 -0
- package/dist/collection/components/vega-popover/vega-popover.js +441 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
- package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
- package/dist/collection/components/vega-radio/vega-radio.css +203 -0
- package/dist/collection/components/vega-radio/vega-radio.js +434 -0
- package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
- package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
- package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
- package/dist/collection/components/vega-selection-chip/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
- package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
- package/dist/collection/components/vega-selection-tile/interface.js +1 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
- package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
- package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
- package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +112 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +542 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.css +80 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
- package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
- package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +222 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
- package/dist/collection/components/vega-table/interface.js +10 -0
- package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +93 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
- package/dist/collection/components/vega-table/test/utils.js +22 -0
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
- package/dist/collection/components/vega-table/type-guard.js +20 -0
- package/dist/collection/components/vega-table/utils.js +44 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
- package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +134 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +298 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
- package/dist/collection/components/vega-table/vega-table.css +114 -0
- package/dist/collection/components/vega-table/vega-table.js +1846 -0
- package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
- package/dist/collection/components/vega-text/vega-text.css +16 -0
- package/dist/collection/components/vega-text/vega-text.js +118 -0
- package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
- package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +173 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +98 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +658 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
- package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
- package/dist/collection/constants/card-config.js +60 -0
- package/dist/collection/constants/locale.js +238 -0
- package/dist/collection/constants/misc.js +6 -0
- package/dist/collection/constants/public-api.js +9 -0
- package/dist/collection/constants/regex.js +6 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/tests/validator.test.js +24 -0
- package/dist/collection/constants/tokens/border-radius.js +16 -0
- package/dist/collection/constants/tokens/borders.js +37 -0
- package/dist/collection/constants/tokens/breakpoints.js +10 -0
- package/dist/collection/constants/tokens/colors-mapping.js +229 -0
- package/dist/collection/constants/tokens/colors.js +205 -0
- package/dist/collection/constants/tokens/icons.js +515 -0
- package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
- package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
- package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
- package/dist/collection/constants/tokens/rings.js +5 -0
- package/dist/collection/constants/tokens/shadows.js +17 -0
- package/dist/collection/constants/tokens/spacing.js +21 -0
- package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
- package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
- package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
- package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
- package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
- package/dist/collection/constants/tokens/typography.js +1074 -0
- package/dist/collection/constants/ui.js +85 -0
- package/dist/collection/constants/validator.js +7 -0
- package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
- package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
- package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
- package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
- package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
- package/dist/collection/global/icons/chevron-down.js +3 -0
- package/dist/collection/global/icons/chevron-left.js +3 -0
- package/dist/collection/global/icons/chevron-right.js +3 -0
- package/dist/collection/global/icons/chevron-up.js +3 -0
- package/dist/collection/global/icons/circle-check-regular.js +3 -0
- package/dist/collection/global/icons/circle-check.js +3 -0
- package/dist/collection/global/icons/circle-info.js +3 -0
- package/dist/collection/global/icons/circle-question.js +3 -0
- package/dist/collection/global/icons/circle-xmark.js +3 -0
- package/dist/collection/global/icons/trash-can.js +3 -0
- package/dist/collection/global/icons/triangle-exclamation.js +3 -0
- package/dist/collection/global/icons/xmark-large.js +3 -0
- package/dist/collection/global/scripts/before-vega-load.js +156 -0
- package/dist/collection/global/tests/before-vega-load.test.js +55 -0
- package/dist/collection/helpers/calendar/calendar-date.js +114 -0
- package/dist/collection/helpers/calendar/calendar-event.js +305 -0
- package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +83 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +34 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +48 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +35 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +24 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +15 -0
- package/dist/collection/helpers/calendar/calendar-view.js +25 -0
- package/dist/collection/helpers/calendar/index.js +10 -0
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +65 -0
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +73 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +28 -0
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
- package/dist/collection/helpers/calendar/test/index.test.js +13 -0
- package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
- package/dist/collection/helpers/calendar/utils.js +10 -0
- package/dist/collection/helpers/change-manager/change-manager.js +73 -0
- package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +25 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
- package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
- package/dist/collection/helpers/chart/bar-chart.js +67 -0
- package/dist/collection/helpers/chart/base-chart.js +88 -0
- package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
- package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
- package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
- package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
- package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
- package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
- package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
- package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
- package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
- package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
- package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
- package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
- package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
- package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
- package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
- package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
- package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
- package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
- package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
- package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
- package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
- package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
- package/dist/collection/helpers/chart/line-chart.js +65 -0
- package/dist/collection/helpers/chart/pie-chart.js +56 -0
- package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
- package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
- package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
- package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
- package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
- package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
- package/dist/collection/helpers/common/index.js +10 -0
- package/dist/collection/helpers/common/test/common.test.js +7 -0
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +32 -0
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +54 -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 +55 -0
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +121 -0
- package/dist/collection/helpers/feature-control/feature-flags-map.js +179 -0
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
- package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
- package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +77 -0
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +69 -0
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
- package/dist/collection/helpers/formatter/style-formatter.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
- package/dist/collection/helpers/icon/icon-manager.js +52 -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 +122 -0
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
- package/dist/collection/helpers/notify/vega-notify-controller.js +116 -0
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
- package/dist/collection/helpers/paginator/value-paginator.js +78 -0
- package/dist/collection/helpers/public-api.js +15 -0
- package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +100 -0
- package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
- package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
- package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
- package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
- package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
- package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +89 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
- package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
- package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
- package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
- package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
- package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +198 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
- package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +186 -0
- package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
- package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
- package/dist/collection/helpers/theme/theme-manager.js +63 -0
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
- package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
- package/dist/collection/helpers/ui/element-appender.js +319 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
- package/dist/collection/helpers/validator/form-field-controller.js +445 -0
- package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
- package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
- package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
- package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
- package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
- package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
- package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
- package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
- package/dist/collection/helpers/validator/rules/max-number-rule.js +66 -0
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +123 -0
- package/dist/collection/helpers/validator/rules/min-number-rule.js +66 -0
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
- package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +108 -0
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +74 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
- package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
- package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +32 -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-07ba32cc.js +250 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-e59edf8d.js +62 -0
- package/dist/esm/change-manager-6a7eb88c.js +76 -0
- package/dist/esm/chevron-down-4303bddb.js +9 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-501cdd87.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-50cd94b9.js +88 -0
- package/dist/esm/component-cae24190.js +114 -0
- package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
- package/dist/esm/component-load-required-ce710ef5.js +46 -0
- package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
- package/dist/esm/create-public-api-runtime-metrics-slimmer-dc9af92b.js +168 -0
- package/dist/esm/date-732bc749.js +87 -0
- package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
- package/dist/esm/design-token-44525832.js +389 -0
- package/dist/esm/dom-node-subject-observer-factory-0d4b85b8.js +166 -0
- package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
- package/dist/esm/effect-8efd2c3c.js +49 -0
- package/dist/esm/element-appender-slimmer-1aa00c06.js +1107 -0
- package/dist/esm/event-emit-slimmer-0315fa00.js +255 -0
- package/dist/esm/feature-flag-controller-9be58397.js +303 -0
- package/dist/esm/form-field-controller-slimmer-bf7441bd.js +1093 -0
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/icon-manager-754cda3f.js +117 -0
- package/dist/esm/icons-8627925e.js +517 -0
- package/dist/esm/immutable-map-f545ed1a.js +115 -0
- package/dist/esm/index-0863eec6.js +1019 -0
- package/dist/esm/index-187f71d1.js +1725 -0
- package/dist/esm/index.js +36 -0
- package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
- package/dist/esm/internal-icon-manager-ebe6ecf4.js +43 -0
- package/dist/esm/internal-vega-event-manager-722461c1.js +456 -0
- package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
- package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
- package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
- package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
- package/dist/esm/loader.js +40 -0
- package/dist/esm/min-number-rule-88e546e5.js +135 -0
- package/dist/esm/min-string-length-rule-27a8ba07.js +133 -0
- package/dist/esm/misc-9fdbcfbb.js +37 -0
- package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
- package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
- package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
- package/dist/esm/number-e2519d1c.js +85 -0
- package/dist/esm/object-261e7344.js +34 -0
- package/dist/esm/page-resize-observer-slimmer-8caeb03b.js +120 -0
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/placeholder-bf562081.js +24 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/regex-dfe11abf.js +8 -0
- package/dist/esm/remote-invocation-registry-cf9c81bb.js +62 -0
- package/dist/esm/required-field-rule-f438a73f.js +81 -0
- package/dist/esm/responsive-format-facade-4488d609.js +716 -0
- package/dist/esm/state-background-color-formatter-de7e6522.js +82 -0
- package/dist/esm/static-subject-title-2a4d6602.js +45 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-633271ed.js +361 -0
- package/dist/esm/style-formatter-391b4f97.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-46abe492.js +200 -0
- package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/type-guard-467c9e3e.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-df46cc20.js +38 -0
- package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
- package/dist/esm/vega-accordion.entry.js +265 -0
- package/dist/esm/vega-app-footer.entry.js +145 -0
- package/dist/esm/vega-app-header-button.entry.js +310 -0
- package/dist/esm/vega-backdrop.entry.js +152 -0
- package/dist/esm/vega-banner.entry.js +350 -0
- package/dist/esm/vega-bar-chart.entry.js +234 -0
- package/dist/esm/vega-box.entry.js +204 -0
- package/dist/esm/vega-breadcrumb.entry.js +263 -0
- package/dist/esm/vega-button-circle.entry.js +217 -0
- package/dist/esm/vega-button-group_2.entry.js +418 -0
- package/dist/esm/vega-button-link.entry.js +211 -0
- package/dist/esm/vega-button.entry.js +229 -0
- package/dist/esm/vega-calendar_3.entry.js +4010 -0
- package/dist/esm/vega-card.entry.js +192 -0
- package/dist/esm/vega-carousel.entry.js +510 -0
- package/dist/esm/vega-checkbox_2.entry.js +618 -0
- package/dist/esm/vega-chip.entry.js +296 -0
- package/dist/esm/vega-color-picker.entry.js +243 -0
- package/dist/esm/vega-combo-box.entry.js +432 -0
- package/dist/esm/vega-counter-badge.entry.js +86 -0
- package/dist/esm/vega-date-picker_2.entry.js +2077 -0
- package/dist/esm/vega-dialog-controller-fb1a8e21.js +79 -0
- package/dist/esm/vega-dialog_2.entry.js +710 -0
- package/dist/esm/vega-divider.entry.js +145 -0
- package/dist/esm/vega-dropdown_5.entry.js +2887 -0
- package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
- package/dist/esm/vega-event-id-7465a011.js +100 -0
- package/dist/esm/vega-field-error.entry.js +98 -0
- package/dist/esm/vega-field-label.entry.js +161 -0
- package/dist/esm/vega-file-uploader.entry.js +674 -0
- package/dist/esm/vega-flex.entry.js +193 -0
- package/dist/esm/vega-font.entry.js +285 -0
- package/dist/esm/vega-form.entry.js +479 -0
- package/dist/esm/vega-grid.entry.js +95 -0
- package/dist/esm/vega-hint.entry.js +34 -0
- package/dist/esm/vega-icon.entry.js +225 -0
- package/dist/esm/vega-image-uploader.entry.js +922 -0
- package/dist/esm/vega-input-credit-card.entry.js +407 -0
- package/dist/esm/vega-input-phone-number.entry.js +9214 -0
- package/dist/esm/vega-input-range.entry.js +732 -0
- package/dist/esm/vega-input-select.entry.js +866 -0
- package/dist/esm/vega-input.entry.js +1009 -0
- package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
- package/dist/esm/vega-item-toggle.entry.js +186 -0
- package/dist/esm/vega-left-nav_5.entry.js +1162 -0
- package/dist/esm/vega-line-chart.entry.js +378 -0
- package/dist/esm/vega-loader-wrapper_2.entry.js +206 -0
- package/dist/esm/vega-page-notification_2.entry.js +177 -0
- package/dist/esm/vega-pagination.entry.js +373 -0
- package/dist/esm/vega-pie-chart.entry.js +439 -0
- package/dist/esm/vega-popover_2.entry.js +315 -0
- package/dist/esm/vega-progress-tracker.entry.js +247 -0
- package/dist/esm/vega-radio_2.entry.js +736 -0
- package/dist/esm/vega-section-title.entry.js +108 -0
- package/dist/esm/vega-segment-control.entry.js +343 -0
- package/dist/esm/vega-selection-chip_2.entry.js +829 -0
- package/dist/esm/vega-selection-tile_2.entry.js +788 -0
- package/dist/esm/vega-signature-capture.entry.js +559 -0
- package/dist/esm/vega-skeleton-loader-controller-74e3d189.js +3875 -0
- package/dist/esm/vega-skeleton.entry.js +326 -0
- package/dist/esm/vega-slot-container.entry.js +36 -0
- package/dist/esm/vega-stepper.entry.js +286 -0
- package/dist/esm/vega-tab-group_2.entry.js +1239 -0
- package/dist/esm/vega-table_8.entry.js +4504 -0
- package/dist/esm/vega-text.entry.js +228 -0
- package/dist/esm/vega-textarea.entry.js +296 -0
- package/dist/esm/vega-time-picker_2.entry.js +2135 -0
- package/dist/esm/vega-toggle-switch.entry.js +242 -0
- package/dist/esm/vega-tooltip_2.entry.js +295 -0
- package/dist/esm/vega.js +40 -0
- package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
- package/dist/types/components/vega-app-footer/types.d.ts +7 -0
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
- package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
- package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
- package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
- package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
- package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
- package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
- package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
- package/dist/types/components/vega-banner/types.d.ts +11 -0
- package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
- package/dist/types/components/vega-box/interface.d.ts +22 -0
- package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
- package/dist/types/components/vega-box/vega-box.d.ts +231 -0
- package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
- package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
- package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
- package/dist/types/components/vega-button/types.d.ts +4 -0
- package/dist/types/components/vega-button/vega-button.d.ts +129 -0
- package/dist/types/components/vega-button-circle/types.d.ts +9 -0
- package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
- package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
- package/dist/types/components/vega-button-group/types.d.ts +21 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
- package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
- package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
- package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +48 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +35 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +81 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +14 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +63 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +45 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +52 -0
- package/dist/types/components/vega-calendar/types.d.ts +80 -0
- package/dist/types/components/vega-calendar/utils/index.d.ts +25 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +177 -0
- package/dist/types/components/vega-card/vega-card.d.ts +54 -0
- package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
- package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
- package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
- package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
- package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
- package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
- package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
- package/dist/types/components/vega-chip/types.d.ts +4 -0
- package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
- package/dist/types/components/vega-combo-box/types.d.ts +9 -0
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
- package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
- package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +88 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +30 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-date-picker/types.d.ts +10 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +211 -0
- package/dist/types/components/vega-dialog/types.d.ts +14 -0
- package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
- package/dist/types/components/vega-divider/interface.d.ts +6 -0
- package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
- package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +19 -0
- package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
- package/dist/types/components/vega-dropdown/types.d.ts +21 -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 +377 -0
- package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
- package/dist/types/components/vega-field-error/types.d.ts +4 -0
- package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
- package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
- package/dist/types/components/vega-field-label/types.d.ts +5 -0
- package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +77 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
- package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +179 -0
- package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
- package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
- package/dist/types/components/vega-font/types.d.ts +18 -0
- package/dist/types/components/vega-font/vega-font.d.ts +64 -0
- package/dist/types/components/vega-form/types.d.ts +9 -0
- package/dist/types/components/vega-form/vega-form.d.ts +235 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
- package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
- package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +16 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +208 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
- package/dist/types/components/vega-input/types.d.ts +12 -0
- package/dist/types/components/vega-input/vega-input.d.ts +319 -0
- package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
- package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
- package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
- package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +142 -0
- package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +63 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-range/types.d.ts +5 -0
- package/dist/types/components/vega-input-range/vega-input-range.d.ts +167 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
- package/dist/types/components/vega-input-select/types.d.ts +35 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +215 -0
- package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
- package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
- package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
- package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
- package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
- package/dist/types/components/vega-modal/types.d.ts +2 -0
- package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
- package/dist/types/components/vega-nav/interface.d.ts +36 -0
- package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
- package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
- package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
- package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
- package/dist/types/components/vega-page-notification/types.d.ts +10 -0
- package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
- package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +8 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +7 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +8 -0
- package/dist/types/components/vega-pagination/types.d.ts +1 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +102 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
- package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
- package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
- package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
- package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
- package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
- package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
- package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
- package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
- package/dist/types/components/vega-segment-control/types.d.ts +8 -0
- package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
- package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
- package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
- package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
- package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
- package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +28 -0
- package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
- package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +136 -0
- package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +52 -0
- package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +24 -0
- package/dist/types/components/vega-tab-group/types.d.ts +12 -0
- package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
- package/dist/types/components/vega-table/interface.d.ts +221 -0
- package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +23 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/test/utils.d.ts +9 -0
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
- package/dist/types/components/vega-table/type-guard.d.ts +14 -0
- package/dist/types/components/vega-table/utils.d.ts +25 -0
- package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
- package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
- package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
- package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
- package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
- package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
- package/dist/types/components/vega-table/vega-table.d.ts +498 -0
- package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
- package/dist/types/components/vega-text/types.d.ts +3 -0
- package/dist/types/components/vega-text/vega-text.d.ts +34 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +42 -0
- package/dist/types/components/vega-time-picker/types.d.ts +21 -0
- package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +177 -0
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
- package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
- package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
- package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
- package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
- package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
- package/dist/types/components.d.ts +8894 -0
- package/dist/types/constants/card-config.d.ts +8 -0
- package/dist/types/constants/locale.d.ts +5 -0
- package/dist/types/constants/misc.d.ts +6 -0
- package/dist/types/constants/public-api.d.ts +9 -0
- package/dist/types/constants/regex.d.ts +6 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/tests/validator.test.d.ts +1 -0
- package/dist/types/constants/tokens/border-radius.d.ts +3 -0
- package/dist/types/constants/tokens/borders.d.ts +4 -0
- package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
- package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
- package/dist/types/constants/tokens/colors.d.ts +193 -0
- package/dist/types/constants/tokens/icons.d.ts +2 -0
- package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/rings.d.ts +1 -0
- package/dist/types/constants/tokens/shadows.d.ts +4 -0
- package/dist/types/constants/tokens/spacing.d.ts +3 -0
- package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
- package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/typography.d.ts +10 -0
- package/dist/types/constants/ui.d.ts +16 -0
- package/dist/types/constants/validator.d.ts +5 -0
- package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
- package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
- package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
- package/dist/types/global/icons/chevron-down.d.ts +3 -0
- package/dist/types/global/icons/chevron-left.d.ts +3 -0
- package/dist/types/global/icons/chevron-right.d.ts +3 -0
- package/dist/types/global/icons/chevron-up.d.ts +3 -0
- package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
- package/dist/types/global/icons/circle-check.d.ts +3 -0
- package/dist/types/global/icons/circle-info.d.ts +3 -0
- package/dist/types/global/icons/circle-question.d.ts +3 -0
- package/dist/types/global/icons/circle-xmark.d.ts +3 -0
- package/dist/types/global/icons/trash-can.d.ts +3 -0
- package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
- package/dist/types/global/icons/xmark-large.d.ts +3 -0
- package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
- package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
- package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +81 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +33 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
- package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
- package/dist/types/helpers/calendar/index.d.ts +10 -0
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
- package/dist/types/helpers/calendar/utils.d.ts +7 -0
- package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
- package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +26 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
- package/dist/types/helpers/chart/base-chart.d.ts +61 -0
- package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
- package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
- package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
- package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
- package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
- package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
- package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
- package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
- package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
- package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
- package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
- package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
- package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
- package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
- package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
- package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
- package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
- package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
- package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
- package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
- package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
- package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
- package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
- package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
- package/dist/types/helpers/chart/line-chart.d.ts +27 -0
- package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
- package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
- package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
- package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
- package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
- package/dist/types/helpers/common/index.d.ts +7 -0
- package/dist/types/helpers/common/test/common.test.d.ts +1 -0
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
- package/dist/types/helpers/common/wait-for-vega-handler.d.ts +17 -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 +29 -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 +40 -0
- package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +79 -0
- package/dist/types/helpers/feature-control/feature-flag.d.ts +52 -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 +32 -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 +53 -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 +48 -0
- package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
- package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
- package/dist/types/helpers/public-api.d.ts +16 -0
- package/dist/types/helpers/queue/queue.d.ts +4 -0
- package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +50 -0
- package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
- package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
- package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
- package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
- package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
- package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
- package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
- package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
- package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/types.d.ts +5 -0
- package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
- package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/theme/theme-manager.d.ts +35 -0
- package/dist/types/helpers/theme/theme.d.ts +18 -0
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
- package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
- package/dist/types/helpers/ui/element-appender.d.ts +154 -0
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
- package/dist/types/helpers/validator/form-validator.d.ts +8 -0
- package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +36 -0
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
- package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +28 -0
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +62 -0
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +37 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +78 -0
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +44 -0
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +48 -0
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +55 -0
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +48 -0
- package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +108 -0
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +73 -0
- package/dist/types/helpers/validator/rules/validation-rule.d.ts +9 -0
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
- package/dist/types/helpers/validator/validator.d.ts +8 -0
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
- package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
- package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +21 -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 +191 -0
- package/dist/types/types/design-token.type.d.ts +21 -0
- package/dist/types/types/general.d.ts +7 -0
- package/dist/types/types/public-api.d.ts +16 -0
- package/dist/types/types/test/type-guard.test.d.ts +1 -0
- package/dist/types/types/test-polyfill.d.ts +8 -0
- package/dist/types/types/type-guard.d.ts +284 -0
- package/dist/types/types/ui.type.d.ts +152 -0
- package/dist/types/types/vega-chart.d.ts +149 -0
- package/dist/types/utils/accessibility.d.ts +6 -0
- package/dist/types/utils/api.d.ts +35 -0
- package/dist/types/utils/array.d.ts +100 -0
- package/dist/types/utils/breakpoints.d.ts +27 -0
- package/dist/types/utils/component.d.ts +34 -0
- package/dist/types/utils/date.d.ts +54 -0
- package/dist/types/utils/design-token.d.ts +115 -0
- package/dist/types/utils/e2e-utils.d.ts +139 -0
- package/dist/types/utils/effect.d.ts +30 -0
- package/dist/types/utils/local-storage.d.ts +14 -0
- package/dist/types/utils/log.d.ts +48 -0
- package/dist/types/utils/misc.d.ts +20 -0
- package/dist/types/utils/number.d.ts +58 -0
- package/dist/types/utils/object.d.ts +20 -0
- package/dist/types/utils/pagination.d.ts +13 -0
- package/dist/types/utils/pixel.d.ts +30 -0
- package/dist/types/utils/position.d.ts +17 -0
- package/dist/types/utils/public-api.d.ts +4 -0
- package/dist/types/utils/spec-utils.d.ts +93 -0
- package/dist/types/utils/string.d.ts +7 -0
- package/dist/types/utils/test/accessibility.test.d.ts +1 -0
- package/dist/types/utils/test/api.test.d.ts +1 -0
- package/dist/types/utils/test/array.test.d.ts +1 -0
- package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
- package/dist/types/utils/test/component.test.d.ts +1 -0
- package/dist/types/utils/test/date.test.d.ts +1 -0
- package/dist/types/utils/test/design-token.test.d.ts +1 -0
- package/dist/types/utils/test/effect.test.d.ts +1 -0
- package/dist/types/utils/test/local-storage.test.d.ts +1 -0
- package/dist/types/utils/test/log.test.d.ts +1 -0
- package/dist/types/utils/test/misc.test.d.ts +1 -0
- package/dist/types/utils/test/number.test.d.ts +1 -0
- package/dist/types/utils/test/object.test.d.ts +1 -0
- package/dist/types/utils/test/pagination.test.d.ts +1 -0
- package/dist/types/utils/test/pixel.test.d.ts +1 -0
- package/dist/types/utils/test/position.test.d.ts +1 -0
- package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
- package/dist/types/utils/test/string.test.d.ts +1 -0
- package/dist/types/utils/test/test-utils.test.d.ts +1 -0
- package/dist/types/utils/test/timer.test.d.ts +1 -0
- package/dist/types/utils/test/ui.test.d.ts +1 -0
- package/dist/types/utils/test-utils.d.ts +55 -0
- package/dist/types/utils/timer.d.ts +11 -0
- package/dist/types/utils/ui.d.ts +108 -0
- package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
- package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
- package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
- package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
- package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
- package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
- package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
- package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
- package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
- package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
- package/dist/vega/index.esm.js +1 -0
- package/dist/vega/p-0134e8c5.js +1 -0
- package/dist/vega/p-016045b0.js +1 -0
- package/dist/vega/p-020baf8d.entry.js +1 -0
- package/dist/vega/p-04fcce24.entry.js +1 -0
- package/dist/vega/p-0702f6c0.entry.js +1 -0
- package/dist/vega/p-08ba0d4a.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0e9c4fd8.js +1 -0
- package/dist/vega/p-13f2c41c.entry.js +1 -0
- package/dist/vega/p-152393dd.js +1 -0
- package/dist/vega/p-16493e5b.js +1 -0
- package/dist/vega/p-1a0f6c99.entry.js +1 -0
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c1805aa.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1daef8ab.entry.js +1 -0
- package/dist/vega/p-1e33c6e3.entry.js +1 -0
- package/dist/vega/p-1f712313.js +1 -0
- package/dist/vega/p-23ec14fe.js +1 -0
- package/dist/vega/p-2675fb06.entry.js +1 -0
- package/dist/vega/p-28b1a294.entry.js +1 -0
- package/dist/vega/p-29ac203a.js +1 -0
- package/dist/vega/p-2b08a30e.entry.js +1 -0
- package/dist/vega/p-2d0d575f.js +1 -0
- package/dist/vega/p-2df25c7f.js +1 -0
- package/dist/vega/p-2e9c3333.entry.js +1 -0
- package/dist/vega/p-33596687.js +1 -0
- package/dist/vega/p-344ee7cb.js +1 -0
- package/dist/vega/p-3542f8fe.js +1 -0
- package/dist/vega/p-356de764.entry.js +1 -0
- package/dist/vega/p-389b3388.entry.js +1 -0
- package/dist/vega/p-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3c8b2105.js +1 -0
- package/dist/vega/p-3e6e7fe0.entry.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-462a6417.entry.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47d106e7.js +1 -0
- package/dist/vega/p-4925ec08.entry.js +1 -0
- package/dist/vega/p-4b29a9c2.entry.js +1 -0
- package/dist/vega/p-4d36f758.entry.js +1 -0
- package/dist/vega/p-5041624e.entry.js +1 -0
- package/dist/vega/p-526de2f9.entry.js +1 -0
- package/dist/vega/p-53361f4c.entry.js +1 -0
- package/dist/vega/p-5453f591.js +1 -0
- package/dist/vega/p-54f87b68.entry.js +1 -0
- package/dist/vega/p-55ccc669.entry.js +1 -0
- package/dist/vega/p-5871524b.entry.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-59a75a4e.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-65421306.entry.js +1 -0
- package/dist/vega/p-66098cf8.js +1 -0
- package/dist/vega/p-67f1d4fa.entry.js +1 -0
- package/dist/vega/p-69d0479b.entry.js +1 -0
- package/dist/vega/p-6a334573.js +1 -0
- package/dist/vega/p-6bd5c49b.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-764be3f6.entry.js +1 -0
- package/dist/vega/p-770c736e.js +1 -0
- package/dist/vega/p-7a858cb9.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-7cbd8367.entry.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-8686c915.entry.js +1 -0
- package/dist/vega/p-86dd6e75.entry.js +1 -0
- package/dist/vega/p-883a939b.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8b5d3a52.js +1 -0
- package/dist/vega/p-8ca2b2a6.js +1 -0
- package/dist/vega/p-8f0af276.entry.js +13 -0
- package/dist/vega/p-957e2de2.js +1 -0
- package/dist/vega/p-961e1ecd.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9909e768.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9d7f6c9e.entry.js +1 -0
- package/dist/vega/p-9df32d78.entry.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a1f7484f.js +1 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a3e7face.entry.js +1 -0
- package/dist/vega/p-a4dfbf5d.entry.js +1 -0
- package/dist/vega/p-a73c06f0.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-af26780d.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b0ca612e.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-b6ef48be.entry.js +1 -0
- package/dist/vega/p-b86e8c8b.entry.js +1 -0
- package/dist/vega/p-b8e42c11.entry.js +1 -0
- package/dist/vega/p-b9cb9098.entry.js +1 -0
- package/dist/vega/p-bb491bed.js +1 -0
- package/dist/vega/p-bb953c8e.js +1 -0
- package/dist/vega/p-bc5ce560.entry.js +1 -0
- package/dist/vega/p-be893ca7.entry.js +1 -0
- package/dist/vega/p-bf8c1fe3.js +1 -0
- package/dist/vega/p-bfd1969c.entry.js +1 -0
- package/dist/vega/p-c093f5d2.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c3ef9d64.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-d26f7423.entry.js +1 -0
- package/dist/vega/p-d9fc1fff.entry.js +1 -0
- package/dist/vega/p-dce434e6.entry.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-e28d884d.entry.js +1 -0
- package/dist/vega/p-e467de3f.entry.js +1 -0
- package/dist/vega/p-ea1f50c9.entry.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-eae4a1c1.js +1 -0
- package/dist/vega/p-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-f01ad03a.entry.js +1 -0
- package/dist/vega/p-f1a59ae3.entry.js +1 -0
- package/dist/vega/p-f23d06c5.entry.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f6fa60f9.entry.js +1 -0
- package/dist/vega/p-f71aa49e.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-f9e456a6.js +1 -0
- package/dist/vega/p-faea1620.js +1 -0
- package/dist/vega/vega.css +1 -0
- package/dist/vega/vega.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +130 -0
- package/readme.md +182 -0
- package/style/vega.css +1 -0
@@ -0,0 +1,3883 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
const misc = require('./misc-3d30df91.js');
|
4
|
+
const ui = require('./ui-08f33116.js');
|
5
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
6
|
+
const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-d2d49ff5.js');
|
7
|
+
const internalVegaZIndexManager = require('./internal-vega-z-index-manager-23051df4.js');
|
8
|
+
const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
|
9
|
+
const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-1e404fc7.js');
|
10
|
+
const index = require('./index-5792390b.js');
|
11
|
+
const internalVegaEventManager = require('./internal-vega-event-manager-627b1328.js');
|
12
|
+
|
13
|
+
const VegaLoaderRuntimeMetricsPayloadDefinition = [
|
14
|
+
{
|
15
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
16
|
+
payloadDescription: 'Indicate if the method load of public API VegaLoaderController is called',
|
17
|
+
/**
|
18
|
+
* Indicate whether the method is collected when the method been called .
|
19
|
+
*
|
20
|
+
* @param {string} scope - The class name of public api
|
21
|
+
* @param {string} methodName - The method name called by the public api
|
22
|
+
* @returns {boolean} A boolean value
|
23
|
+
*/
|
24
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'load',
|
25
|
+
/**
|
26
|
+
* The function checks if the method name is load.
|
27
|
+
*
|
28
|
+
* @returns {boolean} A boolean value
|
29
|
+
*/
|
30
|
+
payloadValue: () => {
|
31
|
+
return true;
|
32
|
+
},
|
33
|
+
},
|
34
|
+
{
|
35
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
36
|
+
payloadDescription: 'Indicate if the method close of public API VegaLoaderController is called',
|
37
|
+
/**
|
38
|
+
* Indicate whether the method is collected when the method been called .
|
39
|
+
*
|
40
|
+
* @param {string} scope - The class name of public api
|
41
|
+
* @param {string} methodName - The method name called by the public api
|
42
|
+
* @returns {boolean} A boolean value
|
43
|
+
*/
|
44
|
+
canAccept: (scope, methodName) => scope === 'VegaLoaderController' && methodName === 'close',
|
45
|
+
/**
|
46
|
+
* The function checks if the method name is close.
|
47
|
+
*
|
48
|
+
* @returns {boolean} A boolean value
|
49
|
+
*/
|
50
|
+
payloadValue: () => {
|
51
|
+
return true;
|
52
|
+
},
|
53
|
+
},
|
54
|
+
];
|
55
|
+
|
56
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
57
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
58
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
59
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
60
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
61
|
+
};
|
62
|
+
/**
|
63
|
+
* Vega loader controller to control the loading indicator
|
64
|
+
*/
|
65
|
+
class VegaLoaderController {
|
66
|
+
constructor() {
|
67
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaLoaderController, ['load', 'close'], VegaLoaderRuntimeMetricsPayloadDefinition);
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Create a loading indicator and append it to the container
|
71
|
+
*
|
72
|
+
* @param {VegaLoaderIndicatorOptions} options - VegaLoaderOptions = {} options of the method
|
73
|
+
* @returns {string} The uuid of the loader.
|
74
|
+
*/
|
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
|
+
*/
|
92
|
+
close(id) {
|
93
|
+
const loader = this.findLoader(id);
|
94
|
+
if (loader) {
|
95
|
+
if (loader.dataset.container) {
|
96
|
+
const container = document.querySelector(loader.dataset.container);
|
97
|
+
if (container) {
|
98
|
+
container.style.position = container.dataset['vegaLoaderOriginPosition'] || 'static';
|
99
|
+
}
|
100
|
+
}
|
101
|
+
loader.remove();
|
102
|
+
}
|
103
|
+
}
|
104
|
+
/**
|
105
|
+
* Find loader by id, if the id include '>>>' it will find inside shadowRoot
|
106
|
+
*
|
107
|
+
* @param {string} id - The id of the loader.
|
108
|
+
* @returns {string} The loader found by id.
|
109
|
+
*/
|
110
|
+
findLoader(id) {
|
111
|
+
var _a, _b;
|
112
|
+
let loader;
|
113
|
+
if (id.includes('>>>')) {
|
114
|
+
const [containerSelector, loaderSelector] = id.split('>>>');
|
115
|
+
loader = (_b = (_a = document.querySelector(containerSelector)) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.getElementById(loaderSelector);
|
116
|
+
}
|
117
|
+
else {
|
118
|
+
loader = document.getElementById(id);
|
119
|
+
}
|
120
|
+
return loader;
|
121
|
+
}
|
122
|
+
/**
|
123
|
+
* Create a loader for loading indicator
|
124
|
+
*
|
125
|
+
* @param {string} containerSelector The container which you want to append
|
126
|
+
* @returns {HTMLElement} a wrapper for loader
|
127
|
+
*/
|
128
|
+
createLoader(containerSelector) {
|
129
|
+
const loader = document.createElement('vega-loader-wrapper');
|
130
|
+
loader.className = ui.arrayToClassString([
|
131
|
+
containerSelector === 'body' ? 'fixed-wrapper' : 'absolute-wrapper',
|
132
|
+
]);
|
133
|
+
loader.dataset['container'] = containerSelector;
|
134
|
+
loader.id = `vega-loader-${misc.generateUUID()}`;
|
135
|
+
return loader;
|
136
|
+
}
|
137
|
+
/**
|
138
|
+
* Create a loading indicator
|
139
|
+
*
|
140
|
+
* @param {VegaLoaderIndicatorOptions} indicatorOptions the props of vega loading indicator
|
141
|
+
* @returns {HTMLElement} vega-loading-indicator component template
|
142
|
+
*/
|
143
|
+
createLoadingIndicator(indicatorOptions = {}) {
|
144
|
+
const loadingIndicator = document.createElement('vega-loading-indicator');
|
145
|
+
Object.assign(loadingIndicator, indicatorOptions);
|
146
|
+
return loadingIndicator;
|
147
|
+
}
|
148
|
+
/**
|
149
|
+
* Append the loader to the container
|
150
|
+
*
|
151
|
+
* @param {HTMLElement} loader A loader with loading indicator
|
152
|
+
* @param {string} containerElement The container which you want to append the loader to
|
153
|
+
* @returns {string} The uuid of the loader.
|
154
|
+
*/
|
155
|
+
appendLoader(loader, containerElement) {
|
156
|
+
containerElement.dataset['vegaLoaderOriginPosition'] = containerElement.style.position;
|
157
|
+
containerElement.style.position = 'relative';
|
158
|
+
if (containerElement.shadowRoot) {
|
159
|
+
containerElement.shadowRoot.append(loader);
|
160
|
+
return `${loader.dataset['container']}>>>${loader.id}`;
|
161
|
+
}
|
162
|
+
else {
|
163
|
+
containerElement.append(loader);
|
164
|
+
return loader.id;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
__decorate$6([
|
169
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
170
|
+
], VegaLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
171
|
+
const VegaLoader = new VegaLoaderController();
|
172
|
+
|
173
|
+
const VegaNotifyRuntimeMetricsPayloadDefinition = [
|
174
|
+
{
|
175
|
+
payloadKey: 'IS_OPEN_METHOD_CALLED',
|
176
|
+
payloadDescription: 'Indicate if the method open of public API VegaNotifyController is called',
|
177
|
+
/**
|
178
|
+
* Indicate whether the method is collected when the method been called .
|
179
|
+
*
|
180
|
+
* @param {string} scope - The class name of public api
|
181
|
+
* @param {string} methodName - The method name called by the public api
|
182
|
+
* @returns {boolean} A boolean value
|
183
|
+
*/
|
184
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'open',
|
185
|
+
/**
|
186
|
+
* The function checks if the method name is open.
|
187
|
+
*
|
188
|
+
* @returns {boolean} A boolean value
|
189
|
+
*/
|
190
|
+
payloadValue: () => {
|
191
|
+
return true;
|
192
|
+
},
|
193
|
+
},
|
194
|
+
{
|
195
|
+
payloadKey: 'IS_CLOSE_METHOD_CALLED',
|
196
|
+
payloadDescription: 'Indicate if the method close of public API VegaNotifyController is called',
|
197
|
+
/**
|
198
|
+
* Indicate whether the method is collected when the method been called .
|
199
|
+
*
|
200
|
+
* @param {string} scope - The class name of public api
|
201
|
+
* @param {string} methodName - The method name called by the public api
|
202
|
+
* @returns {boolean} A boolean value
|
203
|
+
*/
|
204
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'close',
|
205
|
+
/**
|
206
|
+
* The function checks if the method name is close.
|
207
|
+
*
|
208
|
+
* @returns {boolean} A boolean value
|
209
|
+
*/
|
210
|
+
payloadValue: () => {
|
211
|
+
return true;
|
212
|
+
},
|
213
|
+
},
|
214
|
+
{
|
215
|
+
payloadKey: 'IS_CLOSEALL_METHOD_CALLED',
|
216
|
+
payloadDescription: 'Indicate if the method closeAll of public API VegaNotifyController is called',
|
217
|
+
/**
|
218
|
+
* Indicate whether the method is collected when the method been called .
|
219
|
+
*
|
220
|
+
* @param {string} scope - The class name of public api
|
221
|
+
* @param {string} methodName - The method name called by the public api
|
222
|
+
* @returns {boolean} A boolean value
|
223
|
+
*/
|
224
|
+
canAccept: (scope, methodName) => scope === 'VegaNotifyController' && methodName === 'closeAll',
|
225
|
+
/**
|
226
|
+
* The function checks if the method name is closeAll.
|
227
|
+
*
|
228
|
+
* @returns {boolean} A boolean value
|
229
|
+
*/
|
230
|
+
payloadValue: () => {
|
231
|
+
return true;
|
232
|
+
},
|
233
|
+
},
|
234
|
+
];
|
235
|
+
|
236
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
237
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
238
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
239
|
+
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;
|
240
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
241
|
+
};
|
242
|
+
/**
|
243
|
+
* The page notification controller
|
244
|
+
*/
|
245
|
+
class VegaNotifyController {
|
246
|
+
constructor() {
|
247
|
+
this.resizeObserverSlimmer = dynamicSlimmer.createDynamicSlimmer(VegaNotifyController, pageResizeObserverSlimmer.PageResizeObserverSlimmer, [], [{ mapFrom: 'connectResizeObserver', mapTo: 'connectResizeObserver' }], [
|
248
|
+
{
|
249
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
250
|
+
callback: (entries) => {
|
251
|
+
var _a;
|
252
|
+
const currentVisible = entries[0].contentRect.height > 0;
|
253
|
+
if (!currentVisible && ((_a = this.container) === null || _a === void 0 ? void 0 : _a.classList.contains('hydrated'))) {
|
254
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.container, 'top');
|
255
|
+
this.container.remove();
|
256
|
+
this.container = null;
|
257
|
+
}
|
258
|
+
},
|
259
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
260
|
+
target: () => this.container,
|
261
|
+
},
|
262
|
+
]);
|
263
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaNotifyController, ['open', 'close', 'closeAll'], VegaNotifyRuntimeMetricsPayloadDefinition);
|
264
|
+
}
|
265
|
+
/**
|
266
|
+
* It creates a new notification element, adds it to the container, and returns the notification's ID
|
267
|
+
*
|
268
|
+
* @param {VegaNotifyOption} options - VegaNotifyProps
|
269
|
+
* @returns {string} The ID of the notification.
|
270
|
+
*/
|
271
|
+
async open(options) {
|
272
|
+
const pageNotification = this.createPageNotification(options);
|
273
|
+
this.getContainer().append(pageNotification);
|
274
|
+
return pageNotification.id;
|
275
|
+
}
|
276
|
+
/**
|
277
|
+
* It closes all notifications
|
278
|
+
*/
|
279
|
+
async closeAll() {
|
280
|
+
this.container &&
|
281
|
+
Array.from(this.container.children).forEach((item) => {
|
282
|
+
void item.close();
|
283
|
+
});
|
284
|
+
}
|
285
|
+
/**
|
286
|
+
* It closes the notification with the given id
|
287
|
+
*
|
288
|
+
* @param {string} id - The id of the notification to close.
|
289
|
+
*/
|
290
|
+
async close(id) {
|
291
|
+
await document.getElementById(id).close();
|
292
|
+
}
|
293
|
+
/**
|
294
|
+
* The function "connectResizeObserver" is used to connect a resize observer.
|
295
|
+
*/
|
296
|
+
connectResizeObserver() {
|
297
|
+
}
|
298
|
+
/**
|
299
|
+
* It creates a new page notification element, sets its properties, and returns it
|
300
|
+
*
|
301
|
+
* @param {VegaNotifyOption} props - VegaNotifyProps - the properties of the notification
|
302
|
+
* @returns {HTMLElement} A function that takes in a props object and returns a pageNotification element.
|
303
|
+
*/
|
304
|
+
createPageNotification(props) {
|
305
|
+
const pageNotification = document.createElement('vega-page-notification');
|
306
|
+
Object.keys(props).forEach((propName) => {
|
307
|
+
props[propName] !== undefined && (pageNotification[propName] = props[propName]);
|
308
|
+
});
|
309
|
+
pageNotification.style.marginBottom = ui.getDeviceType() === ui.DeviceType.MOBILE ? '12px' : '16px';
|
310
|
+
pageNotification.id = `vega-page-notification-${misc.generateUUID()}`;
|
311
|
+
return pageNotification;
|
312
|
+
}
|
313
|
+
/**
|
314
|
+
* It creates a div element, sets its z-index to be on top of everything else, adds a class to it, and
|
315
|
+
* then adds it to the body of the page
|
316
|
+
*
|
317
|
+
* @returns {HTMLElement} The container is being returned.
|
318
|
+
*/
|
319
|
+
getContainer() {
|
320
|
+
if (this.container) {
|
321
|
+
return this.container;
|
322
|
+
}
|
323
|
+
this.container = document.createElement('vega-page-notification-list');
|
324
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.setZIndex(this.container, 'top');
|
325
|
+
if (ui.getDeviceType() === ui.DeviceType.MOBILE) {
|
326
|
+
this.container.classList.add('vega-page-notification-list-bottom');
|
327
|
+
}
|
328
|
+
else {
|
329
|
+
this.container.classList.add('vega-page-notification-list-topRight');
|
330
|
+
}
|
331
|
+
document.body.append(this.container);
|
332
|
+
this.connectResizeObserver();
|
333
|
+
return this.container;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
__decorate$5([
|
337
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
338
|
+
], VegaNotifyController.prototype, "resizeObserverSlimmer", void 0);
|
339
|
+
__decorate$5([
|
340
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
341
|
+
], VegaNotifyController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
342
|
+
const VegaNotify = new VegaNotifyController();
|
343
|
+
|
344
|
+
var tinycolor = index.createCommonjsModule(function (module, exports) {
|
345
|
+
// This file is autogenerated. It's used to publish CJS to npm.
|
346
|
+
(function (global, factory) {
|
347
|
+
module.exports = factory() ;
|
348
|
+
})(index.commonjsGlobal, (function () {
|
349
|
+
// https://github.com/bgrins/TinyColor
|
350
|
+
// Brian Grinstead, MIT License
|
351
|
+
|
352
|
+
const trimLeft = /^\s+/;
|
353
|
+
const trimRight = /\s+$/;
|
354
|
+
|
355
|
+
function tinycolor(color, opts) {
|
356
|
+
color = color ? color : "";
|
357
|
+
opts = opts || {};
|
358
|
+
|
359
|
+
// If input is already a tinycolor, return itself
|
360
|
+
if (color instanceof tinycolor) {
|
361
|
+
return color;
|
362
|
+
}
|
363
|
+
// If we are called as a function, call using new instead
|
364
|
+
if (!(this instanceof tinycolor)) {
|
365
|
+
return new tinycolor(color, opts);
|
366
|
+
}
|
367
|
+
|
368
|
+
var rgb = inputToRGB(color);
|
369
|
+
(this._originalInput = color),
|
370
|
+
(this._r = rgb.r),
|
371
|
+
(this._g = rgb.g),
|
372
|
+
(this._b = rgb.b),
|
373
|
+
(this._a = rgb.a),
|
374
|
+
(this._roundA = Math.round(100 * this._a) / 100),
|
375
|
+
(this._format = opts.format || rgb.format);
|
376
|
+
this._gradientType = opts.gradientType;
|
377
|
+
|
378
|
+
// Don't let the range of [0,255] come back in [0,1].
|
379
|
+
// Potentially lose a little bit of precision here, but will fix issues where
|
380
|
+
// .5 gets interpreted as half of the total, instead of half of 1
|
381
|
+
// If it was supposed to be 128, this was already taken care of by `inputToRgb`
|
382
|
+
if (this._r < 1) this._r = Math.round(this._r);
|
383
|
+
if (this._g < 1) this._g = Math.round(this._g);
|
384
|
+
if (this._b < 1) this._b = Math.round(this._b);
|
385
|
+
|
386
|
+
this._ok = rgb.ok;
|
387
|
+
}
|
388
|
+
|
389
|
+
tinycolor.prototype = {
|
390
|
+
isDark: function () {
|
391
|
+
return this.getBrightness() < 128;
|
392
|
+
},
|
393
|
+
isLight: function () {
|
394
|
+
return !this.isDark();
|
395
|
+
},
|
396
|
+
isValid: function () {
|
397
|
+
return this._ok;
|
398
|
+
},
|
399
|
+
getOriginalInput: function () {
|
400
|
+
return this._originalInput;
|
401
|
+
},
|
402
|
+
getFormat: function () {
|
403
|
+
return this._format;
|
404
|
+
},
|
405
|
+
getAlpha: function () {
|
406
|
+
return this._a;
|
407
|
+
},
|
408
|
+
getBrightness: function () {
|
409
|
+
//http://www.w3.org/TR/AERT#color-contrast
|
410
|
+
var rgb = this.toRgb();
|
411
|
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
|
412
|
+
},
|
413
|
+
getLuminance: function () {
|
414
|
+
//http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
|
415
|
+
var rgb = this.toRgb();
|
416
|
+
var RsRGB, GsRGB, BsRGB, R, G, B;
|
417
|
+
RsRGB = rgb.r / 255;
|
418
|
+
GsRGB = rgb.g / 255;
|
419
|
+
BsRGB = rgb.b / 255;
|
420
|
+
|
421
|
+
if (RsRGB <= 0.03928) R = RsRGB / 12.92;
|
422
|
+
else R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);
|
423
|
+
if (GsRGB <= 0.03928) G = GsRGB / 12.92;
|
424
|
+
else G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);
|
425
|
+
if (BsRGB <= 0.03928) B = BsRGB / 12.92;
|
426
|
+
else B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);
|
427
|
+
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
|
428
|
+
},
|
429
|
+
setAlpha: function (value) {
|
430
|
+
this._a = boundAlpha(value);
|
431
|
+
this._roundA = Math.round(100 * this._a) / 100;
|
432
|
+
return this;
|
433
|
+
},
|
434
|
+
toHsv: function () {
|
435
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
436
|
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
|
437
|
+
},
|
438
|
+
toHsvString: function () {
|
439
|
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
440
|
+
var h = Math.round(hsv.h * 360),
|
441
|
+
s = Math.round(hsv.s * 100),
|
442
|
+
v = Math.round(hsv.v * 100);
|
443
|
+
return this._a == 1
|
444
|
+
? "hsv(" + h + ", " + s + "%, " + v + "%)"
|
445
|
+
: "hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
|
446
|
+
},
|
447
|
+
toHsl: function () {
|
448
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
449
|
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
|
450
|
+
},
|
451
|
+
toHslString: function () {
|
452
|
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
453
|
+
var h = Math.round(hsl.h * 360),
|
454
|
+
s = Math.round(hsl.s * 100),
|
455
|
+
l = Math.round(hsl.l * 100);
|
456
|
+
return this._a == 1
|
457
|
+
? "hsl(" + h + ", " + s + "%, " + l + "%)"
|
458
|
+
: "hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
|
459
|
+
},
|
460
|
+
toHex: function (allow3Char) {
|
461
|
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
462
|
+
},
|
463
|
+
toHexString: function (allow3Char) {
|
464
|
+
return "#" + this.toHex(allow3Char);
|
465
|
+
},
|
466
|
+
toHex8: function (allow4Char) {
|
467
|
+
return rgbaToHex(this._r, this._g, this._b, this._a, allow4Char);
|
468
|
+
},
|
469
|
+
toHex8String: function (allow4Char) {
|
470
|
+
return "#" + this.toHex8(allow4Char);
|
471
|
+
},
|
472
|
+
toRgb: function () {
|
473
|
+
return {
|
474
|
+
r: Math.round(this._r),
|
475
|
+
g: Math.round(this._g),
|
476
|
+
b: Math.round(this._b),
|
477
|
+
a: this._a,
|
478
|
+
};
|
479
|
+
},
|
480
|
+
toRgbString: function () {
|
481
|
+
return this._a == 1
|
482
|
+
? "rgb(" +
|
483
|
+
Math.round(this._r) +
|
484
|
+
", " +
|
485
|
+
Math.round(this._g) +
|
486
|
+
", " +
|
487
|
+
Math.round(this._b) +
|
488
|
+
")"
|
489
|
+
: "rgba(" +
|
490
|
+
Math.round(this._r) +
|
491
|
+
", " +
|
492
|
+
Math.round(this._g) +
|
493
|
+
", " +
|
494
|
+
Math.round(this._b) +
|
495
|
+
", " +
|
496
|
+
this._roundA +
|
497
|
+
")";
|
498
|
+
},
|
499
|
+
toPercentageRgb: function () {
|
500
|
+
return {
|
501
|
+
r: Math.round(bound01(this._r, 255) * 100) + "%",
|
502
|
+
g: Math.round(bound01(this._g, 255) * 100) + "%",
|
503
|
+
b: Math.round(bound01(this._b, 255) * 100) + "%",
|
504
|
+
a: this._a,
|
505
|
+
};
|
506
|
+
},
|
507
|
+
toPercentageRgbString: function () {
|
508
|
+
return this._a == 1
|
509
|
+
? "rgb(" +
|
510
|
+
Math.round(bound01(this._r, 255) * 100) +
|
511
|
+
"%, " +
|
512
|
+
Math.round(bound01(this._g, 255) * 100) +
|
513
|
+
"%, " +
|
514
|
+
Math.round(bound01(this._b, 255) * 100) +
|
515
|
+
"%)"
|
516
|
+
: "rgba(" +
|
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
|
+
this._roundA +
|
524
|
+
")";
|
525
|
+
},
|
526
|
+
toName: function () {
|
527
|
+
if (this._a === 0) {
|
528
|
+
return "transparent";
|
529
|
+
}
|
530
|
+
|
531
|
+
if (this._a < 1) {
|
532
|
+
return false;
|
533
|
+
}
|
534
|
+
|
535
|
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
536
|
+
},
|
537
|
+
toFilter: function (secondColor) {
|
538
|
+
var hex8String = "#" + rgbaToArgbHex(this._r, this._g, this._b, this._a);
|
539
|
+
var secondHex8String = hex8String;
|
540
|
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
541
|
+
|
542
|
+
if (secondColor) {
|
543
|
+
var s = tinycolor(secondColor);
|
544
|
+
secondHex8String = "#" + rgbaToArgbHex(s._r, s._g, s._b, s._a);
|
545
|
+
}
|
546
|
+
|
547
|
+
return (
|
548
|
+
"progid:DXImageTransform.Microsoft.gradient(" +
|
549
|
+
gradientType +
|
550
|
+
"startColorstr=" +
|
551
|
+
hex8String +
|
552
|
+
",endColorstr=" +
|
553
|
+
secondHex8String +
|
554
|
+
")"
|
555
|
+
);
|
556
|
+
},
|
557
|
+
toString: function (format) {
|
558
|
+
var formatSet = !!format;
|
559
|
+
format = format || this._format;
|
560
|
+
|
561
|
+
var formattedString = false;
|
562
|
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
563
|
+
var needsAlphaFormat =
|
564
|
+
!formatSet &&
|
565
|
+
hasAlpha &&
|
566
|
+
(format === "hex" ||
|
567
|
+
format === "hex6" ||
|
568
|
+
format === "hex3" ||
|
569
|
+
format === "hex4" ||
|
570
|
+
format === "hex8" ||
|
571
|
+
format === "name");
|
572
|
+
|
573
|
+
if (needsAlphaFormat) {
|
574
|
+
// Special case for "transparent", all other non-alpha formats
|
575
|
+
// will return rgba when there is transparency.
|
576
|
+
if (format === "name" && this._a === 0) {
|
577
|
+
return this.toName();
|
578
|
+
}
|
579
|
+
return this.toRgbString();
|
580
|
+
}
|
581
|
+
if (format === "rgb") {
|
582
|
+
formattedString = this.toRgbString();
|
583
|
+
}
|
584
|
+
if (format === "prgb") {
|
585
|
+
formattedString = this.toPercentageRgbString();
|
586
|
+
}
|
587
|
+
if (format === "hex" || format === "hex6") {
|
588
|
+
formattedString = this.toHexString();
|
589
|
+
}
|
590
|
+
if (format === "hex3") {
|
591
|
+
formattedString = this.toHexString(true);
|
592
|
+
}
|
593
|
+
if (format === "hex4") {
|
594
|
+
formattedString = this.toHex8String(true);
|
595
|
+
}
|
596
|
+
if (format === "hex8") {
|
597
|
+
formattedString = this.toHex8String();
|
598
|
+
}
|
599
|
+
if (format === "name") {
|
600
|
+
formattedString = this.toName();
|
601
|
+
}
|
602
|
+
if (format === "hsl") {
|
603
|
+
formattedString = this.toHslString();
|
604
|
+
}
|
605
|
+
if (format === "hsv") {
|
606
|
+
formattedString = this.toHsvString();
|
607
|
+
}
|
608
|
+
|
609
|
+
return formattedString || this.toHexString();
|
610
|
+
},
|
611
|
+
clone: function () {
|
612
|
+
return tinycolor(this.toString());
|
613
|
+
},
|
614
|
+
|
615
|
+
_applyModification: function (fn, args) {
|
616
|
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
617
|
+
this._r = color._r;
|
618
|
+
this._g = color._g;
|
619
|
+
this._b = color._b;
|
620
|
+
this.setAlpha(color._a);
|
621
|
+
return this;
|
622
|
+
},
|
623
|
+
lighten: function () {
|
624
|
+
return this._applyModification(lighten, arguments);
|
625
|
+
},
|
626
|
+
brighten: function () {
|
627
|
+
return this._applyModification(brighten, arguments);
|
628
|
+
},
|
629
|
+
darken: function () {
|
630
|
+
return this._applyModification(darken, arguments);
|
631
|
+
},
|
632
|
+
desaturate: function () {
|
633
|
+
return this._applyModification(desaturate, arguments);
|
634
|
+
},
|
635
|
+
saturate: function () {
|
636
|
+
return this._applyModification(saturate, arguments);
|
637
|
+
},
|
638
|
+
greyscale: function () {
|
639
|
+
return this._applyModification(greyscale, arguments);
|
640
|
+
},
|
641
|
+
spin: function () {
|
642
|
+
return this._applyModification(spin, arguments);
|
643
|
+
},
|
644
|
+
|
645
|
+
_applyCombination: function (fn, args) {
|
646
|
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
647
|
+
},
|
648
|
+
analogous: function () {
|
649
|
+
return this._applyCombination(analogous, arguments);
|
650
|
+
},
|
651
|
+
complement: function () {
|
652
|
+
return this._applyCombination(complement, arguments);
|
653
|
+
},
|
654
|
+
monochromatic: function () {
|
655
|
+
return this._applyCombination(monochromatic, arguments);
|
656
|
+
},
|
657
|
+
splitcomplement: function () {
|
658
|
+
return this._applyCombination(splitcomplement, arguments);
|
659
|
+
},
|
660
|
+
// Disabled until https://github.com/bgrins/TinyColor/issues/254
|
661
|
+
// polyad: function (number) {
|
662
|
+
// return this._applyCombination(polyad, [number]);
|
663
|
+
// },
|
664
|
+
triad: function () {
|
665
|
+
return this._applyCombination(polyad, [3]);
|
666
|
+
},
|
667
|
+
tetrad: function () {
|
668
|
+
return this._applyCombination(polyad, [4]);
|
669
|
+
},
|
670
|
+
};
|
671
|
+
|
672
|
+
// If input is an object, force 1 into "1.0" to handle ratios properly
|
673
|
+
// String input requires "1.0" as input, so 1 will be treated as 1
|
674
|
+
tinycolor.fromRatio = function (color, opts) {
|
675
|
+
if (typeof color == "object") {
|
676
|
+
var newColor = {};
|
677
|
+
for (var i in color) {
|
678
|
+
if (color.hasOwnProperty(i)) {
|
679
|
+
if (i === "a") {
|
680
|
+
newColor[i] = color[i];
|
681
|
+
} else {
|
682
|
+
newColor[i] = convertToPercentage(color[i]);
|
683
|
+
}
|
684
|
+
}
|
685
|
+
}
|
686
|
+
color = newColor;
|
687
|
+
}
|
688
|
+
|
689
|
+
return tinycolor(color, opts);
|
690
|
+
};
|
691
|
+
|
692
|
+
// Given a string or object, convert that input to RGB
|
693
|
+
// Possible string inputs:
|
694
|
+
//
|
695
|
+
// "red"
|
696
|
+
// "#f00" or "f00"
|
697
|
+
// "#ff0000" or "ff0000"
|
698
|
+
// "#ff000000" or "ff000000"
|
699
|
+
// "rgb 255 0 0" or "rgb (255, 0, 0)"
|
700
|
+
// "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
701
|
+
// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
702
|
+
// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
703
|
+
// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
704
|
+
// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
705
|
+
// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
706
|
+
//
|
707
|
+
function inputToRGB(color) {
|
708
|
+
var rgb = { r: 0, g: 0, b: 0 };
|
709
|
+
var a = 1;
|
710
|
+
var s = null;
|
711
|
+
var v = null;
|
712
|
+
var l = null;
|
713
|
+
var ok = false;
|
714
|
+
var format = false;
|
715
|
+
|
716
|
+
if (typeof color == "string") {
|
717
|
+
color = stringInputToObject(color);
|
718
|
+
}
|
719
|
+
|
720
|
+
if (typeof color == "object") {
|
721
|
+
if (
|
722
|
+
isValidCSSUnit(color.r) &&
|
723
|
+
isValidCSSUnit(color.g) &&
|
724
|
+
isValidCSSUnit(color.b)
|
725
|
+
) {
|
726
|
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
727
|
+
ok = true;
|
728
|
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
729
|
+
} else if (
|
730
|
+
isValidCSSUnit(color.h) &&
|
731
|
+
isValidCSSUnit(color.s) &&
|
732
|
+
isValidCSSUnit(color.v)
|
733
|
+
) {
|
734
|
+
s = convertToPercentage(color.s);
|
735
|
+
v = convertToPercentage(color.v);
|
736
|
+
rgb = hsvToRgb(color.h, s, v);
|
737
|
+
ok = true;
|
738
|
+
format = "hsv";
|
739
|
+
} else if (
|
740
|
+
isValidCSSUnit(color.h) &&
|
741
|
+
isValidCSSUnit(color.s) &&
|
742
|
+
isValidCSSUnit(color.l)
|
743
|
+
) {
|
744
|
+
s = convertToPercentage(color.s);
|
745
|
+
l = convertToPercentage(color.l);
|
746
|
+
rgb = hslToRgb(color.h, s, l);
|
747
|
+
ok = true;
|
748
|
+
format = "hsl";
|
749
|
+
}
|
750
|
+
|
751
|
+
if (color.hasOwnProperty("a")) {
|
752
|
+
a = color.a;
|
753
|
+
}
|
754
|
+
}
|
755
|
+
|
756
|
+
a = boundAlpha(a);
|
757
|
+
|
758
|
+
return {
|
759
|
+
ok: ok,
|
760
|
+
format: color.format || format,
|
761
|
+
r: Math.min(255, Math.max(rgb.r, 0)),
|
762
|
+
g: Math.min(255, Math.max(rgb.g, 0)),
|
763
|
+
b: Math.min(255, Math.max(rgb.b, 0)),
|
764
|
+
a: a,
|
765
|
+
};
|
766
|
+
}
|
767
|
+
|
768
|
+
// Conversion Functions
|
769
|
+
// --------------------
|
770
|
+
|
771
|
+
// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
|
772
|
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
773
|
+
|
774
|
+
// `rgbToRgb`
|
775
|
+
// Handle bounds / percentage checking to conform to CSS color spec
|
776
|
+
// <http://www.w3.org/TR/css3-color/>
|
777
|
+
// *Assumes:* r, g, b in [0, 255] or [0, 1]
|
778
|
+
// *Returns:* { r, g, b } in [0, 255]
|
779
|
+
function rgbToRgb(r, g, b) {
|
780
|
+
return {
|
781
|
+
r: bound01(r, 255) * 255,
|
782
|
+
g: bound01(g, 255) * 255,
|
783
|
+
b: bound01(b, 255) * 255,
|
784
|
+
};
|
785
|
+
}
|
786
|
+
|
787
|
+
// `rgbToHsl`
|
788
|
+
// Converts an RGB color value to HSL.
|
789
|
+
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
|
790
|
+
// *Returns:* { h, s, l } in [0,1]
|
791
|
+
function rgbToHsl(r, g, b) {
|
792
|
+
r = bound01(r, 255);
|
793
|
+
g = bound01(g, 255);
|
794
|
+
b = bound01(b, 255);
|
795
|
+
|
796
|
+
var max = Math.max(r, g, b),
|
797
|
+
min = Math.min(r, g, b);
|
798
|
+
var h,
|
799
|
+
s,
|
800
|
+
l = (max + min) / 2;
|
801
|
+
|
802
|
+
if (max == min) {
|
803
|
+
h = s = 0; // achromatic
|
804
|
+
} else {
|
805
|
+
var d = max - min;
|
806
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
807
|
+
switch (max) {
|
808
|
+
case r:
|
809
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
810
|
+
break;
|
811
|
+
case g:
|
812
|
+
h = (b - r) / d + 2;
|
813
|
+
break;
|
814
|
+
case b:
|
815
|
+
h = (r - g) / d + 4;
|
816
|
+
break;
|
817
|
+
}
|
818
|
+
|
819
|
+
h /= 6;
|
820
|
+
}
|
821
|
+
|
822
|
+
return { h: h, s: s, l: l };
|
823
|
+
}
|
824
|
+
|
825
|
+
// `hslToRgb`
|
826
|
+
// Converts an HSL color value to RGB.
|
827
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
828
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
829
|
+
function hslToRgb(h, s, l) {
|
830
|
+
var r, g, b;
|
831
|
+
|
832
|
+
h = bound01(h, 360);
|
833
|
+
s = bound01(s, 100);
|
834
|
+
l = bound01(l, 100);
|
835
|
+
|
836
|
+
function hue2rgb(p, q, t) {
|
837
|
+
if (t < 0) t += 1;
|
838
|
+
if (t > 1) t -= 1;
|
839
|
+
if (t < 1 / 6) return p + (q - p) * 6 * t;
|
840
|
+
if (t < 1 / 2) return q;
|
841
|
+
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
842
|
+
return p;
|
843
|
+
}
|
844
|
+
|
845
|
+
if (s === 0) {
|
846
|
+
r = g = b = l; // achromatic
|
847
|
+
} else {
|
848
|
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
849
|
+
var p = 2 * l - q;
|
850
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
851
|
+
g = hue2rgb(p, q, h);
|
852
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
853
|
+
}
|
854
|
+
|
855
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
856
|
+
}
|
857
|
+
|
858
|
+
// `rgbToHsv`
|
859
|
+
// Converts an RGB color value to HSV
|
860
|
+
// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
861
|
+
// *Returns:* { h, s, v } in [0,1]
|
862
|
+
function rgbToHsv(r, g, b) {
|
863
|
+
r = bound01(r, 255);
|
864
|
+
g = bound01(g, 255);
|
865
|
+
b = bound01(b, 255);
|
866
|
+
|
867
|
+
var max = Math.max(r, g, b),
|
868
|
+
min = Math.min(r, g, b);
|
869
|
+
var h,
|
870
|
+
s,
|
871
|
+
v = max;
|
872
|
+
|
873
|
+
var d = max - min;
|
874
|
+
s = max === 0 ? 0 : d / max;
|
875
|
+
|
876
|
+
if (max == min) {
|
877
|
+
h = 0; // achromatic
|
878
|
+
} else {
|
879
|
+
switch (max) {
|
880
|
+
case r:
|
881
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
882
|
+
break;
|
883
|
+
case g:
|
884
|
+
h = (b - r) / d + 2;
|
885
|
+
break;
|
886
|
+
case b:
|
887
|
+
h = (r - g) / d + 4;
|
888
|
+
break;
|
889
|
+
}
|
890
|
+
h /= 6;
|
891
|
+
}
|
892
|
+
return { h: h, s: s, v: v };
|
893
|
+
}
|
894
|
+
|
895
|
+
// `hsvToRgb`
|
896
|
+
// Converts an HSV color value to RGB.
|
897
|
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
898
|
+
// *Returns:* { r, g, b } in the set [0, 255]
|
899
|
+
function hsvToRgb(h, s, v) {
|
900
|
+
h = bound01(h, 360) * 6;
|
901
|
+
s = bound01(s, 100);
|
902
|
+
v = bound01(v, 100);
|
903
|
+
|
904
|
+
var i = Math.floor(h),
|
905
|
+
f = h - i,
|
906
|
+
p = v * (1 - s),
|
907
|
+
q = v * (1 - f * s),
|
908
|
+
t = v * (1 - (1 - f) * s),
|
909
|
+
mod = i % 6,
|
910
|
+
r = [v, q, p, p, t, v][mod],
|
911
|
+
g = [t, v, v, q, p, p][mod],
|
912
|
+
b = [p, p, t, v, v, q][mod];
|
913
|
+
|
914
|
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
915
|
+
}
|
916
|
+
|
917
|
+
// `rgbToHex`
|
918
|
+
// Converts an RGB color to hex
|
919
|
+
// Assumes r, g, and b are contained in the set [0, 255]
|
920
|
+
// Returns a 3 or 6 character hex
|
921
|
+
function rgbToHex(r, g, b, allow3Char) {
|
922
|
+
var hex = [
|
923
|
+
pad2(Math.round(r).toString(16)),
|
924
|
+
pad2(Math.round(g).toString(16)),
|
925
|
+
pad2(Math.round(b).toString(16)),
|
926
|
+
];
|
927
|
+
|
928
|
+
// Return a 3 character hex if possible
|
929
|
+
if (
|
930
|
+
allow3Char &&
|
931
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
932
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
933
|
+
hex[2].charAt(0) == hex[2].charAt(1)
|
934
|
+
) {
|
935
|
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
936
|
+
}
|
937
|
+
|
938
|
+
return hex.join("");
|
939
|
+
}
|
940
|
+
|
941
|
+
// `rgbaToHex`
|
942
|
+
// Converts an RGBA color plus alpha transparency to hex
|
943
|
+
// Assumes r, g, b are contained in the set [0, 255] and
|
944
|
+
// a in [0, 1]. Returns a 4 or 8 character rgba hex
|
945
|
+
function rgbaToHex(r, g, b, a, allow4Char) {
|
946
|
+
var hex = [
|
947
|
+
pad2(Math.round(r).toString(16)),
|
948
|
+
pad2(Math.round(g).toString(16)),
|
949
|
+
pad2(Math.round(b).toString(16)),
|
950
|
+
pad2(convertDecimalToHex(a)),
|
951
|
+
];
|
952
|
+
|
953
|
+
// Return a 4 character hex if possible
|
954
|
+
if (
|
955
|
+
allow4Char &&
|
956
|
+
hex[0].charAt(0) == hex[0].charAt(1) &&
|
957
|
+
hex[1].charAt(0) == hex[1].charAt(1) &&
|
958
|
+
hex[2].charAt(0) == hex[2].charAt(1) &&
|
959
|
+
hex[3].charAt(0) == hex[3].charAt(1)
|
960
|
+
) {
|
961
|
+
return (
|
962
|
+
hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0)
|
963
|
+
);
|
964
|
+
}
|
965
|
+
|
966
|
+
return hex.join("");
|
967
|
+
}
|
968
|
+
|
969
|
+
// `rgbaToArgbHex`
|
970
|
+
// Converts an RGBA color to an ARGB Hex8 string
|
971
|
+
// Rarely used, but required for "toFilter()"
|
972
|
+
function rgbaToArgbHex(r, g, b, a) {
|
973
|
+
var hex = [
|
974
|
+
pad2(convertDecimalToHex(a)),
|
975
|
+
pad2(Math.round(r).toString(16)),
|
976
|
+
pad2(Math.round(g).toString(16)),
|
977
|
+
pad2(Math.round(b).toString(16)),
|
978
|
+
];
|
979
|
+
|
980
|
+
return hex.join("");
|
981
|
+
}
|
982
|
+
|
983
|
+
// `equals`
|
984
|
+
// Can be called with any tinycolor input
|
985
|
+
tinycolor.equals = function (color1, color2) {
|
986
|
+
if (!color1 || !color2) return false;
|
987
|
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
988
|
+
};
|
989
|
+
|
990
|
+
tinycolor.random = function () {
|
991
|
+
return tinycolor.fromRatio({
|
992
|
+
r: Math.random(),
|
993
|
+
g: Math.random(),
|
994
|
+
b: Math.random(),
|
995
|
+
});
|
996
|
+
};
|
997
|
+
|
998
|
+
// Modification Functions
|
999
|
+
// ----------------------
|
1000
|
+
// Thanks to less.js for some of the basics here
|
1001
|
+
// <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
|
1002
|
+
|
1003
|
+
function desaturate(color, amount) {
|
1004
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1005
|
+
var hsl = tinycolor(color).toHsl();
|
1006
|
+
hsl.s -= amount / 100;
|
1007
|
+
hsl.s = clamp01(hsl.s);
|
1008
|
+
return tinycolor(hsl);
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
function saturate(color, amount) {
|
1012
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1013
|
+
var hsl = tinycolor(color).toHsl();
|
1014
|
+
hsl.s += amount / 100;
|
1015
|
+
hsl.s = clamp01(hsl.s);
|
1016
|
+
return tinycolor(hsl);
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
function greyscale(color) {
|
1020
|
+
return tinycolor(color).desaturate(100);
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
function lighten(color, amount) {
|
1024
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1025
|
+
var hsl = tinycolor(color).toHsl();
|
1026
|
+
hsl.l += amount / 100;
|
1027
|
+
hsl.l = clamp01(hsl.l);
|
1028
|
+
return tinycolor(hsl);
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
function brighten(color, amount) {
|
1032
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1033
|
+
var rgb = tinycolor(color).toRgb();
|
1034
|
+
rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));
|
1035
|
+
rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));
|
1036
|
+
rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));
|
1037
|
+
return tinycolor(rgb);
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
function darken(color, amount) {
|
1041
|
+
amount = amount === 0 ? 0 : amount || 10;
|
1042
|
+
var hsl = tinycolor(color).toHsl();
|
1043
|
+
hsl.l -= amount / 100;
|
1044
|
+
hsl.l = clamp01(hsl.l);
|
1045
|
+
return tinycolor(hsl);
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
1049
|
+
// Values outside of this range will be wrapped into this range.
|
1050
|
+
function spin(color, amount) {
|
1051
|
+
var hsl = tinycolor(color).toHsl();
|
1052
|
+
var hue = (hsl.h + amount) % 360;
|
1053
|
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
1054
|
+
return tinycolor(hsl);
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
// Combination Functions
|
1058
|
+
// ---------------------
|
1059
|
+
// Thanks to jQuery xColor for some of the ideas behind these
|
1060
|
+
// <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
|
1061
|
+
|
1062
|
+
function complement(color) {
|
1063
|
+
var hsl = tinycolor(color).toHsl();
|
1064
|
+
hsl.h = (hsl.h + 180) % 360;
|
1065
|
+
return tinycolor(hsl);
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
function polyad(color, number) {
|
1069
|
+
if (isNaN(number) || number <= 0) {
|
1070
|
+
throw new Error("Argument to polyad must be a positive number");
|
1071
|
+
}
|
1072
|
+
var hsl = tinycolor(color).toHsl();
|
1073
|
+
var result = [tinycolor(color)];
|
1074
|
+
var step = 360 / number;
|
1075
|
+
for (var i = 1; i < number; i++) {
|
1076
|
+
result.push(tinycolor({ h: (hsl.h + i * step) % 360, s: hsl.s, l: hsl.l }));
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
return result;
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
function splitcomplement(color) {
|
1083
|
+
var hsl = tinycolor(color).toHsl();
|
1084
|
+
var h = hsl.h;
|
1085
|
+
return [
|
1086
|
+
tinycolor(color),
|
1087
|
+
tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
|
1088
|
+
tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),
|
1089
|
+
];
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
function analogous(color, results, slices) {
|
1093
|
+
results = results || 6;
|
1094
|
+
slices = slices || 30;
|
1095
|
+
|
1096
|
+
var hsl = tinycolor(color).toHsl();
|
1097
|
+
var part = 360 / slices;
|
1098
|
+
var ret = [tinycolor(color)];
|
1099
|
+
|
1100
|
+
for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results; ) {
|
1101
|
+
hsl.h = (hsl.h + part) % 360;
|
1102
|
+
ret.push(tinycolor(hsl));
|
1103
|
+
}
|
1104
|
+
return ret;
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
function monochromatic(color, results) {
|
1108
|
+
results = results || 6;
|
1109
|
+
var hsv = tinycolor(color).toHsv();
|
1110
|
+
var h = hsv.h,
|
1111
|
+
s = hsv.s,
|
1112
|
+
v = hsv.v;
|
1113
|
+
var ret = [];
|
1114
|
+
var modification = 1 / results;
|
1115
|
+
|
1116
|
+
while (results--) {
|
1117
|
+
ret.push(tinycolor({ h: h, s: s, v: v }));
|
1118
|
+
v = (v + modification) % 1;
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
return ret;
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
// Utility Functions
|
1125
|
+
// ---------------------
|
1126
|
+
|
1127
|
+
tinycolor.mix = function (color1, color2, amount) {
|
1128
|
+
amount = amount === 0 ? 0 : amount || 50;
|
1129
|
+
|
1130
|
+
var rgb1 = tinycolor(color1).toRgb();
|
1131
|
+
var rgb2 = tinycolor(color2).toRgb();
|
1132
|
+
|
1133
|
+
var p = amount / 100;
|
1134
|
+
|
1135
|
+
var rgba = {
|
1136
|
+
r: (rgb2.r - rgb1.r) * p + rgb1.r,
|
1137
|
+
g: (rgb2.g - rgb1.g) * p + rgb1.g,
|
1138
|
+
b: (rgb2.b - rgb1.b) * p + rgb1.b,
|
1139
|
+
a: (rgb2.a - rgb1.a) * p + rgb1.a,
|
1140
|
+
};
|
1141
|
+
|
1142
|
+
return tinycolor(rgba);
|
1143
|
+
};
|
1144
|
+
|
1145
|
+
// Readability Functions
|
1146
|
+
// ---------------------
|
1147
|
+
// <http://www.w3.org/TR/2008/REC-WCAG20-20081211/#contrast-ratiodef (WCAG Version 2)
|
1148
|
+
|
1149
|
+
// `contrast`
|
1150
|
+
// Analyze the 2 colors and returns the color contrast defined by (WCAG Version 2)
|
1151
|
+
tinycolor.readability = function (color1, color2) {
|
1152
|
+
var c1 = tinycolor(color1);
|
1153
|
+
var c2 = tinycolor(color2);
|
1154
|
+
return (
|
1155
|
+
(Math.max(c1.getLuminance(), c2.getLuminance()) + 0.05) /
|
1156
|
+
(Math.min(c1.getLuminance(), c2.getLuminance()) + 0.05)
|
1157
|
+
);
|
1158
|
+
};
|
1159
|
+
|
1160
|
+
// `isReadable`
|
1161
|
+
// Ensure that foreground and background color combinations meet WCAG2 guidelines.
|
1162
|
+
// The third argument is an optional Object.
|
1163
|
+
// the 'level' property states 'AA' or 'AAA' - if missing or invalid, it defaults to 'AA';
|
1164
|
+
// the 'size' property states 'large' or 'small' - if missing or invalid, it defaults to 'small'.
|
1165
|
+
// If the entire object is absent, isReadable defaults to {level:"AA",size:"small"}.
|
1166
|
+
|
1167
|
+
// *Example*
|
1168
|
+
// tinycolor.isReadable("#000", "#111") => false
|
1169
|
+
// tinycolor.isReadable("#000", "#111",{level:"AA",size:"large"}) => false
|
1170
|
+
tinycolor.isReadable = function (color1, color2, wcag2) {
|
1171
|
+
var readability = tinycolor.readability(color1, color2);
|
1172
|
+
var wcag2Parms, out;
|
1173
|
+
|
1174
|
+
out = false;
|
1175
|
+
|
1176
|
+
wcag2Parms = validateWCAG2Parms(wcag2);
|
1177
|
+
switch (wcag2Parms.level + wcag2Parms.size) {
|
1178
|
+
case "AAsmall":
|
1179
|
+
case "AAAlarge":
|
1180
|
+
out = readability >= 4.5;
|
1181
|
+
break;
|
1182
|
+
case "AAlarge":
|
1183
|
+
out = readability >= 3;
|
1184
|
+
break;
|
1185
|
+
case "AAAsmall":
|
1186
|
+
out = readability >= 7;
|
1187
|
+
break;
|
1188
|
+
}
|
1189
|
+
return out;
|
1190
|
+
};
|
1191
|
+
|
1192
|
+
// `mostReadable`
|
1193
|
+
// Given a base color and a list of possible foreground or background
|
1194
|
+
// colors for that base, returns the most readable color.
|
1195
|
+
// Optionally returns Black or White if the most readable color is unreadable.
|
1196
|
+
// *Example*
|
1197
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:false}).toHexString(); // "#112255"
|
1198
|
+
// tinycolor.mostReadable(tinycolor.mostReadable("#123", ["#124", "#125"],{includeFallbackColors:true}).toHexString(); // "#ffffff"
|
1199
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"large"}).toHexString(); // "#faf3f3"
|
1200
|
+
// tinycolor.mostReadable("#a8015a", ["#faf3f3"],{includeFallbackColors:true,level:"AAA",size:"small"}).toHexString(); // "#ffffff"
|
1201
|
+
tinycolor.mostReadable = function (baseColor, colorList, args) {
|
1202
|
+
var bestColor = null;
|
1203
|
+
var bestScore = 0;
|
1204
|
+
var readability;
|
1205
|
+
var includeFallbackColors, level, size;
|
1206
|
+
args = args || {};
|
1207
|
+
includeFallbackColors = args.includeFallbackColors;
|
1208
|
+
level = args.level;
|
1209
|
+
size = args.size;
|
1210
|
+
|
1211
|
+
for (var i = 0; i < colorList.length; i++) {
|
1212
|
+
readability = tinycolor.readability(baseColor, colorList[i]);
|
1213
|
+
if (readability > bestScore) {
|
1214
|
+
bestScore = readability;
|
1215
|
+
bestColor = tinycolor(colorList[i]);
|
1216
|
+
}
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
if (
|
1220
|
+
tinycolor.isReadable(baseColor, bestColor, {
|
1221
|
+
level: level,
|
1222
|
+
size: size,
|
1223
|
+
}) ||
|
1224
|
+
!includeFallbackColors
|
1225
|
+
) {
|
1226
|
+
return bestColor;
|
1227
|
+
} else {
|
1228
|
+
args.includeFallbackColors = false;
|
1229
|
+
return tinycolor.mostReadable(baseColor, ["#fff", "#000"], args);
|
1230
|
+
}
|
1231
|
+
};
|
1232
|
+
|
1233
|
+
// Big List of Colors
|
1234
|
+
// ------------------
|
1235
|
+
// <https://www.w3.org/TR/css-color-4/#named-colors>
|
1236
|
+
var names = (tinycolor.names = {
|
1237
|
+
aliceblue: "f0f8ff",
|
1238
|
+
antiquewhite: "faebd7",
|
1239
|
+
aqua: "0ff",
|
1240
|
+
aquamarine: "7fffd4",
|
1241
|
+
azure: "f0ffff",
|
1242
|
+
beige: "f5f5dc",
|
1243
|
+
bisque: "ffe4c4",
|
1244
|
+
black: "000",
|
1245
|
+
blanchedalmond: "ffebcd",
|
1246
|
+
blue: "00f",
|
1247
|
+
blueviolet: "8a2be2",
|
1248
|
+
brown: "a52a2a",
|
1249
|
+
burlywood: "deb887",
|
1250
|
+
burntsienna: "ea7e5d",
|
1251
|
+
cadetblue: "5f9ea0",
|
1252
|
+
chartreuse: "7fff00",
|
1253
|
+
chocolate: "d2691e",
|
1254
|
+
coral: "ff7f50",
|
1255
|
+
cornflowerblue: "6495ed",
|
1256
|
+
cornsilk: "fff8dc",
|
1257
|
+
crimson: "dc143c",
|
1258
|
+
cyan: "0ff",
|
1259
|
+
darkblue: "00008b",
|
1260
|
+
darkcyan: "008b8b",
|
1261
|
+
darkgoldenrod: "b8860b",
|
1262
|
+
darkgray: "a9a9a9",
|
1263
|
+
darkgreen: "006400",
|
1264
|
+
darkgrey: "a9a9a9",
|
1265
|
+
darkkhaki: "bdb76b",
|
1266
|
+
darkmagenta: "8b008b",
|
1267
|
+
darkolivegreen: "556b2f",
|
1268
|
+
darkorange: "ff8c00",
|
1269
|
+
darkorchid: "9932cc",
|
1270
|
+
darkred: "8b0000",
|
1271
|
+
darksalmon: "e9967a",
|
1272
|
+
darkseagreen: "8fbc8f",
|
1273
|
+
darkslateblue: "483d8b",
|
1274
|
+
darkslategray: "2f4f4f",
|
1275
|
+
darkslategrey: "2f4f4f",
|
1276
|
+
darkturquoise: "00ced1",
|
1277
|
+
darkviolet: "9400d3",
|
1278
|
+
deeppink: "ff1493",
|
1279
|
+
deepskyblue: "00bfff",
|
1280
|
+
dimgray: "696969",
|
1281
|
+
dimgrey: "696969",
|
1282
|
+
dodgerblue: "1e90ff",
|
1283
|
+
firebrick: "b22222",
|
1284
|
+
floralwhite: "fffaf0",
|
1285
|
+
forestgreen: "228b22",
|
1286
|
+
fuchsia: "f0f",
|
1287
|
+
gainsboro: "dcdcdc",
|
1288
|
+
ghostwhite: "f8f8ff",
|
1289
|
+
gold: "ffd700",
|
1290
|
+
goldenrod: "daa520",
|
1291
|
+
gray: "808080",
|
1292
|
+
green: "008000",
|
1293
|
+
greenyellow: "adff2f",
|
1294
|
+
grey: "808080",
|
1295
|
+
honeydew: "f0fff0",
|
1296
|
+
hotpink: "ff69b4",
|
1297
|
+
indianred: "cd5c5c",
|
1298
|
+
indigo: "4b0082",
|
1299
|
+
ivory: "fffff0",
|
1300
|
+
khaki: "f0e68c",
|
1301
|
+
lavender: "e6e6fa",
|
1302
|
+
lavenderblush: "fff0f5",
|
1303
|
+
lawngreen: "7cfc00",
|
1304
|
+
lemonchiffon: "fffacd",
|
1305
|
+
lightblue: "add8e6",
|
1306
|
+
lightcoral: "f08080",
|
1307
|
+
lightcyan: "e0ffff",
|
1308
|
+
lightgoldenrodyellow: "fafad2",
|
1309
|
+
lightgray: "d3d3d3",
|
1310
|
+
lightgreen: "90ee90",
|
1311
|
+
lightgrey: "d3d3d3",
|
1312
|
+
lightpink: "ffb6c1",
|
1313
|
+
lightsalmon: "ffa07a",
|
1314
|
+
lightseagreen: "20b2aa",
|
1315
|
+
lightskyblue: "87cefa",
|
1316
|
+
lightslategray: "789",
|
1317
|
+
lightslategrey: "789",
|
1318
|
+
lightsteelblue: "b0c4de",
|
1319
|
+
lightyellow: "ffffe0",
|
1320
|
+
lime: "0f0",
|
1321
|
+
limegreen: "32cd32",
|
1322
|
+
linen: "faf0e6",
|
1323
|
+
magenta: "f0f",
|
1324
|
+
maroon: "800000",
|
1325
|
+
mediumaquamarine: "66cdaa",
|
1326
|
+
mediumblue: "0000cd",
|
1327
|
+
mediumorchid: "ba55d3",
|
1328
|
+
mediumpurple: "9370db",
|
1329
|
+
mediumseagreen: "3cb371",
|
1330
|
+
mediumslateblue: "7b68ee",
|
1331
|
+
mediumspringgreen: "00fa9a",
|
1332
|
+
mediumturquoise: "48d1cc",
|
1333
|
+
mediumvioletred: "c71585",
|
1334
|
+
midnightblue: "191970",
|
1335
|
+
mintcream: "f5fffa",
|
1336
|
+
mistyrose: "ffe4e1",
|
1337
|
+
moccasin: "ffe4b5",
|
1338
|
+
navajowhite: "ffdead",
|
1339
|
+
navy: "000080",
|
1340
|
+
oldlace: "fdf5e6",
|
1341
|
+
olive: "808000",
|
1342
|
+
olivedrab: "6b8e23",
|
1343
|
+
orange: "ffa500",
|
1344
|
+
orangered: "ff4500",
|
1345
|
+
orchid: "da70d6",
|
1346
|
+
palegoldenrod: "eee8aa",
|
1347
|
+
palegreen: "98fb98",
|
1348
|
+
paleturquoise: "afeeee",
|
1349
|
+
palevioletred: "db7093",
|
1350
|
+
papayawhip: "ffefd5",
|
1351
|
+
peachpuff: "ffdab9",
|
1352
|
+
peru: "cd853f",
|
1353
|
+
pink: "ffc0cb",
|
1354
|
+
plum: "dda0dd",
|
1355
|
+
powderblue: "b0e0e6",
|
1356
|
+
purple: "800080",
|
1357
|
+
rebeccapurple: "663399",
|
1358
|
+
red: "f00",
|
1359
|
+
rosybrown: "bc8f8f",
|
1360
|
+
royalblue: "4169e1",
|
1361
|
+
saddlebrown: "8b4513",
|
1362
|
+
salmon: "fa8072",
|
1363
|
+
sandybrown: "f4a460",
|
1364
|
+
seagreen: "2e8b57",
|
1365
|
+
seashell: "fff5ee",
|
1366
|
+
sienna: "a0522d",
|
1367
|
+
silver: "c0c0c0",
|
1368
|
+
skyblue: "87ceeb",
|
1369
|
+
slateblue: "6a5acd",
|
1370
|
+
slategray: "708090",
|
1371
|
+
slategrey: "708090",
|
1372
|
+
snow: "fffafa",
|
1373
|
+
springgreen: "00ff7f",
|
1374
|
+
steelblue: "4682b4",
|
1375
|
+
tan: "d2b48c",
|
1376
|
+
teal: "008080",
|
1377
|
+
thistle: "d8bfd8",
|
1378
|
+
tomato: "ff6347",
|
1379
|
+
turquoise: "40e0d0",
|
1380
|
+
violet: "ee82ee",
|
1381
|
+
wheat: "f5deb3",
|
1382
|
+
white: "fff",
|
1383
|
+
whitesmoke: "f5f5f5",
|
1384
|
+
yellow: "ff0",
|
1385
|
+
yellowgreen: "9acd32",
|
1386
|
+
});
|
1387
|
+
|
1388
|
+
// Make it easy to access colors via `hexNames[hex]`
|
1389
|
+
var hexNames = (tinycolor.hexNames = flip(names));
|
1390
|
+
|
1391
|
+
// Utilities
|
1392
|
+
// ---------
|
1393
|
+
|
1394
|
+
// `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
|
1395
|
+
function flip(o) {
|
1396
|
+
var flipped = {};
|
1397
|
+
for (var i in o) {
|
1398
|
+
if (o.hasOwnProperty(i)) {
|
1399
|
+
flipped[o[i]] = i;
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
return flipped;
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
// Return a valid alpha value [0,1] with all invalid values being set to 1
|
1406
|
+
function boundAlpha(a) {
|
1407
|
+
a = parseFloat(a);
|
1408
|
+
|
1409
|
+
if (isNaN(a) || a < 0 || a > 1) {
|
1410
|
+
a = 1;
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
return a;
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
// Take input from [0, n] and return it as [0, 1]
|
1417
|
+
function bound01(n, max) {
|
1418
|
+
if (isOnePointZero(n)) n = "100%";
|
1419
|
+
|
1420
|
+
var processPercent = isPercentage(n);
|
1421
|
+
n = Math.min(max, Math.max(0, parseFloat(n)));
|
1422
|
+
|
1423
|
+
// Automatically convert percentage into number
|
1424
|
+
if (processPercent) {
|
1425
|
+
n = parseInt(n * max, 10) / 100;
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
// Handle floating point rounding errors
|
1429
|
+
if (Math.abs(n - max) < 0.000001) {
|
1430
|
+
return 1;
|
1431
|
+
}
|
1432
|
+
|
1433
|
+
// Convert into [0, 1] range if it isn't already
|
1434
|
+
return (n % max) / parseFloat(max);
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
// Force a number between 0 and 1
|
1438
|
+
function clamp01(val) {
|
1439
|
+
return Math.min(1, Math.max(0, val));
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
// Parse a base-16 hex value into a base-10 integer
|
1443
|
+
function parseIntFromHex(val) {
|
1444
|
+
return parseInt(val, 16);
|
1445
|
+
}
|
1446
|
+
|
1447
|
+
// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
1448
|
+
// <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
1449
|
+
function isOnePointZero(n) {
|
1450
|
+
return typeof n == "string" && n.indexOf(".") != -1 && parseFloat(n) === 1;
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
// Check to see if string passed in is a percentage
|
1454
|
+
function isPercentage(n) {
|
1455
|
+
return typeof n === "string" && n.indexOf("%") != -1;
|
1456
|
+
}
|
1457
|
+
|
1458
|
+
// Force a hex value to have 2 characters
|
1459
|
+
function pad2(c) {
|
1460
|
+
return c.length == 1 ? "0" + c : "" + c;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
// Replace a decimal with it's percentage value
|
1464
|
+
function convertToPercentage(n) {
|
1465
|
+
if (n <= 1) {
|
1466
|
+
n = n * 100 + "%";
|
1467
|
+
}
|
1468
|
+
|
1469
|
+
return n;
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
// Converts a decimal to a hex value
|
1473
|
+
function convertDecimalToHex(d) {
|
1474
|
+
return Math.round(parseFloat(d) * 255).toString(16);
|
1475
|
+
}
|
1476
|
+
// Converts a hex value to a decimal
|
1477
|
+
function convertHexToDecimal(h) {
|
1478
|
+
return parseIntFromHex(h) / 255;
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
var matchers = (function () {
|
1482
|
+
// <http://www.w3.org/TR/css3-values/#integers>
|
1483
|
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
1484
|
+
|
1485
|
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
1486
|
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
1487
|
+
|
1488
|
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
1489
|
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
1490
|
+
|
1491
|
+
// Actual matching.
|
1492
|
+
// Parentheses and commas are optional, but not required.
|
1493
|
+
// Whitespace can take the place of commas or opening paren
|
1494
|
+
var PERMISSIVE_MATCH3 =
|
1495
|
+
"[\\s|\\(]+(" +
|
1496
|
+
CSS_UNIT +
|
1497
|
+
")[,|\\s]+(" +
|
1498
|
+
CSS_UNIT +
|
1499
|
+
")[,|\\s]+(" +
|
1500
|
+
CSS_UNIT +
|
1501
|
+
")\\s*\\)?";
|
1502
|
+
var PERMISSIVE_MATCH4 =
|
1503
|
+
"[\\s|\\(]+(" +
|
1504
|
+
CSS_UNIT +
|
1505
|
+
")[,|\\s]+(" +
|
1506
|
+
CSS_UNIT +
|
1507
|
+
")[,|\\s]+(" +
|
1508
|
+
CSS_UNIT +
|
1509
|
+
")[,|\\s]+(" +
|
1510
|
+
CSS_UNIT +
|
1511
|
+
")\\s*\\)?";
|
1512
|
+
|
1513
|
+
return {
|
1514
|
+
CSS_UNIT: new RegExp(CSS_UNIT),
|
1515
|
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
1516
|
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
1517
|
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
1518
|
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
1519
|
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
1520
|
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
1521
|
+
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1522
|
+
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1523
|
+
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
1524
|
+
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
1525
|
+
};
|
1526
|
+
})();
|
1527
|
+
|
1528
|
+
// `isValidCSSUnit`
|
1529
|
+
// Take in a single string / number and check to see if it looks like a CSS unit
|
1530
|
+
// (see `matchers` above for definition).
|
1531
|
+
function isValidCSSUnit(color) {
|
1532
|
+
return !!matchers.CSS_UNIT.exec(color);
|
1533
|
+
}
|
1534
|
+
|
1535
|
+
// `stringInputToObject`
|
1536
|
+
// Permissive string parsing. Take in a number of formats, and output an object
|
1537
|
+
// based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
|
1538
|
+
function stringInputToObject(color) {
|
1539
|
+
color = color.replace(trimLeft, "").replace(trimRight, "").toLowerCase();
|
1540
|
+
var named = false;
|
1541
|
+
if (names[color]) {
|
1542
|
+
color = names[color];
|
1543
|
+
named = true;
|
1544
|
+
} else if (color == "transparent") {
|
1545
|
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
// Try to match string input using regular expressions.
|
1549
|
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
1550
|
+
// Just return an object and let the conversion functions handle that.
|
1551
|
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
1552
|
+
var match;
|
1553
|
+
if ((match = matchers.rgb.exec(color))) {
|
1554
|
+
return { r: match[1], g: match[2], b: match[3] };
|
1555
|
+
}
|
1556
|
+
if ((match = matchers.rgba.exec(color))) {
|
1557
|
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
1558
|
+
}
|
1559
|
+
if ((match = matchers.hsl.exec(color))) {
|
1560
|
+
return { h: match[1], s: match[2], l: match[3] };
|
1561
|
+
}
|
1562
|
+
if ((match = matchers.hsla.exec(color))) {
|
1563
|
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
1564
|
+
}
|
1565
|
+
if ((match = matchers.hsv.exec(color))) {
|
1566
|
+
return { h: match[1], s: match[2], v: match[3] };
|
1567
|
+
}
|
1568
|
+
if ((match = matchers.hsva.exec(color))) {
|
1569
|
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
1570
|
+
}
|
1571
|
+
if ((match = matchers.hex8.exec(color))) {
|
1572
|
+
return {
|
1573
|
+
r: parseIntFromHex(match[1]),
|
1574
|
+
g: parseIntFromHex(match[2]),
|
1575
|
+
b: parseIntFromHex(match[3]),
|
1576
|
+
a: convertHexToDecimal(match[4]),
|
1577
|
+
format: named ? "name" : "hex8",
|
1578
|
+
};
|
1579
|
+
}
|
1580
|
+
if ((match = matchers.hex6.exec(color))) {
|
1581
|
+
return {
|
1582
|
+
r: parseIntFromHex(match[1]),
|
1583
|
+
g: parseIntFromHex(match[2]),
|
1584
|
+
b: parseIntFromHex(match[3]),
|
1585
|
+
format: named ? "name" : "hex",
|
1586
|
+
};
|
1587
|
+
}
|
1588
|
+
if ((match = matchers.hex4.exec(color))) {
|
1589
|
+
return {
|
1590
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1591
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1592
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1593
|
+
a: convertHexToDecimal(match[4] + "" + match[4]),
|
1594
|
+
format: named ? "name" : "hex8",
|
1595
|
+
};
|
1596
|
+
}
|
1597
|
+
if ((match = matchers.hex3.exec(color))) {
|
1598
|
+
return {
|
1599
|
+
r: parseIntFromHex(match[1] + "" + match[1]),
|
1600
|
+
g: parseIntFromHex(match[2] + "" + match[2]),
|
1601
|
+
b: parseIntFromHex(match[3] + "" + match[3]),
|
1602
|
+
format: named ? "name" : "hex",
|
1603
|
+
};
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
return false;
|
1607
|
+
}
|
1608
|
+
|
1609
|
+
function validateWCAG2Parms(parms) {
|
1610
|
+
// return valid WCAG2 parms for isReadable.
|
1611
|
+
// If input parms are invalid, return {"level":"AA", "size":"small"}
|
1612
|
+
var level, size;
|
1613
|
+
parms = parms || { level: "AA", size: "small" };
|
1614
|
+
level = (parms.level || "AA").toUpperCase();
|
1615
|
+
size = (parms.size || "small").toLowerCase();
|
1616
|
+
if (level !== "AA" && level !== "AAA") {
|
1617
|
+
level = "AA";
|
1618
|
+
}
|
1619
|
+
if (size !== "small" && size !== "large") {
|
1620
|
+
size = "small";
|
1621
|
+
}
|
1622
|
+
return { level: level, size: size };
|
1623
|
+
}
|
1624
|
+
|
1625
|
+
return tinycolor;
|
1626
|
+
|
1627
|
+
}));
|
1628
|
+
});
|
1629
|
+
|
1630
|
+
const formatValue$2 = (tinyColor) => {
|
1631
|
+
if (!tinyColor) {
|
1632
|
+
return '';
|
1633
|
+
}
|
1634
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
1635
|
+
return `${r} ${g} ${b} / ${a}`;
|
1636
|
+
};
|
1637
|
+
const OverridableColorTokens = [
|
1638
|
+
{
|
1639
|
+
name: 'bg-action',
|
1640
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1641
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1642
|
+
if (!overrideBaseColor) {
|
1643
|
+
return '';
|
1644
|
+
}
|
1645
|
+
const baseColor = overrideBaseColor
|
1646
|
+
? tinycolor(overrideBaseColor)
|
1647
|
+
: undefined;
|
1648
|
+
let value = baseColor
|
1649
|
+
? baseColor.clone()
|
1650
|
+
: undefined;
|
1651
|
+
return formatValue$2(value);
|
1652
|
+
},
|
1653
|
+
},
|
1654
|
+
{
|
1655
|
+
name: 'dark-bg-action',
|
1656
|
+
},
|
1657
|
+
{
|
1658
|
+
name: 'bg-action-hover',
|
1659
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1660
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1661
|
+
if (!overrideBaseColor) {
|
1662
|
+
return '';
|
1663
|
+
}
|
1664
|
+
const baseColor = overrideBaseColor
|
1665
|
+
? tinycolor(overrideBaseColor)
|
1666
|
+
: undefined;
|
1667
|
+
let value = baseColor
|
1668
|
+
? baseColor.clone()
|
1669
|
+
: undefined;
|
1670
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1671
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1672
|
+
}
|
1673
|
+
else {
|
1674
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1675
|
+
}
|
1676
|
+
return formatValue$2(value);
|
1677
|
+
},
|
1678
|
+
},
|
1679
|
+
{
|
1680
|
+
name: 'dark-bg-action-hover',
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
name: 'bg-action-focus',
|
1684
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1685
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1686
|
+
if (!overrideBaseColor) {
|
1687
|
+
return '';
|
1688
|
+
}
|
1689
|
+
const baseColor = overrideBaseColor
|
1690
|
+
? tinycolor(overrideBaseColor)
|
1691
|
+
: undefined;
|
1692
|
+
let value = baseColor
|
1693
|
+
? baseColor.clone()
|
1694
|
+
: undefined;
|
1695
|
+
return formatValue$2(value);
|
1696
|
+
},
|
1697
|
+
},
|
1698
|
+
{
|
1699
|
+
name: 'dark-bg-action-focus',
|
1700
|
+
},
|
1701
|
+
{
|
1702
|
+
name: 'bg-action-active',
|
1703
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1704
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1705
|
+
if (!overrideBaseColor) {
|
1706
|
+
return '';
|
1707
|
+
}
|
1708
|
+
const baseColor = overrideBaseColor
|
1709
|
+
? tinycolor(overrideBaseColor)
|
1710
|
+
: undefined;
|
1711
|
+
let value = baseColor
|
1712
|
+
? baseColor.clone()
|
1713
|
+
: undefined;
|
1714
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1715
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
1716
|
+
}
|
1717
|
+
else {
|
1718
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
1719
|
+
}
|
1720
|
+
return formatValue$2(value);
|
1721
|
+
},
|
1722
|
+
},
|
1723
|
+
{
|
1724
|
+
name: 'dark-bg-action-active',
|
1725
|
+
},
|
1726
|
+
{
|
1727
|
+
name: 'bg-action-secondary-hover',
|
1728
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1729
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1730
|
+
if (!overrideBaseColor) {
|
1731
|
+
return '';
|
1732
|
+
}
|
1733
|
+
const baseColor = overrideBaseColor
|
1734
|
+
? tinycolor(overrideBaseColor)
|
1735
|
+
: undefined;
|
1736
|
+
let value = baseColor
|
1737
|
+
? baseColor.clone()
|
1738
|
+
: undefined;
|
1739
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1740
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1741
|
+
}
|
1742
|
+
else {
|
1743
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1744
|
+
}
|
1745
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1746
|
+
return formatValue$2(value);
|
1747
|
+
},
|
1748
|
+
},
|
1749
|
+
{
|
1750
|
+
name: 'dark-bg-action-secondary-hover',
|
1751
|
+
},
|
1752
|
+
{
|
1753
|
+
name: 'bg-action-secondary-active',
|
1754
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1755
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1756
|
+
if (!overrideBaseColor) {
|
1757
|
+
return '';
|
1758
|
+
}
|
1759
|
+
const baseColor = overrideBaseColor
|
1760
|
+
? tinycolor(overrideBaseColor)
|
1761
|
+
: undefined;
|
1762
|
+
let value = baseColor
|
1763
|
+
? baseColor.clone()
|
1764
|
+
: undefined;
|
1765
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1766
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
1767
|
+
}
|
1768
|
+
else {
|
1769
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-20);
|
1770
|
+
}
|
1771
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1772
|
+
return formatValue$2(value);
|
1773
|
+
},
|
1774
|
+
},
|
1775
|
+
{
|
1776
|
+
name: 'dark-bg-action-secondary-active',
|
1777
|
+
},
|
1778
|
+
{
|
1779
|
+
name: 'bg-divider',
|
1780
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1781
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1782
|
+
if (!overrideBaseColor) {
|
1783
|
+
return '';
|
1784
|
+
}
|
1785
|
+
const baseColor = overrideBaseColor
|
1786
|
+
? tinycolor(overrideBaseColor)
|
1787
|
+
: undefined;
|
1788
|
+
let value = baseColor
|
1789
|
+
? baseColor.clone()
|
1790
|
+
: undefined;
|
1791
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
1792
|
+
return formatValue$2(value);
|
1793
|
+
},
|
1794
|
+
},
|
1795
|
+
{
|
1796
|
+
name: 'dark-bg-divider',
|
1797
|
+
},
|
1798
|
+
{
|
1799
|
+
name: 'bg-keypad-btn-active',
|
1800
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1801
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1802
|
+
if (!overrideBaseColor) {
|
1803
|
+
return '';
|
1804
|
+
}
|
1805
|
+
const baseColor = overrideBaseColor
|
1806
|
+
? tinycolor(overrideBaseColor)
|
1807
|
+
: undefined;
|
1808
|
+
let value = baseColor
|
1809
|
+
? baseColor.clone()
|
1810
|
+
: undefined;
|
1811
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.3);
|
1812
|
+
return formatValue$2(value);
|
1813
|
+
},
|
1814
|
+
},
|
1815
|
+
{
|
1816
|
+
name: 'dark-bg-keypad-btn-active',
|
1817
|
+
},
|
1818
|
+
{
|
1819
|
+
name: 'bg-selected',
|
1820
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1821
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1822
|
+
if (!overrideBaseColor) {
|
1823
|
+
return '';
|
1824
|
+
}
|
1825
|
+
const baseColor = overrideBaseColor
|
1826
|
+
? tinycolor(overrideBaseColor)
|
1827
|
+
: undefined;
|
1828
|
+
let value = baseColor
|
1829
|
+
? baseColor.clone()
|
1830
|
+
: undefined;
|
1831
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1832
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1833
|
+
}
|
1834
|
+
else {
|
1835
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1836
|
+
}
|
1837
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
1838
|
+
return formatValue$2(value);
|
1839
|
+
},
|
1840
|
+
},
|
1841
|
+
{
|
1842
|
+
name: 'dark-bg-selected',
|
1843
|
+
},
|
1844
|
+
{
|
1845
|
+
name: 'bg-sidebar',
|
1846
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1847
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1848
|
+
if (!overrideBaseColor) {
|
1849
|
+
return '';
|
1850
|
+
}
|
1851
|
+
const baseColor = overrideBaseColor
|
1852
|
+
? tinycolor(overrideBaseColor)
|
1853
|
+
: undefined;
|
1854
|
+
let value = baseColor
|
1855
|
+
? baseColor.clone()
|
1856
|
+
: undefined;
|
1857
|
+
return formatValue$2(value);
|
1858
|
+
},
|
1859
|
+
},
|
1860
|
+
{
|
1861
|
+
name: 'dark-bg-sidebar',
|
1862
|
+
},
|
1863
|
+
{
|
1864
|
+
name: 'bg-sidebar-item-hover',
|
1865
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1866
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
1867
|
+
if (!overrideBaseColor) {
|
1868
|
+
return '';
|
1869
|
+
}
|
1870
|
+
const baseColor = overrideBaseColor
|
1871
|
+
? tinycolor(overrideBaseColor)
|
1872
|
+
: undefined;
|
1873
|
+
let value = baseColor
|
1874
|
+
? baseColor.clone()
|
1875
|
+
: undefined;
|
1876
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1877
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
1878
|
+
}
|
1879
|
+
else {
|
1880
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
1881
|
+
}
|
1882
|
+
return formatValue$2(value);
|
1883
|
+
},
|
1884
|
+
},
|
1885
|
+
{
|
1886
|
+
name: 'dark-bg-sidebar-item-hover',
|
1887
|
+
},
|
1888
|
+
{
|
1889
|
+
name: 'bg-sidebar-item-selected',
|
1890
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1891
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1892
|
+
if (!overrideBaseColor) {
|
1893
|
+
return '';
|
1894
|
+
}
|
1895
|
+
const baseColor = overrideBaseColor
|
1896
|
+
? tinycolor(overrideBaseColor)
|
1897
|
+
: undefined;
|
1898
|
+
let value = baseColor
|
1899
|
+
? baseColor.clone()
|
1900
|
+
: undefined;
|
1901
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
1902
|
+
return formatValue$2(value);
|
1903
|
+
},
|
1904
|
+
},
|
1905
|
+
{
|
1906
|
+
name: 'dark-bg-sidebar-item-selected',
|
1907
|
+
},
|
1908
|
+
{
|
1909
|
+
name: 'bg-table-selected-row',
|
1910
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1911
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1912
|
+
if (!overrideBaseColor) {
|
1913
|
+
return '';
|
1914
|
+
}
|
1915
|
+
const baseColor = overrideBaseColor
|
1916
|
+
? tinycolor(overrideBaseColor)
|
1917
|
+
: undefined;
|
1918
|
+
let value = baseColor
|
1919
|
+
? baseColor.clone()
|
1920
|
+
: undefined;
|
1921
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.2);
|
1922
|
+
return formatValue$2(value);
|
1923
|
+
},
|
1924
|
+
},
|
1925
|
+
{
|
1926
|
+
name: 'dark-bg-table-selected-row',
|
1927
|
+
},
|
1928
|
+
{
|
1929
|
+
name: 'bg-toggle-switch-selected-disabled',
|
1930
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1931
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1932
|
+
if (!overrideBaseColor) {
|
1933
|
+
return '';
|
1934
|
+
}
|
1935
|
+
const baseColor = overrideBaseColor
|
1936
|
+
? tinycolor(overrideBaseColor)
|
1937
|
+
: undefined;
|
1938
|
+
let value = baseColor
|
1939
|
+
? baseColor.clone()
|
1940
|
+
: undefined;
|
1941
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.5);
|
1942
|
+
return formatValue$2(value);
|
1943
|
+
},
|
1944
|
+
},
|
1945
|
+
{
|
1946
|
+
name: 'dark-bg-toggle-switch-selected-disabled',
|
1947
|
+
},
|
1948
|
+
{
|
1949
|
+
name: 'bg-date-picker-range',
|
1950
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1951
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1952
|
+
if (!overrideBaseColor) {
|
1953
|
+
return '';
|
1954
|
+
}
|
1955
|
+
const baseColor = overrideBaseColor
|
1956
|
+
? tinycolor(overrideBaseColor)
|
1957
|
+
: undefined;
|
1958
|
+
let value = baseColor
|
1959
|
+
? baseColor.clone()
|
1960
|
+
: undefined;
|
1961
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
1962
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
1963
|
+
}
|
1964
|
+
else {
|
1965
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
1966
|
+
}
|
1967
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.15);
|
1968
|
+
return formatValue$2(value);
|
1969
|
+
},
|
1970
|
+
},
|
1971
|
+
{
|
1972
|
+
name: 'dark-bg-date-picker-range',
|
1973
|
+
},
|
1974
|
+
{
|
1975
|
+
name: 'text-link',
|
1976
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1977
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1978
|
+
if (!overrideBaseColor) {
|
1979
|
+
return '';
|
1980
|
+
}
|
1981
|
+
const baseColor = overrideBaseColor
|
1982
|
+
? tinycolor(overrideBaseColor)
|
1983
|
+
: undefined;
|
1984
|
+
let value = baseColor
|
1985
|
+
? baseColor.clone()
|
1986
|
+
: undefined;
|
1987
|
+
return formatValue$2(value);
|
1988
|
+
},
|
1989
|
+
},
|
1990
|
+
{
|
1991
|
+
name: 'dark-text-link',
|
1992
|
+
},
|
1993
|
+
{
|
1994
|
+
name: 'text-link-hover',
|
1995
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
1996
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
1997
|
+
if (!overrideBaseColor) {
|
1998
|
+
return '';
|
1999
|
+
}
|
2000
|
+
const baseColor = overrideBaseColor
|
2001
|
+
? tinycolor(overrideBaseColor)
|
2002
|
+
: undefined;
|
2003
|
+
let value = baseColor
|
2004
|
+
? baseColor.clone()
|
2005
|
+
: undefined;
|
2006
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2007
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2008
|
+
}
|
2009
|
+
else {
|
2010
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2011
|
+
}
|
2012
|
+
return formatValue$2(value);
|
2013
|
+
},
|
2014
|
+
},
|
2015
|
+
{
|
2016
|
+
name: 'dark-text-link-hover',
|
2017
|
+
},
|
2018
|
+
{
|
2019
|
+
name: 'text-link-active',
|
2020
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2021
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2022
|
+
if (!overrideBaseColor) {
|
2023
|
+
return '';
|
2024
|
+
}
|
2025
|
+
const baseColor = overrideBaseColor
|
2026
|
+
? tinycolor(overrideBaseColor)
|
2027
|
+
: undefined;
|
2028
|
+
let value = baseColor
|
2029
|
+
? baseColor.clone()
|
2030
|
+
: undefined;
|
2031
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2032
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2033
|
+
}
|
2034
|
+
else {
|
2035
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2036
|
+
}
|
2037
|
+
return formatValue$2(value);
|
2038
|
+
},
|
2039
|
+
},
|
2040
|
+
{
|
2041
|
+
name: 'dark-text-link-active',
|
2042
|
+
},
|
2043
|
+
{
|
2044
|
+
name: 'text-link-focus',
|
2045
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2046
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2047
|
+
if (!overrideBaseColor) {
|
2048
|
+
return '';
|
2049
|
+
}
|
2050
|
+
const baseColor = overrideBaseColor
|
2051
|
+
? tinycolor(overrideBaseColor)
|
2052
|
+
: undefined;
|
2053
|
+
let value = baseColor
|
2054
|
+
? baseColor.clone()
|
2055
|
+
: undefined;
|
2056
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2057
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2058
|
+
}
|
2059
|
+
else {
|
2060
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2061
|
+
}
|
2062
|
+
return formatValue$2(value);
|
2063
|
+
},
|
2064
|
+
},
|
2065
|
+
{
|
2066
|
+
name: 'dark-text-link-focus',
|
2067
|
+
},
|
2068
|
+
{
|
2069
|
+
name: 'text-link-visited',
|
2070
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2071
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2072
|
+
if (!overrideBaseColor) {
|
2073
|
+
return '';
|
2074
|
+
}
|
2075
|
+
const baseColor = overrideBaseColor
|
2076
|
+
? tinycolor(overrideBaseColor)
|
2077
|
+
: undefined;
|
2078
|
+
let value = baseColor
|
2079
|
+
? baseColor.clone()
|
2080
|
+
: undefined;
|
2081
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2082
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(20);
|
2083
|
+
}
|
2084
|
+
else {
|
2085
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-22);
|
2086
|
+
}
|
2087
|
+
return formatValue$2(value);
|
2088
|
+
},
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
name: 'dark-text-link-visited',
|
2092
|
+
},
|
2093
|
+
{
|
2094
|
+
name: 'text-sidebar-link',
|
2095
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2096
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2097
|
+
if (!overrideBaseColor) {
|
2098
|
+
return '';
|
2099
|
+
}
|
2100
|
+
const baseColor = overrideBaseColor
|
2101
|
+
? tinycolor(overrideBaseColor)
|
2102
|
+
: undefined;
|
2103
|
+
let value = baseColor
|
2104
|
+
? baseColor.clone()
|
2105
|
+
: undefined;
|
2106
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2107
|
+
value = tinycolor({ a: 0.9, b: 255, r: 255, g: 255 });
|
2108
|
+
}
|
2109
|
+
else {
|
2110
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2111
|
+
}
|
2112
|
+
return formatValue$2(value);
|
2113
|
+
},
|
2114
|
+
},
|
2115
|
+
{
|
2116
|
+
name: 'dark-text-sidebar-link',
|
2117
|
+
},
|
2118
|
+
{
|
2119
|
+
name: 'text-sidebar-link-hover',
|
2120
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2121
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2122
|
+
if (!overrideBaseColor) {
|
2123
|
+
return '';
|
2124
|
+
}
|
2125
|
+
const baseColor = overrideBaseColor
|
2126
|
+
? tinycolor(overrideBaseColor)
|
2127
|
+
: undefined;
|
2128
|
+
let value = baseColor
|
2129
|
+
? baseColor.clone()
|
2130
|
+
: undefined;
|
2131
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2132
|
+
value = tinycolor({ a: 0.86, r: 15, b: 15, g: 15 });
|
2133
|
+
}
|
2134
|
+
else {
|
2135
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2136
|
+
}
|
2137
|
+
return formatValue$2(value);
|
2138
|
+
},
|
2139
|
+
},
|
2140
|
+
{
|
2141
|
+
name: 'dark-text-sidebar-link-hover',
|
2142
|
+
},
|
2143
|
+
{
|
2144
|
+
name: 'text-sidebar-link-selected',
|
2145
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2146
|
+
const overrideBaseColor = overrideColors['sidebarColor'];
|
2147
|
+
if (!overrideBaseColor) {
|
2148
|
+
return '';
|
2149
|
+
}
|
2150
|
+
const baseColor = overrideBaseColor
|
2151
|
+
? tinycolor(overrideBaseColor)
|
2152
|
+
: undefined;
|
2153
|
+
let value = baseColor
|
2154
|
+
? baseColor.clone()
|
2155
|
+
: undefined;
|
2156
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2157
|
+
value = tinycolor({ a: 0.9, r: 255, b: 255, g: 255 });
|
2158
|
+
}
|
2159
|
+
else {
|
2160
|
+
value = tinycolor({ a: 0.86, b: 15, r: 15, g: 15 });
|
2161
|
+
}
|
2162
|
+
return formatValue$2(value);
|
2163
|
+
},
|
2164
|
+
},
|
2165
|
+
{
|
2166
|
+
name: 'dark-text-sidebar-link-selected',
|
2167
|
+
},
|
2168
|
+
{
|
2169
|
+
name: 'border-color-action',
|
2170
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2171
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2172
|
+
if (!overrideBaseColor) {
|
2173
|
+
return '';
|
2174
|
+
}
|
2175
|
+
const baseColor = overrideBaseColor
|
2176
|
+
? tinycolor(overrideBaseColor)
|
2177
|
+
: undefined;
|
2178
|
+
let value = baseColor
|
2179
|
+
? baseColor.clone()
|
2180
|
+
: undefined;
|
2181
|
+
return formatValue$2(value);
|
2182
|
+
},
|
2183
|
+
},
|
2184
|
+
{
|
2185
|
+
name: 'dark-border-color-action',
|
2186
|
+
},
|
2187
|
+
{
|
2188
|
+
name: 'border-color-action-hover',
|
2189
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2190
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2191
|
+
if (!overrideBaseColor) {
|
2192
|
+
return '';
|
2193
|
+
}
|
2194
|
+
const baseColor = overrideBaseColor
|
2195
|
+
? tinycolor(overrideBaseColor)
|
2196
|
+
: undefined;
|
2197
|
+
let value = baseColor
|
2198
|
+
? baseColor.clone()
|
2199
|
+
: undefined;
|
2200
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2201
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2202
|
+
}
|
2203
|
+
else {
|
2204
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2205
|
+
}
|
2206
|
+
return formatValue$2(value);
|
2207
|
+
},
|
2208
|
+
},
|
2209
|
+
{
|
2210
|
+
name: 'dark-border-color-action-hover',
|
2211
|
+
},
|
2212
|
+
{
|
2213
|
+
name: 'border-color-action-active',
|
2214
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2215
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2216
|
+
if (!overrideBaseColor) {
|
2217
|
+
return '';
|
2218
|
+
}
|
2219
|
+
const baseColor = overrideBaseColor
|
2220
|
+
? tinycolor(overrideBaseColor)
|
2221
|
+
: undefined;
|
2222
|
+
let value = baseColor
|
2223
|
+
? baseColor.clone()
|
2224
|
+
: undefined;
|
2225
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2226
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2227
|
+
}
|
2228
|
+
else {
|
2229
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2230
|
+
}
|
2231
|
+
return formatValue$2(value);
|
2232
|
+
},
|
2233
|
+
},
|
2234
|
+
{
|
2235
|
+
name: 'dark-border-color-action-active',
|
2236
|
+
},
|
2237
|
+
{
|
2238
|
+
name: 'border-color-divider',
|
2239
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2240
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2241
|
+
if (!overrideBaseColor) {
|
2242
|
+
return '';
|
2243
|
+
}
|
2244
|
+
const baseColor = overrideBaseColor
|
2245
|
+
? tinycolor(overrideBaseColor)
|
2246
|
+
: undefined;
|
2247
|
+
let value = baseColor
|
2248
|
+
? baseColor.clone()
|
2249
|
+
: undefined;
|
2250
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2251
|
+
return formatValue$2(value);
|
2252
|
+
},
|
2253
|
+
},
|
2254
|
+
{
|
2255
|
+
name: 'dark-border-color-divider',
|
2256
|
+
},
|
2257
|
+
{
|
2258
|
+
name: 'border-color-divider-secondary',
|
2259
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2260
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2261
|
+
if (!overrideBaseColor) {
|
2262
|
+
return '';
|
2263
|
+
}
|
2264
|
+
const baseColor = overrideBaseColor
|
2265
|
+
? tinycolor(overrideBaseColor)
|
2266
|
+
: undefined;
|
2267
|
+
let value = baseColor
|
2268
|
+
? baseColor.clone()
|
2269
|
+
: undefined;
|
2270
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2271
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2272
|
+
}
|
2273
|
+
else {
|
2274
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2275
|
+
}
|
2276
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2277
|
+
return formatValue$2(value);
|
2278
|
+
},
|
2279
|
+
},
|
2280
|
+
{
|
2281
|
+
name: 'dark-border-color-divider-secondary',
|
2282
|
+
},
|
2283
|
+
{
|
2284
|
+
name: 'border-color-input-field',
|
2285
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2286
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2287
|
+
if (!overrideBaseColor) {
|
2288
|
+
return '';
|
2289
|
+
}
|
2290
|
+
const baseColor = overrideBaseColor
|
2291
|
+
? tinycolor(overrideBaseColor)
|
2292
|
+
: undefined;
|
2293
|
+
let value = baseColor
|
2294
|
+
? baseColor.clone()
|
2295
|
+
: undefined;
|
2296
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2297
|
+
return formatValue$2(value);
|
2298
|
+
},
|
2299
|
+
},
|
2300
|
+
{
|
2301
|
+
name: 'dark-border-color-input-field',
|
2302
|
+
},
|
2303
|
+
{
|
2304
|
+
name: 'border-color-input-field-hover',
|
2305
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2306
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2307
|
+
if (!overrideBaseColor) {
|
2308
|
+
return '';
|
2309
|
+
}
|
2310
|
+
const baseColor = overrideBaseColor
|
2311
|
+
? tinycolor(overrideBaseColor)
|
2312
|
+
: undefined;
|
2313
|
+
let value = baseColor
|
2314
|
+
? baseColor.clone()
|
2315
|
+
: undefined;
|
2316
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2317
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2318
|
+
}
|
2319
|
+
else {
|
2320
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2321
|
+
}
|
2322
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2323
|
+
return formatValue$2(value);
|
2324
|
+
},
|
2325
|
+
},
|
2326
|
+
{
|
2327
|
+
name: 'dark-border-color-input-field-hover',
|
2328
|
+
},
|
2329
|
+
{
|
2330
|
+
name: 'border-color-input-field-focus',
|
2331
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2332
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2333
|
+
if (!overrideBaseColor) {
|
2334
|
+
return '';
|
2335
|
+
}
|
2336
|
+
const baseColor = overrideBaseColor
|
2337
|
+
? tinycolor(overrideBaseColor)
|
2338
|
+
: undefined;
|
2339
|
+
let value = baseColor
|
2340
|
+
? baseColor.clone()
|
2341
|
+
: undefined;
|
2342
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2343
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2344
|
+
}
|
2345
|
+
else {
|
2346
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2347
|
+
}
|
2348
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2349
|
+
return formatValue$2(value);
|
2350
|
+
},
|
2351
|
+
},
|
2352
|
+
{
|
2353
|
+
name: 'dark-border-color-input-field-focus',
|
2354
|
+
},
|
2355
|
+
{
|
2356
|
+
name: 'border-color-input-field-disabled',
|
2357
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2358
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2359
|
+
if (!overrideBaseColor) {
|
2360
|
+
return '';
|
2361
|
+
}
|
2362
|
+
const baseColor = overrideBaseColor
|
2363
|
+
? tinycolor(overrideBaseColor)
|
2364
|
+
: undefined;
|
2365
|
+
let value = baseColor
|
2366
|
+
? baseColor.clone()
|
2367
|
+
: undefined;
|
2368
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2369
|
+
return formatValue$2(value);
|
2370
|
+
},
|
2371
|
+
},
|
2372
|
+
{
|
2373
|
+
name: 'dark-border-color-input-field-disabled',
|
2374
|
+
},
|
2375
|
+
{
|
2376
|
+
name: 'border-color-tile-focus',
|
2377
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2378
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2379
|
+
if (!overrideBaseColor) {
|
2380
|
+
return '';
|
2381
|
+
}
|
2382
|
+
const baseColor = overrideBaseColor
|
2383
|
+
? tinycolor(overrideBaseColor)
|
2384
|
+
: undefined;
|
2385
|
+
let value = baseColor
|
2386
|
+
? baseColor.clone()
|
2387
|
+
: undefined;
|
2388
|
+
return formatValue$2(value);
|
2389
|
+
},
|
2390
|
+
},
|
2391
|
+
{
|
2392
|
+
name: 'dark-border-color-tile-focus',
|
2393
|
+
},
|
2394
|
+
{
|
2395
|
+
name: 'border-color-tile-selected-focus',
|
2396
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2397
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2398
|
+
if (!overrideBaseColor) {
|
2399
|
+
return '';
|
2400
|
+
}
|
2401
|
+
const baseColor = overrideBaseColor
|
2402
|
+
? tinycolor(overrideBaseColor)
|
2403
|
+
: undefined;
|
2404
|
+
let value = baseColor
|
2405
|
+
? baseColor.clone()
|
2406
|
+
: undefined;
|
2407
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2408
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2409
|
+
}
|
2410
|
+
else {
|
2411
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2412
|
+
}
|
2413
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2414
|
+
return formatValue$2(value);
|
2415
|
+
},
|
2416
|
+
},
|
2417
|
+
{
|
2418
|
+
name: 'dark-border-color-tile-selected-focus',
|
2419
|
+
},
|
2420
|
+
{
|
2421
|
+
name: 'border-color-tile-selected',
|
2422
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2423
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2424
|
+
if (!overrideBaseColor) {
|
2425
|
+
return '';
|
2426
|
+
}
|
2427
|
+
const baseColor = overrideBaseColor
|
2428
|
+
? tinycolor(overrideBaseColor)
|
2429
|
+
: undefined;
|
2430
|
+
let value = baseColor
|
2431
|
+
? baseColor.clone()
|
2432
|
+
: undefined;
|
2433
|
+
return formatValue$2(value);
|
2434
|
+
},
|
2435
|
+
},
|
2436
|
+
{
|
2437
|
+
name: 'dark-border-color-tile-selected',
|
2438
|
+
},
|
2439
|
+
{
|
2440
|
+
name: 'border-color-tile-selected-hover',
|
2441
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2442
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2443
|
+
if (!overrideBaseColor) {
|
2444
|
+
return '';
|
2445
|
+
}
|
2446
|
+
const baseColor = overrideBaseColor
|
2447
|
+
? tinycolor(overrideBaseColor)
|
2448
|
+
: undefined;
|
2449
|
+
let value = baseColor
|
2450
|
+
? baseColor.clone()
|
2451
|
+
: undefined;
|
2452
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2453
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2454
|
+
}
|
2455
|
+
else {
|
2456
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2457
|
+
}
|
2458
|
+
return formatValue$2(value);
|
2459
|
+
},
|
2460
|
+
},
|
2461
|
+
{
|
2462
|
+
name: 'dark-border-color-tile-selected-hover',
|
2463
|
+
},
|
2464
|
+
];
|
2465
|
+
|
2466
|
+
const formatValue$1 = (tinyColor) => {
|
2467
|
+
if (!tinyColor) {
|
2468
|
+
return '';
|
2469
|
+
}
|
2470
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2471
|
+
return `${r} ${g} ${b} / ${a}`;
|
2472
|
+
};
|
2473
|
+
const OverridableBorderTokens = [
|
2474
|
+
{
|
2475
|
+
name: 'border-secondary-btn',
|
2476
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2477
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2478
|
+
if (!overrideBaseColor) {
|
2479
|
+
return '';
|
2480
|
+
}
|
2481
|
+
const baseColor = overrideBaseColor
|
2482
|
+
? tinycolor(overrideBaseColor)
|
2483
|
+
: undefined;
|
2484
|
+
let value = baseColor
|
2485
|
+
? baseColor.clone()
|
2486
|
+
: undefined;
|
2487
|
+
return formatValue$1(value);
|
2488
|
+
},
|
2489
|
+
},
|
2490
|
+
{
|
2491
|
+
name: 'dark-border-secondary-btn',
|
2492
|
+
},
|
2493
|
+
{
|
2494
|
+
name: 'border-secondary-btn-hover',
|
2495
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2496
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2497
|
+
if (!overrideBaseColor) {
|
2498
|
+
return '';
|
2499
|
+
}
|
2500
|
+
const baseColor = overrideBaseColor
|
2501
|
+
? tinycolor(overrideBaseColor)
|
2502
|
+
: undefined;
|
2503
|
+
let value = baseColor
|
2504
|
+
? baseColor.clone()
|
2505
|
+
: undefined;
|
2506
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2507
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2508
|
+
}
|
2509
|
+
else {
|
2510
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2511
|
+
}
|
2512
|
+
return formatValue$1(value);
|
2513
|
+
},
|
2514
|
+
},
|
2515
|
+
{
|
2516
|
+
name: 'dark-border-secondary-btn-hover',
|
2517
|
+
},
|
2518
|
+
{
|
2519
|
+
name: 'border-secondary-btn-active',
|
2520
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2521
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2522
|
+
if (!overrideBaseColor) {
|
2523
|
+
return '';
|
2524
|
+
}
|
2525
|
+
const baseColor = overrideBaseColor
|
2526
|
+
? tinycolor(overrideBaseColor)
|
2527
|
+
: undefined;
|
2528
|
+
let value = baseColor
|
2529
|
+
? baseColor.clone()
|
2530
|
+
: undefined;
|
2531
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2532
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2533
|
+
}
|
2534
|
+
else {
|
2535
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2536
|
+
}
|
2537
|
+
return formatValue$1(value);
|
2538
|
+
},
|
2539
|
+
},
|
2540
|
+
{
|
2541
|
+
name: 'dark-border-secondary-btn-active',
|
2542
|
+
},
|
2543
|
+
{
|
2544
|
+
name: 'border-input-field',
|
2545
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2546
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2547
|
+
if (!overrideBaseColor) {
|
2548
|
+
return '';
|
2549
|
+
}
|
2550
|
+
const baseColor = overrideBaseColor
|
2551
|
+
? tinycolor(overrideBaseColor)
|
2552
|
+
: undefined;
|
2553
|
+
let value = baseColor
|
2554
|
+
? baseColor.clone()
|
2555
|
+
: undefined;
|
2556
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2557
|
+
return formatValue$1(value);
|
2558
|
+
},
|
2559
|
+
},
|
2560
|
+
{
|
2561
|
+
name: 'dark-border-input-field',
|
2562
|
+
},
|
2563
|
+
{
|
2564
|
+
name: 'border-input-field-hover',
|
2565
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2566
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2567
|
+
if (!overrideBaseColor) {
|
2568
|
+
return '';
|
2569
|
+
}
|
2570
|
+
const baseColor = overrideBaseColor
|
2571
|
+
? tinycolor(overrideBaseColor)
|
2572
|
+
: undefined;
|
2573
|
+
let value = baseColor
|
2574
|
+
? baseColor.clone()
|
2575
|
+
: undefined;
|
2576
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2577
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2578
|
+
}
|
2579
|
+
else {
|
2580
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2581
|
+
}
|
2582
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2583
|
+
return formatValue$1(value);
|
2584
|
+
},
|
2585
|
+
},
|
2586
|
+
{
|
2587
|
+
name: 'dark-border-input-field-hover',
|
2588
|
+
},
|
2589
|
+
{
|
2590
|
+
name: 'border-input-field-focus',
|
2591
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2592
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2593
|
+
if (!overrideBaseColor) {
|
2594
|
+
return '';
|
2595
|
+
}
|
2596
|
+
const baseColor = overrideBaseColor
|
2597
|
+
? tinycolor(overrideBaseColor)
|
2598
|
+
: undefined;
|
2599
|
+
let value = baseColor
|
2600
|
+
? baseColor.clone()
|
2601
|
+
: undefined;
|
2602
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2603
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2604
|
+
}
|
2605
|
+
else {
|
2606
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2607
|
+
}
|
2608
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2609
|
+
return formatValue$1(value);
|
2610
|
+
},
|
2611
|
+
},
|
2612
|
+
{
|
2613
|
+
name: 'dark-border-input-field-focus',
|
2614
|
+
},
|
2615
|
+
{
|
2616
|
+
name: 'border-input-field-disabled',
|
2617
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2618
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2619
|
+
if (!overrideBaseColor) {
|
2620
|
+
return '';
|
2621
|
+
}
|
2622
|
+
const baseColor = overrideBaseColor
|
2623
|
+
? tinycolor(overrideBaseColor)
|
2624
|
+
: undefined;
|
2625
|
+
let value = baseColor
|
2626
|
+
? baseColor.clone()
|
2627
|
+
: undefined;
|
2628
|
+
value = tinycolor({ a: 0.2, r: 15, b: 15, g: 15 });
|
2629
|
+
return formatValue$1(value);
|
2630
|
+
},
|
2631
|
+
},
|
2632
|
+
{
|
2633
|
+
name: 'dark-border-input-field-disabled',
|
2634
|
+
},
|
2635
|
+
{
|
2636
|
+
name: 'border-divider',
|
2637
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2638
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2639
|
+
if (!overrideBaseColor) {
|
2640
|
+
return '';
|
2641
|
+
}
|
2642
|
+
const baseColor = overrideBaseColor
|
2643
|
+
? tinycolor(overrideBaseColor)
|
2644
|
+
: undefined;
|
2645
|
+
let value = baseColor
|
2646
|
+
? baseColor.clone()
|
2647
|
+
: undefined;
|
2648
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2649
|
+
return formatValue$1(value);
|
2650
|
+
},
|
2651
|
+
},
|
2652
|
+
{
|
2653
|
+
name: 'dark-border-divider',
|
2654
|
+
},
|
2655
|
+
{
|
2656
|
+
name: 'border-divider-secondary',
|
2657
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2658
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2659
|
+
if (!overrideBaseColor) {
|
2660
|
+
return '';
|
2661
|
+
}
|
2662
|
+
const baseColor = overrideBaseColor
|
2663
|
+
? tinycolor(overrideBaseColor)
|
2664
|
+
: undefined;
|
2665
|
+
let value = baseColor
|
2666
|
+
? baseColor.clone()
|
2667
|
+
: undefined;
|
2668
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2669
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2670
|
+
}
|
2671
|
+
else {
|
2672
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2673
|
+
}
|
2674
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.4);
|
2675
|
+
return formatValue$1(value);
|
2676
|
+
},
|
2677
|
+
},
|
2678
|
+
{
|
2679
|
+
name: 'dark-border-divider-secondary',
|
2680
|
+
},
|
2681
|
+
{
|
2682
|
+
name: 'border-tile-selected',
|
2683
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2684
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2685
|
+
if (!overrideBaseColor) {
|
2686
|
+
return '';
|
2687
|
+
}
|
2688
|
+
const baseColor = overrideBaseColor
|
2689
|
+
? tinycolor(overrideBaseColor)
|
2690
|
+
: undefined;
|
2691
|
+
let value = baseColor
|
2692
|
+
? baseColor.clone()
|
2693
|
+
: undefined;
|
2694
|
+
return formatValue$1(value);
|
2695
|
+
},
|
2696
|
+
},
|
2697
|
+
{
|
2698
|
+
name: 'dark-border-tile-selected',
|
2699
|
+
},
|
2700
|
+
{
|
2701
|
+
name: 'border-tile-selected-hover',
|
2702
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2703
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2704
|
+
if (!overrideBaseColor) {
|
2705
|
+
return '';
|
2706
|
+
}
|
2707
|
+
const baseColor = overrideBaseColor
|
2708
|
+
? tinycolor(overrideBaseColor)
|
2709
|
+
: undefined;
|
2710
|
+
let value = baseColor
|
2711
|
+
? baseColor.clone()
|
2712
|
+
: undefined;
|
2713
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2714
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(10);
|
2715
|
+
}
|
2716
|
+
else {
|
2717
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-10);
|
2718
|
+
}
|
2719
|
+
return formatValue$1(value);
|
2720
|
+
},
|
2721
|
+
},
|
2722
|
+
{
|
2723
|
+
name: 'dark-border-tile-selected-hover',
|
2724
|
+
},
|
2725
|
+
{
|
2726
|
+
name: 'border-tile-focus',
|
2727
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2728
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2729
|
+
if (!overrideBaseColor) {
|
2730
|
+
return '';
|
2731
|
+
}
|
2732
|
+
const baseColor = overrideBaseColor
|
2733
|
+
? tinycolor(overrideBaseColor)
|
2734
|
+
: undefined;
|
2735
|
+
let value = baseColor
|
2736
|
+
? baseColor.clone()
|
2737
|
+
: undefined;
|
2738
|
+
return formatValue$1(value);
|
2739
|
+
},
|
2740
|
+
},
|
2741
|
+
{
|
2742
|
+
name: 'dark-border-tile-focus',
|
2743
|
+
},
|
2744
|
+
{
|
2745
|
+
name: 'border-tile-selected-focus',
|
2746
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2747
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2748
|
+
if (!overrideBaseColor) {
|
2749
|
+
return '';
|
2750
|
+
}
|
2751
|
+
const baseColor = overrideBaseColor
|
2752
|
+
? tinycolor(overrideBaseColor)
|
2753
|
+
: undefined;
|
2754
|
+
let value = baseColor
|
2755
|
+
? baseColor.clone()
|
2756
|
+
: undefined;
|
2757
|
+
if (baseColor === null || baseColor === void 0 ? void 0 : baseColor.isDark()) {
|
2758
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(15);
|
2759
|
+
}
|
2760
|
+
else {
|
2761
|
+
value = value === null || value === void 0 ? void 0 : value.lighten(-15);
|
2762
|
+
}
|
2763
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.6);
|
2764
|
+
return formatValue$1(value);
|
2765
|
+
},
|
2766
|
+
},
|
2767
|
+
{
|
2768
|
+
name: 'dark-border-tile-selected-focus',
|
2769
|
+
},
|
2770
|
+
];
|
2771
|
+
|
2772
|
+
const formatValue = (tinyColor) => {
|
2773
|
+
if (!tinyColor) {
|
2774
|
+
return '';
|
2775
|
+
}
|
2776
|
+
const { r, g, b, a } = tinyColor.toRgb();
|
2777
|
+
return `${r} ${g} ${b} / ${a}`;
|
2778
|
+
};
|
2779
|
+
const OverridableRingTokens = [
|
2780
|
+
{
|
2781
|
+
name: 'ring-input-focus',
|
2782
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2783
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2784
|
+
if (!overrideBaseColor) {
|
2785
|
+
return '';
|
2786
|
+
}
|
2787
|
+
const baseColor = overrideBaseColor
|
2788
|
+
? tinycolor(overrideBaseColor)
|
2789
|
+
: undefined;
|
2790
|
+
let value = baseColor
|
2791
|
+
? baseColor.clone()
|
2792
|
+
: undefined;
|
2793
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2794
|
+
return formatValue(value);
|
2795
|
+
},
|
2796
|
+
},
|
2797
|
+
{
|
2798
|
+
name: 'dark-ring-input-focus',
|
2799
|
+
},
|
2800
|
+
{
|
2801
|
+
name: 'ring-action-focus',
|
2802
|
+
overrideGetter: (overrideColors, tinycolor) => {
|
2803
|
+
const overrideBaseColor = overrideColors['actionColor'];
|
2804
|
+
if (!overrideBaseColor) {
|
2805
|
+
return '';
|
2806
|
+
}
|
2807
|
+
const baseColor = overrideBaseColor
|
2808
|
+
? tinycolor(overrideBaseColor)
|
2809
|
+
: undefined;
|
2810
|
+
let value = baseColor
|
2811
|
+
? baseColor.clone()
|
2812
|
+
: undefined;
|
2813
|
+
value = value === null || value === void 0 ? void 0 : value.setAlpha(0.25);
|
2814
|
+
return formatValue(value);
|
2815
|
+
},
|
2816
|
+
},
|
2817
|
+
{
|
2818
|
+
name: 'dark-ring-action-focus',
|
2819
|
+
},
|
2820
|
+
];
|
2821
|
+
|
2822
|
+
/**
|
2823
|
+
* Vega components color override controller
|
2824
|
+
*/
|
2825
|
+
class ColorSchemaOverridingController {
|
2826
|
+
/**
|
2827
|
+
* It takes a color and generates a bunch of other colors based on that color
|
2828
|
+
*
|
2829
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that is passed in from the user.
|
2830
|
+
* @returns {OverrideColor[]} Parsed action colors
|
2831
|
+
*/
|
2832
|
+
generateOverrideThemes(overrideColors) {
|
2833
|
+
return this.getOverridableTokens().map((item) => {
|
2834
|
+
return {
|
2835
|
+
name: item.name,
|
2836
|
+
value: this.parseCssVarValue(item, overrideColors),
|
2837
|
+
};
|
2838
|
+
});
|
2839
|
+
}
|
2840
|
+
/**
|
2841
|
+
* Set the custom override theme colors to customOverrideThemeStyleContainer
|
2842
|
+
*
|
2843
|
+
* @param {OverrideColor[]} overrideThemes Parsed custom override colors
|
2844
|
+
*/
|
2845
|
+
applyTheme(overrideThemes) {
|
2846
|
+
this.getOverrideThemeContainer().innerHTML = `
|
2847
|
+
:root {
|
2848
|
+
\t\t${overrideThemes
|
2849
|
+
.filter((item) => {
|
2850
|
+
return !!item.value;
|
2851
|
+
})
|
2852
|
+
.map((item) => `--v-${item.name}: ${item.value};`)
|
2853
|
+
.join('\n\t\t')}
|
2854
|
+
}
|
2855
|
+
`;
|
2856
|
+
}
|
2857
|
+
/**
|
2858
|
+
* It creates a customOverrideTheme style tag in the head of the document if it doesn't exist, and returns it
|
2859
|
+
*
|
2860
|
+
* @returns {Element} The customOverrideThemeStyleContainer is being returned.
|
2861
|
+
*/
|
2862
|
+
getOverrideThemeContainer() {
|
2863
|
+
let customOverrideThemeStyleContainer = document.head.querySelector(`#vegaCustomOverrideTheme`);
|
2864
|
+
if (!customOverrideThemeStyleContainer) {
|
2865
|
+
customOverrideThemeStyleContainer = document.createElement('style');
|
2866
|
+
customOverrideThemeStyleContainer.id = 'vegaCustomOverrideTheme';
|
2867
|
+
document.head.append(customOverrideThemeStyleContainer);
|
2868
|
+
}
|
2869
|
+
return customOverrideThemeStyleContainer;
|
2870
|
+
}
|
2871
|
+
/**
|
2872
|
+
* Get the overridable color tokens from design token
|
2873
|
+
*
|
2874
|
+
* @returns {OverridableToken[]} overridable action color token array
|
2875
|
+
*/
|
2876
|
+
getOverridableTokens() {
|
2877
|
+
return [...OverridableColorTokens, ...OverridableBorderTokens, ...OverridableRingTokens];
|
2878
|
+
}
|
2879
|
+
/**
|
2880
|
+
* Calculate and parse color to css var value
|
2881
|
+
*
|
2882
|
+
* @param {OverridableToken} overrideColorToken The token will be overridden
|
2883
|
+
* @param {VegaThemeOverrideColors} overrideColors the payload of override colors
|
2884
|
+
* @returns {string} The css var value
|
2885
|
+
*/
|
2886
|
+
parseCssVarValue(overrideColorToken, overrideColors) {
|
2887
|
+
var _a;
|
2888
|
+
return (_a = overrideColorToken.overrideGetter) === null || _a === void 0 ? void 0 : _a.call(overrideColorToken, overrideColors, tinycolor);
|
2889
|
+
}
|
2890
|
+
}
|
2891
|
+
const VegaColorSchemaOverridingController = new ColorSchemaOverridingController();
|
2892
|
+
|
2893
|
+
/* This file is generated by vega-design 2.0.77 */
|
2894
|
+
const DarkModeColorTokens = {
|
2895
|
+
'bg-brand': '176, 180, 181, 1',
|
2896
|
+
'bg-page': '24, 24, 48, 1',
|
2897
|
+
'bg-primary': '4, 4, 28, 1',
|
2898
|
+
'bg-secondary': '18, 18, 39, 1',
|
2899
|
+
'bg-tertiary': '24, 24, 48, 1',
|
2900
|
+
'bg-quaternary': '70, 71, 101, 1',
|
2901
|
+
'bg-inverted-primary': '252, 252, 252, 1',
|
2902
|
+
'bg-inverted-secondary': '247, 247, 247, 1',
|
2903
|
+
'bg-inverted-tertiary': '240, 243, 247, 1',
|
2904
|
+
'bg-inverted-quaternary': '241, 248, 251, 1',
|
2905
|
+
'bg-action': '0, 187, 255, 1',
|
2906
|
+
'bg-action-hover': '0, 204, 255, 1',
|
2907
|
+
'bg-action-focus': '0, 187, 255, 1',
|
2908
|
+
'bg-action-active': '4, 165, 245, 1',
|
2909
|
+
'bg-action-quaternary': '51, 57, 61, 1',
|
2910
|
+
'bg-action-quaternary-hover': '89, 96, 99, 1',
|
2911
|
+
'bg-action-quaternary-active': '24, 24, 48, 1',
|
2912
|
+
'bg-action-secondary': '0, 0, 0, 0',
|
2913
|
+
'bg-action-secondary-hover': '0, 204, 255, 0.2',
|
2914
|
+
'bg-action-secondary-active': '4, 165, 245, 0.2',
|
2915
|
+
'bg-action-tertiary': '0, 0, 0, 0',
|
2916
|
+
'bg-action-tertiary-hover': '252, 252, 252, 0.2',
|
2917
|
+
'bg-action-tertiary-active': '252, 252, 252, 0.1',
|
2918
|
+
'bg-app-header': '24, 24, 48, 0.92',
|
2919
|
+
'bg-backdrop-modal': '70, 71, 101, 0.8',
|
2920
|
+
'bg-backdrop-popover': '70, 71, 101, 0.56',
|
2921
|
+
'bg-backdrop-sidebar': '70, 71, 101, 0.8',
|
2922
|
+
'bg-chip': '252, 252, 252, 0.1',
|
2923
|
+
'bg-chip-hover': '252, 252, 252, 0.2',
|
2924
|
+
'bg-chip-active': '252, 252, 252, 0.06',
|
2925
|
+
'bg-danger': '255, 56, 97, 1',
|
2926
|
+
'bg-danger-hover': '255, 71, 123, 1',
|
2927
|
+
'bg-danger-focus': '255, 56, 97, 1',
|
2928
|
+
'bg-danger-active': '230, 50, 87, 1',
|
2929
|
+
'bg-danger-tertiary': '0, 0, 0, 0',
|
2930
|
+
'bg-danger-tertiary-hover': '255, 71, 123, 0.2',
|
2931
|
+
'bg-danger-tertiary-active': '230, 50, 87, 0.2',
|
2932
|
+
'bg-disabled': '70, 71, 101, 1',
|
2933
|
+
'bg-divider': '32, 54, 69, 1',
|
2934
|
+
'bg-divider-secondary': '51, 57, 61, 1',
|
2935
|
+
'bg-keypad-btn-active': '45, 76, 97, 1',
|
2936
|
+
'bg-loading-progress': '4, 165, 245, 1',
|
2937
|
+
'bg-loading-track': '142, 223, 249, 1',
|
2938
|
+
'bg-segment-hover': '70, 71, 101, 1',
|
2939
|
+
'bg-segment-control': '210, 208, 223, 0.1',
|
2940
|
+
'bg-selected': '85, 218, 255, 0.3',
|
2941
|
+
'bg-sidebar': '18, 18, 39, 1',
|
2942
|
+
'bg-sidebar-icon': '188, 186, 213, 1',
|
2943
|
+
'bg-sidebar-icon-hover': '18, 18, 39, 1',
|
2944
|
+
'bg-sidebar-icon-selected': '252, 252, 252, 1',
|
2945
|
+
'bg-sidebar-item-hover': '252, 252, 252, 1',
|
2946
|
+
'bg-sidebar-item-selected': '0, 187, 255, 0.4',
|
2947
|
+
'bg-site-footer': '51, 57, 61, 1',
|
2948
|
+
'bg-site-footer-action': '171, 198, 216, 1',
|
2949
|
+
'bg-site-footer-action-hover': '199, 217, 229, 1',
|
2950
|
+
'bg-site-footer-action-active': '143, 179, 203, 1',
|
2951
|
+
'bg-site-footer-field': '89, 96, 99, 1',
|
2952
|
+
'bg-slider-handle': '252, 252, 252, 1',
|
2953
|
+
'bg-status-error': '189, 41, 71, 1',
|
2954
|
+
'bg-status-info': '252, 252, 252, 1',
|
2955
|
+
'bg-status-success': '123, 242, 151, 1',
|
2956
|
+
'bg-status-warning': '255, 212, 105, 1',
|
2957
|
+
'bg-tab': '51, 57, 61, 1',
|
2958
|
+
'bg-tab-hover': '89, 96, 99, 1',
|
2959
|
+
'bg-tab-selected': '240, 243, 247, 1',
|
2960
|
+
'bg-table-alt-row': '18, 18, 39, 1',
|
2961
|
+
'bg-table-header': '24, 24, 48, 1',
|
2962
|
+
'bg-table-row-hover': '70, 71, 101, 1',
|
2963
|
+
'bg-table-row-selected-expanded': '32, 54, 69, 1',
|
2964
|
+
'bg-table-selected-row': '45, 76, 97, 1',
|
2965
|
+
'bg-textarea-count': '252, 252, 252, 0.5',
|
2966
|
+
'bg-tile': '4, 4, 28, 1',
|
2967
|
+
'bg-tile-hover': '24, 24, 48, 1',
|
2968
|
+
'bg-tile-selected': '32, 54, 69, 1',
|
2969
|
+
'bg-tile-selected-hover': '45, 76, 97, 1',
|
2970
|
+
'bg-toggle-switch': '210, 208, 223, 1',
|
2971
|
+
'bg-toggle-switch-hover': '188, 186, 213, 1',
|
2972
|
+
'bg-toggle-switch-selected-disabled': '0, 75, 128, 1',
|
2973
|
+
'bg-transparent': '0, 0, 0, 0',
|
2974
|
+
'bg-accent1-primary': '109, 217, 202, 1',
|
2975
|
+
'bg-accent1-secondary': '174, 234, 226, 1',
|
2976
|
+
'bg-accent1-tertiary': '223, 247, 243, 1',
|
2977
|
+
'bg-accent2-primary': '95, 56, 206, 1',
|
2978
|
+
'bg-accent2-secondary': '184, 167, 233, 1',
|
2979
|
+
'bg-accent2-tertiary': '219, 211, 244, 1',
|
2980
|
+
'bg-accent3-primary': '255, 203, 105, 1',
|
2981
|
+
'bg-accent3-secondary': '251, 226, 185, 1',
|
2982
|
+
'bg-accent3-tertiary': '255, 243, 222, 1',
|
2983
|
+
'bg-accent4-primary': '255, 129, 87, 1',
|
2984
|
+
'bg-accent4-secondary': '255, 185, 162, 1',
|
2985
|
+
'bg-accent4-tertiary': '255, 227, 218, 1',
|
2986
|
+
'bg-accent5-primary': '4, 165, 245, 1',
|
2987
|
+
'bg-accent5-secondary': '85, 218, 255, 1',
|
2988
|
+
'bg-accent5-tertiary': '227, 247, 253, 1',
|
2989
|
+
'bg-accent6-primary': '255, 84, 165, 1',
|
2990
|
+
'bg-accent6-secondary': '255, 179, 215, 1',
|
2991
|
+
'bg-accent6-tertiary': '255, 217, 235, 1',
|
2992
|
+
'bg-accent7-primary': '37, 159, 159, 1',
|
2993
|
+
'bg-accent7-secondary': '155, 212, 214, 1',
|
2994
|
+
'bg-accent7-tertiary': '208, 239, 239, 1',
|
2995
|
+
'bg-accent8-primary': '86, 61, 130, 1',
|
2996
|
+
'bg-accent8-secondary': '199, 162, 204, 1',
|
2997
|
+
'bg-accent8-tertiary': '230, 214, 234, 1',
|
2998
|
+
'bg-accent9-primary': '255, 191, 63, 1',
|
2999
|
+
'bg-accent9-secondary': '254, 215, 142, 1',
|
3000
|
+
'bg-accent9-tertiary': '251, 226, 185, 1',
|
3001
|
+
'bg-accent10-primary': '237, 122, 35, 1',
|
3002
|
+
'bg-accent10-secondary': '241, 146, 85, 1',
|
3003
|
+
'bg-accent10-tertiary': '245, 187, 148, 1',
|
3004
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3005
|
+
'text-primary': '252, 252, 252, 1',
|
3006
|
+
'text-secondary': '188, 186, 213, 1',
|
3007
|
+
'text-inverted-primary': '4, 4, 28, 1',
|
3008
|
+
'text-inverted-secondary': '107, 116, 125, 1',
|
3009
|
+
'text-black': '32, 54, 69, 1',
|
3010
|
+
'text-white': '252, 252, 252, 1',
|
3011
|
+
'text-brand': '176, 180, 181, 1',
|
3012
|
+
'text-danger-link': '255, 56, 97, 1',
|
3013
|
+
'text-danger-link-hover': '255, 71, 123, 1',
|
3014
|
+
'text-danger-link-active': '230, 50, 87, 1',
|
3015
|
+
'text-danger-link-focus': '255, 82, 136, 1',
|
3016
|
+
'text-danger-link-visited': '255, 56, 97, 1',
|
3017
|
+
'text-disabled': '70, 71, 101, 1',
|
3018
|
+
'text-error': '255, 56, 97, 1',
|
3019
|
+
'text-input-disabled': '176, 180, 181, 1',
|
3020
|
+
'text-input-placeholder': '89, 96, 99, 1',
|
3021
|
+
'text-link': '0, 187, 255, 1',
|
3022
|
+
'text-link-hover': '0, 204, 255, 1',
|
3023
|
+
'text-link-active': '4, 165, 245, 1',
|
3024
|
+
'text-link-focus': '0, 204, 255, 1',
|
3025
|
+
'text-link-visited': '128, 107, 255, 1',
|
3026
|
+
'text-on-action': '4, 4, 28, 1',
|
3027
|
+
'text-on-danger': '4, 4, 28, 1',
|
3028
|
+
'text-on-disabled': '4, 4, 28, 1',
|
3029
|
+
'text-sidebar-link': '188, 186, 213, 1',
|
3030
|
+
'text-sidebar-link-hover': '18, 18, 39, 1',
|
3031
|
+
'text-sidebar-link-selected': '252, 252, 252, 1',
|
3032
|
+
'text-site-footer-link': '171, 198, 216, 1',
|
3033
|
+
'text-site-footer-link-hover': '199, 217, 229, 1',
|
3034
|
+
'text-site-footer-link-active': '143, 179, 203, 1',
|
3035
|
+
'text-success': '89, 217, 119, 1',
|
3036
|
+
'text-inverted-success': '1, 128, 31, 1',
|
3037
|
+
'text-accent1-primary': '109, 217, 202, 1',
|
3038
|
+
'text-accent2-primary': '95, 56, 206, 1',
|
3039
|
+
'text-accent3-primary': '255, 203, 105, 1',
|
3040
|
+
'text-accent4-primary': '255, 129, 87, 1',
|
3041
|
+
'text-accent5-primary': '4, 165, 245, 1',
|
3042
|
+
'text-accent6-primary': '255, 71, 123, 1',
|
3043
|
+
'text-accent7-primary': '37, 159, 159, 1',
|
3044
|
+
'text-accent8-primary': '86, 61, 130, 1',
|
3045
|
+
'text-accent9-primary': '255, 191, 63, 1',
|
3046
|
+
'text-accent10-primary': '237, 122, 35, 1',
|
3047
|
+
'border-color-action': '0, 187, 255, 1',
|
3048
|
+
'border-color-action-hover': '0, 204, 255, 1',
|
3049
|
+
'border-color-action-active': '4, 165, 245, 1',
|
3050
|
+
'border-color-chip': '107, 116, 125, 1',
|
3051
|
+
'border-color-danger': '255, 56, 97, 1',
|
3052
|
+
'border-color-danger-hover': '255, 71, 123, 1',
|
3053
|
+
'border-color-danger-active': '230, 50, 87, 1',
|
3054
|
+
'border-color-divider': '32, 54, 69, 1',
|
3055
|
+
'border-color-divider-secondary': '51, 57, 61, 1',
|
3056
|
+
'border-color-input-field': '32, 54, 69, 1',
|
3057
|
+
'border-color-input-field-hover': '58, 98, 125, 1',
|
3058
|
+
'border-color-input-field-focus': '0, 187, 255, 1',
|
3059
|
+
'border-color-input-field-danger': '255, 56, 97, 1',
|
3060
|
+
'border-color-input-field-danger-hover': '255, 71, 123, 1',
|
3061
|
+
'border-color-input-field-danger-focus': '255, 56, 97, 1',
|
3062
|
+
'border-color-input-field-disabled': '4, 4, 28, 1',
|
3063
|
+
'border-color-secondary-btn-disabled': '70, 71, 101, 1',
|
3064
|
+
'border-color-sidebar-item-focus': '0, 187, 255, 1',
|
3065
|
+
'border-color-slider-handle': '107, 116, 125, 1',
|
3066
|
+
'border-color-success': '89, 217, 119, 1',
|
3067
|
+
'border-color-table-divider': '32, 54, 69, 1',
|
3068
|
+
'border-color-tile': '32, 54, 69, 1',
|
3069
|
+
'border-color-tile-hover': '58, 98, 125, 1',
|
3070
|
+
'border-color-tile-focus': '0, 187, 255, 1',
|
3071
|
+
'border-color-tile-selected-focus': '153, 192, 255, 1',
|
3072
|
+
'border-color-tile-selected': '153, 192, 255, 1',
|
3073
|
+
'border-color-tile-selected-hover': '178, 208, 255, 1',
|
3074
|
+
'border-color-notification-btn': '252, 252, 252, 1',
|
3075
|
+
'border-color-notification-btn-dark': '32, 54, 69, 1',
|
3076
|
+
};
|
3077
|
+
|
3078
|
+
/* This file is generated by vega-design 2.0.77 */
|
3079
|
+
const DarkModeBorderTokens = {
|
3080
|
+
'border-secondary-btn': '0, 187, 255, 1',
|
3081
|
+
'border-secondary-btn-hover': '0, 204, 255, 1',
|
3082
|
+
'border-secondary-danger-btn': '255, 56, 97, 1',
|
3083
|
+
'border-secondary-btn-active': '4, 165, 245, 1',
|
3084
|
+
'border-secondary-danger-btn-hover': '255, 71, 123, 1',
|
3085
|
+
'border-secondary-danger-btn-active': '230, 50, 87, 1',
|
3086
|
+
'border-input-field': '32, 54, 69, 1',
|
3087
|
+
'border-input-field-hover': '58, 98, 125, 1',
|
3088
|
+
'border-input-field-focus': '0, 187, 255, 1',
|
3089
|
+
'border-input-field-danger': '255, 56, 97, 1',
|
3090
|
+
'border-input-field-danger-hover': '255, 71, 123, 1',
|
3091
|
+
'border-input-field-danger-focus': '255, 56, 97, 1',
|
3092
|
+
'border-sidebar-item-focus': '0, 187, 255, 1',
|
3093
|
+
'border-input-field-disabled': '4, 4, 28, 1',
|
3094
|
+
'border-success': '89, 217, 119, 1',
|
3095
|
+
'border-secondary-btn-disabled': '70, 71, 101, 1',
|
3096
|
+
'border-chip': '107, 116, 125, 1',
|
3097
|
+
'border-divider': '32, 54, 69, 1',
|
3098
|
+
'border-divider-secondary': '51, 57, 61, 1',
|
3099
|
+
'border-tile-selected': '153, 192, 255, 1',
|
3100
|
+
'border-tile-selected-hover': '178, 208, 255, 1',
|
3101
|
+
'border-table-divider': '32, 54, 69, 1',
|
3102
|
+
'border-slider-handle': '107, 116, 125, 1',
|
3103
|
+
'border-tile': '32, 54, 69, 1',
|
3104
|
+
'border-tile-hover': '58, 98, 125, 1',
|
3105
|
+
'border-tile-focus': '0, 187, 255, 1',
|
3106
|
+
'border-tile-selected-focus': '153, 192, 255, 1',
|
3107
|
+
'border-notification-btn': '252, 252, 252, 1',
|
3108
|
+
'border-notification-btn-black': '32, 54, 69, 1',
|
3109
|
+
};
|
3110
|
+
|
3111
|
+
/* This file is generated by vega-design 2.0.77 */
|
3112
|
+
const DarkModeShadowTokens = {
|
3113
|
+
'shadow-card': '0px 2px 10px 0px rgba(0, 0, 0, 0.18), 0px 2px 4px 0px rgba(0, 0, 0, 0.1)',
|
3114
|
+
'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)',
|
3115
|
+
'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)',
|
3116
|
+
'shadow-form-field': '0px 1px 2px 0px rgba(170, 170, 170, 0.06), 0px 1px 3px 0px rgba(170, 170, 170, 0.1)',
|
3117
|
+
'shadow-dropdown-menu': '0px 2px 4px -2px rgba(0, 0, 0, 0.14), 0px 4px 6px -1px rgba(0, 0, 0, 0.16)',
|
3118
|
+
'shadow-app-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3119
|
+
'shadow-modal-header': '0px 1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3120
|
+
'shadow-modal-footer': '0px -2px 8px 0px rgba(188, 186, 213, 0.4), 0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3121
|
+
'shadow-modal-footer-no-scroll': '0px -1px 0px 0px rgba(188, 186, 213, 0.25)',
|
3122
|
+
};
|
3123
|
+
|
3124
|
+
/* This file is generated by vega-design 2.0.77 */
|
3125
|
+
const DarkModeRingTokens = {
|
3126
|
+
'ring-input-focus': '0, 187, 255, 0.25',
|
3127
|
+
'ring-input-danger-focus': '255, 56, 97, 0.25',
|
3128
|
+
'ring-action-focus': '0, 187, 255, 0.25',
|
3129
|
+
'ring-action-danger-focus': '255, 56, 97, 0.25',
|
3130
|
+
};
|
3131
|
+
|
3132
|
+
// TODO: Remove this after the token add in vega design.
|
3133
|
+
const CustomDarkModeColorTokens = {
|
3134
|
+
'bg-backdrop-loading': '0, 0, 0, 0.5',
|
3135
|
+
'text-page-notification-content': DarkModeColorTokens['text-inverted-primary'],
|
3136
|
+
'bg-textarea-counter-exceed-max-length': '255, 87, 114',
|
3137
|
+
'bg-date-picker-range': '32, 54, 69, 1',
|
3138
|
+
'regular-credit-card-bg': '252, 252, 252, 1',
|
3139
|
+
'regular-credit-card-top': '4, 4, 28, 1',
|
3140
|
+
'regular-credit-card-bottom': '255, 255, 255, 1',
|
3141
|
+
};
|
3142
|
+
/**
|
3143
|
+
* Vega components dark mode style controller
|
3144
|
+
*/
|
3145
|
+
class DarkModeStyleController {
|
3146
|
+
/**
|
3147
|
+
* It generates a CSS style for dark mode to override the style.
|
3148
|
+
*/
|
3149
|
+
generateDarkModeStyle() {
|
3150
|
+
const tokens = Object.assign(DarkModeColorTokens, DarkModeBorderTokens, DarkModeRingTokens, DarkModeShadowTokens, CustomDarkModeColorTokens);
|
3151
|
+
const keys = Object.keys(tokens);
|
3152
|
+
this.getDarkModeStyleContainer().innerHTML = `
|
3153
|
+
html.dark {
|
3154
|
+
\t\t${keys.map((key) => `--v-${key}: ${tokens[key]};`).join('\n\t\t')}`;
|
3155
|
+
}
|
3156
|
+
/**
|
3157
|
+
* It creates a `vegaDarkModeStyle` style tag in the head of the document if it doesn't exist, and returns it.
|
3158
|
+
*
|
3159
|
+
* @returns {Element} The `vegaDarkModeStyleContainer` is being returned.
|
3160
|
+
*/
|
3161
|
+
getDarkModeStyleContainer() {
|
3162
|
+
let vegaDarkModeStyleContainer = document.head.querySelector(`#vegaDarkModeStyle`);
|
3163
|
+
if (!vegaDarkModeStyleContainer) {
|
3164
|
+
vegaDarkModeStyleContainer = document.createElement('style');
|
3165
|
+
vegaDarkModeStyleContainer.id = 'vegaDarkModeStyle';
|
3166
|
+
document.head.append(vegaDarkModeStyleContainer);
|
3167
|
+
}
|
3168
|
+
return vegaDarkModeStyleContainer;
|
3169
|
+
}
|
3170
|
+
}
|
3171
|
+
const VegaDarkModeStyleController = new DarkModeStyleController();
|
3172
|
+
|
3173
|
+
const ThemeManagerRuntimeMetricsPayloadDefinition = [
|
3174
|
+
{
|
3175
|
+
payloadKey: 'IS_OVERRIDECOLORS_METHOD_CALLED',
|
3176
|
+
payloadDescription: 'Indicate if the method overrideColors of public API ThemeManager is called',
|
3177
|
+
/**
|
3178
|
+
* Indicate whether the method is collected when the method been called .
|
3179
|
+
*
|
3180
|
+
* @param {string} scope - The class name of public api
|
3181
|
+
* @param {string} methodName - The method name called by the public api
|
3182
|
+
* @returns {boolean} A boolean value
|
3183
|
+
*/
|
3184
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'overrideColors',
|
3185
|
+
/**
|
3186
|
+
* The function checks if the method is be called.
|
3187
|
+
*
|
3188
|
+
* @returns {boolean} A boolean value
|
3189
|
+
*/
|
3190
|
+
payloadValue: () => {
|
3191
|
+
return true;
|
3192
|
+
},
|
3193
|
+
},
|
3194
|
+
{
|
3195
|
+
payloadKey: 'IS_RESET_METHOD_CALLED',
|
3196
|
+
payloadDescription: 'Indicate if the method reset of public API ThemeManager is called',
|
3197
|
+
/**
|
3198
|
+
* Indicate whether the method is collected when the method been called .
|
3199
|
+
*
|
3200
|
+
* @param {string} scope - The class name of public api
|
3201
|
+
* @param {string} methodName - The method name called by the public api
|
3202
|
+
* @returns {boolean} A boolean value
|
3203
|
+
*/
|
3204
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'reset',
|
3205
|
+
/**
|
3206
|
+
* The function checks if the method is be called.
|
3207
|
+
*
|
3208
|
+
* @returns {boolean} A boolean value
|
3209
|
+
*/
|
3210
|
+
payloadValue: () => {
|
3211
|
+
return true;
|
3212
|
+
},
|
3213
|
+
},
|
3214
|
+
{
|
3215
|
+
payloadKey: 'IS_TOGGLEDARKMODE_METHOD_CALLED',
|
3216
|
+
payloadDescription: 'Indicate if the method toggleDarkMode of public API ThemeManager is called',
|
3217
|
+
/**
|
3218
|
+
* Indicate whether the method is collected when the method been called .
|
3219
|
+
*
|
3220
|
+
* @param {string} scope - The class name of public api
|
3221
|
+
* @param {string} methodName - The method name called by the public api
|
3222
|
+
* @returns {boolean} A boolean value
|
3223
|
+
*/
|
3224
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'toggleDarkMode',
|
3225
|
+
/**
|
3226
|
+
* The function checks if the method is be called.
|
3227
|
+
*
|
3228
|
+
* @returns {boolean} A boolean value
|
3229
|
+
*/
|
3230
|
+
payloadValue: () => {
|
3231
|
+
return true;
|
3232
|
+
},
|
3233
|
+
},
|
3234
|
+
{
|
3235
|
+
payloadKey: 'IS_ISDARKMODE_METHOD_CALLED',
|
3236
|
+
payloadDescription: 'Indicate if the method isDarkMode of public API ThemeManager is called',
|
3237
|
+
/**
|
3238
|
+
* Indicate whether the method is collected when the method been called .
|
3239
|
+
*
|
3240
|
+
* @param {string} scope - The class name of public api
|
3241
|
+
* @param {string} methodName - The method name called by the public api
|
3242
|
+
* @returns {boolean} A boolean value
|
3243
|
+
*/
|
3244
|
+
canAccept: (scope, methodName) => scope === 'ThemeManager' && methodName === 'isDarkMode',
|
3245
|
+
/**
|
3246
|
+
* The function checks if the method is be called.
|
3247
|
+
*
|
3248
|
+
* @returns {boolean} A boolean value
|
3249
|
+
*/
|
3250
|
+
payloadValue: () => {
|
3251
|
+
return true;
|
3252
|
+
},
|
3253
|
+
},
|
3254
|
+
];
|
3255
|
+
|
3256
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3257
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3258
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3259
|
+
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;
|
3260
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3261
|
+
};
|
3262
|
+
/**
|
3263
|
+
* Vega components theme manager
|
3264
|
+
*/
|
3265
|
+
class ThemeManager {
|
3266
|
+
constructor() {
|
3267
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(ThemeManager, ['overrideColors', 'reset', 'toggleDarkMode', 'isDarkMode'], ThemeManagerRuntimeMetricsPayloadDefinition);
|
3268
|
+
}
|
3269
|
+
/**
|
3270
|
+
* It takes the colors you passed in, parses them into the correct format, and then applies them to the theme
|
3271
|
+
*
|
3272
|
+
* @param {VegaThemeOverrideColors} overrideColors - OverrideColors - This is the object that you pass to the function.
|
3273
|
+
*/
|
3274
|
+
async overrideColors(overrideColors) {
|
3275
|
+
const overrideThemes = VegaColorSchemaOverridingController.generateOverrideThemes(overrideColors);
|
3276
|
+
VegaColorSchemaOverridingController.applyTheme(overrideThemes);
|
3277
|
+
}
|
3278
|
+
/**
|
3279
|
+
* It removes all the custom override theme styles from the DOM
|
3280
|
+
*/
|
3281
|
+
async reset() {
|
3282
|
+
VegaColorSchemaOverridingController.getOverrideThemeContainer().innerHTML = '';
|
3283
|
+
}
|
3284
|
+
/**
|
3285
|
+
* This function toggles the dark mode of a webpage by adding or removing a 'dark' class to the HTML element.
|
3286
|
+
*
|
3287
|
+
* @param {boolean | undefined} darkMode - A boolean or undefined value that determines whether to enable or disable dark mode.
|
3288
|
+
* If it is true, dark mode is enabled.
|
3289
|
+
* If it is false, dark mode is disabled.
|
3290
|
+
*/
|
3291
|
+
toggleDarkMode(darkMode) {
|
3292
|
+
if (darkMode) {
|
3293
|
+
document.documentElement.classList.add('dark');
|
3294
|
+
VegaDarkModeStyleController.generateDarkModeStyle();
|
3295
|
+
}
|
3296
|
+
else {
|
3297
|
+
document.documentElement.classList.remove('dark');
|
3298
|
+
}
|
3299
|
+
}
|
3300
|
+
/**
|
3301
|
+
* The function checks if the HTML element has a class of "dark" and returns a boolean value accordingly.
|
3302
|
+
*
|
3303
|
+
* @returns {boolean} A boolean value indicating whether the HTML element has a class of "dark", which is
|
3304
|
+
* typically used to indicate that the website is in dark mode.
|
3305
|
+
*/
|
3306
|
+
isDarkMode() {
|
3307
|
+
return document.documentElement.classList.contains('dark');
|
3308
|
+
}
|
3309
|
+
}
|
3310
|
+
__decorate$4([
|
3311
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3312
|
+
], ThemeManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3313
|
+
const VegaThemeManager = new ThemeManager();
|
3314
|
+
|
3315
|
+
/* istanbul ignore next */
|
3316
|
+
const VegaEventManagerRuntimeMetricsPayloadDefinition = [
|
3317
|
+
{
|
3318
|
+
payloadKey: 'IS_SETSEMANTICS_METHOD_CALLED',
|
3319
|
+
payloadDescription: 'Indicate if the method setSemantics of public API VegaEventManager is called',
|
3320
|
+
/**
|
3321
|
+
* Indicate whether the method is collected when the method been called .
|
3322
|
+
*
|
3323
|
+
* @param {string} scope - The class name of public api
|
3324
|
+
* @param {string} methodName - The method name called by the public api
|
3325
|
+
* @returns {boolean} A boolean value
|
3326
|
+
*/
|
3327
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3328
|
+
/**
|
3329
|
+
* The function checks if the method is been called.
|
3330
|
+
*
|
3331
|
+
* @returns {boolean} A boolean value
|
3332
|
+
*/
|
3333
|
+
payloadValue: () => {
|
3334
|
+
return true;
|
3335
|
+
},
|
3336
|
+
},
|
3337
|
+
{
|
3338
|
+
payloadKey: 'IS_GETSEMANTICS_METHOD_CALLED',
|
3339
|
+
payloadDescription: 'Indicate if the method getSemantics of public API VegaEventManager is called',
|
3340
|
+
/**
|
3341
|
+
* Indicate whether the method is collected when the method been called .
|
3342
|
+
*
|
3343
|
+
* @param {string} scope - The class name of public api
|
3344
|
+
* @param {string} methodName - The method name called by the public api
|
3345
|
+
* @returns {boolean} A boolean value
|
3346
|
+
*/
|
3347
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getSemantics',
|
3348
|
+
/**
|
3349
|
+
* The function checks if the method is been called.
|
3350
|
+
*
|
3351
|
+
* @returns {boolean} A boolean value
|
3352
|
+
*/
|
3353
|
+
payloadValue: () => {
|
3354
|
+
return true;
|
3355
|
+
},
|
3356
|
+
},
|
3357
|
+
{
|
3358
|
+
payloadKey: 'IS_GETENABLEDEVENTIDSBYCOMPONENT_METHOD_CALLED',
|
3359
|
+
payloadDescription: 'Indicate if the method getEnabledEventIdsByComponent of public API VegaEventManager is called',
|
3360
|
+
/**
|
3361
|
+
* Indicate whether the method is collected when the method been called .
|
3362
|
+
*
|
3363
|
+
* @param {string} scope - The class name of public api
|
3364
|
+
* @param {string} methodName - The method name called by the public api
|
3365
|
+
* @returns {boolean} A boolean value
|
3366
|
+
*/
|
3367
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'getEnabledEventIdsByComponent',
|
3368
|
+
/**
|
3369
|
+
* The function checks if the method is been called.
|
3370
|
+
*
|
3371
|
+
* @returns {boolean} A boolean value
|
3372
|
+
*/
|
3373
|
+
payloadValue: () => {
|
3374
|
+
return true;
|
3375
|
+
},
|
3376
|
+
},
|
3377
|
+
{
|
3378
|
+
payloadKey: 'globalEventIsNative',
|
3379
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix',
|
3380
|
+
/**
|
3381
|
+
* Indicate whether the method is collected when the method been called .
|
3382
|
+
*
|
3383
|
+
* @param {string} scope - The class name of public api
|
3384
|
+
* @param {string} methodName - The method name called by the public api
|
3385
|
+
* @returns {boolean} A boolean value
|
3386
|
+
*/
|
3387
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3388
|
+
/**
|
3389
|
+
* The function checks if the method is been called.
|
3390
|
+
*
|
3391
|
+
* @param {unknown[]} args - The args parameter is an object
|
3392
|
+
* @returns {boolean} A boolean value
|
3393
|
+
*/
|
3394
|
+
payloadValue: (args) => {
|
3395
|
+
const config = args;
|
3396
|
+
return !!(config.global && config.global.namespace === 'native');
|
3397
|
+
},
|
3398
|
+
},
|
3399
|
+
{
|
3400
|
+
payloadKey: 'eventOfSpecificComponentsIsNative',
|
3401
|
+
payloadDescription: 'Indicate if the vega components will emit events with the vega prefix, but special components will emit events without vega prefix',
|
3402
|
+
/**
|
3403
|
+
* Indicate whether the method is collected when the method been called .
|
3404
|
+
*
|
3405
|
+
* @param {string} scope - The class name of public api
|
3406
|
+
* @param {string} methodName - The method name called by the public api
|
3407
|
+
* @returns {boolean} A boolean value
|
3408
|
+
*/
|
3409
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3410
|
+
/**
|
3411
|
+
* The function checks if the method is been called.
|
3412
|
+
*
|
3413
|
+
* @param {unknown[]} args - The args parameter is an object
|
3414
|
+
* @returns {boolean} A boolean value
|
3415
|
+
*/
|
3416
|
+
payloadValue: (args) => {
|
3417
|
+
const config = args;
|
3418
|
+
if (config.components) {
|
3419
|
+
const specialComponents = Object.keys(config.components);
|
3420
|
+
return !!(specialComponents.length > 0 &&
|
3421
|
+
config.components[specialComponents[0]].namespace === 'native');
|
3422
|
+
}
|
3423
|
+
return false;
|
3424
|
+
},
|
3425
|
+
},
|
3426
|
+
{
|
3427
|
+
payloadKey: 'eventOfSpecificComponentsIsVega',
|
3428
|
+
payloadDescription: 'Indicate if the vega components will emit events without the vega prefix, but special components will emit events with vega prefix',
|
3429
|
+
/**
|
3430
|
+
* Indicate whether the method is collected when the method been called .
|
3431
|
+
*
|
3432
|
+
* @param {string} scope - The class name of public api
|
3433
|
+
* @param {string} methodName - The method name called by the public api
|
3434
|
+
* @returns {boolean} A boolean value
|
3435
|
+
*/
|
3436
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3437
|
+
/**
|
3438
|
+
* The function checks if the method is been called.
|
3439
|
+
*
|
3440
|
+
* @param {unknown[]} args - The args parameter is an object
|
3441
|
+
* @returns {boolean} A boolean value
|
3442
|
+
*/
|
3443
|
+
payloadValue: (args) => {
|
3444
|
+
const config = args;
|
3445
|
+
if (config.global && config.components) {
|
3446
|
+
const specialComponents = Object.keys(config.components);
|
3447
|
+
return !!(config.global.namespace === 'native' &&
|
3448
|
+
specialComponents.length > 0 &&
|
3449
|
+
config.components[specialComponents[0]].namespace === 'vega');
|
3450
|
+
}
|
3451
|
+
return false;
|
3452
|
+
},
|
3453
|
+
},
|
3454
|
+
{
|
3455
|
+
payloadKey: 'globalJqueryDelegatedEventIsTrue',
|
3456
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3457
|
+
/**
|
3458
|
+
* Indicate whether the method is collected when the method been called .
|
3459
|
+
*
|
3460
|
+
* @param {string} scope - The class name of public api
|
3461
|
+
* @param {string} methodName - The method name called by the public api
|
3462
|
+
* @returns {boolean} A boolean value
|
3463
|
+
*/
|
3464
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3465
|
+
/**
|
3466
|
+
* The function checks if the method is been called.
|
3467
|
+
*
|
3468
|
+
* @param {unknown[]} args - The args parameter is an object
|
3469
|
+
* @returns {boolean} A boolean value
|
3470
|
+
*/
|
3471
|
+
payloadValue: (args) => {
|
3472
|
+
const config = args;
|
3473
|
+
return !!(config.global && config.global.jqueryDelegatedEvent === true);
|
3474
|
+
},
|
3475
|
+
},
|
3476
|
+
{
|
3477
|
+
payloadKey: 'jqueryDelegatedEventIsCustomStrategy',
|
3478
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3479
|
+
/**
|
3480
|
+
* Indicate whether the method is collected when the method been called .
|
3481
|
+
*
|
3482
|
+
* @param {string} scope - The class name of public api
|
3483
|
+
* @param {string} methodName - The method name called by the public api
|
3484
|
+
* @returns {boolean} A boolean value
|
3485
|
+
*/
|
3486
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3487
|
+
/**
|
3488
|
+
* The function checks if the method is been called.
|
3489
|
+
*
|
3490
|
+
* @param {unknown[]} args - The args parameter is an object
|
3491
|
+
* @returns {boolean} A boolean value
|
3492
|
+
*/
|
3493
|
+
payloadValue: (args) => {
|
3494
|
+
const config = args;
|
3495
|
+
return !!(config.global &&
|
3496
|
+
Array.isArray(config.global.jqueryDelegatedEvent) &&
|
3497
|
+
config.global.jqueryDelegatedEvent.length > 0);
|
3498
|
+
},
|
3499
|
+
},
|
3500
|
+
{
|
3501
|
+
payloadKey: 'jqueryDelegatedEventOfSpecialComponentsIsTrue',
|
3502
|
+
payloadDescription: 'Indicate if the use jQuery with event delegation',
|
3503
|
+
/**
|
3504
|
+
* Indicate whether the method is collected when the method been called .
|
3505
|
+
*
|
3506
|
+
* @param {string} scope - The class name of public api
|
3507
|
+
* @param {string} methodName - The method name called by the public api
|
3508
|
+
* @returns {boolean} A boolean value
|
3509
|
+
*/
|
3510
|
+
canAccept: (scope, methodName) => scope === 'VegaEventManager' && methodName === 'setSemantics',
|
3511
|
+
/**
|
3512
|
+
* The function checks if the method is been called.
|
3513
|
+
*
|
3514
|
+
* @param {unknown[]} args - The args parameter is an object
|
3515
|
+
* @returns {boolean} A boolean value
|
3516
|
+
*/
|
3517
|
+
payloadValue: (args) => {
|
3518
|
+
const config = args;
|
3519
|
+
if (config.components) {
|
3520
|
+
const specialComponents = Object.keys(config.components);
|
3521
|
+
return !!(specialComponents.length > 0 &&
|
3522
|
+
config.components[specialComponents[0]].jqueryDelegatedEvent === true);
|
3523
|
+
}
|
3524
|
+
return false;
|
3525
|
+
},
|
3526
|
+
},
|
3527
|
+
];
|
3528
|
+
|
3529
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3530
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3531
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3532
|
+
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;
|
3533
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3534
|
+
};
|
3535
|
+
/**
|
3536
|
+
* The VegaEventManager class provides methods for setting and retrieving event semantics configuration,
|
3537
|
+
* as well as getting the corresponding native event name for a given event.
|
3538
|
+
*/
|
3539
|
+
class VegaEventManager {
|
3540
|
+
constructor() {
|
3541
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaEventManager, ['setSemantics', 'getSemantics', 'getEnabledEventIdsByComponent'], VegaEventManagerRuntimeMetricsPayloadDefinition);
|
3542
|
+
}
|
3543
|
+
/**
|
3544
|
+
* The function sets the semantics configuration for event management.
|
3545
|
+
*
|
3546
|
+
* @param {EventSemanticsConfig} config - The config parameter is an object that contains the
|
3547
|
+
* configuration settings for the event semantics. It may include properties such as the event type,
|
3548
|
+
* event source, event target, event data, and any other relevant information for setting up the
|
3549
|
+
* semantics of the event.
|
3550
|
+
*/
|
3551
|
+
setSemantics(config) {
|
3552
|
+
internalVegaEventManager.internalVegaEventManager.setSemantics(config);
|
3553
|
+
}
|
3554
|
+
/**
|
3555
|
+
* The function "getSemantics" returns the event semantics of an HTML element.
|
3556
|
+
*
|
3557
|
+
* @param {HTMLElement} host - The host parameter is an HTMLElement, which represents an HTML element
|
3558
|
+
* in the DOM (Document Object Model). It can be any valid HTML element such as a div, span, button,
|
3559
|
+
* etc.
|
3560
|
+
* @returns {EventSemantics} an object of type EventSemantics.
|
3561
|
+
*/
|
3562
|
+
getSemantics(host) {
|
3563
|
+
return internalVegaEventManager.internalVegaEventManager.getSemantics(host);
|
3564
|
+
}
|
3565
|
+
/**
|
3566
|
+
* The function "getEnabledEventIdsByComponent" returns the all eventIds in component.
|
3567
|
+
*
|
3568
|
+
* @param {VegaComponentName} componentName - The component name,
|
3569
|
+
* etc.
|
3570
|
+
* @returns {Nullable<VegaEventID[]>} All eventIds.
|
3571
|
+
*/
|
3572
|
+
getEnabledEventIdsByComponent(componentName) {
|
3573
|
+
return internalVegaEventManager.internalVegaEventManager.getEnabledEventIdsByComponent(componentName);
|
3574
|
+
}
|
3575
|
+
}
|
3576
|
+
__decorate$3([
|
3577
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3578
|
+
], VegaEventManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3579
|
+
const VegaEventManager$1 = new VegaEventManager();
|
3580
|
+
|
3581
|
+
const ZIndexManagerRuntimeMetricsPayloadDefinition = [
|
3582
|
+
{
|
3583
|
+
payloadKey: 'IS_OVERRIDEZINDEXBASICVALUES_METHOD_CALLED',
|
3584
|
+
payloadDescription: 'Indicate if the method overrideZIndexBasicValues of public API ZIndexManager is called',
|
3585
|
+
/**
|
3586
|
+
* Indicate whether the method is collected when the method been called .
|
3587
|
+
*
|
3588
|
+
* @param {string} scope - The class name of public api
|
3589
|
+
* @param {string} methodName - The method name called by the public api
|
3590
|
+
* @returns {boolean} A boolean value
|
3591
|
+
*/
|
3592
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3593
|
+
/**
|
3594
|
+
* The function checks if the method name is load.
|
3595
|
+
*
|
3596
|
+
* @returns {boolean} A boolean value
|
3597
|
+
*/
|
3598
|
+
payloadValue: () => {
|
3599
|
+
return true;
|
3600
|
+
},
|
3601
|
+
},
|
3602
|
+
{
|
3603
|
+
payloadKey: 'zIndexBasicValuesGreatThanTenThousand',
|
3604
|
+
payloadDescription: 'Indicate if the basic z-index value is great than ten thousand',
|
3605
|
+
/**
|
3606
|
+
* Indicate whether the method is collected when the method been called .
|
3607
|
+
*
|
3608
|
+
* @param {string} scope - The class name of public api
|
3609
|
+
* @param {string} methodName - The method name called by the public api
|
3610
|
+
* @returns {boolean} A boolean value
|
3611
|
+
*/
|
3612
|
+
canAccept: (scope, methodName) => scope === 'VegaZIndexManager' && methodName === 'overrideZIndexBasicValues',
|
3613
|
+
/**
|
3614
|
+
* The function checks if the method name is load.
|
3615
|
+
*
|
3616
|
+
* @param {unknown[]} args - The parameter of slimmer method
|
3617
|
+
* @returns {boolean} A boolean value
|
3618
|
+
*/
|
3619
|
+
payloadValue: (args) => {
|
3620
|
+
return args['base'] > 10000;
|
3621
|
+
},
|
3622
|
+
},
|
3623
|
+
];
|
3624
|
+
|
3625
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3626
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3627
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3628
|
+
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;
|
3629
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3630
|
+
};
|
3631
|
+
/**
|
3632
|
+
* The VegaZIndexManager class calls a method in the ZIndexManager class to
|
3633
|
+
* change z-index values based on the input.
|
3634
|
+
*/
|
3635
|
+
class VegaZIndexManager {
|
3636
|
+
constructor() {
|
3637
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaZIndexManager, ['overrideZIndexBasicValues'], ZIndexManagerRuntimeMetricsPayloadDefinition);
|
3638
|
+
}
|
3639
|
+
/**
|
3640
|
+
* The function "overrideZIndexBasicValues" calls a method in the "ZIndexManager" class to change the
|
3641
|
+
* z-index values based on the input.
|
3642
|
+
*
|
3643
|
+
* @param {ZIndexBasicValues} input - The input parameter is of type ZIndexBasicValues.
|
3644
|
+
*/
|
3645
|
+
overrideZIndexBasicValues(input) {
|
3646
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.overrideZIndexBasicValues(input);
|
3647
|
+
}
|
3648
|
+
}
|
3649
|
+
__decorate$2([
|
3650
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3651
|
+
], VegaZIndexManager.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3652
|
+
const VegaZIndexManager$1 = new VegaZIndexManager();
|
3653
|
+
|
3654
|
+
const WaitForVegaPayloadDefinition = [
|
3655
|
+
{
|
3656
|
+
payloadKey: 'IS_WAITFORVEGA_METHOD_CALLED',
|
3657
|
+
payloadDescription: 'Indicate if the method waitForVega of public API WaitForVegaHandler is called',
|
3658
|
+
/**
|
3659
|
+
* Indicate whether the method is collected when the method been called .
|
3660
|
+
*
|
3661
|
+
* @param {string} scope - The class name of public api
|
3662
|
+
* @param {string} methodName - The method name called by the public api
|
3663
|
+
* @returns {boolean} A boolean value
|
3664
|
+
*/
|
3665
|
+
canAccept: (scope, methodName) => scope === 'WaitForVegaHandler' && methodName === 'handle',
|
3666
|
+
/**
|
3667
|
+
* The function checks if the method name is waitForVega.
|
3668
|
+
*
|
3669
|
+
* @returns {boolean} A boolean value
|
3670
|
+
*/
|
3671
|
+
payloadValue: () => {
|
3672
|
+
return true;
|
3673
|
+
},
|
3674
|
+
},
|
3675
|
+
];
|
3676
|
+
|
3677
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3678
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3679
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3680
|
+
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;
|
3681
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3682
|
+
};
|
3683
|
+
/**
|
3684
|
+
* WaitForVegaHandler to check whether the vega component has been loaded.
|
3685
|
+
*/
|
3686
|
+
class WaitForVegaHandler {
|
3687
|
+
constructor() {
|
3688
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(WaitForVegaHandler, ['handle'], WaitForVegaPayloadDefinition);
|
3689
|
+
}
|
3690
|
+
/* istanbul ignore next */
|
3691
|
+
/**
|
3692
|
+
* Wait for all vega elements to be ready.
|
3693
|
+
*
|
3694
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3695
|
+
*/
|
3696
|
+
async handle() {
|
3697
|
+
return await Promise.all(Array.from(document.querySelectorAll('*:not(.hydrated)'))
|
3698
|
+
.filter((item) => item.tagName.startsWith('VEGA'))
|
3699
|
+
.map((item) => { var _a; return (_a = item.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(item); }));
|
3700
|
+
}
|
3701
|
+
}
|
3702
|
+
__decorate$1([
|
3703
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3704
|
+
], WaitForVegaHandler.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3705
|
+
const WaitForVega = new WaitForVegaHandler();
|
3706
|
+
|
3707
|
+
/* istanbul ignore next */
|
3708
|
+
/**
|
3709
|
+
* Wait for all vega elements to be ready.
|
3710
|
+
*
|
3711
|
+
* The below method is e2e-test covered in @see{module:wait-for-vega-should-work-as-expected}
|
3712
|
+
*/
|
3713
|
+
const waitForVega = async () => {
|
3714
|
+
return WaitForVega.handle();
|
3715
|
+
};
|
3716
|
+
|
3717
|
+
const VegaSkeletonRuntimeMetricsPayloadDefinition = [
|
3718
|
+
{
|
3719
|
+
payloadKey: 'IS_LOAD_METHOD_CALLED',
|
3720
|
+
payloadDescription: 'Indicate if the method load of public API VegaSkeletonLoaderController is called',
|
3721
|
+
/**
|
3722
|
+
* Indicate whether the method is collected when the method been called .
|
3723
|
+
*
|
3724
|
+
* @param {string} scope - The class name of public api
|
3725
|
+
* @param {string} methodName - The method name called by the public api
|
3726
|
+
* @returns {boolean} A boolean value
|
3727
|
+
*/
|
3728
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'load',
|
3729
|
+
/**
|
3730
|
+
* The function checks if the method name is load.
|
3731
|
+
*
|
3732
|
+
* @returns {boolean} A boolean value
|
3733
|
+
*/
|
3734
|
+
payloadValue: () => {
|
3735
|
+
return true;
|
3736
|
+
},
|
3737
|
+
},
|
3738
|
+
{
|
3739
|
+
payloadKey: 'IS_UNLOAD_METHOD_CALLED',
|
3740
|
+
payloadDescription: 'Indicate if the method unLoad of public API VegaSkeletonLoaderController is called',
|
3741
|
+
/**
|
3742
|
+
* Indicate whether the method is collected when the method been called .
|
3743
|
+
*
|
3744
|
+
* @param {string} scope - The class name of public api
|
3745
|
+
* @param {string} methodName - The method name called by the public api
|
3746
|
+
* @returns {boolean} A boolean value
|
3747
|
+
*/
|
3748
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoad',
|
3749
|
+
/**
|
3750
|
+
* The function checks if the method name is unLoad.
|
3751
|
+
*
|
3752
|
+
* @returns {boolean} A boolean value
|
3753
|
+
*/
|
3754
|
+
payloadValue: () => {
|
3755
|
+
return true;
|
3756
|
+
},
|
3757
|
+
},
|
3758
|
+
{
|
3759
|
+
payloadKey: 'IS_UNLOADALL_METHOD_CALLED',
|
3760
|
+
payloadDescription: 'Indicate if the method unLoadAll of public API VegaSkeletonLoaderController is called',
|
3761
|
+
/**
|
3762
|
+
* Indicate whether the method is collected when the method been called .
|
3763
|
+
*
|
3764
|
+
* @param {string} scope - The class name of public api
|
3765
|
+
* @param {string} methodName - The method name called by the public api
|
3766
|
+
* @returns {boolean} A boolean value
|
3767
|
+
*/
|
3768
|
+
canAccept: (scope, methodName) => scope === 'VegaSkeletonLoaderController' && methodName === 'unLoadAll',
|
3769
|
+
/**
|
3770
|
+
* The function checks if the method name is unLoadAll.
|
3771
|
+
*
|
3772
|
+
* @returns {boolean} A boolean value
|
3773
|
+
*/
|
3774
|
+
payloadValue: () => {
|
3775
|
+
return true;
|
3776
|
+
},
|
3777
|
+
},
|
3778
|
+
];
|
3779
|
+
|
3780
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3781
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3782
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3783
|
+
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;
|
3784
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3785
|
+
};
|
3786
|
+
/**
|
3787
|
+
* Vega Skeleton Loader Controller to show skeletons in the target elements
|
3788
|
+
*/
|
3789
|
+
class VegaSkeletonLoaderController {
|
3790
|
+
constructor() {
|
3791
|
+
this.vegaPublicAPIRuntimeMetricsSlimmer = createPublicApiRuntimeMetricsSlimmer.createPublicAPIRuntimeMetricsSlimmer(VegaSkeletonLoaderController, ['load', 'unLoad', 'unLoadAll'], VegaSkeletonRuntimeMetricsPayloadDefinition);
|
3792
|
+
this.loaderMap = new Map();
|
3793
|
+
}
|
3794
|
+
/**
|
3795
|
+
* Load the skeletons in the target elements
|
3796
|
+
*
|
3797
|
+
* @param { VegaSkeletonLoaderConfig } config - Configuration for the loading function
|
3798
|
+
* @param {string} config.target - Target elements to show the skeletons.
|
3799
|
+
* @param {VegaSkeletonLoaderConfig.type} [config.type = 'text'] - Type of the skeleton.
|
3800
|
+
* @param {VegaSkeletonLoaderConfig.width} config.width - Width of the skeleton.
|
3801
|
+
* @param {VegaSkeletonLoaderConfig.height} config.height - Height of the skeleton.
|
3802
|
+
* @param {VegaSkeletonLoaderConfig.items} config.items - Configuration for multiple skeleton items.
|
3803
|
+
* @param {VegaSkeletonLoaderConfig.layout} config.layout - Layout of the skeleton items.
|
3804
|
+
* @returns { string } - Key of the loaded skeleton items.
|
3805
|
+
*/
|
3806
|
+
load({ target, type = 'text', width, height, items, layout }) {
|
3807
|
+
const targets = Array.from(document.body.querySelectorAll(target));
|
3808
|
+
const key = `vega-skeleton-loader-${misc.generateUUID()}`;
|
3809
|
+
const loaderItems = [];
|
3810
|
+
targets.forEach((target) => {
|
3811
|
+
const skeletonsLoaders = !items
|
3812
|
+
? [this.createSkeleton({ type, width, height })]
|
3813
|
+
: items.map(this.createSkeleton);
|
3814
|
+
const itemsWithKey = (layout ? [this.wrapLayout(skeletonsLoaders, layout)] : skeletonsLoaders).map((item) => {
|
3815
|
+
item.dataset[VegaSkeletonLoaderController.LOADER_DATA_SET_KEY] = key;
|
3816
|
+
return item;
|
3817
|
+
});
|
3818
|
+
loaderItems.push(...itemsWithKey);
|
3819
|
+
target.append(...itemsWithKey);
|
3820
|
+
});
|
3821
|
+
this.loaderMap.set(key, loaderItems);
|
3822
|
+
return key;
|
3823
|
+
}
|
3824
|
+
/**
|
3825
|
+
* Remove the skeletons from the dom.
|
3826
|
+
*
|
3827
|
+
* @param {string} key - The key returned from {@link VegaSkeletonLoaderController.load}.
|
3828
|
+
*/
|
3829
|
+
unLoad(key) {
|
3830
|
+
if (this.loaderMap.has(key)) {
|
3831
|
+
this.loaderMap.get(key).forEach((item) => item.remove());
|
3832
|
+
this.loaderMap.delete(key);
|
3833
|
+
}
|
3834
|
+
}
|
3835
|
+
/**
|
3836
|
+
* Remove all the skeletons from the dom.
|
3837
|
+
*/
|
3838
|
+
unLoadAll() {
|
3839
|
+
for (const items of this.loaderMap.values()) {
|
3840
|
+
items.forEach((item) => item.remove());
|
3841
|
+
}
|
3842
|
+
this.loaderMap.clear();
|
3843
|
+
}
|
3844
|
+
/**
|
3845
|
+
* Create a skeleton item. The skeleton animated always be true
|
3846
|
+
*
|
3847
|
+
* @param {VegaSkeletonLoaderItem} config - Configuration for the skeleton item.
|
3848
|
+
* @returns {HTMLElement} - Skeleton item.
|
3849
|
+
*/
|
3850
|
+
createSkeleton(config) {
|
3851
|
+
const { type, width, height } = config;
|
3852
|
+
const skeleton = document.createElement('vega-skeleton');
|
3853
|
+
Object.assign(skeleton, { animated: true, type, width, height });
|
3854
|
+
return skeleton;
|
3855
|
+
}
|
3856
|
+
/**
|
3857
|
+
* Wrap the flex layout for the skeletons.
|
3858
|
+
*
|
3859
|
+
* @param {HTMLElement[]} skeletons - Skeleton elements of the loader.
|
3860
|
+
* @param {VegaSkeletonLoaderLayout} layout - Flex properties for the layout.
|
3861
|
+
* @returns {HTMLElement} - Container wrapping the skeletons in the specified flex layout.
|
3862
|
+
*/
|
3863
|
+
wrapLayout(skeletons, layout) {
|
3864
|
+
const skeletonContainer = document.createElement('vega-flex');
|
3865
|
+
Object.assign(skeletonContainer, Object.assign({ className: 'vega-skeleton-loader-template-container' }, layout.props));
|
3866
|
+
Object.assign(skeletonContainer.style, layout.style);
|
3867
|
+
skeletonContainer.append(...skeletons);
|
3868
|
+
return skeletonContainer;
|
3869
|
+
}
|
3870
|
+
}
|
3871
|
+
VegaSkeletonLoaderController.LOADER_DATA_SET_KEY = 'vegaSkeletonLoaderKey';
|
3872
|
+
__decorate([
|
3873
|
+
createPublicApiRuntimeMetricsSlimmer.InjectVegaTelemetrySlimmer()
|
3874
|
+
], VegaSkeletonLoaderController.prototype, "vegaPublicAPIRuntimeMetricsSlimmer", void 0);
|
3875
|
+
const VegaSkeletonLoader = new VegaSkeletonLoaderController();
|
3876
|
+
|
3877
|
+
exports.VegaEventManager = VegaEventManager$1;
|
3878
|
+
exports.VegaLoader = VegaLoader;
|
3879
|
+
exports.VegaNotify = VegaNotify;
|
3880
|
+
exports.VegaSkeletonLoader = VegaSkeletonLoader;
|
3881
|
+
exports.VegaThemeManager = VegaThemeManager;
|
3882
|
+
exports.VegaZIndexManager = VegaZIndexManager$1;
|
3883
|
+
exports.waitForVega = waitForVega;
|