@globalpayments/vega 2.13.1 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-9633dc88.js → app-globals-6b5136b1.js} +4 -4
- package/dist/cjs/{childNodesEventPreventSlimmer-29128c2a.js → childNodesEventPreventSlimmer-5b352793.js} +1 -1
- package/dist/cjs/{componentUsageRuntimeMetrics-b21c694f.js → componentUsageRuntimeMetrics-1a2a592d.js} +1 -1
- package/dist/cjs/{designToken-91ea7c25.js → designToken-1e1dc648.js} +6 -83
- package/dist/cjs/{elementAppenderSlimmer-31397fa9.js → elementAppenderSlimmer-0590af69.js} +1 -1
- package/dist/cjs/{eventEmitSlimmer-da0b3b8b.js → eventEmitSlimmer-ea57144a.js} +1 -1
- package/dist/cjs/{featureFlagController-44d5e755.js → featureFlagController-ab94fd4f.js} +1 -1
- package/dist/cjs/{formFieldControllerSlimmer-b451c7a5.js → formFieldControllerSlimmer-9271a8b8.js} +4 -3
- package/dist/cjs/index-1299d729.js +8 -0
- package/dist/cjs/{index-672f20ec.js → index-3183748d.js} +27 -11
- package/dist/cjs/{index-1aa6f0c9.js → index-b8881ddc.js} +3 -3
- package/dist/cjs/index.cjs.js +9 -7
- package/dist/cjs/{internalVegaEventManager-a3672e0c.js → internalVegaEventManager-543c20cb.js} +2 -1
- package/dist/cjs/{legendInputProcessor-b1c5958c.js → legendInputProcessor-76d1eab6.js} +5 -32
- package/dist/cjs/loader.cjs.js +7 -7
- package/dist/cjs/mutationObserverFilters-dd88e5fe.js +45 -0
- package/dist/cjs/{mutationObserverFilters-5beee7b8.js → mutationObserverSlimmer-8d99123c.js} +4 -43
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/{responsiveFormatFacade-12dd896d.js → responsiveFormatFacade-037c9c80.js} +3 -43
- package/dist/cjs/stateBackgroundColorFormatter-96a26ee7.js +85 -0
- package/dist/cjs/{stringInputFormatterSlimmer-e15e55cd.js → stringInputFormatterSlimmer-afdb5cfd.js} +2 -0
- package/dist/cjs/{subStateObserverSlimmer-e61bda94.js → subStateObserverSlimmer-48ad20a1.js} +1 -1
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +9 -7
- package/dist/cjs/vega-app-footer.cjs.entry.js +1 -1
- package/dist/cjs/vega-app-header-button.cjs.entry.js +9 -7
- package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/vega-banner.cjs.entry.js +4 -4
- package/dist/cjs/vega-bar-chart.cjs.entry.js +4 -3
- package/dist/cjs/vega-box.cjs.entry.js +5 -3
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-circle.cjs.entry.js +9 -7
- package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
- package/dist/cjs/vega-button.cjs.entry.js +7 -6
- package/dist/cjs/vega-calendar_2.cjs.entry.js +2927 -0
- package/dist/cjs/vega-card.cjs.entry.js +5 -3
- package/dist/cjs/vega-carousel.cjs.entry.js +6 -5
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +9 -8
- package/dist/cjs/vega-chip.cjs.entry.js +9 -7
- package/dist/cjs/vega-color-picker.cjs.entry.js +8 -7
- package/dist/cjs/vega-combo-box.cjs.entry.js +9 -8
- package/dist/cjs/vega-counter-badge.cjs.entry.js +1 -1
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +13 -11
- package/dist/cjs/vega-dialog_2.cjs.entry.js +9 -7
- package/dist/cjs/vega-divider.cjs.entry.js +5 -3
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +38 -39
- package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
- package/dist/cjs/vega-field-label.cjs.entry.js +5 -5
- package/dist/cjs/vega-flex.cjs.entry.js +7 -5
- package/dist/cjs/vega-font.cjs.entry.js +5 -3
- package/dist/cjs/vega-form.cjs.entry.js +9 -8
- package/dist/cjs/vega-grid.cjs.entry.js +5 -3
- package/dist/cjs/vega-icon.cjs.entry.js +5 -3
- package/dist/cjs/vega-image-uploader.cjs.entry.js +11 -9
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +11 -10
- package/dist/cjs/vega-input-range.cjs.entry.js +9 -8
- package/dist/cjs/vega-input-select.cjs.entry.js +11 -9
- package/dist/cjs/vega-input.cjs.entry.js +9 -8
- package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -4
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +9 -7
- package/dist/cjs/vega-line-chart.cjs.entry.js +4 -3
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -2
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +5 -5
- package/dist/cjs/vega-pie-chart.cjs.entry.js +3 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +7 -6
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +4 -4
- package/dist/cjs/vega-radio_2.cjs.entry.js +10 -9
- package/dist/cjs/vega-section-title.cjs.entry.js +1 -1
- package/dist/cjs/vega-segment-control.cjs.entry.js +4 -4
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +10 -9
- package/dist/cjs/vega-skeleton.cjs.entry.js +326 -0
- package/dist/cjs/vega-slot-container.cjs.entry.js +1 -1
- package/dist/cjs/vega-stepper.cjs.entry.js +9 -8
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +21 -42
- package/dist/cjs/vega-table_8.cjs.entry.js +23 -19
- package/dist/cjs/vega-text.cjs.entry.js +1 -1
- package/dist/cjs/vega-textarea.cjs.entry.js +9 -8
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +12 -10
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +4 -3
- package/dist/cjs/vega.cjs.js +7 -7
- package/dist/cjs/{vegaEventId-1a0eb6b5.js → vegaEventId-d7774262.js} +2 -0
- package/dist/cjs/{vegaInternalEventId-b27735af.js → vegaInternalEventId-173c4941.js} +2 -0
- package/dist/cjs/{yAxisInputProcessor-da676e61.js → yAxisInputProcessor-8b437e75.js} +1 -1
- package/dist/collection/collection-manifest.json +14 -0
- package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +103 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +71 -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 +78 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendarEventSorter.js +91 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/baseEventLayout.js +11 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/baseEventLayoutCell.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/baseEventLayoutGenerator.js +23 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/fullDayEventLayout.js +42 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/fullDayEventLayoutGenerator.js +84 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/fullDayEventLayoutRow.js +41 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/longEventLayoutGenerator.test.js +99 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +39 -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 +150 -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-renderer.js +54 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayout.js +35 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayoutColumn.js +50 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayoutGenerator.js +29 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/dayViewEventLayoutGenerator.test.js +77 -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 +88 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +177 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +73 -0
- package/dist/collection/components/vega-calendar/utils/index.js +23 -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-title-max-height-controller.js +37 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +28 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +151 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +342 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +94 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +602 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +345 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +22 -22
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +0 -1
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +1 -4
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +8 -4
- 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 +77 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +163 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +11 -12
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +1 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +3 -3
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +7 -5
- package/dist/collection/constants/ui.js +2 -0
- package/dist/collection/global/icons/chevron-left.js +3 -0
- package/dist/collection/global/icons/chevron-right.js +3 -0
- package/dist/collection/helpers/calendar/calendar-date.js +103 -0
- package/dist/collection/helpers/calendar/calendar-event.js +256 -0
- package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +75 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +33 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +35 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +34 -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 +130 -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/event-manager/eventID/componentEventIdMap.js +2 -1
- package/dist/collection/helpers/event-manager/eventID/vegaEventId.js +2 -0
- package/dist/collection/helpers/event-manager/eventID/vegaInternalEventId.js +1 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiveWidthAndHeightFormatter.js +3 -25
- package/dist/collection/helpers/slimmers/mutation-observer/mutationObserverSlimmer.js +4 -1
- package/dist/collection/helpers/slimmers/stringInputFormatterSlimmer.js +2 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vegaEnvManager.test.js +1 -1
- package/dist/collection/helpers/vega-telemetry-helper/vegaEnvManager.js +2 -2
- package/dist/collection/utils/e2eUtils.js +2 -1
- package/dist/collection/utils/pixel.js +21 -0
- package/dist/collection/utils/test/pixel.test.js +9 -1
- package/dist/esm/{app-globals-f49e68bc.js → app-globals-cf903368.js} +4 -4
- package/dist/esm/{childNodesEventPreventSlimmer-86a1593c.js → childNodesEventPreventSlimmer-ca73e6c1.js} +1 -1
- package/dist/esm/{componentUsageRuntimeMetrics-9f888049.js → componentUsageRuntimeMetrics-4f08dec8.js} +1 -1
- package/dist/esm/{designToken-d25f5b1e.js → designToken-edc855d6.js} +4 -81
- package/dist/esm/{elementAppenderSlimmer-ef58e7a4.js → elementAppenderSlimmer-3c05ca9f.js} +2 -2
- package/dist/esm/{eventEmitSlimmer-d5b8d8d7.js → eventEmitSlimmer-9c33f04e.js} +1 -1
- package/dist/esm/{featureFlagController-9df5a1a3.js → featureFlagController-816491ad.js} +1 -1
- package/dist/esm/{formFieldControllerSlimmer-04953f74.js → formFieldControllerSlimmer-85ff874e.js} +3 -2
- package/dist/esm/{index-27e4eb43.js → index-4126a006.js} +27 -11
- package/dist/esm/index-c3505689.js +8 -0
- package/dist/esm/{index-41dc8dc1.js → index-dd06e5e7.js} +3 -3
- package/dist/esm/index.js +10 -8
- package/dist/esm/{internalVegaEventManager-501f9eb9.js → internalVegaEventManager-e1501923.js} +2 -1
- package/dist/esm/{legendInputProcessor-0b8dc09c.js → legendInputProcessor-644350b4.js} +1 -28
- package/dist/esm/loader.js +7 -7
- package/dist/esm/mutationObserverFilters-243934f6.js +42 -0
- package/dist/esm/{mutationObserverFilters-17327079.js → mutationObserverSlimmer-2355cedf.js} +5 -42
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/{responsiveFormatFacade-7665557d.js → responsiveFormatFacade-ac0b91fc.js} +7 -47
- package/dist/esm/stateBackgroundColorFormatter-e705312f.js +82 -0
- package/dist/esm/{stringInputFormatterSlimmer-9ba33d9e.js → stringInputFormatterSlimmer-e67c7503.js} +3 -1
- package/dist/esm/{subStateObserverSlimmer-71b39ca0.js → subStateObserverSlimmer-354b33f6.js} +1 -1
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/{typeGuard-ebc62114.js → typeGuard-f33ed2eb.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +10 -8
- package/dist/esm/vega-app-footer.entry.js +1 -1
- package/dist/esm/vega-app-header-button.entry.js +10 -8
- package/dist/esm/vega-backdrop.entry.js +1 -1
- package/dist/esm/vega-banner.entry.js +4 -4
- package/dist/esm/vega-bar-chart.entry.js +4 -3
- package/dist/esm/vega-box.entry.js +6 -4
- package/dist/esm/vega-breadcrumb.entry.js +5 -5
- package/dist/esm/vega-button-circle.entry.js +10 -8
- package/dist/esm/vega-button-group_2.entry.js +7 -7
- package/dist/esm/vega-button-link.entry.js +5 -5
- package/dist/esm/vega-button.entry.js +8 -7
- package/dist/esm/vega-calendar_2.entry.js +2922 -0
- package/dist/esm/vega-card.entry.js +6 -4
- package/dist/esm/vega-carousel.entry.js +7 -6
- package/dist/esm/vega-checkbox_2.entry.js +9 -8
- package/dist/esm/vega-chip.entry.js +10 -8
- package/dist/esm/vega-color-picker.entry.js +8 -7
- package/dist/esm/vega-combo-box.entry.js +10 -9
- package/dist/esm/vega-counter-badge.entry.js +1 -1
- package/dist/esm/vega-date-picker_2.entry.js +14 -12
- package/dist/esm/vega-dialog_2.entry.js +10 -8
- package/dist/esm/vega-divider.entry.js +6 -4
- package/dist/esm/vega-dropdown_5.entry.js +39 -40
- package/dist/esm/vega-field-error.entry.js +1 -1
- package/dist/esm/vega-field-label.entry.js +5 -5
- package/dist/esm/vega-flex.entry.js +8 -6
- package/dist/esm/vega-font.entry.js +6 -4
- package/dist/esm/vega-form.entry.js +9 -8
- package/dist/esm/vega-grid.entry.js +6 -4
- package/dist/esm/vega-icon.entry.js +6 -4
- package/dist/esm/vega-image-uploader.entry.js +12 -10
- package/dist/esm/vega-input-credit-card.entry.js +11 -10
- package/dist/esm/vega-input-range.entry.js +9 -8
- package/dist/esm/vega-input-select.entry.js +12 -10
- package/dist/esm/vega-input.entry.js +10 -9
- package/dist/esm/vega-item-toggle.entry.js +4 -4
- package/dist/esm/vega-left-nav_5.entry.js +10 -8
- package/dist/esm/vega-line-chart.entry.js +4 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +4 -3
- package/dist/esm/vega-page-notification_2.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +5 -5
- package/dist/esm/vega-pie-chart.entry.js +3 -2
- package/dist/esm/vega-popover_2.entry.js +8 -7
- package/dist/esm/vega-progress-tracker.entry.js +4 -4
- package/dist/esm/vega-radio_2.entry.js +9 -8
- package/dist/esm/vega-section-title.entry.js +1 -1
- package/dist/esm/vega-segment-control.entry.js +4 -4
- package/dist/esm/vega-selection-tile_2.entry.js +10 -9
- package/dist/esm/vega-skeleton.entry.js +322 -0
- package/dist/esm/vega-slot-container.entry.js +1 -1
- package/dist/esm/vega-stepper.entry.js +9 -8
- package/dist/esm/vega-tab-group_2.entry.js +20 -41
- package/dist/esm/vega-table_8.entry.js +21 -17
- package/dist/esm/vega-text.entry.js +1 -1
- package/dist/esm/vega-textarea.entry.js +9 -8
- package/dist/esm/vega-time-picker_2.entry.js +13 -11
- package/dist/esm/vega-toggle-switch.entry.js +4 -4
- package/dist/esm/vega-tooltip_2.entry.js +5 -4
- package/dist/esm/vega.js +7 -7
- package/dist/esm/{vegaEventId-c0384a6f.js → vegaEventId-680887e1.js} +2 -1
- package/dist/esm/{vegaInternalEventId-ba0b5623.js → vegaInternalEventId-600b3751.js} +2 -1
- package/dist/esm/{yAxisInputProcessor-1d65dcf9.js → yAxisInputProcessor-2f08ac84.js} +1 -1
- package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +45 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +36 -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 +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/calendarEventSorter.d.ts +38 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/baseEventLayout.d.ts +11 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/baseEventLayoutCell.d.ts +40 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/baseEventLayoutGenerator.d.ts +16 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/fullDayEventLayout.d.ts +30 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/fullDayEventLayoutGenerator.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/fullDayEventLayoutRow.d.ts +26 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/longEventLayoutGenerator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +23 -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 +67 -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-renderer.d.ts +22 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayout.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayoutColumn.d.ts +28 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/dayViewTimedEventLayoutGenerator.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/dayViewEventLayoutGenerator.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 +37 -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 +29 -0
- package/dist/types/components/vega-calendar/types.d.ts +58 -0
- package/dist/types/components/vega-calendar/utils/index.d.ts +18 -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-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 +10 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +54 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +25 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +107 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +3 -6
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +0 -2
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +5 -1
- 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 +41 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +5 -5
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +1 -1
- package/dist/types/components.d.ts +128 -1
- package/dist/types/constants/ui.d.ts +1 -1
- 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/helpers/calendar/calendar-date.d.ts +61 -0
- package/dist/types/helpers/calendar/calendar-event.d.ts +140 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +73 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +21 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +21 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +21 -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/event-manager/eventID/vegaEventId.d.ts +2 -0
- package/dist/types/helpers/event-manager/eventID/vegaInternalEventId.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiveWidthAndHeightFormatter.d.ts +0 -12
- package/dist/types/types/components.type.d.ts +9 -1
- package/dist/types/utils/pixel.d.ts +11 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-009405b6.entry.js +1 -0
- package/dist/vega/p-01ec38c1.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/{p-d361ef78.js → p-1265732f.js} +1 -1
- package/dist/vega/{p-e80fd0ef.js → p-13ead830.js} +1 -1
- package/dist/vega/{p-d942a746.js → p-16608c5a.js} +1 -1
- package/dist/vega/{p-41413ea4.entry.js → p-1b3a0b54.entry.js} +2 -2
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/{p-7b127de4.js → p-1c2646d6.js} +1 -1
- package/dist/vega/p-1ced3ae5.js +1 -0
- package/dist/vega/{p-f27998de.entry.js → p-1d628d23.entry.js} +1 -1
- package/dist/vega/p-1dfddf03.entry.js +1 -0
- package/dist/vega/p-23422e56.entry.js +1 -0
- package/dist/vega/{p-797b24d3.entry.js → p-27d76db9.entry.js} +1 -1
- package/dist/vega/p-282648c1.entry.js +1 -0
- package/dist/vega/p-29d2d70a.js +1 -0
- package/dist/vega/p-2bb1c1c1.entry.js +1 -0
- package/dist/vega/{p-cffd96c9.entry.js → p-2c89a9a4.entry.js} +1 -1
- package/dist/vega/p-2e59a4f1.entry.js +1 -0
- package/dist/vega/p-37d3b80c.entry.js +1 -0
- package/dist/vega/p-38a22eb3.entry.js +1 -0
- package/dist/vega/p-38b01f3f.entry.js +1 -0
- package/dist/vega/p-38d19c4f.entry.js +1 -0
- package/dist/vega/p-3a815548.entry.js +1 -0
- package/dist/vega/p-3efc814a.entry.js +1 -0
- package/dist/vega/p-4365b25e.entry.js +1 -0
- package/dist/vega/p-449ad98f.entry.js +1 -0
- package/dist/vega/p-4d2859c9.entry.js +1 -0
- package/dist/vega/p-557516a4.entry.js +1 -0
- package/dist/vega/p-56681feb.js +1 -0
- package/dist/vega/p-57b85af1.entry.js +1 -0
- package/dist/vega/p-592e755b.entry.js +1 -0
- package/dist/vega/{p-210737f2.js → p-5cad29f5.js} +1 -1
- package/dist/vega/p-5eeb2fc1.entry.js +1 -0
- package/dist/vega/p-61c96c79.entry.js +1 -0
- package/dist/vega/p-61f18887.js +1 -0
- package/dist/vega/p-692df03d.entry.js +1 -0
- package/dist/vega/p-6ad96891.entry.js +1 -0
- package/dist/vega/p-6bdc4407.js +1 -0
- package/dist/vega/{p-194a3f8f.entry.js → p-6d482bec.entry.js} +1 -1
- package/dist/vega/{p-5b5625a0.entry.js → p-6e0daee9.entry.js} +1 -1
- package/dist/vega/p-6f7f9cda.entry.js +1 -0
- package/dist/vega/p-7440d7a2.entry.js +1 -0
- package/dist/vega/{p-bbbcfd09.entry.js → p-77b39fe7.entry.js} +1 -1
- package/dist/vega/p-77ff7c72.js +1 -0
- package/dist/vega/{p-e49ec016.entry.js → p-84787f59.entry.js} +1 -1
- package/dist/vega/p-8c62c493.entry.js +1 -0
- package/dist/vega/{p-a03b1bad.entry.js → p-9047ee85.entry.js} +1 -1
- package/dist/vega/p-95bdac84.entry.js +1 -0
- package/dist/vega/{p-3d220905.js → p-999e1318.js} +1 -1
- package/dist/vega/{p-7653f0c2.js → p-99c8fe92.js} +1 -1
- package/dist/vega/{p-e6848e33.entry.js → p-9b396c06.entry.js} +1 -1
- package/dist/vega/p-9e38810c.js +1 -0
- package/dist/vega/{p-f5f0545e.entry.js → p-9f56c3e4.entry.js} +1 -1
- package/dist/vega/p-a6cb10e8.entry.js +1 -0
- package/dist/vega/{p-75c51fe9.js → p-a9c3e9fd.js} +1 -1
- package/dist/vega/{p-8bdb7c1d.entry.js → p-a9f61d9e.entry.js} +1 -1
- package/dist/vega/p-aae8855d.js +1 -0
- package/dist/vega/p-af72a212.entry.js +1 -0
- package/dist/vega/p-b3056874.entry.js +1 -0
- package/dist/vega/{p-fa38e1c8.entry.js → p-b58e2fae.entry.js} +1 -1
- package/dist/vega/{p-86002ca4.entry.js → p-b708b0c2.entry.js} +1 -1
- package/dist/vega/p-b7bde205.entry.js +1 -0
- package/dist/vega/p-ba37eaad.entry.js +1 -0
- package/dist/vega/p-bb761f8f.js +1 -0
- package/dist/vega/p-bfc3450c.entry.js +1 -0
- package/dist/vega/p-c0ca1a1c.entry.js +1 -0
- package/dist/vega/p-c47d4933.js +1 -0
- package/dist/vega/p-c849236f.entry.js +1 -0
- package/dist/vega/{p-c902a586.entry.js → p-cd05ab96.entry.js} +1 -1
- package/dist/vega/{p-31ec4b52.entry.js → p-ceec3241.entry.js} +1 -1
- package/dist/vega/{p-761c458e.entry.js → p-d224e798.entry.js} +1 -1
- package/dist/vega/p-d909c9b4.entry.js +1 -0
- package/dist/vega/p-d978ee2c.entry.js +1 -0
- package/dist/vega/p-de5db6c9.entry.js +1 -0
- package/dist/vega/p-e1a284b1.entry.js +1 -0
- package/dist/vega/p-e4e60c01.entry.js +1 -0
- package/dist/vega/p-eb461dad.entry.js +1 -0
- package/dist/vega/p-eb709bc0.entry.js +1 -0
- package/dist/vega/p-f1d8fd1c.js +1 -0
- package/dist/vega/{p-629acb2e.js → p-f2118771.js} +1 -1
- package/dist/vega/p-f723790c.entry.js +1 -0
- package/dist/vega/{p-6ff07396.js → p-fda33444.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -3
- package/dist/vega/p-07abc29b.entry.js +0 -1
- package/dist/vega/p-08b48e61.entry.js +0 -1
- package/dist/vega/p-0d51b10e.entry.js +0 -1
- package/dist/vega/p-0ee347fd.entry.js +0 -1
- package/dist/vega/p-1fe9e4b3.js +0 -1
- package/dist/vega/p-22101a5f.entry.js +0 -1
- package/dist/vega/p-26be7725.js +0 -1
- package/dist/vega/p-2d38dcab.entry.js +0 -1
- package/dist/vega/p-2ea7b083.entry.js +0 -1
- package/dist/vega/p-3185ee03.entry.js +0 -1
- package/dist/vega/p-3205e6ec.entry.js +0 -1
- package/dist/vega/p-33ac74cb.entry.js +0 -1
- package/dist/vega/p-4949df06.js +0 -1
- package/dist/vega/p-4aaa9e0d.entry.js +0 -1
- package/dist/vega/p-5abced5e.entry.js +0 -1
- package/dist/vega/p-5df33dea.entry.js +0 -1
- package/dist/vega/p-60dbd035.entry.js +0 -1
- package/dist/vega/p-64020a69.entry.js +0 -1
- package/dist/vega/p-6cb26711.entry.js +0 -1
- package/dist/vega/p-79ccf076.entry.js +0 -1
- package/dist/vega/p-7d2ed978.entry.js +0 -1
- package/dist/vega/p-8da4b720.js +0 -1
- package/dist/vega/p-91160d38.js +0 -1
- package/dist/vega/p-9745f18f.entry.js +0 -1
- package/dist/vega/p-9820bd52.entry.js +0 -1
- package/dist/vega/p-9c726541.entry.js +0 -1
- package/dist/vega/p-9e70473b.js +0 -1
- package/dist/vega/p-a022bf87.entry.js +0 -1
- package/dist/vega/p-a09efd3b.entry.js +0 -1
- package/dist/vega/p-a62f4fbf.entry.js +0 -1
- package/dist/vega/p-ac23cfa6.js +0 -1
- package/dist/vega/p-ad2d02c5.entry.js +0 -1
- package/dist/vega/p-ade08379.entry.js +0 -1
- package/dist/vega/p-aeef2799.js +0 -1
- package/dist/vega/p-b7a0f473.entry.js +0 -1
- package/dist/vega/p-b7c51304.js +0 -1
- package/dist/vega/p-bbc8b4f5.entry.js +0 -1
- package/dist/vega/p-bd350fb7.entry.js +0 -1
- package/dist/vega/p-bf877997.entry.js +0 -1
- package/dist/vega/p-cb06eb1c.entry.js +0 -1
- package/dist/vega/p-d3605b1a.entry.js +0 -1
- package/dist/vega/p-da12b2da.entry.js +0 -1
- package/dist/vega/p-db6e73fc.entry.js +0 -1
- package/dist/vega/p-e0d2c9f6.entry.js +0 -1
- package/dist/vega/p-e89db39c.entry.js +0 -1
- package/dist/vega/p-eb6c9578.js +0 -1
- package/dist/vega/p-fbc0c261.entry.js +0 -1
- package/dist/vega/p-fc30b986.entry.js +0 -1
- package/dist/vega/p-ff3ae862.entry.js +0 -1
- package/dist/vega/p-ffa25bf2.entry.js +0 -1
package/dist/esm/{mutationObserverFilters-17327079.js → mutationObserverSlimmer-2355cedf.js}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { a as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
2
|
-
import { b as findNodeList } from './array-8c82516c.js';
|
|
3
2
|
|
|
4
3
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5
4
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -62,7 +61,10 @@ class MutationObserverSlimmer extends VegaSlimmer {
|
|
|
62
61
|
* MutationObserver.
|
|
63
62
|
*/
|
|
64
63
|
observeMutationObserver() {
|
|
65
|
-
this.
|
|
64
|
+
const target = this.observerEntry.target ? this.observerEntry.target() : this.host;
|
|
65
|
+
if (target) {
|
|
66
|
+
this.mutationObserver.observe(target, this.observerEntry.options);
|
|
67
|
+
}
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
__decorate([
|
|
@@ -78,43 +80,4 @@ __decorate([
|
|
|
78
80
|
MapToComponentMethod('componentDidLoad')
|
|
79
81
|
], MutationObserverSlimmer.prototype, "componentDidLoad", null);
|
|
80
82
|
|
|
81
|
-
|
|
82
|
-
* The function `TagNameMutationFilter` filters mutations based on whether they involve elements with a
|
|
83
|
-
* specific tag name.
|
|
84
|
-
*
|
|
85
|
-
* @param {string[]} tagNames - The `TagNameMutationFilter` function takes a `tagName` parameter, which is
|
|
86
|
-
* a string representing the tag name of an HTML element. The function then returns a `MutationFilter`
|
|
87
|
-
* function that filters mutations based on whether any added or removed nodes have the specified tag
|
|
88
|
-
* name.
|
|
89
|
-
* @returns {Function} The `TagNameMutationFilter` function is being returned. It takes a `tagName` parameter of
|
|
90
|
-
* type string and returns a `MutationFilter` function that filters mutations based on whether any
|
|
91
|
-
* added or removed nodes have a tag name matching the provided `tagName`.
|
|
92
|
-
*/
|
|
93
|
-
const TagNameMutationFilter = (...tagNames) => {
|
|
94
|
-
return (mutations) => {
|
|
95
|
-
/**
|
|
96
|
-
* The function `filter` takes an `HTMLElement` as input and returns `true` if the element's tag name
|
|
97
|
-
* matches a specified `tagName`.
|
|
98
|
-
*
|
|
99
|
-
* @param {HTMLElement} item - An HTMLElement, which represents an element in the HTML document.
|
|
100
|
-
* @returns {boolean} -
|
|
101
|
-
*/
|
|
102
|
-
const filter = (item) => tagNames.includes(item.tagName);
|
|
103
|
-
return (mutations.find((mutation) => findNodeList(mutation.addedNodes, filter) || findNodeList(mutation.removedNodes, filter)) !== undefined);
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* The function `AttributeOldValueMutationFilter` filters mutations based on whether the old attribute
|
|
108
|
-
* value differs from the current attribute value on the host element.
|
|
109
|
-
*
|
|
110
|
-
* @returns { Function }The code snippet defines a function named `AttributeOldValueMutationFilter` that returns a
|
|
111
|
-
* `MutationFilter` function. The `MutationFilter` function takes an array of `MutationRecord` objects
|
|
112
|
-
* and an `HTMLElement` as parameters.
|
|
113
|
-
*/
|
|
114
|
-
const AttributeOldValueMutationFilter = () => {
|
|
115
|
-
return (mutations, host) => {
|
|
116
|
-
return (mutations.find((mutation) => mutation.attributeName && mutation.oldValue !== host.getAttribute(mutation.attributeName)) !== undefined);
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
export { AttributeOldValueMutationFilter as A, MutationObserverSlimmer as M, TagNameMutationFilter as T };
|
|
83
|
+
export { MutationObserverSlimmer as M };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
2
|
+
const Spacing = {
|
|
3
|
+
"0": 0,
|
|
4
|
+
"size-4": 4,
|
|
5
|
+
"size-8": 8,
|
|
6
|
+
"size-12": 12,
|
|
7
|
+
"size-16": 16,
|
|
8
|
+
"size-20": 20,
|
|
9
|
+
"size-24": 24,
|
|
10
|
+
"size-32": 32,
|
|
11
|
+
"size-40": 40,
|
|
12
|
+
"size-48": 48,
|
|
13
|
+
"size-64": 64,
|
|
14
|
+
"size-72": 72,
|
|
15
|
+
"size-80": 80,
|
|
16
|
+
"size-112": 112,
|
|
17
|
+
"size-2": 2
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The function parses a string representing a pixel value to a number, or returns the input if it is already a number.
|
|
22
|
+
*
|
|
23
|
+
* @param {number | string} input - The input parameter can be either a number or a string. If it is a
|
|
24
|
+
* string, it should be in the format of a CSS pixel value (e.g. "10px").
|
|
25
|
+
* @returns {number} returns a number. If the input is already a number, it returns the input as is. If the input is a string, it attempts to extract a number from the
|
|
26
|
+
* string by removing the 'px' suffix and converting the remaining string to a number. If the string
|
|
27
|
+
* cannot be converted to a number, it returns 0.
|
|
28
|
+
*/
|
|
29
|
+
function parsePixelStringToNumber(input) {
|
|
30
|
+
return typeof input === 'number'
|
|
31
|
+
? input
|
|
32
|
+
: input && !isNaN(Number(input.replace('px', '')))
|
|
33
|
+
? Number(input.replace('px', ''))
|
|
34
|
+
: 0;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The function takes a number or string input and returns a string with 'px' appended if the input is a number.
|
|
38
|
+
*
|
|
39
|
+
* @param {number | string} input - The input parameter can be either a number or a string. If it is a
|
|
40
|
+
* number, the function will convert it to a string and append the 'px' unit to it. If it is already a string, the function will simply return it as is.
|
|
41
|
+
* @returns {string} returns a string that represents a CSS pixel value. If the input is a number, it concatenates the number with the string 'px'. If the input is already a
|
|
42
|
+
* string, it returns the input string as is.
|
|
43
|
+
*/
|
|
44
|
+
function parseNumberToPixelString(input) {
|
|
45
|
+
return typeof input === 'number' ? input + 'px' : input;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* This function takes an input parameter and returns a string.
|
|
49
|
+
* - If the input is a number, it returns a string with 'px'.
|
|
50
|
+
* - If the input is a string, it returns the input string as is.
|
|
51
|
+
* - If the input is a {@link SpacingTokenType}, it returns a parsed value string with 'px'.
|
|
52
|
+
*
|
|
53
|
+
* @param {number | string | SpacingTokenType} input - The input parameter can be either a number or a string. If it is a
|
|
54
|
+
* @returns {string} returns a string that represents a CSS pixel value
|
|
55
|
+
*/
|
|
56
|
+
function parseToPixelString(input) {
|
|
57
|
+
if (!isNaN(Number(input))) {
|
|
58
|
+
return `${input}px`;
|
|
59
|
+
}
|
|
60
|
+
else if (Object.keys(Spacing).includes(input)) {
|
|
61
|
+
return `${Spacing[input]}px`;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return input;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { parseNumberToPixelString as a, parsePixelStringToNumber as b, parseToPixelString as p };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as isResponsiveType, v as isBreakpointsForPrefixType, n as isSpacingTokenType, w as isDirectionalSpacingType, h as Spacing, x as isGridColumnsType, y as isGridRowsType, z as isTranslocationType, A as isFlexDirectionType, D as isFlexAlignItemType, E as isFlexJustifyContentType, G as isFlexWrapType, H as isBoxDisplayType, o as isBorderRadiusTokenType, I as isDirectionalBorderRadiusType, B as BorderRadius, J as isTextAlignType } from './typeGuard-f33ed2eb.js';
|
|
2
2
|
import { L as LogUtility } from './global-slimmer-registry-16fd7452.js';
|
|
3
3
|
import { g as getCurrentBreakpoint, c as createCompleteResponsiveMap } from './breakpoints-e59edf8d.js';
|
|
4
4
|
import { i as isValidPercentage } from './number-e2519d1c.js';
|
|
5
5
|
import { F as FlexDirections, b as FlexAlignItem, c as FlexJustifyContent, d as FlexWrap, e as BoxDisplay, T as TextAlign } from './ui-df46cc20.js';
|
|
6
|
+
import { p as parseToPixelString } from './pixel-f32c07ce.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* An abstract class for format {@link ManagedResponsiveScopeInput[Flag]} to CSS class string
|
|
@@ -65,7 +66,7 @@ class ResponsivePaddingFormatter extends ResponsiveClassStringFormatter {
|
|
|
65
66
|
.join(' ');
|
|
66
67
|
}
|
|
67
68
|
else {
|
|
68
|
-
LogUtility.warn(`The padding value ${input} is invalid, it must be a value of: `, Spacing
|
|
69
|
+
LogUtility.warn(`The padding value ${input} is invalid, it must be a value of: `, Spacing);
|
|
69
70
|
return '';
|
|
70
71
|
}
|
|
71
72
|
}
|
|
@@ -106,7 +107,7 @@ class ResponsiveMarginFormatter extends ResponsiveClassStringFormatter {
|
|
|
106
107
|
.join(' ');
|
|
107
108
|
}
|
|
108
109
|
else {
|
|
109
|
-
LogUtility.warn(`The margin value ${input} is invalid, it must be a value of: `, Spacing
|
|
110
|
+
LogUtility.warn(`The margin value ${input} is invalid, it must be a value of: `, Spacing);
|
|
110
111
|
return '';
|
|
111
112
|
}
|
|
112
113
|
}
|
|
@@ -132,7 +133,7 @@ class ResponsiveGapFormatter extends ResponsiveClassStringFormatter {
|
|
|
132
133
|
return `${prefix}v-gap-${input}`;
|
|
133
134
|
}
|
|
134
135
|
else {
|
|
135
|
-
LogUtility.warn(`The gap value ${input} is invalid, it must be a value of: `, Spacing
|
|
136
|
+
LogUtility.warn(`The gap value ${input} is invalid, it must be a value of: `, Spacing);
|
|
136
137
|
return '';
|
|
137
138
|
}
|
|
138
139
|
}
|
|
@@ -525,25 +526,6 @@ class ResponsiveBoxDisplayFormatter extends ResponsiveClassStringFormatter {
|
|
|
525
526
|
}
|
|
526
527
|
const ResponsiveBoxDisplayFormatter$1 = new ResponsiveBoxDisplayFormatter();
|
|
527
528
|
|
|
528
|
-
/* This file is generated by vega-design 2.0.77 */
|
|
529
|
-
const Spacing = {
|
|
530
|
-
"0": 0,
|
|
531
|
-
"size-4": 4,
|
|
532
|
-
"size-8": 8,
|
|
533
|
-
"size-12": 12,
|
|
534
|
-
"size-16": 16,
|
|
535
|
-
"size-20": 20,
|
|
536
|
-
"size-24": 24,
|
|
537
|
-
"size-32": 32,
|
|
538
|
-
"size-40": 40,
|
|
539
|
-
"size-48": 48,
|
|
540
|
-
"size-64": 64,
|
|
541
|
-
"size-72": 72,
|
|
542
|
-
"size-80": 80,
|
|
543
|
-
"size-112": 112,
|
|
544
|
-
"size-2": 2
|
|
545
|
-
};
|
|
546
|
-
|
|
547
529
|
/**
|
|
548
530
|
* A class for format WidthType and HeightType
|
|
549
531
|
*
|
|
@@ -563,32 +545,10 @@ class ResponsiveWidthAndHeightFormatter {
|
|
|
563
545
|
const breakpoint = getCurrentBreakpoint();
|
|
564
546
|
if (isResponsiveType(input)) {
|
|
565
547
|
input = createCompleteResponsiveMap(input);
|
|
566
|
-
return
|
|
548
|
+
return parseToPixelString(input[breakpoint]);
|
|
567
549
|
}
|
|
568
550
|
else {
|
|
569
|
-
return
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* The function `formatWidthAndHeight` takes an input of type `WidthType` or `HeightType` and returns a
|
|
574
|
-
* string representation with 'px' appended if the input is a number or a string that can be converted
|
|
575
|
-
* to a number, otherwise it returns the input as is.
|
|
576
|
-
*
|
|
577
|
-
* @param {WidthType | HeightType} input - The `input` parameter in the `formatWidthAndHeight` function
|
|
578
|
-
* can be either a `number`, a `string` that can be converted to a number, or a key from the `Spacing`
|
|
579
|
-
* object.
|
|
580
|
-
* @returns {string} The `formatWidthAndHeight` function takes an input of type `WidthType` or `HeightType` and
|
|
581
|
-
* returns a string.
|
|
582
|
-
*/
|
|
583
|
-
formatWidthAndHeight(input) {
|
|
584
|
-
if (!isNaN(Number(input))) {
|
|
585
|
-
return `${input}px`;
|
|
586
|
-
}
|
|
587
|
-
else if (Object.keys(Spacing).includes(input)) {
|
|
588
|
-
return `${Spacing[input]}px`;
|
|
589
|
-
}
|
|
590
|
-
else {
|
|
591
|
-
return input;
|
|
551
|
+
return parseToPixelString(input);
|
|
592
552
|
}
|
|
593
553
|
}
|
|
594
554
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { K as isStateVariantTokenType, p as isBackgroundColorTokenType, a as BackgroundColors, d as BackgroundColorMap } from './typeGuard-f33ed2eb.js';
|
|
2
|
+
import { L as LogUtility } from './global-slimmer-registry-16fd7452.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* StateVariantFormatter: Format state token to CSS styles
|
|
6
|
+
*/
|
|
7
|
+
class StateVariantFormatter {
|
|
8
|
+
/**
|
|
9
|
+
* The function `format` takes an input state variant type and returns formatted CSS styles based on
|
|
10
|
+
* the input.
|
|
11
|
+
*
|
|
12
|
+
* @param {StateVariantType} input - The `format` function takes an `input` parameter of type
|
|
13
|
+
* `StateVariantType<ManagedStateScopeInput[Flag], State>`. This means that the `input` parameter
|
|
14
|
+
* should be an object that contains styles for different states, where the keys are state names and
|
|
15
|
+
* the values are the corresponding styles
|
|
16
|
+
* @returns {string} The `format` function returns a string that contains CSS styles based on the input
|
|
17
|
+
* provided. If the input is determined to be a state variant token type, the function generates CSS
|
|
18
|
+
* styles for each state in the input and returns them joined by newlines. If the input is not a state
|
|
19
|
+
* variant token type, the function generates CSS styles for the default state and returns them.
|
|
20
|
+
*/
|
|
21
|
+
format(input) {
|
|
22
|
+
if (isStateVariantTokenType(input)) {
|
|
23
|
+
const stateStyles = [];
|
|
24
|
+
this.getStates().forEach((state) => {
|
|
25
|
+
const style = this.formatToken(input[state]);
|
|
26
|
+
if (style) {
|
|
27
|
+
stateStyles.push(`:host${state === 'default' ? '' : `(:${state})`}{\n\t${style}\n}`);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
return stateStyles.join('\n');
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
const style = this.formatToken(input);
|
|
34
|
+
return `:host{\n\t${style}\n}`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The `StateBackgroundColorFormatter` class in TypeScript formats background color tokens
|
|
41
|
+
* and handles different CSS states.
|
|
42
|
+
*/
|
|
43
|
+
class StateBackgroundColorFormatter extends StateVariantFormatter {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments);
|
|
46
|
+
this.states = ['default', 'hover', 'active', 'focus-visible'];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The function `formatToken` takes a `BackgroundColorsTokenType` input, checks if it is a valid
|
|
50
|
+
* background color token type, and returns the corresponding CSS background color value or logs a
|
|
51
|
+
* warning if the input is invalid.
|
|
52
|
+
*
|
|
53
|
+
* @param {BackgroundColorsTokenType} input - The `input` parameter is of type
|
|
54
|
+
* `BackgroundColorsTokenType`, which is used to represent different background color tokens.
|
|
55
|
+
* @returns {string} The `formatToken` function takes a `BackgroundColorsTokenType` input and checks if it is a
|
|
56
|
+
* valid background color token type. If it is valid, it retrieves the corresponding color value from
|
|
57
|
+
* the `BackgroundColorMap` and returns a CSS style string with the background color. If the input is
|
|
58
|
+
* not valid, it logs a warning message using `LogUtility.warn` and returns an empty string.
|
|
59
|
+
*/
|
|
60
|
+
formatToken(input) {
|
|
61
|
+
if (isBackgroundColorTokenType(input)) {
|
|
62
|
+
const tokenValue = BackgroundColorMap[input];
|
|
63
|
+
return `background-color: ${tokenValue};`;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
LogUtility.warn(`The backgroundColor value ${input} is invalid, it must be a value of: `, BackgroundColors);
|
|
67
|
+
return '';
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The function `getStates` returns an array of `CssStatesType` objects.
|
|
72
|
+
*
|
|
73
|
+
* @returns {CssStatesType[]} An array of objects of type CssStatesType, which represents the states stored in the
|
|
74
|
+
* variable this.states.
|
|
75
|
+
*/
|
|
76
|
+
getStates() {
|
|
77
|
+
return this.states;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const stateBackgroundColorFormatter = new StateBackgroundColorFormatter();
|
|
81
|
+
|
|
82
|
+
export { StateVariantFormatter as S, stateBackgroundColorFormatter as s };
|
package/dist/esm/{stringInputFormatterSlimmer-9ba33d9e.js → stringInputFormatterSlimmer-e67c7503.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as isNonNullable } from './typeGuard-
|
|
1
|
+
import { P as isNonNullable } from './typeGuard-f33ed2eb.js';
|
|
2
2
|
import { a as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -194,6 +194,7 @@ class StringInputFormatterSlimmer extends VegaSlimmer {
|
|
|
194
194
|
* @param {InputEvent} e - blur event
|
|
195
195
|
*/
|
|
196
196
|
this.onBlur = (e) => {
|
|
197
|
+
this.blurFlag = false;
|
|
197
198
|
if (this.blurFormatStrategy) {
|
|
198
199
|
const target = e.target;
|
|
199
200
|
const rawValue = target.value;
|
|
@@ -212,6 +213,7 @@ class StringInputFormatterSlimmer extends VegaSlimmer {
|
|
|
212
213
|
* @param {InputEvent} e - input event
|
|
213
214
|
*/
|
|
214
215
|
this.onKeyDown = (e) => {
|
|
216
|
+
this.inputFlag = false;
|
|
215
217
|
const target = e.target;
|
|
216
218
|
const rawValue = target.value;
|
|
217
219
|
const caretPosition = target.selectionStart; // selectionStart is nullable, link https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-textarea/input-selectionstart
|
package/dist/esm/{subStateObserverSlimmer-71b39ca0.js → subStateObserverSlimmer-354b33f6.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { V as VegaSlimmer, a as MapToComponentField, M as MapToComponentMethod }
|
|
|
2
2
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-ef83e258.js';
|
|
3
3
|
import { C as ChangeManager } from './changeManager-d60d98c8.js';
|
|
4
4
|
import { O as Observer, d as domNodeSubjectFactory } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
5
|
-
import { d as VegaInternalSubStatePull, e as VegaInternalSubStatePush } from './vegaInternalEventId-
|
|
5
|
+
import { d as VegaInternalSubStatePull, e as VegaInternalSubStatePush } from './vegaInternalEventId-600b3751.js';
|
|
6
6
|
import { f as findParent } from './ui-28499aab.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function returns a function that will execute the given function after a delay.
|
|
3
|
+
* The function is called with the same arguments as the original function
|
|
4
|
+
*
|
|
5
|
+
* @typedef T generic type parameter
|
|
6
|
+
* @param {() => void} fn - The function to be debounced.
|
|
7
|
+
* @param {number} delay - The delay in milliseconds.
|
|
8
|
+
* @param {T} context - The context to be used when calling the function.
|
|
9
|
+
* @returns {(() => void)} A function that will call the original function with the given arguments after the given delay.
|
|
10
|
+
*/
|
|
11
|
+
const debounce = (fn, delay, context) => {
|
|
12
|
+
let timer;
|
|
13
|
+
return function (...args) {
|
|
14
|
+
if (timer)
|
|
15
|
+
clearTimeout(timer);
|
|
16
|
+
timer = setTimeout(function () {
|
|
17
|
+
fn.apply(context, args);
|
|
18
|
+
}, delay);
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { debounce as d };
|
|
@@ -668,4 +668,4 @@ const isCssStateType = (input) => {
|
|
|
668
668
|
return typeof input === 'string' && CssStates.includes(input);
|
|
669
669
|
};
|
|
670
670
|
|
|
671
|
-
export {
|
|
671
|
+
export { isFlexDirectionType as A, BorderRadius as B, Colors as C, isFlexAlignItemType as D, isFlexJustifyContentType as E, FillBackgroundColors as F, isFlexWrapType as G, isBoxDisplayType as H, isDirectionalBorderRadiusType as I, isTextAlignType as J, isStateVariantTokenType as K, isAccordionObserverPayload as L, isArrayOfType as M, isDropdownSourceItemType as N, isSelectSourceItemType as O, isNonNullable as P, StrokeBackgroundColors as S, TextColors as T, BackgroundColors as a, BorderColors as b, TextColorMap as c, BackgroundColorMap as d, BorderColorMap as e, Shadows as f, ShadowMap as g, Spacing as h, isBorderColorTokenType as i, isShadowsTokenType as j, isBorderTokenType as k, Borders as l, BorderMap as m, isSpacingTokenType as n, isBorderRadiusTokenType as o, isBackgroundColorTokenType as p, isTextColorTokenType as q, isBreakpointsTokenType as r, isBorderStyleType as s, isTypographyTokenType as t, isResponsiveType as u, isBreakpointsForPrefixType as v, isDirectionalSpacingType as w, isGridColumnsType as x, isGridRowsType as y, isTranslocationType as z };
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { a as MapToComponentField, V as VegaSlimmer, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
3
3
|
import { s as slotPlaceholder } from './placeholder-bf562081.js';
|
|
4
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
4
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
6
|
-
import { f as formatAndValidResponsiveToken } from './designToken-
|
|
6
|
+
import { f as formatAndValidResponsiveToken } from './designToken-edc855d6.js';
|
|
7
7
|
import { a as arrayToClassString } from './ui-28499aab.js';
|
|
8
8
|
import { D as DomNodeSubjectObserverFactory, O as Observer } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
9
|
-
import { a as VegaClick, V as VegaExpand } from './vegaEventId-
|
|
9
|
+
import { a as VegaClick, V as VegaExpand } from './vegaEventId-680887e1.js';
|
|
10
10
|
import { c as chevronUp, a as chevronDown } from './chevron-down-4303bddb.js';
|
|
11
11
|
import { V as VegaInternalIconManager } from './internal-icon-manager-a52b1c10.js';
|
|
12
12
|
import { C as ChangeManager } from './changeManager-d60d98c8.js';
|
|
13
13
|
import { A as ACCORDION_EXPAND_TOPIC } from './staticSubjectTitle-3b88939a.js';
|
|
14
|
-
import { L as isAccordionObserverPayload } from './typeGuard-
|
|
15
|
-
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-
|
|
16
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
14
|
+
import { L as isAccordionObserverPayload } from './typeGuard-f33ed2eb.js';
|
|
15
|
+
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-ca73e6c1.js';
|
|
16
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
17
17
|
import './breakpoints-e59edf8d.js';
|
|
18
18
|
import './ui-df46cc20.js';
|
|
19
|
-
import './responsiveFormatFacade-
|
|
19
|
+
import './responsiveFormatFacade-ac0b91fc.js';
|
|
20
20
|
import './number-e2519d1c.js';
|
|
21
|
+
import './pixel-f32c07ce.js';
|
|
21
22
|
import './typography-a8fc4764.js';
|
|
23
|
+
import './stateBackgroundColorFormatter-e705312f.js';
|
|
22
24
|
import './iconManager-48bebc43.js';
|
|
23
25
|
import './regex-dfe11abf.js';
|
|
24
|
-
import './internalVegaEventManager-
|
|
26
|
+
import './internalVegaEventManager-e1501923.js';
|
|
25
27
|
import './dynamic-slimmer-ef83e258.js';
|
|
26
28
|
|
|
27
29
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, F as Fragment, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
4
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
4
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
5
5
|
|
|
6
6
|
const HEARTLAND_TOS_URL = 'https://www.heartland.us/terms';
|
|
7
7
|
const HEARTLAND_PRIVACY_URL = 'https://www.heartland.us/privacy-policy';
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { a as arrayToClassString } from './ui-28499aab.js';
|
|
4
|
-
import { d as formatAndValidBackgroundColor, i as formatAndValidTextColor } from './designToken-
|
|
5
|
-
import { R as ResponsiveFormatFacade } from './responsiveFormatFacade-
|
|
4
|
+
import { d as formatAndValidBackgroundColor, i as formatAndValidTextColor } from './designToken-edc855d6.js';
|
|
5
|
+
import { R as ResponsiveFormatFacade } from './responsiveFormatFacade-ac0b91fc.js';
|
|
6
6
|
import { a as MapToComponentField, V as VegaSlimmer, L as LogUtility, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
7
7
|
import { g as getCurrentBreakpoint } from './breakpoints-e59edf8d.js';
|
|
8
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
8
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
9
9
|
import { P as PageResizeObserverSlimmer } from './pageResizeObserverSlimmer-d36f30e8.js';
|
|
10
|
-
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-
|
|
11
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
10
|
+
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-ca73e6c1.js';
|
|
11
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
12
12
|
import { D as DomNodeSubjectObserverFactory } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
13
|
-
import { a as VegaClick, b as VegaDropdownClick,
|
|
13
|
+
import { a as VegaClick, b as VegaDropdownClick, i as VegaDropdownShow, j as VegaDropdownHide } from './vegaEventId-680887e1.js';
|
|
14
14
|
import { V as VegaInternalIconManager } from './internal-icon-manager-a52b1c10.js';
|
|
15
15
|
import { c as chevronUp, a as chevronDown } from './chevron-down-4303bddb.js';
|
|
16
|
-
import './typeGuard-
|
|
16
|
+
import './typeGuard-f33ed2eb.js';
|
|
17
17
|
import './ui-df46cc20.js';
|
|
18
18
|
import './regex-dfe11abf.js';
|
|
19
19
|
import './typography-a8fc4764.js';
|
|
20
|
+
import './stateBackgroundColorFormatter-e705312f.js';
|
|
20
21
|
import './number-e2519d1c.js';
|
|
21
|
-
import './
|
|
22
|
+
import './pixel-f32c07ce.js';
|
|
23
|
+
import './internalVegaEventManager-e1501923.js';
|
|
22
24
|
import './dynamic-slimmer-ef83e258.js';
|
|
23
25
|
import './changeManager-d60d98c8.js';
|
|
24
26
|
import './iconManager-48bebc43.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, H as Host, r as registerInstance, c as createEvent, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { a as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
4
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
4
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
5
5
|
import { a as arrayToClassString } from './ui-28499aab.js';
|
|
6
6
|
|
|
7
7
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h, H as Host, r as registerInstance, c as createEvent, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { a as MapToComponentField, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
3
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
3
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
4
4
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
5
5
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
6
6
|
import { g as getDeviceType, D as DeviceType, a as arrayToClassString } from './ui-28499aab.js';
|
|
7
7
|
import { V as VegaInternalIconManager } from './internal-icon-manager-a52b1c10.js';
|
|
8
8
|
import { D as DomNodeSubjectObserverFactory } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
9
|
-
import { a as VegaClick, c as VegaClose } from './vegaEventId-
|
|
10
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
9
|
+
import { a as VegaClick, c as VegaClose } from './vegaEventId-680887e1.js';
|
|
10
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
11
11
|
import './iconManager-48bebc43.js';
|
|
12
12
|
import './changeManager-d60d98c8.js';
|
|
13
13
|
import './dynamic-slimmer-ef83e258.js';
|
|
14
|
-
import './internalVegaEventManager-
|
|
14
|
+
import './internalVegaEventManager-e1501923.js';
|
|
15
15
|
|
|
16
16
|
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
17
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, H as Host } from './index-c3505689.js';
|
|
2
|
-
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legendInputProcessor-
|
|
3
|
-
import { Y as YAxisInputProcessor, X as XAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './yAxisInputProcessor-
|
|
2
|
+
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legendInputProcessor-644350b4.js';
|
|
3
|
+
import { Y as YAxisInputProcessor, X as XAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './yAxisInputProcessor-2f08ac84.js';
|
|
4
4
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
5
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
5
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
6
6
|
import './array-8c82516c.js';
|
|
7
7
|
import './number-e2519d1c.js';
|
|
8
8
|
import './typography-a8fc4764.js';
|
|
9
|
+
import './pixel-f32c07ce.js';
|
|
9
10
|
|
|
10
11
|
/** The RectDrawer class draws a rectangle on a chart using the provided options. */
|
|
11
12
|
class RectDrawer extends BaseDrawer {
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
|
-
import { j as formatAndValidStateToken, f as formatAndValidResponsiveToken, k as formatAndValidBorderStyle } from './designToken-
|
|
3
|
+
import { j as formatAndValidStateToken, f as formatAndValidResponsiveToken, k as formatAndValidBorderStyle } from './designToken-edc855d6.js';
|
|
4
4
|
import { a as arrayToClassString } from './ui-28499aab.js';
|
|
5
5
|
import { a as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
6
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
7
|
-
import { R as ResponsiveFormatFacade } from './responsiveFormatFacade-
|
|
6
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
7
|
+
import { R as ResponsiveFormatFacade } from './responsiveFormatFacade-ac0b91fc.js';
|
|
8
8
|
import { P as PageResizeObserverSlimmer } from './pageResizeObserverSlimmer-d36f30e8.js';
|
|
9
|
-
import './typeGuard-
|
|
9
|
+
import './typeGuard-f33ed2eb.js';
|
|
10
10
|
import './breakpoints-e59edf8d.js';
|
|
11
11
|
import './ui-df46cc20.js';
|
|
12
12
|
import './regex-dfe11abf.js';
|
|
13
13
|
import './typography-a8fc4764.js';
|
|
14
|
+
import './stateBackgroundColorFormatter-e705312f.js';
|
|
14
15
|
import './number-e2519d1c.js';
|
|
16
|
+
import './pixel-f32c07ce.js';
|
|
15
17
|
|
|
16
18
|
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
19
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { a as MapToComponentField, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
3
3
|
import { g as getDeviceType, D as DeviceType } from './ui-28499aab.js';
|
|
4
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
4
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
6
|
-
import { b as VegaDropdownClick, a as VegaClick } from './vegaEventId-
|
|
6
|
+
import { b as VegaDropdownClick, a as VegaClick } from './vegaEventId-680887e1.js';
|
|
7
7
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
8
|
-
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-
|
|
9
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
8
|
+
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-ca73e6c1.js';
|
|
9
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
10
10
|
import './changeManager-d60d98c8.js';
|
|
11
|
-
import './internalVegaEventManager-
|
|
11
|
+
import './internalVegaEventManager-e1501923.js';
|
|
12
12
|
import './dynamic-slimmer-ef83e258.js';
|
|
13
13
|
|
|
14
14
|
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
|
-
import { i as formatAndValidTextColor } from './designToken-
|
|
3
|
+
import { i as formatAndValidTextColor } from './designToken-edc855d6.js';
|
|
4
4
|
import { C as ChangeManager } from './changeManager-d60d98c8.js';
|
|
5
5
|
import { F as FORM_SUBMIT, a as FORM_RESET } from './staticSubjectTitle-3b88939a.js';
|
|
6
6
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
7
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
8
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
9
|
-
import { a as VegaClick } from './vegaEventId-
|
|
10
|
-
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-
|
|
11
|
-
import './typeGuard-
|
|
7
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
8
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
9
|
+
import { a as VegaClick } from './vegaEventId-680887e1.js';
|
|
10
|
+
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-ca73e6c1.js';
|
|
11
|
+
import './typeGuard-f33ed2eb.js';
|
|
12
12
|
import './breakpoints-e59edf8d.js';
|
|
13
13
|
import './ui-df46cc20.js';
|
|
14
14
|
import './regex-dfe11abf.js';
|
|
15
15
|
import './typography-a8fc4764.js';
|
|
16
|
-
import './responsiveFormatFacade-
|
|
16
|
+
import './responsiveFormatFacade-ac0b91fc.js';
|
|
17
17
|
import './number-e2519d1c.js';
|
|
18
|
+
import './pixel-f32c07ce.js';
|
|
19
|
+
import './stateBackgroundColorFormatter-e705312f.js';
|
|
18
20
|
import './dynamic-slimmer-ef83e258.js';
|
|
19
21
|
import './domNodeSubjectObserverFactory-a764a6df.js';
|
|
20
|
-
import './internalVegaEventManager-
|
|
22
|
+
import './internalVegaEventManager-e1501923.js';
|
|
21
23
|
|
|
22
24
|
const VegaButtonCircleRuntimeMetricsPayloadDefinition = [
|
|
23
25
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { a as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
4
|
-
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-
|
|
5
|
-
import { c as createSubStateNotifySlimmer, S as SubStateObserverSlimmer } from './subStateObserverSlimmer-
|
|
6
|
-
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-
|
|
7
|
-
import { a as VegaClick, b as VegaDropdownClick } from './vegaEventId-
|
|
8
|
-
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-
|
|
4
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './componentUsageRuntimeMetrics-4f08dec8.js';
|
|
5
|
+
import { c as createSubStateNotifySlimmer, S as SubStateObserverSlimmer } from './subStateObserverSlimmer-354b33f6.js';
|
|
6
|
+
import { c as createEventEmitSlimmer } from './eventEmitSlimmer-9c33f04e.js';
|
|
7
|
+
import { a as VegaClick, b as VegaDropdownClick } from './vegaEventId-680887e1.js';
|
|
8
|
+
import { C as ChildNodesEventPreventSlimmer } from './childNodesEventPreventSlimmer-ca73e6c1.js';
|
|
9
9
|
import { D as DomNodeSubjectObserverFactory, d as domNodeSubjectFactory } from './domNodeSubjectObserverFactory-a764a6df.js';
|
|
10
|
-
import { c as VegaInternalButtonGroupClick } from './vegaInternalEventId-
|
|
10
|
+
import { c as VegaInternalButtonGroupClick } from './vegaInternalEventId-600b3751.js';
|
|
11
11
|
import { C as ChangeManager } from './changeManager-d60d98c8.js';
|
|
12
12
|
import { f as findParent } from './ui-28499aab.js';
|
|
13
13
|
import './dynamic-slimmer-ef83e258.js';
|
|
14
|
-
import './internalVegaEventManager-
|
|
14
|
+
import './internalVegaEventManager-e1501923.js';
|
|
15
15
|
|
|
16
16
|
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
17
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|