@heartlandone/vega 2.79.0 → 2.80.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-e9fdfbf9.js → app-globals-7a48292d.js} +6 -6
- package/dist/cjs/{aria-dialog-focusable-trap-slimmer-6faafc3e.js → aria-dialog-focusable-trap-slimmer-5a0a78fe.js} +60 -6
- package/dist/cjs/{child-nodes-notify-observer-slimmer-06c78f97.js → child-nodes-notify-observer-slimmer-a8d13f4c.js} +1 -1
- package/dist/cjs/{code-block-847534e3.js → code-block-71a330a1.js} +124 -56
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-d7f9812a.js → component-value-history-controller-slimmer.abstract-fd077a6c.js} +6 -6
- package/dist/cjs/{content-state-99be18a3.js → content-state-afa26456.js} +401 -18
- package/dist/cjs/{date-required-rule-3823d506.js → date-required-rule-9f0e3e99.js} +1 -1
- package/dist/cjs/{design-token-b497bb6e.js → design-token-3f9589eb.js} +2 -2
- package/dist/cjs/{dom-node-subject-observer-factory-f7ed3bdc.js → dom-node-subject-observer-factory-a3a60da4.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-eba4f3a2.js → element-appender-slimmer-7a66229b.js} +5 -5
- package/dist/cjs/{event-emit-slimmer-83f8e2bd.js → event-emit-slimmer-024e26bb.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-93ca7239.js → form-field-controller-slimmer-c487cf2b.js} +4 -4
- package/dist/cjs/{image-annotation-action-9d6af380.js → image-annotation-action-4e72af4b.js} +3 -3
- package/dist/cjs/index.cjs.js +15 -15
- package/dist/cjs/{inject-keyboard-manager-23d07d87.js → inject-keyboard-manager-d1a82089.js} +1 -1
- package/dist/cjs/{keyboard-manager-3923e29b.js → keyboard-manager-9dbbb0d4.js} +13 -5
- package/dist/cjs/{keyboard-manager-slimmer-f602725d.js → keyboard-manager-slimmer-68cff676.js} +1 -1
- package/dist/cjs/loader.cjs.js +10 -10
- package/dist/cjs/{month-view-generator-aa8e8e74.js → month-view-generator-65a2f883.js} +2 -3
- package/dist/cjs/{public-rules-1dbda124.js → public-rules-36f202b3.js} +9 -9
- package/dist/cjs/{range-60fb9dd2.js → range-fa15d524.js} +2 -2
- package/dist/cjs/{responsive-format-facade-a32cdb67.js → responsive-format-facade-4419b4ae.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-b4aab68d.js → rich-text-editor-required-rule-7d4c2973.js} +1 -1
- package/dist/cjs/{split-cell-operation-190d4a87.js → split-cell-operation-19f98afb.js} +4 -4
- package/dist/cjs/{string-format-strategy.abstract-730088ee.js → string-format-strategy.abstract-c65d9861.js} +5 -2
- package/dist/cjs/{string-input-formatter-slimmer-9d6df58b.js → string-input-formatter-slimmer-c2e04acc.js} +4 -4
- package/dist/cjs/{string-mask-strategy-b69e3b9e.js → string-mask-strategy-418fc0b8.js} +40 -9
- package/dist/cjs/{style-formatter-9d8a4ad2.js → style-formatter-3c9ce0e5.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-c80b9d21.js → sub-state-notify-slimmer-7a4c6061.js} +2 -2
- package/dist/cjs/{sub-state-observer-slimmer-15740c97.js → sub-state-observer-slimmer-f728e068.js} +3 -3
- package/dist/cjs/{time-required-rule-6524b650.js → time-required-rule-ad091302.js} +1 -1
- package/dist/cjs/{token-extension-b7c4ea17.js → token-extension-90396de7.js} +7 -7
- package/dist/cjs/{type-guard-2a46bca5.js → type-guard-d760850a.js} +11 -0
- package/dist/cjs/{ui-b3db0122.js → ui-9e8c9732.js} +8 -2
- package/dist/cjs/{valid-credit-card-number-rule-8eb02ea7.js → valid-credit-card-number-rule-5ce8e973.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-header-button.cjs.entry.js +6 -6
- package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +5 -5
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/vega-button-circle.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
- package/dist/cjs/vega-button.cjs.entry.js +6 -6
- package/dist/cjs/vega-calendar_4.cjs.entry.js +30 -17
- package/dist/cjs/vega-card.cjs.entry.js +4 -4
- package/dist/cjs/vega-carousel.cjs.entry.js +5 -5
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-chip.cjs.entry.js +6 -6
- package/dist/cjs/vega-code-block.cjs.entry.js +10 -10
- package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
- package/dist/cjs/vega-combo-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
- package/dist/cjs/vega-dialog_2.cjs.entry.js +8 -7
- package/dist/cjs/vega-divider.cjs.entry.js +3 -3
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +12 -12
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +6 -6
- package/dist/cjs/vega-flag-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-flex.cjs.entry.js +5 -5
- package/dist/cjs/vega-font.cjs.entry.js +4 -4
- package/dist/cjs/vega-form.cjs.entry.js +9 -9
- package/dist/cjs/vega-grid.cjs.entry.js +4 -4
- package/dist/cjs/vega-icon.cjs.entry.js +4 -4
- package/dist/cjs/vega-image-uploader.cjs.entry.js +8 -8
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-numeric.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +8 -8
- package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-select.cjs.entry.js +8 -8
- package/dist/cjs/vega-input.cjs.entry.js +37 -27
- package/dist/cjs/{vega-internal-event-id-67bb91c1.js → vega-internal-event-id-a1837fa2.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +9 -9
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +6 -6
- package/dist/cjs/vega-popover_2.cjs.entry.js +48 -12
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +17 -17
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +9 -9
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +8 -8
- package/dist/cjs/vega-signature-capture.cjs.entry.js +9 -9
- package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-table_11.cjs.entry.js +8 -8
- package/dist/cjs/vega-text.cjs.entry.js +1 -1
- package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +8 -8
- package/dist/cjs/vega.cjs.js +10 -10
- package/dist/cjs/{wait-for-component-did-render-9e41b39e.js → wait-for-component-did-render-b6aba2de.js} +2 -2
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +4 -4
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +15 -12
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +17 -3
- package/dist/collection/components/vega-calendar/vega-calendar.css +1 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +5 -5
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +13 -12
- package/dist/collection/components/vega-input/vega-input.js +1 -1
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +25 -1
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +6 -1
- package/dist/collection/components/vega-popover/vega-popover.js +7 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +13 -6
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +18 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +12 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/list-annotation.js +12 -4
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.js +22 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +43 -32
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +31 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.js +39 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.js +30 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.js +89 -0
- package/dist/collection/components/vega-rich-text-editor/dto/setup.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +40 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +2 -1
- package/dist/collection/helpers/calendar/calendar-date.js +10 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +2 -2
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +3 -2
- package/dist/collection/helpers/formatter/string-formatter/string-format-strategy.abstract.js +4 -1
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +38 -7
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +4 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +11 -3
- package/dist/collection/helpers/slimmers/aria-dialog-focusable-trap-slimmer.js +59 -5
- package/dist/collection/utils/ui.js +8 -2
- package/dist/esm/{app-globals-776ccaa3.js → app-globals-e77015e3.js} +6 -6
- package/dist/esm/{aria-dialog-focusable-trap-slimmer-cc98a7a4.js → aria-dialog-focusable-trap-slimmer-5a2f92be.js} +60 -6
- package/dist/esm/{child-nodes-notify-observer-slimmer-c7297b9f.js → child-nodes-notify-observer-slimmer-b7f0e419.js} +1 -1
- package/dist/esm/{code-block-58d1dbe5.js → code-block-7d6f231b.js} +117 -57
- package/dist/esm/{component-value-history-controller-slimmer.abstract-5beb8acb.js → component-value-history-controller-slimmer.abstract-acf65b17.js} +6 -6
- package/dist/esm/{content-state-dad1fd71.js → content-state-084cd705.js} +401 -18
- package/dist/esm/{date-required-rule-4c40a4eb.js → date-required-rule-29608215.js} +1 -1
- package/dist/esm/{design-token-9c4eb6b1.js → design-token-edcd787b.js} +2 -2
- package/dist/esm/{dom-node-subject-observer-factory-94b2e2c3.js → dom-node-subject-observer-factory-cea9248d.js} +1 -1
- package/dist/esm/{element-appender-slimmer-fde815dc.js → element-appender-slimmer-08ec429b.js} +5 -5
- package/dist/esm/{event-emit-slimmer-b236945b.js → event-emit-slimmer-4fba1b35.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-00fa3678.js → form-field-controller-slimmer-8dd39707.js} +4 -4
- package/dist/esm/{image-annotation-action-1ec7b461.js → image-annotation-action-a6b33a81.js} +3 -3
- package/dist/esm/index.js +15 -15
- package/dist/esm/{inject-keyboard-manager-784b1364.js → inject-keyboard-manager-7557816f.js} +1 -1
- package/dist/esm/{keyboard-manager-e020039f.js → keyboard-manager-1846c6a5.js} +13 -5
- package/dist/esm/{keyboard-manager-slimmer-4722d20c.js → keyboard-manager-slimmer-1ae0aa4d.js} +1 -1
- package/dist/esm/loader.js +10 -10
- package/dist/esm/{month-view-generator-6fe1f491.js → month-view-generator-b700ed08.js} +2 -3
- package/dist/esm/{public-rules-1626fb0d.js → public-rules-fe2c7934.js} +9 -9
- package/dist/esm/{range-4f9bf69d.js → range-00afe462.js} +2 -2
- package/dist/esm/{responsive-format-facade-e8534e59.js → responsive-format-facade-37d4d850.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-c391aeb6.js → rich-text-editor-required-rule-6487ec94.js} +1 -1
- package/dist/esm/{split-cell-operation-55cd9fae.js → split-cell-operation-9445e642.js} +4 -4
- package/dist/esm/{string-format-strategy.abstract-8c48e515.js → string-format-strategy.abstract-ec6d627b.js} +5 -2
- package/dist/esm/{string-input-formatter-slimmer-519480ce.js → string-input-formatter-slimmer-959dff7a.js} +4 -4
- package/dist/esm/{string-mask-strategy-8070817e.js → string-mask-strategy-49be41f0.js} +40 -9
- package/dist/esm/{style-formatter-7afd0680.js → style-formatter-ad0b2bac.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-54531808.js → sub-state-notify-slimmer-ee8c417b.js} +2 -2
- package/dist/esm/{sub-state-observer-slimmer-b3a773c5.js → sub-state-observer-slimmer-4d30fa5c.js} +3 -3
- package/dist/esm/{time-required-rule-2569e5ad.js → time-required-rule-414b1590.js} +1 -1
- package/dist/esm/{token-extension-612575cb.js → token-extension-600b1c88.js} +7 -7
- package/dist/esm/{type-guard-c20cbbff.js → type-guard-23a08026.js} +11 -1
- package/dist/esm/{ui-ac244bf0.js → ui-ba5a4758.js} +8 -2
- package/dist/esm/{valid-credit-card-number-rule-b9c3c2f8.js → valid-credit-card-number-rule-60abddac.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-header-button.entry.js +6 -6
- package/dist/esm/vega-backdrop.entry.js +1 -1
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +5 -5
- package/dist/esm/vega-breadcrumb.entry.js +3 -3
- package/dist/esm/vega-button-circle.entry.js +7 -7
- package/dist/esm/vega-button-group_2.entry.js +6 -6
- package/dist/esm/vega-button-link.entry.js +3 -3
- package/dist/esm/vega-button.entry.js +6 -6
- package/dist/esm/vega-calendar_4.entry.js +30 -17
- package/dist/esm/vega-card.entry.js +4 -4
- package/dist/esm/vega-carousel.entry.js +5 -5
- package/dist/esm/vega-checkbox_2.entry.js +7 -7
- package/dist/esm/vega-chip.entry.js +6 -6
- package/dist/esm/vega-code-block.entry.js +10 -10
- package/dist/esm/vega-color-picker.entry.js +6 -6
- package/dist/esm/vega-combo-box.entry.js +9 -9
- package/dist/esm/vega-date-picker_2.entry.js +23 -23
- package/dist/esm/vega-dialog_2.entry.js +8 -7
- package/dist/esm/vega-divider.entry.js +3 -3
- package/dist/esm/vega-dropdown_5.entry.js +12 -12
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +6 -6
- package/dist/esm/vega-flag-icon.entry.js +3 -3
- package/dist/esm/vega-flex.entry.js +5 -5
- package/dist/esm/vega-font.entry.js +4 -4
- package/dist/esm/vega-form.entry.js +9 -9
- package/dist/esm/vega-grid.entry.js +4 -4
- package/dist/esm/vega-icon.entry.js +4 -4
- package/dist/esm/vega-image-uploader.entry.js +8 -8
- package/dist/esm/vega-input-credit-card.entry.js +10 -10
- package/dist/esm/vega-input-numeric.entry.js +10 -10
- package/dist/esm/vega-input-passcode.entry.js +9 -9
- package/dist/esm/vega-input-phone-number.entry.js +8 -8
- package/dist/esm/vega-input-range.entry.js +6 -6
- package/dist/esm/vega-input-select.entry.js +8 -8
- package/dist/esm/vega-input.entry.js +37 -27
- package/dist/esm/{vega-internal-event-id-8002b179.js → vega-internal-event-id-70bd893d.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +9 -9
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-page-notification_2.entry.js +2 -2
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination.entry.js +6 -6
- package/dist/esm/vega-popover_2.entry.js +48 -12
- package/dist/esm/vega-progress-tracker_2.entry.js +8 -8
- package/dist/esm/vega-radio_2.entry.js +10 -10
- package/dist/esm/vega-rich-text-content.entry.js +9 -9
- package/dist/esm/vega-rich-text-editor_4.entry.js +17 -17
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +9 -9
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-chip_2.entry.js +9 -9
- package/dist/esm/vega-selection-tile_2.entry.js +8 -8
- package/dist/esm/vega-sidenav_3.entry.js +8 -8
- package/dist/esm/vega-signature-capture.entry.js +9 -9
- package/dist/esm/vega-stepper.entry.js +6 -6
- package/dist/esm/vega-tab-group_2.entry.js +3 -3
- package/dist/esm/vega-table_11.entry.js +8 -8
- package/dist/esm/vega-text.entry.js +1 -1
- package/dist/esm/vega-textarea.entry.js +6 -6
- package/dist/esm/vega-time-picker_2.entry.js +12 -12
- package/dist/esm/vega-toggle-switch.entry.js +6 -6
- package/dist/esm/vega-tooltip_2.entry.js +8 -8
- package/dist/esm/vega.js +10 -10
- package/dist/esm/{wait-for-component-did-render-1e62d6f7.js → wait-for-component-did-render-03e7ccb2.js} +2 -2
- package/dist/sri/vega-sri-manifest.json +346 -346
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +5 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +1 -0
- package/dist/types/components/vega-input/types.d.ts +30 -1
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/list-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.d.ts +41 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +10 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +7 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +0 -1
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.abstract.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +32 -4
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +1 -0
- package/dist/types/helpers/slimmers/aria-dialog-focusable-trap-slimmer.d.ts +19 -0
- package/dist/types/utils/ui.d.ts +3 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-8cd70b3b.js → p-010b5e74.js} +1 -1
- package/dist/vega/{p-33cacbd6.entry.js → p-01883ffc.entry.js} +1 -1
- package/dist/vega/{p-7f68abf7.js → p-02578a59.js} +1 -1
- package/dist/vega/{p-916ef5dd.entry.js → p-0313393d.entry.js} +1 -1
- package/dist/vega/p-043e685a.entry.js +1 -0
- package/dist/vega/{p-972c594b.entry.js → p-04e56b0c.entry.js} +1 -1
- package/dist/vega/p-07a2b42a.js +1 -0
- package/dist/vega/{p-fb92092b.entry.js → p-08780df0.entry.js} +1 -1
- package/dist/vega/p-10fa4eac.js +1 -0
- package/dist/vega/{p-19adff1f.entry.js → p-1557ed92.entry.js} +1 -1
- package/dist/vega/{p-405ab757.js → p-18619467.js} +1 -1
- package/dist/vega/{p-a5543b6a.entry.js → p-19ad4f15.entry.js} +1 -1
- package/dist/vega/{p-46c7763f.entry.js → p-1a2f92a3.entry.js} +1 -1
- package/dist/vega/{p-085d45c9.js → p-1c45565d.js} +1 -1
- package/dist/vega/{p-b91aff06.entry.js → p-1feb4f2a.entry.js} +1 -1
- package/dist/vega/{p-14dfdba3.entry.js → p-203bc4db.entry.js} +1 -1
- package/dist/vega/{p-6e13e2fc.js → p-204c7d41.js} +1 -1
- package/dist/vega/{p-833b79ad.entry.js → p-21c9e1ca.entry.js} +1 -1
- package/dist/vega/p-22336063.js +1 -0
- package/dist/vega/{p-1784724a.entry.js → p-224b67ff.entry.js} +1 -1
- package/dist/vega/{p-dccda3d1.js → p-2c2df248.js} +1 -1
- package/dist/vega/{p-667d5b80.entry.js → p-2d917e2d.entry.js} +1 -1
- package/dist/vega/{p-02bab5ea.entry.js → p-2e73582d.entry.js} +1 -1
- package/dist/vega/{p-b7dd3ef2.entry.js → p-334e3b02.entry.js} +1 -1
- package/dist/vega/{p-6554a801.js → p-33860e54.js} +1 -1
- package/dist/vega/{p-dba91c23.entry.js → p-35386999.entry.js} +1 -1
- package/dist/vega/{p-bc142c5c.entry.js → p-365d21ac.entry.js} +1 -1
- package/dist/vega/{p-fadeb5a2.entry.js → p-367d44d9.entry.js} +1 -1
- package/dist/vega/{p-a6ad6515.entry.js → p-382b71a3.entry.js} +1 -1
- package/dist/vega/{p-b67672ae.entry.js → p-434fc427.entry.js} +1 -1
- package/dist/vega/p-44c5cbb7.js +1 -0
- package/dist/vega/{p-408a1baa.entry.js → p-47ca1f69.entry.js} +1 -1
- package/dist/vega/{p-5d397ee0.entry.js → p-4eb282ef.entry.js} +1 -1
- package/dist/vega/{p-b589cafd.entry.js → p-517434d4.entry.js} +1 -1
- package/dist/vega/p-559197f8.js +1 -0
- package/dist/vega/{p-6e05fc55.js → p-576fe408.js} +1 -1
- package/dist/vega/p-5ae4ea20.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-b15a2d4b.js → p-60cf2a68.js} +1 -1
- package/dist/vega/p-612e3ded.js +1 -0
- package/dist/vega/{p-679a4046.entry.js → p-65900dbf.entry.js} +1 -1
- package/dist/vega/p-68124bc5.js +1 -0
- package/dist/vega/{p-28ed34b3.entry.js → p-6af55f1c.entry.js} +1 -1
- package/dist/vega/{p-5b90bbfe.js → p-6c5250b3.js} +1 -1
- package/dist/vega/p-6f2e5bc6.js +1 -0
- package/dist/vega/{p-439c7c13.entry.js → p-70f1cf4e.entry.js} +1 -1
- package/dist/vega/{p-a02f77c7.js → p-716c71e6.js} +1 -1
- package/dist/vega/{p-d862195c.entry.js → p-7362723e.entry.js} +1 -1
- package/dist/vega/{p-28c8ffb4.js → p-7618dde4.js} +1 -1
- package/dist/vega/p-76b80a0c.js +1 -0
- package/dist/vega/{p-937d5317.entry.js → p-7912741f.entry.js} +1 -1
- package/dist/vega/{p-6b19d33a.entry.js → p-7942c042.entry.js} +1 -1
- package/dist/vega/{p-820906b8.entry.js → p-7c2fecfd.entry.js} +1 -1
- package/dist/vega/{p-02fec68b.entry.js → p-7ceab8c7.entry.js} +1 -1
- package/dist/vega/p-8327635d.js +1 -0
- package/dist/vega/{p-db29681a.entry.js → p-840ad046.entry.js} +1 -1
- package/dist/vega/{p-4068e7de.js → p-878851f6.js} +1 -1
- package/dist/vega/{p-a2161e9d.js → p-89e56502.js} +1 -1
- package/dist/vega/{p-9e6e76b2.entry.js → p-8adf9732.entry.js} +1 -1
- package/dist/vega/{p-18378017.entry.js → p-90137c68.entry.js} +1 -1
- package/dist/vega/p-9341c1a9.js +1 -0
- package/dist/vega/{p-cb0324e7.entry.js → p-9390a94b.entry.js} +1 -1
- package/dist/vega/p-9551da9c.entry.js +1 -0
- package/dist/vega/p-9862d1a8.entry.js +1 -0
- package/dist/vega/{p-2bbbdf87.entry.js → p-9dc23325.entry.js} +1 -1
- package/dist/vega/p-a4dbf2cc.js +1 -0
- package/dist/vega/{p-561e9097.entry.js → p-a99e75a1.entry.js} +1 -1
- package/dist/vega/{p-b4d72eff.entry.js → p-ab21fdf6.entry.js} +1 -1
- package/dist/vega/{p-fc3d6d9d.js → p-b3e40faf.js} +1 -1
- package/dist/vega/{p-4ea3cf5f.entry.js → p-b5a6bd0f.entry.js} +1 -1
- package/dist/vega/{p-5dfd36d3.entry.js → p-b5c2fff3.entry.js} +1 -1
- package/dist/vega/{p-a0a39ec3.js → p-b696a861.js} +1 -1
- package/dist/vega/{p-076c6445.entry.js → p-ba415db6.entry.js} +1 -1
- package/dist/vega/{p-814c37be.entry.js → p-be3517be.entry.js} +1 -1
- package/dist/vega/{p-615bc3de.entry.js → p-c045e4c1.entry.js} +1 -1
- package/dist/vega/{p-4e76a84d.entry.js → p-c4e32125.entry.js} +1 -1
- package/dist/vega/{p-20981b17.entry.js → p-c5b698f6.entry.js} +1 -1
- package/dist/vega/{p-71720290.entry.js → p-c61279a7.entry.js} +1 -1
- package/dist/vega/p-c6d62f0d.js +1 -0
- package/dist/vega/{p-4e15958f.js → p-c9201bf4.js} +1 -1
- package/dist/vega/{p-ace7aa6c.entry.js → p-cc055723.entry.js} +1 -1
- package/dist/vega/{p-fc93b467.entry.js → p-cca5042b.entry.js} +1 -1
- package/dist/vega/{p-c58c3e7e.entry.js → p-cda45d2a.entry.js} +1 -1
- package/dist/vega/p-cdf5b2f0.entry.js +1 -0
- package/dist/vega/p-cf70c57d.js +1 -0
- package/dist/vega/{p-441fd2b3.entry.js → p-d1494c7c.entry.js} +1 -1
- package/dist/vega/{p-a6fb81c5.js → p-d1ca70a1.js} +1 -1
- package/dist/vega/p-d202e69d.entry.js +1 -0
- package/dist/vega/{p-dd4c3d9b.entry.js → p-dc9b5063.entry.js} +1 -1
- package/dist/vega/{p-d6875e49.js → p-dcd18ab1.js} +1 -1
- package/dist/vega/p-df5bfbc4.entry.js +1 -0
- package/dist/vega/{p-d5a8bb62.entry.js → p-e4726dcd.entry.js} +1 -1
- package/dist/vega/{p-76f2e0f5.js → p-e84b95d4.js} +1 -1
- package/dist/vega/p-ea21462f.js +1 -0
- package/dist/vega/{p-905cf163.entry.js → p-ec1d76c6.entry.js} +1 -1
- package/dist/vega/{p-04f9b0d4.entry.js → p-f3456993.entry.js} +1 -1
- package/dist/vega/{p-32a0eed4.entry.js → p-f4190826.entry.js} +1 -1
- package/dist/vega/{p-558a707e.entry.js → p-f48c43f4.entry.js} +1 -1
- package/dist/vega/{p-1665d4b8.entry.js → p-fdac91c4.entry.js} +1 -1
- package/dist/vega/{p-5395faac.entry.js → p-ffa2e3a6.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +0 -195
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +0 -94
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +0 -72
- package/dist/collection/components/vega-code-block/test/code-block-range.test.js +0 -81
- package/dist/collection/components/vega-dropdown/test/share.js +0 -13
- package/dist/collection/components/vega-input-credit-card/test/share.js +0 -21
- package/dist/collection/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.js +0 -147
- package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +0 -21
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.js +0 -69
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.js +0 -24
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.js +0 -15
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.js +0 -16
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.js +0 -87
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.js +0 -17
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.js +0 -77
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.js +0 -23
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +0 -381
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/code-block.test.js +0 -54
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/html-block.test.js +0 -167
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +0 -90
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +0 -176
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +0 -188
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +0 -193
- package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +0 -3375
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +0 -108
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +0 -510
- package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +0 -53
- package/dist/collection/components/vega-rich-text-editor/test/e2e-utils.js +0 -182
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.js +0 -49
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.js +0 -38
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.js +0 -61
- package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +0 -43
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.js +0 -164
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.js +0 -298
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.js +0 -316
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.js +0 -411
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.js +0 -99
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.js +0 -181
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.js +0 -84
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.js +0 -331
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-dto.test.js +0 -1094
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.js +0 -1590
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-test-utils.js +0 -172
- package/dist/collection/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.js +0 -129
- package/dist/collection/components/vega-rich-text-editor/test/fixture.js +0 -257
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.js +0 -186
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/spec-utils.js +0 -35
- package/dist/collection/components/vega-sidenav/test/test.helper.js +0 -68
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.js +0 -83
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.js +0 -147
- package/dist/collection/components/vega-table/test/utils.js +0 -22
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +0 -508
- package/dist/collection/constants/tests/validator.test.js +0 -24
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +0 -114
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +0 -237
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +0 -91
- package/dist/collection/global/tests/before-vega-load.test.js +0 -62
- package/dist/collection/helpers/calendar/test/calendar-date-time.test.js +0 -27
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +0 -172
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +0 -263
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +0 -118
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +0 -144
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +0 -114
- package/dist/collection/helpers/calendar/test/calendar-time.test.js +0 -45
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +0 -19
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +0 -123
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +0 -43
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +0 -9
- package/dist/collection/helpers/calendar/test/index.test.js +0 -13
- package/dist/collection/helpers/calendar/test/utils.test.js +0 -62
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +0 -30
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +0 -38
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +0 -63
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +0 -55
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +0 -94
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +0 -21
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +0 -78
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +0 -38
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +0 -44
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +0 -17
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +0 -62
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +0 -45
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +0 -80
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +0 -40
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +0 -16
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +0 -20
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +0 -48
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +0 -53
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +0 -78
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +0 -109
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +0 -39
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +0 -55
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +0 -11
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +0 -25
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +0 -48
- package/dist/collection/helpers/chart/test/line-chart.test.js +0 -96
- package/dist/collection/helpers/chart/test/pie-chart.test.js +0 -38
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +0 -31
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +0 -99
- package/dist/collection/helpers/code-format/test/code-formatter.test.js +0 -410
- package/dist/collection/helpers/common/test/common.test.js +0 -7
- package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +0 -67
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +0 -17
- package/dist/collection/helpers/csp/test/styles-preservator.test.js +0 -207
- package/dist/collection/helpers/csp/test/vega-nonce-manager.test.js +0 -177
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +0 -114
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +0 -209
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +0 -81
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +0 -144
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +0 -70
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +0 -131
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +0 -97
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +0 -69
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +0 -64
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.js +0 -32
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +0 -31
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +0 -17
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +0 -29
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +0 -51
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +0 -20
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +0 -18
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +0 -27
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +0 -101
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +0 -40
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +0 -147
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +0 -21
- package/dist/collection/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.js +0 -43
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +0 -16
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +0 -101
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +0 -18
- package/dist/collection/helpers/immutable/test/immutable-array.test.js +0 -78
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +0 -83
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +0 -87
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +0 -241
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +0 -33
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +0 -192
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +0 -165
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +0 -15
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +0 -76
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +0 -17
- package/dist/collection/helpers/rte-manager/rte.manager.test.js +0 -94
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +0 -194
- package/dist/collection/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.js +0 -66
- package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +0 -621
- package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +0 -248
- package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +0 -120
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +0 -182
- package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +0 -399
- package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +0 -383
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +0 -96
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +0 -228
- package/dist/collection/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.js +0 -375
- package/dist/collection/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.js +0 -46
- package/dist/collection/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.js +0 -75
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +0 -104
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +0 -72
- package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +0 -65
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +0 -36
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +0 -55
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +0 -106
- package/dist/collection/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.js +0 -64
- package/dist/collection/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.js +0 -89
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +0 -101
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +0 -90
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +0 -220
- package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +0 -89
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +0 -614
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +0 -122
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +0 -288
- package/dist/collection/helpers/translation/tests/translation.test.js +0 -46
- package/dist/collection/helpers/ui/test/element-appender.test.js +0 -530
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +0 -88
- package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +0 -56
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +0 -120
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +0 -69
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +0 -105
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +0 -146
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/input-select-value-in-source-rule.test.js +0 -99
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +0 -174
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/public-rules.test.js +0 -80
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +0 -126
- package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +0 -360
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +0 -116
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +0 -72
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +0 -135
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +0 -95
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +0 -65
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +0 -82
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +0 -205
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +0 -14
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +0 -176
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +0 -46
- package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +0 -72
- package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +0 -171
- package/dist/collection/polyfill/d3/test/d3-integration.test.js +0 -137
- package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +0 -382
- package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +0 -239
- package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +0 -225
- package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +0 -162
- package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +0 -76
- package/dist/collection/polyfill/d3/test/index.test.js +0 -78
- package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +0 -309
- package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +0 -192
- package/dist/collection/polyfill/libphonenumber/test/index.test.js +0 -16
- package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +0 -196
- package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +0 -218
- package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +0 -56
- package/dist/collection/polyfill/prism/test/css.test.js +0 -61
- package/dist/collection/polyfill/prism/test/javascript.test.js +0 -113
- package/dist/collection/polyfill/prism/test/jsx.test.js +0 -48
- package/dist/collection/polyfill/prism/test/language-registry.test.js +0 -77
- package/dist/collection/polyfill/prism/test/markup.test.js +0 -57
- package/dist/collection/polyfill/prism/test/test-utils.js +0 -22
- package/dist/collection/polyfill/prism/test/tokenizer.test.js +0 -180
- package/dist/collection/polyfill/prism/test/tsx.test.js +0 -87
- package/dist/collection/polyfill/prism/test/typescript.test.js +0 -86
- package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +0 -234
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +0 -42
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +0 -31
- package/dist/collection/polyfill/test-polyfill/unit/events.js +0 -100
- package/dist/collection/polyfill/test-polyfill/unit/index.js +0 -3
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +0 -47
- package/dist/collection/polyfill/test-polyfill/unit/range.js +0 -15
- package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +0 -17
- package/dist/collection/polyfill/tinycolor/tinycolor-polyfill.test.js +0 -361
- package/dist/collection/test-assets/test-icons.js +0 -5
- package/dist/collection/types/test/type-guard.test.js +0 -46
- package/dist/collection/utils/e2e-utils.js +0 -389
- package/dist/collection/utils/sanitize/test/empty-strategy.test.js +0 -12
- package/dist/collection/utils/sanitize/test/html-sanitizer.test.js +0 -57
- package/dist/collection/utils/sanitize/test/label-strategy.test.js +0 -56
- package/dist/collection/utils/sanitize/test/sanitize-strategy.test.js +0 -85
- package/dist/collection/utils/sanitize/test/sanitize.test.js +0 -22
- package/dist/collection/utils/sanitize/test/serialize-fragment.test.js +0 -25
- package/dist/collection/utils/sanitize/test/style-strategy.test.js +0 -45
- package/dist/collection/utils/spec-utils.js +0 -226
- package/dist/collection/utils/test/accessibility.test.js +0 -40
- package/dist/collection/utils/test/api.test.js +0 -34
- package/dist/collection/utils/test/array.test.js +0 -260
- package/dist/collection/utils/test/breakpoint.test.js +0 -37
- package/dist/collection/utils/test/component.test.js +0 -59
- package/dist/collection/utils/test/date.test.js +0 -104
- package/dist/collection/utils/test/design-token.test.js +0 -91
- package/dist/collection/utils/test/effect.test.js +0 -64
- package/dist/collection/utils/test/local-storage.test.js +0 -38
- package/dist/collection/utils/test/log.test.js +0 -49
- package/dist/collection/utils/test/misc.test.js +0 -40
- package/dist/collection/utils/test/number.test.js +0 -18
- package/dist/collection/utils/test/object.test.js +0 -77
- package/dist/collection/utils/test/pagination.test.js +0 -40
- package/dist/collection/utils/test/pixel.test.js +0 -29
- package/dist/collection/utils/test/safe-document.test.js +0 -13
- package/dist/collection/utils/test/spec-utils.test.js +0 -73
- package/dist/collection/utils/test/string.test.js +0 -8
- package/dist/collection/utils/test/test-utils.test.js +0 -70
- package/dist/collection/utils/test/timer.test.js +0 -16
- package/dist/collection/utils/test/ui.test.js +0 -301
- package/dist/collection/utils/test-utils.js +0 -156
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-code-block/test/code-block-range.test.d.ts +0 -1
- package/dist/types/components/vega-dropdown/test/share.d.ts +0 -12
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +0 -18
- package/dist/types/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.d.ts +0 -4
- package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-style.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/code-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/html-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/e2e-utils.d.ts +0 -67
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +0 -21
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/annotation-handler-registration.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.d.ts +0 -8
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-dto.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-test-utils.d.ts +0 -11
- package/dist/types/components/vega-rich-text-editor/test/filter-styles-strategies/filter-styles-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/fixture.d.ts +0 -19
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/spec-utils.d.ts +0 -19
- package/dist/types/components/vega-sidenav/test/test.helper.d.ts +0 -6
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/test/utils.d.ts +0 -9
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +0 -1
- package/dist/types/constants/tests/validator.test.d.ts +0 -1
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +0 -1
- package/dist/types/global/tests/before-vega-load.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/index.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/utils.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +0 -1
- package/dist/types/helpers/code-format/test/code-formatter.test.d.ts +0 -1
- package/dist/types/helpers/common/test/common.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/styles-preservator.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/vega-nonce-manager.test.d.ts +0 -1
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-justify-items-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-array.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +0 -1
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +0 -1
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +0 -1
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +0 -1
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +0 -1
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +0 -1
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +0 -1
- package/dist/types/helpers/rte-manager/rte.manager.test.d.ts +0 -1
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/element-appender/body-positioned-wrapper/test/vega-popover-wrapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/element-appender/test/element-appender-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +0 -15
- package/dist/types/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/aria-dialog-focusable-trap-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/translation.test.d.ts +0 -1
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-select-value-in-source-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/public-rules.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +0 -1
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/css.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/javascript.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/jsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/language-registry.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/markup.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/test-utils.d.ts +0 -10
- package/dist/types/polyfill/prism/test/tokenizer.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/tsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/typescript.test.d.ts +0 -1
- package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +0 -8
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +0 -11
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +0 -3
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/range.d.ts +0 -7
- package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
- package/dist/types/polyfill/tinycolor/tinycolor-polyfill.test.d.ts +0 -1
- package/dist/types/test-assets/test-icons.d.ts +0 -4
- package/dist/types/types/test/type-guard.test.d.ts +0 -1
- package/dist/types/utils/e2e-utils.d.ts +0 -160
- package/dist/types/utils/sanitize/test/empty-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/html-sanitizer.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/label-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/serialize-fragment.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/style-strategy.test.d.ts +0 -1
- package/dist/types/utils/spec-utils.d.ts +0 -109
- package/dist/types/utils/test/accessibility.test.d.ts +0 -1
- package/dist/types/utils/test/api.test.d.ts +0 -1
- package/dist/types/utils/test/array.test.d.ts +0 -1
- package/dist/types/utils/test/breakpoint.test.d.ts +0 -1
- package/dist/types/utils/test/component.test.d.ts +0 -1
- package/dist/types/utils/test/date.test.d.ts +0 -1
- package/dist/types/utils/test/design-token.test.d.ts +0 -1
- package/dist/types/utils/test/effect.test.d.ts +0 -1
- package/dist/types/utils/test/local-storage.test.d.ts +0 -1
- package/dist/types/utils/test/log.test.d.ts +0 -1
- package/dist/types/utils/test/misc.test.d.ts +0 -1
- package/dist/types/utils/test/number.test.d.ts +0 -1
- package/dist/types/utils/test/object.test.d.ts +0 -1
- package/dist/types/utils/test/pagination.test.d.ts +0 -1
- package/dist/types/utils/test/pixel.test.d.ts +0 -1
- package/dist/types/utils/test/safe-document.test.d.ts +0 -1
- package/dist/types/utils/test/spec-utils.test.d.ts +0 -1
- package/dist/types/utils/test/string.test.d.ts +0 -1
- package/dist/types/utils/test/test-utils.test.d.ts +0 -1
- package/dist/types/utils/test/timer.test.d.ts +0 -1
- package/dist/types/utils/test/ui.test.d.ts +0 -1
- package/dist/types/utils/test-utils.d.ts +0 -61
- package/dist/vega/p-0ac91609.entry.js +0 -1
- package/dist/vega/p-10e9438e.js +0 -1
- package/dist/vega/p-2697b52b.js +0 -1
- package/dist/vega/p-2fd266fa.js +0 -1
- package/dist/vega/p-31945d6c.js +0 -1
- package/dist/vega/p-33475bcf.entry.js +0 -1
- package/dist/vega/p-3a0b3fed.entry.js +0 -1
- package/dist/vega/p-4a9be903.js +0 -1
- package/dist/vega/p-541ae774.entry.js +0 -1
- package/dist/vega/p-603b851c.js +0 -1
- package/dist/vega/p-6d6ea8b4.js +0 -1
- package/dist/vega/p-6db0556d.js +0 -1
- package/dist/vega/p-79df30e3.entry.js +0 -1
- package/dist/vega/p-8f88fb57.js +0 -1
- package/dist/vega/p-a01ef160.entry.js +0 -1
- package/dist/vega/p-c962cf5b.js +0 -1
- package/dist/vega/p-d94d785a.entry.js +0 -1
- package/dist/vega/p-dce9349e.js +0 -1
- package/dist/vega/p-e2268eef.js +0 -1
- package/dist/vega/p-e5da9f66.js +0 -1
- package/dist/vega/p-f7505267.js +0 -1
- package/dist/vega/p-fef22245.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,H as t,F as i,r as a,c as n,g as r}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{D as s}from"./p-76f2e0f5.js";import{_ as d,R as h,$ as l,a0 as c,a1 as m,a2 as p,a3 as g,a4 as f}from"./p-6d6ea8b4.js";import{I as x}from"./p-abd7aeaa.js";import{c as v,V as u,L as w,M as y,I as b}from"./p-6e1ab235.js";import{V as _,I as C}from"./p-4415ad28.js";import{F as k}from"./p-a0a39ec3.js";import{a as D,e as I,g as z,D as R}from"./p-d6875e49.js";import{D as j,d as S}from"./p-4068e7de.js";import{a as M,s as O,r as P,q as E,P as V,f as A,h as L,V as $,t as T,u as Y}from"./p-c5eb0fa6.js";import{V as F}from"./p-e1fbfd20.js";import{c as H}from"./p-86194314.js";import{i as B}from"./p-d27ae9ff.js";import{V as N}from"./p-82016096.js";import{F as W}from"./p-18e8d9b7.js";import{t as K}from"./p-b75ee3ba.js";import{g as U}from"./p-8b5d3a52.js";import{F as Z}from"./p-a528714c.js";import{C as G}from"./p-2d0d575f.js";import{S as q}from"./p-e2268eef.js";import{S as J}from"./p-28c8ffb4.js";import{K as X}from"./p-085d45c9.js";import{C as Q}from"./p-75b58efe.js";import{c as ee}from"./p-a6fb81c5.js";import{C as te}from"./p-68a531cf.js";import{T as ie}from"./p-3224e47c.js";import{c as ae}from"./p-6a334573.js";import{E as ne}from"./p-6e13e2fc.js";import{S as re}from"./p-1fb56e14.js";import{C as oe}from"./p-8187878e.js";import{A as se}from"./p-10e9438e.js";import{z as de,A as he}from"./p-6554a801.js";import{O as le}from"./p-331a62d5.js";import{M as ce}from"./p-603b851c.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-02841589.js";import"./p-f0e828d8.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-6e05fc55.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-262ec334.js";import"./p-5a25014f.js";import"./p-4a9be903.js";import"./p-f7505267.js";import"./p-e5da9f66.js";import"./p-3d2d267d.js";import"./p-5f377954.js";import"./p-781fd6e0.js";import"./p-a02f77c7.js";import"./p-0c667d6a.js";class me extends x{canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);const t=new Date(e[0]),i=new Date(e[1]),a=d(t,i);return{isValid:a,message:a?"":"The end date should be later than start date"}}isAcceptedInputType(e){return Array.isArray(e)&&2===e.length&&e.every(h)}}class pe extends x{constructor(e){super(),this.evaluateSingleDate=e=>{const t=new Date(e);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.evaluateRangeDates=e=>{const t=new Date(e[0]),i=new Date(e[1]);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The start date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The start date should be earlier than {0}",args:[this.config.maxDate]}):i&&this.maxDate&&c(i,this.maxDate)?this.invalidResult({key:"The end date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.invalidResult=e=>({isValid:!1,message:e}),this.validResult=()=>({isValid:!0,message:""}),this.config=e,this.minDate=e.minDate?new Date(e.minDate):null,this.maxDate=e.maxDate?new Date(e.maxDate):null}canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);return"string"==typeof e?this.evaluateSingleDate(e):this.evaluateRangeDates(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return"string"==typeof e&&h(e)||Array.isArray(e)&&2===e.length&&e.every(h)}}const ge={"chevron-left":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M1.2937 7.29414C0.903076 7.68477 0.903076 8.31914 1.2937 8.70977L7.2937 14.7098C7.68433 15.1004 8.3187 15.1004 8.70933 14.7098C9.09995 14.3191 9.09995 13.6848 8.70933 13.2941L3.41558 8.00039L8.7062 2.70664C9.09683 2.31602 9.09683 1.68164 8.7062 1.29102C8.31558 0.900391 7.6812 0.900391 7.29058 1.29102L1.29058 7.29102L1.2937 7.29414Z" fill="currentColor"/></svg>'},"chevron-right":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M10.7063 7.29414C11.0969 7.68477 11.0969 8.31914 10.7063 8.70977L4.70627 14.7098C4.31565 15.1004 3.68127 15.1004 3.29065 14.7098C2.90002 14.3191 2.90002 13.6848 3.29065 13.2941L8.5844 8.00039L3.29377 2.70664C2.90315 2.31602 2.90315 1.68164 3.29377 1.29102C3.6844 0.900391 4.31877 0.900391 4.7094 1.29102L10.7094 7.29102L10.7063 7.29414Z" fill="currentColor"/></svg>'},calendar:{icon:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_41275_12898)"><path d="M5.75 2H10.25V0.75C10.25 0.335938 10.5844 0 11 0C11.4156 0 11.75 0.335938 11.75 0.75V2H13C14.1031 2 15 2.89531 15 4V14C15 15.1031 14.1031 16 13 16H3C1.89531 16 1 15.1031 1 14V4C1 2.89531 1.89531 2 3 2H4.25V0.75C4.25 0.335938 4.58437 0 5 0C5.41563 0 5.75 0.335938 5.75 0.75V2ZM2.5 7.75H5V6H2.5V7.75ZM2.5 9.25V11.25H5V9.25H2.5ZM6.5 9.25V11.25H9.5V9.25H6.5ZM11 9.25V11.25H13.5V9.25H11ZM13.5 6H11V7.75H13.5V6ZM13.5 12.75H11V14.5H13C13.275 14.5 13.5 14.275 13.5 14V12.75ZM9.5 12.75H6.5V14.5H9.5V12.75ZM5 12.75H2.5V14C2.5 14.275 2.72375 14.5 3 14.5H5V12.75ZM9.5 6H6.5V7.75H9.5V6Z" fill="currentColor"/></g><defs><clipPath id="clip0_41275_12898"><rect width="14" height="16" fill="white" transform="translate(1)"/></clipPath></defs></svg>'},"caret-down":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M199 401c9.4 9.4 24.6 9.4 33.9 0L425 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L41 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L199 401z"/></svg>'},"bulls-eye":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM256 368a112 112 0 1 0 0-224 112 112 0 1 0 0 224zm0-272a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-80a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>'}};var fe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class xe extends u{constructor(){super(...arguments),this.renderInputPrefix=()=>e("div",{class:"vega-input-prefix","aria-hidden":"true"},e("vega-icon",{icon:F.getIconKey("calendar"),color:"text-secondary",onClick:async()=>{this.disabled||(await this.focusInput(),await this.vegaDatePickerCalendarRenderer.triggerRepick("start"))}})),this.isInputEnabled=()=>!this.readOnly&&!this.isMobileDevice,this.renderLabel=()=>this.label&&e("vega-field-label",{ref:e=>{j.addUniqueObserverToNode(e,M,(async()=>{await this.focusInput()}))},isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.focusInput=async()=>{var e,t;null===(e=this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef())||void 0===e||e.focus(),null===(t=this.vegaDatePickerRangeInputRenderer.getStartDateInputRef())||void 0===t||t.focus(),await this.calendarOpenStateController.showCalendar()}}getDatePickerContainer(){return this.datePickerContainer}render(){const i=["vega-input-container",this.size,`${this.mode}-mode`,this.isMobileDevice?"mobile":""];return e(t,{class:{disabled:this.disabled}},this.renderLabel(),e("div",{class:D(i),ref:e=>this.datePickerContainer=e},"range"===this.mode?this.vegaDatePickerRangeInputRenderer.render():this.vegaDatePickerSingleInputRenderer.render()),this.vegaDatePickerCalendarRenderer.render())}}F.register({calendar:ge.calendar}),fe([v()],xe.prototype,"disabled",void 0),fe([v()],xe.prototype,"size",void 0),fe([v()],xe.prototype,"mode",void 0),fe([v()],xe.prototype,"label",void 0),fe([v()],xe.prototype,"required",void 0),fe([v()],xe.prototype,"readOnly",void 0),fe([v()],xe.prototype,"autoValidation",void 0),fe([v()],xe.prototype,"host",void 0),fe([v()],xe.prototype,"isMobileDevice",void 0),fe([v()],xe.prototype,"vegaDatePickerSingleInputRenderer",void 0),fe([v()],xe.prototype,"vegaDatePickerRangeInputRenderer",void 0),fe([v()],xe.prototype,"vegaDatePickerCalendarRenderer",void 0),fe([v()],xe.prototype,"calendarOpenStateController",void 0);var ve=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ue extends u{constructor(){super(...arguments),this.onClickClearIcon=async()=>{this.vegaDatePickerValueController.setValue("range"===this.mode?["",""]:""),this.isCalendarShow&&await this.calendarOpenStateController.hideCalendar(),this.focusInput()},this.isClearIconVisible=()=>{if("range"===this.mode){const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&!B(e,["",""])}{const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&Boolean(e.length)}}}renderClearIcon(){return e(i,null,this.showClearIcon&&this.isClearIconVisible()&&e("div",{class:"vega-input-clear-icon",tabIndex:-1,"aria-label":"clear input",role:"button",onClick:this.onClickClearIcon,onKeyDown:H()},e("vega-icon",{icon:"close"})))}}ve([v()],ue.prototype,"disabled",void 0),ve([v()],ue.prototype,"showClearIcon",void 0),ve([v()],ue.prototype,"mode",void 0),ve([v()],ue.prototype,"isCalendarShow",void 0),ve([v()],ue.prototype,"vegaDatePickerValueController",void 0),ve([v()],ue.prototype,"calendarOpenStateController",void 0);var we=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ye extends ue{constructor(){super(...arguments),this.render=()=>e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getSinglePlaceholder(),value:this.vegaDatePickerValueController.getValue(),ref:e=>this.singleDateInputRef=e,onChange:this.onSingleDateChange,disabled:this.disabled,role:"combobox","aria-label":this.label?`${this.label}, ${this.translationSlimmer.t("date picker")}`:this.translationSlimmer.t("date picker"),"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:()=>this.calendarOpenStateController.showCalendar()}),this.renderClearIcon()),this.getSinglePlaceholder=()=>this.placeholder?"string"!=typeof this.placeholder?(w.warn("The placeholder should be a string"),this.format):this.placeholder:this.format,this.onSingleDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue(this.vegaDatePickerFormatController.formatDate(t)):(this.vegaDatePickerValueController.setValue(""),this.singleDateInputRef.value="",w.warn("The date value of ${date} is invalid"))}}getSingleDateInputRef(){return this.singleDateInputRef}focusInput(){this.singleDateInputRef.focus()}}we([v()],ye.prototype,"placeholder",void 0),we([v()],ye.prototype,"format",void 0),we([v()],ye.prototype,"label",void 0),we([v()],ye.prototype,"isCalendarShow",void 0),we([v()],ye.prototype,"vegaDatePickerFormatController",void 0),we([v()],ye.prototype,"vegaDatePickerRenderer",void 0),we([v()],ye.prototype,"calendarOpenStateController",void 0),we([v()],ye.prototype,"vegaDatePickerCalendarRenderer",void 0),we([v()],ye.prototype,"translationSlimmer",void 0);var be=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class _e extends ue{constructor(){super(...arguments),this.render=()=>{const t=this.label?`, ${this.label}`:"",a=`, ${this.translationSlimmer.t("date picker")}`,n=`${this.translationSlimmer.t("Start Date")}${t}${a}`,r=`${this.translationSlimmer.t("End Date")}${t}${a}`;return e(i,null,e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[0],value:this.vegaDatePickerValueController.getValue()[0],ref:e=>this.startDateInputRef=e,onChange:this.onStartDateChange,disabled:this.disabled,role:"combobox","aria-label":n,"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:async()=>await this.onInputClicked("start")})),e("span",{class:{"range-input-divider":!0}}),e("div",{class:"date-picker-input"},e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[1],value:this.vegaDatePickerValueController.getValue()[1],ref:e=>this.endDateInputRef=e,onChange:this.onEndDateChange,disabled:this.disabled,role:"combobox","aria-label":r,"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:async()=>await this.onInputClicked("end")}),this.renderClearIcon()))},this.getRangePlaceholder=()=>this.placeholder?Array.isArray(this.placeholder)&&2===this.placeholder.length?this.placeholder:(w.warn("The placeholder should be an array, including start and end placeholder"),["Start Date","End Date"].map((e=>this.translationSlimmer.t(e)))):["Start Date","End Date"].map((e=>this.translationSlimmer.t(e))),this.onStartDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerFormatController.formatDate(t),this.vegaDatePickerValueController.getValue()[1]]):(this.vegaDatePickerValueController.setValue(["",this.vegaDatePickerValueController.getValue()[1]]),this.startDateInputRef.value="",w.warn("The date value of ${date} is invalid"))},this.onEndDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],this.vegaDatePickerFormatController.formatDate(t)]):(this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],""]),this.endDateInputRef.value="",w.warn("The date value of ${date} is invalid"))}}getStartDateInputRef(){return this.startDateInputRef}getEndDateInputRef(){return this.endDateInputRef}focusInput(){this.startDateInputRef.focus()}async onInputClicked(e){await this.calendarOpenStateController.showCalendar(),await this.vegaDatePickerCalendarRenderer.triggerRepick(e)}}be([v()],_e.prototype,"placeholder",void 0),be([v()],_e.prototype,"label",void 0),be([v()],_e.prototype,"isCalendarShow",void 0),be([v()],_e.prototype,"vegaDatePickerFormatController",void 0),be([v()],_e.prototype,"vegaDatePickerRenderer",void 0),be([v()],_e.prototype,"calendarOpenStateController",void 0),be([v()],_e.prototype,"translationSlimmer",void 0),be([v()],_e.prototype,"allowRepick",void 0),be([v()],_e.prototype,"format",void 0),be([v()],_e.prototype,"vegaDatePickerCalendarRenderer",void 0);var Ce=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ke extends u{constructor(){super(...arguments),this.calendarId=U()}componentDidLoad(){this.appendCalendarToBodyIfMobile()}getCalendarContentBoxRef(){return this.calendarContentBoxRef}getCalendarRef(){return this.calendarRef}getCalendarId(){return this.calendarId}getMobileModalRef(){return this.mobileModalRef}async triggerRepick(e){this.allowRepick&&"range"===this.mode&&await this.calendarRef.triggerRepick(e)}render(){return this.isMobileDevice?this.mobileRender():this.renderCalendar()}mobileRender(){return e("vega-modal",{showCloseButton:!1,size:ke.calendarModalSize,padding:"0",isVerticallyCentered:!0,backdropColor:"semi",ref:e=>{this.mobileModalRef=e,this.addModalObserver(e)}},e("div",{slot:"modal-content"},this.renderCalendar()))}renderCalendar(){const t=this.label?`${this.label}, `:"",i=`${this.translationSlimmer.t("date picker")}`;return e("vega-box",Object.assign({},this.isMobileDevice?{}:{role:"dialog","aria-modal":"true","aria-label":`${t}${i}`},{id:this.calendarId,padding:{default:"size-12",S:"size-32"},corners:"rounded-12",backgroundColor:"bg-primary",shadow:"shadow-dropdown-menu",border:"border-input-field",ref:e=>{this.calendarContentBoxRef=e},class:"date-picker-content-box"}),e("vega-box",{width:this.getDefaultCalendarDimension("width"),height:this.getDefaultCalendarDimension("height")},e("vega-date-picker-calendar",{selection:this.value,mode:this.mode,minDate:this.minDate,maxDate:this.maxDate,clearButton:this.clearButton,format:this.format,staticHeight:!1!==this.dropdownConfig.staticHeight,showYearMonthDropdowns:this.showYearMonthDropdowns,timezone:this.timezone,yearMonthDropdownProps:{isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")},ref:e=>{this.calendarRef=e,this.addCalendarObserver(e)},isDateDisabled:e=>this.isDateDisabled(e)})))}addCalendarObserver(e){j.addUniqueObserverToNode(e,O,(async e=>{await this.onCalendarSelected(e.detail)})),j.addUniqueObserverToNode(e,P,(async()=>{await this.calendarOpenStateController.hideCalendar()})),j.addUniqueObserverToNode(e,E,(async e=>{this.monthYearChangeEventEmitter.emit(e.detail)}))}addModalObserver(e){j.addUniqueObserverToNode(e,V,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!0)})),j.addUniqueObserverToNode(e,A,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!1)}))}async onCalendarSelected(e){("single"===this.mode||"range"===this.mode)&&this.vegaDatePickerValueController.setValue(e),this.isCalendarShow&&await this.calendarOpenStateController.hideCalendar()}appendCalendarToBodyIfMobile(){const e=K();this.isMobileDevice&&e&&e.body.append(this.mobileModalRef)}getDefaultCalendarDimension(e){if("height"===e&&!1===this.dropdownConfig.staticHeight)return"auto";let t=("range"!==this.mode||this.isMobileDevice?ke.regularDatePickerCalendarDimensionsForSingle:ke.regularDatePickerCalendarDimensionsForRange)[e];return"height"===e&&this.clearButton&&(t+=40),`${t}px`}}ke.calendarModalSize=344,ke.regularDatePickerCalendarDimensionsForSingle={width:280,height:320},ke.regularDatePickerCalendarDimensionsForRange={width:608,height:358},Ce([v()],ke.prototype,"format",void 0),Ce([v()],ke.prototype,"value",void 0),Ce([v()],ke.prototype,"mode",void 0),Ce([v()],ke.prototype,"minDate",void 0),Ce([v()],ke.prototype,"maxDate",void 0),Ce([v()],ke.prototype,"clearButton",void 0),Ce([v()],ke.prototype,"dropdownConfig",void 0),Ce([v()],ke.prototype,"showYearMonthDropdowns",void 0),Ce([v()],ke.prototype,"timezone",void 0),Ce([v()],ke.prototype,"isMobileDevice",void 0),Ce([v()],ke.prototype,"isCalendarShow",void 0),Ce([v()],ke.prototype,"isDateDisabled",void 0),Ce([v()],ke.prototype,"allowRepick",void 0),Ce([v()],ke.prototype,"disabled",void 0),Ce([v()],ke.prototype,"label",void 0),Ce([v()],ke.prototype,"monthYearChangeEventEmitter",void 0),Ce([v()],ke.prototype,"translationSlimmer",void 0),Ce([v()],ke.prototype,"vegaDatePickerValueController",void 0),Ce([v()],ke.prototype,"calendarOpenStateController",void 0),Ce([y("componentDidLoad")],ke.prototype,"componentDidLoad",null);var De=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ie extends u{componentWillLoad(){this.value&&this.valueGuard(this.value)||this.setDefaultValueByMode()}watchValue(e,t){"range"===this.mode&&B(e,t)||(this.valueGuard(e)||this.setDefaultValueByMode(),this.changeEventEmitter.emit(this.value),G.notify(Z,{host:this.host,detail:this.value}))}watchMode(){this.setDefaultValueByMode()}getValue(){return this.valueGuard(this.value),this.value}setValue(e){this.valueGuard(e)&&(this.value=e)}setDefaultValueByMode(){"range"===this.mode&&this.setValue(["",""]),"single"===this.mode&&this.setValue("")}valueGuard(e){let t;switch(this.mode){case"single":t=e&&"string"==typeof e&&!!m.fromString(e,this.format)||""===e;break;case"range":t=Array.isArray(e)&&2===e.length&&e.every((e=>!!m.fromString(e,this.format)||""===e))}return t||w.warn(`Invalid date picker value ${e} for ${this.mode} mode`),t}}De([v({writable:!0})],Ie.prototype,"value",void 0),De([v()],Ie.prototype,"mode",void 0),De([v()],Ie.prototype,"format",void 0),De([v()],Ie.prototype,"changeEventEmitter",void 0),De([v()],Ie.prototype,"host",void 0),De([v()],Ie.prototype,"isCalendarShow",void 0),De([v()],Ie.prototype,"vegaDatePickerCalendarRenderer",void 0),De([v()],Ie.prototype,"calendarOpenStateController",void 0),De([y("componentWillLoad")],Ie.prototype,"componentWillLoad",null),De([y("watchValue")],Ie.prototype,"watchValue",null),De([y("watchMode")],Ie.prototype,"watchMode",null);var ze=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Re extends J{constructor(e){super(),this.formatDate=e=>m.fromString(e,this.format).toString(this.format),this.getInputElementRef=()=>{switch(this.inputType){case"single":return this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef();case"rangeStart":return this.vegaDatePickerRangeInputRenderer.getStartDateInputRef();case"rangeEnd":return this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()}},this.getInputModeStrategy=()=>this.datePickerFormatStrategy,this.getBlurModeStrategy=()=>null,this.getDateFormatMask=e=>{const t=e.match(/M/gi);return new q({mask:e.replace(/[MDY]/gi,"9"),slot:"9",accept:(t&&t.length)>2?/\w/g:/\d/g})},this.inputType=e}componentDidLoad(){this.setupStringFormatter(this.format)}watchFormat(e){this.setupStringFormatter(e)}setupStringFormatter(e){this.datePickerFormatStrategy=this.getDateFormatMask(e),this.setup()}}ze([v()],Re.prototype,"format",void 0),ze([v()],Re.prototype,"mode",void 0),ze([v()],Re.prototype,"vegaDatePickerCalendarRenderer",void 0),ze([v()],Re.prototype,"vegaDatePickerSingleInputRenderer",void 0),ze([v()],Re.prototype,"vegaDatePickerRangeInputRenderer",void 0),ze([y("componentDidLoad")],Re.prototype,"componentDidLoad",null),ze([y("watchFormat")],Re.prototype,"watchFormat",null);var je=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Se extends X{constructor(){super((e=>[{keyCode:"Enter",activeElementInScope:()=>[e.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),e.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),e.vegaDatePickerRangeInputRenderer.getEndDateInputRef(),e.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef()],eventName:"keydown",callback:e=>{var t;const i=(null===(t=e.target.shadowRoot)||void 0===t?void 0:t.activeElement)||e.target;return null==i?void 0:i.click()}}]))}}je([v()],Se.prototype,"vegaDatePickerCalendarRenderer",void 0),je([v()],Se.prototype,"vegaDatePickerSingleInputRenderer",void 0),je([v()],Se.prototype,"vegaDatePickerRangeInputRenderer",void 0);const Me=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!0===e.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!1===e.autoValidation},{payloadKey:"MODE_IS_SINGLE",payloadDescription:"Specifies the selection mode of the date picker. Use `single` to allow selecting a single date",payloadValue:e=>"single"===e.mode},{payloadKey:"MODE_IS_RANGE",payloadDescription:"Specifies the selection mode of the date picker. Use `range` to allow selecting a date range",payloadValue:e=>"range"===e.mode}];var Oe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Pe extends ne{constructor(){super((()=>({target:this.vegaDatePickerRenderer.getDatePickerContainer(),appendableElement:this.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef(),positionRelativeTo:this.dropdownConfig.positionRelativeTo,translocation:{X:0,Y:8},placement:["bottom","top"],alignment:["start","end"],isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")})),(()=>new oe),"isCalendarShow"),this.ariaDialogFocusableTrapSlimmer=ae(Pe,se,[],[{mapFrom:"show",mapTo:"show"}],[{triggerEl:()=>this.vegaDatePickerRenderer.getDatePickerContainer(),dialogEl:()=>this.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef()}]),this.clearCalendarStateTaskQueue=new re}connectedCallback(){this.isMobileDevice||super.connectedCallback()}disconnectedCallback(){this.isMobileDevice||super.disconnectedCallback()}componentDidLoad(){this.isMobileDevice||super.componentDidLoad()}async componentDidRender(){await this.clearCalendarStateTaskQueue.runTask()}async doOpen(){await this.showCalendar()}async doClose(){await this.hideCalendar()}async watchDisabled(){await this.hideCalendar()}async watchIsCalendarShow(){await this.clearCalendarSelectingState()}async showCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("show"):this.show()}async hideCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("hide"):this.hide(),this.focusContainerWithAnnouncement()}updateIsCalendarShowState(e){this.isCalendarShow=e}focusContainerWithAnnouncement(){const e=I();if((null==e?void 0:e.matches)&&e.matches(":focus-visible")){const e=this.vegaDatePickerRenderer.getDatePickerContainer();if(e){const t=this.buildAriaAnnouncement(this.value);e.setAttribute("role","group"),e.setAttribute("aria-label",t),e.setAttribute("tabindex","-1"),e.addEventListener("blur",(()=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("tabindex")}),{once:!0}),setTimeout((()=>e.focus()),0)}}}buildAriaAnnouncement(e){let t=null,i=null;return"single"===this.mode&&"string"==typeof e?t=e?m.fromString(e,this.format):null:"range"===this.mode&&Array.isArray(e)&&(t=e[0]?m.fromString(e[0],this.format):null,i=e[1]?m.fromString(e[1],this.format):null),`\n\t\t\t${p({startDate:t,endDate:i,mode:this.mode})},\n\t\t\t${N.t("date picker")}\n\t\t`}async clearCalendarSelectingState(){if(!this.isCalendarShow){const e=this.vegaDatePickerCalendarRenderer.getCalendarRef();await this.clearCalendarStateTaskQueue.enqueue({run:async()=>await e.reset()},!1)}}}Oe([v()],Pe.prototype,"dropdownConfig",void 0),Oe([v()],Pe.prototype,"vegaDatePickerRenderer",void 0),Oe([v()],Pe.prototype,"vegaDatePickerCalendarRenderer",void 0),Oe([v()],Pe.prototype,"value",void 0),Oe([v()],Pe.prototype,"format",void 0),Oe([v()],Pe.prototype,"mode",void 0),Oe([v({writable:!0})],Pe.prototype,"isCalendarShow",void 0),Oe([v()],Pe.prototype,"isMobileDevice",void 0),Oe([b()],Pe.prototype,"ariaDialogFocusableTrapSlimmer",void 0),Oe([y("componentDidRender")],Pe.prototype,"componentDidRender",null),Oe([y("doOpen")],Pe.prototype,"doOpen",null),Oe([y("doClose")],Pe.prototype,"doClose",null),Oe([y("watchDisabled")],Pe.prototype,"watchDisabled",null),Oe([y("watchIsCalendarShow")],Pe.prototype,"watchIsCalendarShow",null);var Ee=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const Ve=class{constructor(e){a(this,e),this.vegaChange=n(this,"vegaChange",7),this.change=n(this,"change",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.globalSlimmers={},this.translationSlimmer=new ie,this.calendarOpenStateController=new Pe,this.vegaDatePickerValueController=new Ie,this.vegaDatePickerFormatController=new Re("single"),this.startInputFormatController=new Re("rangeStart"),this.endInputFormatController=new Re("rangeEnd"),this.vegaDatePickerKeyboardController=new Se,this.vegaDatePickerRenderer=new xe,this.vegaDatePickerSingleInputRenderer=new ye,this.vegaDatePickerRangeInputRenderer=new _e,this.vegaDatePickerCalendarRenderer=new ke,this.formFieldController=new k({propertyRules:[{propertyName:"required",ruleFactory:(e,t)=>e?new s({mode:t}):null,dependence:"mode"},{propertyName:"mode",ruleFactory:e=>"range"===e?new me:null},{propertyName:"minDate",ruleFactory:(e,t)=>new pe({minDate:e,maxDate:t}),dependence:"maxDate"},{propertyName:"maxDate",ruleFactory:(e,t)=>new pe({minDate:t,maxDate:e}),dependence:"minDate"}],validationRulesName:"validationRules",defaultValue:e=>"range"===e.mode?["",""]:"",attributeGetter:e=>this[e],inputContainerGetter:()=>this.vegaDatePickerRenderer.getDatePickerContainer(),touchableAreaGetter:()=>[this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),this.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()].filter(Boolean)}),this.changeEventEmitter=ee(Ve,L),this.monthYearChangeEventEmitter=ee(Ve,E),this.inputEventPrevent=new te([L,P,E],(()=>this.vegaDatePickerCalendarRenderer.getCalendarRef())),this.vegaComponentUsageRuntimeMetricsSlimmer=new _(Me),this.isMobileDevice=z()===R.MOBILE,this.isCalendarShow=!1,this.mode="single",this.value="range"===this.mode?["",""]:"",this.required=!1,this.isValid=null,this.autoValidation=!0,this.format="MM/DD/YYYY",this.size="default",this.validationRules=[],this.clearButton=!1,this.readOnly=!1,this.allowRepick=!1,this.dropdownConfig={},this.showClearIcon=!0,this.showYearMonthDropdowns=!1,this.disabled=!1,this.isDateDisabled=()=>!1}watchIsCalendarShow(){}watchMode(){}watchValue(e,t){}watchFormat(e){}watchValidationRules(){}watchMinDate(e){}watchMaxDate(e){}watchAllowRepick(){}watchShowYearMonthDropdowns(){}watchDisabled(){}async doClose(){}async doOpen(){}render(){return o(this.vegaDatePickerRenderer.render(),this.host)}get host(){return r(this)}static get watchers(){return{isCalendarShow:["watchIsCalendarShow"],mode:["watchMode"],value:["watchValue"],format:["watchFormat"],validationRules:["watchValidationRules"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],allowRepick:["watchAllowRepick"],showYearMonthDropdowns:["watchShowYearMonthDropdowns"],disabled:["watchDisabled"]}}};Ee([C()],Ve.prototype,"globalSlimmers",void 0),Ee([b()],Ve.prototype,"translationSlimmer",void 0),Ee([b()],Ve.prototype,"calendarOpenStateController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerValueController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerFormatController",void 0),Ee([b()],Ve.prototype,"startInputFormatController",void 0),Ee([b()],Ve.prototype,"endInputFormatController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerKeyboardController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerSingleInputRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerRangeInputRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerCalendarRenderer",void 0),Ee([b()],Ve.prototype,"formFieldController",void 0),Ee([b()],Ve.prototype,"changeEventEmitter",void 0),Ee([b()],Ve.prototype,"monthYearChangeEventEmitter",void 0),Ee([b()],Ve.prototype,"inputEventPrevent",void 0),Ee([b()],Ve.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Ee([Q()],Ve.prototype,"watchValue",null),Ve.style=':host{display:inline-block;width:100%;text-align:left;line-height:normal}:host vega-field-label{margin-bottom:8px}:host .vega-input-container{position:relative;display:block;border-radius:8px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));display:flex;align-items:center}:host .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .vega-input-container .date-picker-input{padding-left:16px;padding-right:16px;width:100%;box-sizing:border-box;display:flex;align-items:center}:host .vega-input-container.default .date-picker-input{padding-left:16px;padding-right:16px}:host .vega-input-container.small .date-picker-input{padding-left:12px;padding-right:12px}:host .vega-input-container.default .date-picker-input input{padding-top:12px;padding-bottom:12px}:host .vega-input-container.small .date-picker-input input{padding-top:8px;padding-bottom:8px}:host .vega-input-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-input-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-input-container.single-mode.error:focus-within,:host .vega-input-container.range-mode.error .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));border-radius:8px}:host .vega-input-container.range-mode.error .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode.error .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container.single-mode:not(.error):focus-within,:host .vega-input-container.range-mode:not(.error) .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));border-radius:8px}:host .vega-input-container.range-mode .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container input{width:100%;box-sizing:content-box;border-width:0px;margin:0px;outline:2px solid transparent;outline-offset:2px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1));display:block;padding-left:8px;padding-right:8px;padding-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}.vega-input-clear-icon{width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-input-clear-icon vega-icon{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}:host .range-input-divider{width:1px;height:24px;border-style:solid;border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-container.range-mode.mobile .range-input-divider{width:100%;height:1px;border-style:solid;border-right-width:0px;border-top-width:1px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-prefix{display:flex;margin-right:8px}:host .vega-input-container.range-mode.mobile.small .vega-input-prefix{margin-right:8px}:host .vega-input-container.range-mode.mobile{flex-direction:column}:host .vega-input-container.range-mode.mobile .date-picker-input:last-of-type{padding-left:40px}:host .vega-input-container.range-mode.mobile.small .date-picker-input:last-of-type{padding-left:36px}:host(.disabled) .vega-input-container{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));--tw-shadow:0 0 #0000;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px}:host(.disabled) .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host(.disabled) .vega-input-container input{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}';var Ae=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Le extends u{render(){return e("div",{class:{calendar:!0,"static-height":this.staticHeight}},e("div",{class:"container__main"},this.headerRenderer.render(),this.renderContainer(),this.renderFooter()),e("div",{class:"aria-announcement","aria-live":"polite","aria-atomic":"true"},this.buildAnnouncement()))}renderContainer(){const t=this.shouldRenderRangeMonth();return e("div",{class:{container__months:!0,"columns-2":t}},t?this.renderRangeMonth():this.monthItemRenderer.render("start"))}renderRangeMonth(){return e(i,null,this.monthItemRenderer.render("start"),this.monthItemRenderer.render("end"))}renderFooter(){return this.clearButton&&e("div",{class:"footer-container"},e("vega-button-link",{ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.clearCalendar()}))},label:this.translationSlimmer.t("Clear")}))}shouldRenderRangeMonth(){return"range"===this.mode&&!this.isMobileDevice}clearCalendar(){this.clearEventEmitter.emit(),G.notify(S.getSubject(this.host,de),{})}buildAnnouncement(){const{startDate:e,endDate:t}=this.calendarSelection;return p({mode:this.mode,startDate:e,endDate:t})}}Ae([v()],Le.prototype,"host",void 0),Ae([v()],Le.prototype,"clearButton",void 0),Ae([v()],Le.prototype,"calendarSelection",void 0),Ae([v()],Le.prototype,"monthItemRenderer",void 0),Ae([v()],Le.prototype,"staticHeight",void 0),Ae([v()],Le.prototype,"translationSlimmer",void 0),Ae([v()],Le.prototype,"mode",void 0),Ae([v()],Le.prototype,"clearEventEmitter",void 0),Ae([v()],Le.prototype,"isMobileDevice",void 0),Ae([v()],Le.prototype,"headerRenderer",void 0);const $e=["January","February","March","April","May","June","July","August","September","October","November","December"];var Te=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ye extends u{render(){return("range"!==this.mode||this.showYearMonthDropdowns||this.isMobileDevice)&&e("vega-flex",{justifyContent:"center"},this.showYearMonthDropdowns?this.renderMonthDropdownSwitcher():this.renderCurrentMonth(),this.showYearMonthDropdowns?this.renderYearDropdownSwitcher():this.renderCurrentYear())}getMonthDropdownOptions(){const e=this.currentPeriod.current.year;return $e.map(((t,i)=>({key:`${i}`,label:this.translationSlimmer.t(t),disabled:this.isDisabledMonth(e,i+1)})))}isDisabledMonth(e,t){var i,a,n,r;const o=null===(i=this.minCalendarDate)||void 0===i?void 0:i.month,s=null===(a=this.minCalendarDate)||void 0===a?void 0:a.year,d=null===(n=this.maxCalendarDate)||void 0===n?void 0:n.month,h=null===(r=this.maxCalendarDate)||void 0===r?void 0:r.year;return e<s||e>h||e===s&&o>t||e===h&&d<t}getYearDropdownOptions(){var e,t,i,a;const n=(new Date).getFullYear(),r=(null===(e=this.minCalendarDate)||void 0===e?void 0:e.year)||Math.min((null===(t=this.maxCalendarDate)||void 0===t?void 0:t.year)||n,n)-Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR,o=(null===(i=this.maxCalendarDate)||void 0===i?void 0:i.year)||Math.max((null===(a=this.minCalendarDate)||void 0===a?void 0:a.year)||n,n)+Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR,s=[];for(let e=r;e<=o;e++)s.push({key:String(e),label:String(e)});return s}renderMonthDropdownSwitcher(){const{month:t}=this.currentPeriod.current,i=t-1;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getMonthDropdownOptions(),selectedSourceKey:i.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,$,(e=>{const t=parseInt(e.detail);this.setDateBasedOnSelectedMonth(t)}))}},this.renderCurrentMonth())}renderYearDropdownSwitcher(){const{year:t}=this.currentPeriod.current;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getYearDropdownOptions(),selectedSourceKey:t.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,$,(e=>{this.setDateBasedOnSelectedYear(parseInt(e.detail))}))}},this.renderCurrentYear())}onDropdownShowOrHide(e){j.addUniqueObserverToNode(e,T,(async()=>{e.classList.add("active")})),j.addUniqueObserverToNode(e,Y,(()=>{const t=e.closest(".calendar");if(t){const e=t.querySelector("vega-dropdown.active");e&&e.classList.remove("active")}}))}renderCurrentMonth(){const t=this.translationSlimmer.t(this.currentPeriod.current.getMonthName());return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-name",size:"small",label:t}):e("div",{class:"month-item-name",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?H():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderCurrentYear(){const t=this.currentPeriod.current.year.toString();return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-year",size:"small",label:t}):e("div",{class:"month-item-year",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?H():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderDropdownSwitchIcon(){return this.showYearMonthDropdowns&&e("vega-icon",{icon:F.getIconKey("caret-down"),color:"text-link"})}setDateBasedOnSelectedMonth(e){const{year:t}=this.currentPeriod.current,i=new Date(t,e,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}setDateBasedOnSelectedYear(e){const{month:t}=this.currentPeriod.current,i=new Date(e,t-1,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}}F.register({"caret-down":ge["caret-down"]}),Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR=10,Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR=10,Te([v()],Ye.prototype,"currentPeriodController",void 0),Te([v()],Ye.prototype,"showYearMonthDropdowns",void 0),Te([v()],Ye.prototype,"translationSlimmer",void 0),Te([v()],Ye.prototype,"minCalendarDate",void 0),Te([v()],Ye.prototype,"maxCalendarDate",void 0),Te([v()],Ye.prototype,"yearMonthDropdownProps",void 0),Te([v()],Ye.prototype,"currentPeriod",void 0),Te([v()],Ye.prototype,"size",void 0),Te([v()],Ye.prototype,"mode",void 0),Te([v()],Ye.prototype,"isMobileDevice",void 0);var Fe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class He extends u{connectedCallback(){this.initCalendarClearObserver()}disconnectedCallback(){this.removeCalendarClearObserver()}initCalendarClearObserver(){this.calendarClearObserver=new le(this.canAcceptClearEvent.bind(this),this.clear.bind(this)),G.register(S.getSubject(this.host,de),this.calendarClearObserver)}removeCalendarClearObserver(){G.unregister(S.getSubject(this.host,de),this.calendarClearObserver)}canAcceptClearEvent(){return!0}}Fe([v()],He.prototype,"host",void 0),Fe([y("connectedCallback")],He.prototype,"connectedCallback",null),Fe([y("disconnectedCallback")],He.prototype,"disconnectedCallback",null);var Be=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ne extends He{connectedCallback(){super.connectedCallback(),this.initCalendarPeriodUpdateObserver()}disconnectedCallback(){super.disconnectedCallback(),this.removeCalendarPeriodUpdateObserver()}componentWillLoad(){this.setCurrentMonthPeriod()}watchMaxCalendarDate(){this.setCurrentMonthPeriod()}watchMinCalendarDate(){this.setCurrentMonthPeriod()}watchCurrentPeriod(){this.monthYearChangeEventEmitter.emit(this.getCurrentYearMonthByPeriod())}resetCurrentPeriod(){this.setCurrentMonthPeriod()}clear(){this.setCurrentMonthPeriod()}gotoNextPeriod(){const e=this.isRangeView()?this.currentPeriod.next().next():this.currentPeriod.next();this.updateCalendarPeriod(e)}gotoPreviousPeriod(){const e=this.isRangeView()?this.currentPeriod.previous().previous():this.currentPeriod.previous();this.updateCalendarPeriod(e)}updateCalendarPeriod(e){this.currentPeriod&&this.currentPeriod.equal(e)||(this.currentPeriod=e)}setCurrentMonthPeriod(){let e;const t=this.calendarSelection.startDate;e=f(t)?t:this.minCalendarDate&&(this.today.isBefore(this.minCalendarDate)||this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate))?this.minCalendarDate:this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate)?this.maxCalendarDate:this.today,this.updateCalendarPeriod(new g(e,!0,this.timezone))}isRangeView(){return"range"===this.mode&&!this.isMobileDevice}getCurrentYearMonthByPeriod(){const e={month:$e[this.currentPeriod.current.month-1],year:`${this.currentPeriod.current.year}`};return"range"===this.mode?[e,{month:$e[this.currentPeriod.endDate.month-1],year:`${this.currentPeriod.endDate.year}`}]:e}initCalendarPeriodUpdateObserver(){j.addUniqueObserverToNode(this.host,he,this.setCurrentMonthPeriod.bind(this))}removeCalendarPeriodUpdateObserver(){j.removeUniqueObserverFromNode(this.host,he)}}Be([v({writable:!0})],Ne.prototype,"currentPeriod",void 0),Be([v()],Ne.prototype,"host",void 0),Be([v()],Ne.prototype,"today",void 0),Be([v()],Ne.prototype,"mode",void 0),Be([v()],Ne.prototype,"format",void 0),Be([v()],Ne.prototype,"timezone",void 0),Be([v()],Ne.prototype,"minCalendarDate",void 0),Be([v()],Ne.prototype,"maxCalendarDate",void 0),Be([v()],Ne.prototype,"isMobileDevice",void 0),Be([v()],Ne.prototype,"monthYearChangeEventEmitter",void 0),Be([v()],Ne.prototype,"calendarSelection",void 0),Be([y("connectedCallback")],Ne.prototype,"connectedCallback",null),Be([y("disconnectedCallback")],Ne.prototype,"disconnectedCallback",null),Be([y("componentWillLoad")],Ne.prototype,"componentWillLoad",null),Be([y("watchMaxCalendarDate")],Ne.prototype,"watchMaxCalendarDate",null),Be([y("watchMinCalendarDate")],Ne.prototype,"watchMinCalendarDate",null),Be([y("watchCurrentPeriod")],Ne.prototype,"watchCurrentPeriod",null),Be([y("reset")],Ne.prototype,"resetCurrentPeriod",null);var We=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ke extends u{connectedCallback(){this.setToday()}watchTimezone(){this.setToday()}setToday(){this.today=m.from(new Date,this.timezone)}}We([v()],Ke.prototype,"timezone",void 0),We([v({writable:!0})],Ke.prototype,"today",void 0),We([y("connectedCallback")],Ke.prototype,"connectedCallback",null),We([y("watchTimezone")],Ke.prototype,"watchTimezone",null);var Ue=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ze extends u{constructor(){super(...arguments),this.monthViewGenerator=new ce}render(t){const i="end"===t?this.currentPeriod.next():this.currentPeriod,a=this.monthViewGenerator.generate(i);return e("div",{class:"month-item"},this.renderCurrentYearMonth(i),this.renderWeek(a),this.renderDays(a,i))}renderCurrentYearMonth(t){return"range"===this.mode&&!this.isMobileDevice&&e("vega-box",{class:"current-month-year"},this.translationSlimmer.t(t.current.getMonthName())," ",t.current.year)}renderWeek(t){return e("vega-grid",{class:"month-item-weekdays-row",column:"7-auto",row:1},t.weekdays.map((t=>{const i=this.translationSlimmer.t(`${t}-full`);return e("div",{key:t,role:"columnheader","aria-label":i},this.translationSlimmer.t(`${t}-short`))})))}renderDays(t,i){return e("vega-grid",{class:"container__days",column:"7-auto",row:this.staticHeight?6:"6-auto"},t.dateItems.flat().filter((e=>e.month<=i.current.month||e.year<i.current.year)).map((e=>this.renderItem(e,i))))}renderItem(e,t){const i=this.dateIndicator(e.toDate()),a=this.renderDay(e,t);return i&&i.text?this.renderDayWithIndicator(i,a):a}renderDayWithIndicator(t,i){return e("vega-tooltip",Object.assign({},t),i)}renderDay(t,i){const a=t.month===i.current.month,n=this.isBeforeMinDate(t)||this.isAfterMaxDate(t),r=this.getCurrentRangeDates(),o=this.isDateDisabled(t.toDate()),s=t.isAfter(r[0])&&t.isBefore(r[1]),d=a&&!n&&!o;return e("div",{key:`${t.month}-${t.date}`,class:a&&{"day-item":!0,"is-today":t.equal(this.today),"is-start-date":t.equal(r[0]),"is-in-range":s,"is-end-date":t.equal(r[1]),"is-locked":n,"is-disabled":o},onClick:()=>d&&this.selectionController.onDayClick(t),onMouseEnter:()=>d&&this.selectionController.onDayHover(t),onKeyDown:H(),role:"menuitem","aria-label":`${t.getMonthName()} ${t.date} ${t.year}`,"aria-hidden":a?void 0:"true","aria-disabled":n||o?"true":void 0,tabIndex:d?0:-1},e("div",{class:"day-content"},a?t.date:""))}getCurrentRangeDates(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;return f(e)&&!t&&this.hoverDate?this.hoverDate.isBefore(e)?[this.hoverDate,e]:[e,this.hoverDate]:!f(e)&&t&&this.hoverDate?this.hoverDate.isBefore(t)?[this.hoverDate,t]:[t,this.hoverDate]:[e,t]}isBeforeMinDate(e){return this.minCalendarDate&&e.isBefore(this.minCalendarDate)}isAfterMaxDate(e){return this.maxCalendarDate&&e.isAfter(this.maxCalendarDate)}}Ue([v()],Ze.prototype,"currentPeriod",void 0),Ue([v()],Ze.prototype,"today",void 0),Ue([v()],Ze.prototype,"translationSlimmer",void 0),Ue([v()],Ze.prototype,"hoverDate",void 0),Ue([v()],Ze.prototype,"maxCalendarDate",void 0),Ue([v()],Ze.prototype,"minCalendarDate",void 0),Ue([v()],Ze.prototype,"selectionController",void 0),Ue([v()],Ze.prototype,"calendarSelection",void 0),Ue([v()],Ze.prototype,"staticHeight",void 0),Ue([v()],Ze.prototype,"mode",void 0),Ue([v()],Ze.prototype,"size",void 0),Ue([v()],Ze.prototype,"isDateDisabled",void 0),Ue([v()],Ze.prototype,"dateIndicator",void 0),Ue([v()],Ze.prototype,"isMobileDevice",void 0);class Ge{constructor(e,t,i){if(this.startDate=e,this.endDate=t,this.mode=i,"range"===this.mode&&this.startDate&&this.endDate&&this.startDate.isAfter(this.endDate)){const e=this.startDate;this.startDate=this.endDate,this.endDate=e}}static fromSelection(e,t,i){let a=null,n=null;if(this.isValidSelection(e,t,i))if("single"===t&&"string"==typeof e){const t=m.fromString(e,i);a=t,n=t}else"range"===t&&Array.isArray(e)&&(a=m.fromString(e[0],i),n=m.fromString(e[1],i));return new Ge(a,n,t)}static isValidSelection(e,t,i){let a;switch(t){case"single":a=this.isValidDateString(e,i);break;case"range":a=Array.isArray(e)&&2===e.length&&e.every((e=>this.isValidDateString(e,i)))}return a||w.warn(`Invalid date picker calendar selection ${e} for ${t} mode`),a}static isValidDateString(e,t){return e&&"string"==typeof e&&!!m.fromString(e,t)||""===e}toSelection(e){var t,i,a;return"range"===this.mode?[(null===(t=this.startDate)||void 0===t?void 0:t.toString(e))||"",(null===(i=this.endDate)||void 0===i?void 0:i.toString(e))||""]:(null===(a=this.startDate)||void 0===a?void 0:a.toString(e))||""}equals(e){if(!e)return!1;const t=this.startDate&&e.startDate?this.startDate.equal(e.startDate):this.startDate===this.endDate,i=this.endDate&&e.endDate?this.endDate.equal(e.endDate):this.endDate===e.endDate;return t&&i}isCompleted(){return f(this.startDate)&&("range"!==this.mode||f(this.endDate))}isEmpty(){return!f(this.startDate)&&!f(this.endDate)}}var qe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Je extends He{componentWillLoad(){this.setCalendarSelectionBySelection(this.selection)}watchSelection(e){!this.isSameSelection(e,this.calendarSelection.toSelection(this.format))&&(this.setCalendarSelectionBySelection(e),this.notifyPeriodChange())}resetRange(){const e=!this.calendarSelection.isCompleted()&&!this.calendarSelection.isEmpty()&&!!this.previousCalendarSelection;this.setCalendarSelectionBySelection(e?this.previousCalendarSelection.toSelection(this.format):this.selection),this.hoverDate=null}watchCalendarSelection(){(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&this.setSelection(this.calendarSelection.toSelection(this.format))}clear(){this.setCalendarSelectionByRange(null,null),this.hoverDate=null}onDayClick(e){"single"===this.mode?this.setCalendarSelectionByRange(e,e):"range"===this.mode&&(this.calendarSelection.startDate&&!this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.startDate,e):!this.calendarSelection.startDate&&this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.endDate,e):this.setCalendarSelectionByRange(e,null),this.hoverDate=null)}onDayHover(e){const t=this.allowRepickController.getRepickType();t&&"range"===this.mode&&this.calendarSelection.isCompleted()&&("start"===t?this.setCalendarSelectionByRange(null,this.calendarSelection.endDate):this.setCalendarSelectionByRange(this.calendarSelection.startDate,null)),this.calendarSelection.isEmpty()||this.calendarSelection.isCompleted()||(this.hoverDate=e)}setCalendarSelectionBySelection(e){const t=Ge.fromSelection(e,this.mode,this.format);this.calendarSelection&&(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&(this.previousCalendarSelection=this.calendarSelection),t.equals(this.calendarSelection)||(this.calendarSelection=t),this.setSelection(t.toSelection(this.format))}setCalendarSelectionByRange(e,t){this.calendarSelection=new Ge(e,t,this.mode)}setSelection(e){this.isSameSelection(e,this.selection)||(this.selection=e,this.vegaSelectionChangeEventEmitter.emit(this.selection))}isSameSelection(e,t){return"range"===this.mode&&Array.isArray(e)&&Array.isArray(t)?B(e,t):e===t}notifyPeriodChange(){G.notify(S.getSubject(this.host,he),{})}}qe([v()],Je.prototype,"host",void 0),qe([v()],Je.prototype,"mode",void 0),qe([v()],Je.prototype,"format",void 0),qe([v({writable:!0})],Je.prototype,"selection",void 0),qe([v({writable:!0})],Je.prototype,"calendarSelection",void 0),qe([v({writable:!0})],Je.prototype,"hoverDate",void 0),qe([v()],Je.prototype,"clearEventEmitter",void 0),qe([v()],Je.prototype,"vegaSelectionChangeEventEmitter",void 0),qe([v()],Je.prototype,"allowRepickController",void 0),qe([v()],Je.prototype,"translationSlimmer",void 0),qe([y("componentWillLoad")],Je.prototype,"componentWillLoad",null),qe([y("watchSelection")],Je.prototype,"watchSelection",null),qe([y("reset")],Je.prototype,"resetRange",null),qe([y("watchCalendarSelection")],Je.prototype,"watchCalendarSelection",null);var Xe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Qe extends u{componentWillLoad(){this.setMaxCalendarDate(),this.setMinCalendarDate()}watchMaxDate(){this.setMaxCalendarDate()}watchMinDate(){this.setMinCalendarDate()}setMaxCalendarDate(){this.maxCalendarDate=m.fromString(this.maxDate,this.format)}setMinCalendarDate(){this.minCalendarDate=m.fromString(this.minDate,this.format)}}Xe([v()],Qe.prototype,"maxDate",void 0),Xe([v()],Qe.prototype,"minDate",void 0),Xe([v()],Qe.prototype,"format",void 0),Xe([v({writable:!0})],Qe.prototype,"maxCalendarDate",void 0),Xe([v({writable:!0})],Qe.prototype,"minCalendarDate",void 0),Xe([y("componentWillLoad")],Qe.prototype,"componentWillLoad",null),Xe([y("watchMaxDate")],Qe.prototype,"watchMaxDate",null),Xe([y("watchMinDate")],Qe.prototype,"watchMinDate",null);var et=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class tt extends u{triggerRepick(e){this.repickType=e,"end"===e&&this.setEndDateAsCurrentMonthPeriod()}watchCalendarSelection(){this.calendarSelection.isCompleted()&&(this.repickType=null)}getRepickType(){return this.repickType}setEndDateAsCurrentMonthPeriod(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;if(t){const i=f(e)&&e.compare(t).inMonth?e:this.isMobileDevice?t:t.add(0,-1);this.currentPeriodController.updateCalendarPeriod(new g(i))}}}et([v()],tt.prototype,"calendarSelection",void 0),et([v()],tt.prototype,"isMobileDevice",void 0),et([v()],tt.prototype,"currentPeriodController",void 0),et([y("triggerRepick")],tt.prototype,"triggerRepick",null),et([y("watchCalendarSelection")],tt.prototype,"watchCalendarSelection",null);var it=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class at extends u{render(){return e("vega-flex",{class:"month-item-header",alignItems:"center"},this.renderSwitcher(),this.yearMonthSwitcherRender.render())}renderSwitcher(){return e("vega-flex",{gap:"size-8",alignItems:"center"},this.renderPrevIcon(),this.renderToday(),this.renderNextIcon())}renderPrevIcon(){const t=this.currentPeriod.current.firstDateOfMonth(),i=this.minCalendarDate&&(t.isBefore(this.minCalendarDate)||t.equal(this.minCalendarDate));return e("vega-button-circle",{class:{"button-previous-month":!0,disabled:i},variant:"icon-only",icon:F.getIconKey("chevron-left"),"data-aria-label":this.translationSlimmer.t("Previous month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoPreviousPeriod()}))},iconColor:i?"text-disabled":"text-link",size:this.getNavigationIconSize(),disabled:i})}renderNextIcon(){const t=("range"===this.mode?this.currentPeriod.next():this.currentPeriod).current.lastDateOfMonth(),i=this.maxCalendarDate&&(t.isAfter(this.maxCalendarDate)||t.equal(this.maxCalendarDate));return e("vega-button-circle",{class:{"button-next-month":!0,disabled:i},variant:"icon-only",icon:F.getIconKey("chevron-right"),"data-aria-label":this.translationSlimmer.t("Next month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoNextPeriod()}))},size:this.getNavigationIconSize(),iconColor:i?"text-disabled":"text-link",disabled:i})}renderToday(){const t="range"===this.mode&&!this.isMobileDevice&&"small"!==this.size;return e("vega-button-link",{class:{"button-today":!0,"with-label":t},"data-aria-label":this.translationSlimmer.t("Today"),label:t?this.translationSlimmer.t("Today"):"",ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.updateCalendarPeriod(new g(this.today,!0,this.timezone))}))},size:"large"===this.size?"default":"small",icon:F.getIconKey("bulls-eye")})}getNavigationIconSize(){return"large"===this.size?"small":"extra-small"}}F.register({"chevron-left":ge["chevron-left"],"chevron-right":ge["chevron-right"],"bulls-eye":ge["bulls-eye"]}),it([v()],at.prototype,"currentPeriod",void 0),it([v()],at.prototype,"today",void 0),it([v()],at.prototype,"translationSlimmer",void 0),it([v()],at.prototype,"yearMonthSwitcherRender",void 0),it([v()],at.prototype,"mode",void 0),it([v()],at.prototype,"currentPeriodController",void 0),it([v()],at.prototype,"maxCalendarDate",void 0),it([v()],at.prototype,"minCalendarDate",void 0),it([v()],at.prototype,"size",void 0),it([v()],at.prototype,"timezone",void 0),it([v()],at.prototype,"isMobileDevice",void 0);var nt=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const rt=class{constructor(e){a(this,e),this.vegaClear=n(this,"vegaClear",7),this.clear=n(this,"clear",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.vegaSelectionChange=n(this,"vegaSelectionChange",7),this.selectionChange=n(this,"selectionChange",7),this.globalSlimmers={},this.renderer=new Le,this.monthItemRenderer=new Ze,this.headerRenderer=new at,this.translationSlimmer=new ie,this.todayController=new Ke,this.selectionController=new Je,this.minMaxDateController=new Qe,this.currentPeriodController=new Ne,this.yearMonthSwitcherRender=new Ye,this.allowRepickController=new tt,this.vegaComponentUsageRuntimeMetricsSlimmer=new _,this.clearEventEmitter=ee(rt,P),this.monthYearChangeEventEmitter=ee(rt,E),this.vegaSelectionChangeEventEmitter=ee(rt,O),this.isMobileDevice=z()===R.MOBILE,this.size="regular",this.mode="single",this.selection="range"===this.mode?["",""]:"",this.format="MM/DD/YYYY",this.clearButton=!1,this.staticHeight=!1,this.showYearMonthDropdowns=!1,this.yearMonthDropdownProps={},this.isDateDisabled=()=>!1,this.dateIndicator=()=>null}watchCurrentPeriod(){}watchCalendarSelection(){}watchMaxCalendarDate(){}watchMinCalendarDate(){}watchSelection(){}watchMinDate(){}watchMaxDate(){}watchTimezone(){}async reset(){}async triggerRepick(e){}render(){return o(e(t,{class:{[this.size]:!0,[this.mode]:!0,mobile:this.isMobileDevice}},this.renderer.render()),this.host)}get host(){return r(this)}static get watchers(){return{currentPeriod:["watchCurrentPeriod"],calendarSelection:["watchCalendarSelection"],maxCalendarDate:["watchMaxCalendarDate"],minCalendarDate:["watchMinCalendarDate"],selection:["watchSelection"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],timezone:["watchTimezone"]}}};nt([C()],rt.prototype,"globalSlimmers",void 0),nt([b()],rt.prototype,"renderer",void 0),nt([b()],rt.prototype,"monthItemRenderer",void 0),nt([b()],rt.prototype,"headerRenderer",void 0),nt([b()],rt.prototype,"translationSlimmer",void 0),nt([b()],rt.prototype,"todayController",void 0),nt([b()],rt.prototype,"selectionController",void 0),nt([b()],rt.prototype,"minMaxDateController",void 0),nt([b()],rt.prototype,"currentPeriodController",void 0),nt([b()],rt.prototype,"yearMonthSwitcherRender",void 0),nt([b()],rt.prototype,"allowRepickController",void 0),nt([b()],rt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),nt([b()],rt.prototype,"clearEventEmitter",void 0),nt([b()],rt.prototype,"monthYearChangeEventEmitter",void 0),nt([b()],rt.prototype,"vegaSelectionChangeEventEmitter",void 0),rt.style=':host{--vega-litepicker-container-width:calc(var(--vega-litepicker-day-width) * 7)}.calendar,.calendar .container__main,.calendar .container__months{height:100%}:host(.small.range) .calendar.static-height .container__main,:host(.regular.range) .calendar.static-height .container__main,:host(.large.range) .calendar.static-height .container__main{aspect-ratio:1/1}:host .month-item-header .button-today::part(link){color:rgba(var(--v-text-link, 19, 98, 226, 1));vertical-align:top}:host .month-item-header vega-dropdown .month-item-name,:host .month-item-header vega-dropdown .month-item-year{display:flex;gap:8px;align-items:center;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))}:host .month-item-header vega-dropdown.active .month-item-name,:host .month-item-header vega-dropdown.active .month-item-year{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .month-item-header .button-previous-month.disabled,:host .month-item-header .button-next-month.disabled{pointer-events:none}:host(.small.single) vega-dropdown .month-item-name span{max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.small){--vega-litepicker-day-width:28px;--vega-litepicker-day-height:28px;--vega-date-picker-calendar-range-space-size:16px}:host(.small) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header{gap:8px;margin-bottom:12px}:host(.small) .month-item-header .button-today{height:16px}:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header .month-item-name{margin-right:4px}:host(.small) .month-item-header vega-dropdown .month-item-name{margin-right:8px}:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:4px;padding-right:4px;font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;gap:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .month-item-header vega-dropdown .month-item-name vega-icon,:host(.small) .month-item-header vega-dropdown .month-item-year vega-icon{width:12px;height:12px}:host(.small) .month-item-header .small-month-item-name{margin-right:8px}:host(.small) .month-item-header .small-month-item-name::part(label-container),:host(.small) .month-item-header .small-month-item-year::part(label-container){font-size:14px}:host(.small) .month-item .current-month-year{margin-bottom:4px}:host(.small) .calendar .container__main{max-width:360px;max-height:360px}:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;margin-bottom:4px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .calendar .container__days .day-item .day-content{width:18px;height:18px}:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;width:18px;height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.small.range) .calendar .container__main{width:100%;max-width:600px;max-height:360px}:host(.regular){--vega-litepicker-day-width:40px;--vega-litepicker-day-height:40px;--vega-date-picker-calendar-range-space-size:24px}:host(.regular) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header{gap:16px;margin-bottom:24px}:host(.regular) .month-item-header .button-today{height:16px}:host(.regular) .month-item-header .button-today.with-label{height:18px}:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header .month-item-name{margin-right:4px}:host(.regular) .month-item-header vega-dropdown .month-item-name{margin-right:16px}:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:8px;padding-right:8px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px;padding-top:3px;padding-bottom:3px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.regular) .month-item .current-month-year{margin-bottom:12px}:host(.regular) .calendar .container__main{max-width:450px;max-height:450px}:host(.regular) .calendar .container__months .month-item-header{margin-bottom:12px}:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item .day-content{width:24px;height:24px}:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.regular.range) .calendar .container__main{width:100%;max-width:900px;max-height:450px}:host(.large){--vega-litepicker-day-width:56px;--vega-litepicker-day-height:56px;--vega-date-picker-calendar-range-space-size:40px}:host(.large) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header{gap:16px;margin-bottom:24px}:host(.large) .month-item-header .button-today{height:16px}:host(.large) .month-item-header .button-today.with-label{height:24px}:host(.large) .month-item-header .month-item-name{margin-right:4px}:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;gap:8px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header vega-dropdown .month-item-name{margin-right:24px}:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{border-radius:8px;padding-left:12px;padding-right:12px;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;padding-top:7px;padding-bottom:7px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.large) .month-item .current-month-year{margin-bottom:16px}:host(.large) .calendar .container__main{max-width:600px;max-height:600px}:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;margin-bottom:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .day-content{width:36px;height:36px}:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days vega-tooltip .day-item .day-content:after{width:6px;height:6px;bottom:-4px;left:calc(50% - 3px)}:host(.regular) .container__days .day-item.is-today .day-content,:host(.large) .container__days .day-item.is-today .day-content{border:1px solid rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.regular) .container__days .day-item.is-today.is-start-date .day-content,:host(.regular) .container__days .day-item.is-today.is-end-date .day-content,:host(.regular) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content,:host(.large) .container__days .day-item.is-today.is-start-date .day-content,:host(.large) .container__days .day-item.is-today.is-end-date .day-content,:host(.large) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content{border-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.large.range) .calendar .container__main{width:100%;max-width:1200px;max-height:600px}.calendar .container__main{display:flex;flex-direction:column}.calendar .container__months{display:flex}.calendar .container__months.columns-2{width:100%;flex-direction:row}.calendar .container__months .month-item{box-sizing:content-box;position:relative;width:100%;height:100%;z-index:1;display:flex;flex-direction:column}.calendar .container__months.columns-2 .month-item:first-of-type{padding-right:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months.columns-2 .month-item:last-of-type{padding-left:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months .month-item:nth-child(2)::before{background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));margin-bottom:32px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:none;width:1px;content:"";display:block}.calendar .container__months .month-item-weekdays-row{color:rgba(var(--v-text-primary, 32, 54, 69, 1));place-items:center}.calendar .aria-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.calendar .container__days{text-align:center;place-items:center;flex:1 1 auto}.calendar.static-height .container__days{align-content:flex-start}.calendar:not(.static-height) .container__days{flex:none}.calendar .container__months .month-item-weekdays-row>div,.calendar .container__days>div,.calendar .container__days>vega-tooltip>div,.calendar .container__days>a{padding:4px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--vega-litepicker-day-height);width:100%;min-width:var(--vega-litepicker-day-width)}.calendar .container__days .day-item{color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:center;border-radius:9999px;cursor:default}.calendar .container__days .day-item .day-content{display:flex;align-items:center;justify-content:center;border-radius:4px;box-sizing:border-box}.calendar .container__days .day-item:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.calendar .container__days .day-item:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));border-width:0px;outline:none}.calendar .container__days .day-item:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days .day-item.is-locked,.calendar .container__days .day-item.is-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1));-webkit-tap-highlight-color:transparent;cursor:not-allowed}.calendar .container__days .day-item.is-locked:hover,.calendar .container__days .day-item.is-disabled:hover{border-width:0px}.calendar .container__days .day-item.is-locked:active,.calendar .container__days .day-item.is-disabled:active{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px;outline:none}.calendar .container__days .day-item.is-disabled{text-decoration:line-through}.calendar .container__days .day-item.is-start-date,.calendar .container__days .day-item.is-end-date{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));position:relative;border-width:0px}.calendar .container__days .day-item.is-start-date:hover,.calendar .container__days .day-item.is-end-date:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.calendar .container__days .day-item.is-start-date:active,.calendar .container__days .day-item.is-end-date:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.calendar .container__days .day-item.is-start-date:focus-visible,.calendar .container__days .day-item.is-end-date:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;background-color:rgba(var(--v-bg-action-focus, 19, 98, 226, 1))}.calendar .container__days .day-item.is-start-date.is-disabled,.calendar .container__days .day-item.is-start-date.is-locked,.calendar .container__days .day-item.is-end-date.is-disabled,.calendar .container__days .day-item.is-end-date.is-locked{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1));color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}.calendar .container__days .day-item.is-start-date.is-end-date:after{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.calendar .container__days .day-item.is-start-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-top-left-radius:9999px;border-bottom-left-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-end-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-in-range{border-radius:0px;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1));border-width:0px}.calendar .container__days .day-item.is-in-range:hover{position:relative}.calendar .container__days .day-item.is-in-range:hover:before{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));border-radius:9999px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;content:" "}.calendar .container__days .day-item.is-in-range:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days vega-tooltip{width:100%}.calendar .container__days vega-tooltip .day-item .day-content{position:relative}.calendar .container__days vega-tooltip .day-item .day-content:after{position:absolute;border-radius:9999px;content:" ";background-color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.calendar .container__days vega-tooltip .day-item.is-start-date .day-content:after,.calendar .container__days vega-tooltip .day-item.is-end-date .day-content:after,.calendar .container__days vega-tooltip .day-item:active:not(.is-locked):not(.is-disabled) .day-content:after{background-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}.calendar.mobilefriendly[data-plugins*=mobilefriendly] .container__days>div{height:var(--vega-date-picker-calendar-day-height)}.calendar .clear-button{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}.calendar .footer-container{margin-top:16px;height:24px}:host(.vega-force-hidden){display:none !important}.calendar{left:initial !important;top:initial !important;position:initial !important}.button-next-month svg,.button-previous-month svg{width:12px;height:16px}.calendar .container__days>div:not(.day-item){-webkit-tap-highlight-color:transparent}';export{Ve as vega_date_picker,rt as vega_date_picker_calendar}
|
|
1
|
+
import{h as e,H as t,F as i,r as a,c as n,g as r}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{D as s}from"./p-e84b95d4.js";import{_ as d,R as h,$ as l,a0 as c,a1 as m,a2 as p,a3 as g,a4 as f}from"./p-c6d62f0d.js";import{I as x}from"./p-abd7aeaa.js";import{c as v,V as u,L as w,M as y,I as b}from"./p-6e1ab235.js";import{V as _,I as C}from"./p-4415ad28.js";import{F as k}from"./p-b696a861.js";import{a as D,e as I,g as z,D as R}from"./p-dcd18ab1.js";import{D as j,d as S}from"./p-878851f6.js";import{a as M,s as O,r as P,q as E,P as V,f as A,h as L,V as $,t as T,u as Y}from"./p-c5eb0fa6.js";import{V as F}from"./p-e1fbfd20.js";import{c as H}from"./p-86194314.js";import{i as B}from"./p-d27ae9ff.js";import{V as N}from"./p-82016096.js";import{F as W}from"./p-18e8d9b7.js";import{t as K}from"./p-b75ee3ba.js";import{g as U}from"./p-8b5d3a52.js";import{F as Z}from"./p-a528714c.js";import{C as G}from"./p-2d0d575f.js";import{S as q}from"./p-cf70c57d.js";import{S as J}from"./p-7618dde4.js";import{K as X}from"./p-1c45565d.js";import{C as Q}from"./p-75b58efe.js";import{c as ee}from"./p-d1ca70a1.js";import{C as te}from"./p-68a531cf.js";import{T as ie}from"./p-3224e47c.js";import{c as ae}from"./p-6a334573.js";import{E as ne}from"./p-204c7d41.js";import{S as re}from"./p-1fb56e14.js";import{C as oe}from"./p-8187878e.js";import{A as se}from"./p-6f2e5bc6.js";import{z as de,A as he}from"./p-33860e54.js";import{O as le}from"./p-331a62d5.js";import{M as ce}from"./p-612e3ded.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-02841589.js";import"./p-f0e828d8.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-576fe408.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-262ec334.js";import"./p-5a25014f.js";import"./p-44c5cbb7.js";import"./p-76b80a0c.js";import"./p-22336063.js";import"./p-3d2d267d.js";import"./p-5f377954.js";import"./p-781fd6e0.js";import"./p-716c71e6.js";import"./p-0c667d6a.js";class me extends x{canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);const t=new Date(e[0]),i=new Date(e[1]),a=d(t,i);return{isValid:a,message:a?"":"The end date should be later than start date"}}isAcceptedInputType(e){return Array.isArray(e)&&2===e.length&&e.every(h)}}class pe extends x{constructor(e){super(),this.evaluateSingleDate=e=>{const t=new Date(e);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.evaluateRangeDates=e=>{const t=new Date(e[0]),i=new Date(e[1]);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The start date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The start date should be earlier than {0}",args:[this.config.maxDate]}):i&&this.maxDate&&c(i,this.maxDate)?this.invalidResult({key:"The end date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.invalidResult=e=>({isValid:!1,message:e}),this.validResult=()=>({isValid:!0,message:""}),this.config=e,this.minDate=e.minDate?new Date(e.minDate):null,this.maxDate=e.maxDate?new Date(e.maxDate):null}canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);return"string"==typeof e?this.evaluateSingleDate(e):this.evaluateRangeDates(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return"string"==typeof e&&h(e)||Array.isArray(e)&&2===e.length&&e.every(h)}}const ge={"chevron-left":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M1.2937 7.29414C0.903076 7.68477 0.903076 8.31914 1.2937 8.70977L7.2937 14.7098C7.68433 15.1004 8.3187 15.1004 8.70933 14.7098C9.09995 14.3191 9.09995 13.6848 8.70933 13.2941L3.41558 8.00039L8.7062 2.70664C9.09683 2.31602 9.09683 1.68164 8.7062 1.29102C8.31558 0.900391 7.6812 0.900391 7.29058 1.29102L1.29058 7.29102L1.2937 7.29414Z" fill="currentColor"/></svg>'},"chevron-right":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M10.7063 7.29414C11.0969 7.68477 11.0969 8.31914 10.7063 8.70977L4.70627 14.7098C4.31565 15.1004 3.68127 15.1004 3.29065 14.7098C2.90002 14.3191 2.90002 13.6848 3.29065 13.2941L8.5844 8.00039L3.29377 2.70664C2.90315 2.31602 2.90315 1.68164 3.29377 1.29102C3.6844 0.900391 4.31877 0.900391 4.7094 1.29102L10.7094 7.29102L10.7063 7.29414Z" fill="currentColor"/></svg>'},calendar:{icon:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_41275_12898)"><path d="M5.75 2H10.25V0.75C10.25 0.335938 10.5844 0 11 0C11.4156 0 11.75 0.335938 11.75 0.75V2H13C14.1031 2 15 2.89531 15 4V14C15 15.1031 14.1031 16 13 16H3C1.89531 16 1 15.1031 1 14V4C1 2.89531 1.89531 2 3 2H4.25V0.75C4.25 0.335938 4.58437 0 5 0C5.41563 0 5.75 0.335938 5.75 0.75V2ZM2.5 7.75H5V6H2.5V7.75ZM2.5 9.25V11.25H5V9.25H2.5ZM6.5 9.25V11.25H9.5V9.25H6.5ZM11 9.25V11.25H13.5V9.25H11ZM13.5 6H11V7.75H13.5V6ZM13.5 12.75H11V14.5H13C13.275 14.5 13.5 14.275 13.5 14V12.75ZM9.5 12.75H6.5V14.5H9.5V12.75ZM5 12.75H2.5V14C2.5 14.275 2.72375 14.5 3 14.5H5V12.75ZM9.5 6H6.5V7.75H9.5V6Z" fill="currentColor"/></g><defs><clipPath id="clip0_41275_12898"><rect width="14" height="16" fill="white" transform="translate(1)"/></clipPath></defs></svg>'},"caret-down":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M199 401c9.4 9.4 24.6 9.4 33.9 0L425 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L41 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L199 401z"/></svg>'},"bulls-eye":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM256 368a112 112 0 1 0 0-224 112 112 0 1 0 0 224zm0-272a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-80a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>'}};var fe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class xe extends u{constructor(){super(...arguments),this.renderInputPrefix=()=>e("div",{class:"vega-input-prefix","aria-hidden":"true"},e("vega-icon",{icon:F.getIconKey("calendar"),color:"text-secondary",onClick:async()=>{this.disabled||(await this.focusInput(),await this.vegaDatePickerCalendarRenderer.triggerRepick("start"))}})),this.isInputEnabled=()=>!this.readOnly&&!this.isMobileDevice,this.renderLabel=()=>this.label&&e("vega-field-label",{ref:e=>{j.addUniqueObserverToNode(e,M,(async()=>{await this.focusInput()}))},isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.focusInput=async()=>{var e,t;null===(e=this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef())||void 0===e||e.focus(),null===(t=this.vegaDatePickerRangeInputRenderer.getStartDateInputRef())||void 0===t||t.focus(),await this.calendarOpenStateController.showCalendar()}}getDatePickerContainer(){return this.datePickerContainer}render(){const i=["vega-input-container",this.size,`${this.mode}-mode`,this.isMobileDevice?"mobile":""];return e(t,{class:{disabled:this.disabled}},this.renderLabel(),e("div",{class:D(i),ref:e=>this.datePickerContainer=e},"range"===this.mode?this.vegaDatePickerRangeInputRenderer.render():this.vegaDatePickerSingleInputRenderer.render()),this.vegaDatePickerCalendarRenderer.render())}}F.register({calendar:ge.calendar}),fe([v()],xe.prototype,"disabled",void 0),fe([v()],xe.prototype,"size",void 0),fe([v()],xe.prototype,"mode",void 0),fe([v()],xe.prototype,"label",void 0),fe([v()],xe.prototype,"required",void 0),fe([v()],xe.prototype,"readOnly",void 0),fe([v()],xe.prototype,"autoValidation",void 0),fe([v()],xe.prototype,"host",void 0),fe([v()],xe.prototype,"isMobileDevice",void 0),fe([v()],xe.prototype,"vegaDatePickerSingleInputRenderer",void 0),fe([v()],xe.prototype,"vegaDatePickerRangeInputRenderer",void 0),fe([v()],xe.prototype,"vegaDatePickerCalendarRenderer",void 0),fe([v()],xe.prototype,"calendarOpenStateController",void 0);var ve=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ue extends u{constructor(){super(...arguments),this.onClickClearIcon=async()=>{this.vegaDatePickerValueController.setValue("range"===this.mode?["",""]:""),this.isCalendarShow&&await this.calendarOpenStateController.hideCalendar(),this.focusInput()},this.isClearIconVisible=()=>{if("range"===this.mode){const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&!B(e,["",""])}{const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&Boolean(e.length)}}}renderClearIcon(){return e(i,null,this.showClearIcon&&this.isClearIconVisible()&&e("div",{class:"vega-input-clear-icon",tabIndex:-1,"aria-label":"clear input",role:"button",onClick:this.onClickClearIcon,onKeyDown:H()},e("vega-icon",{icon:"close"})))}}ve([v()],ue.prototype,"disabled",void 0),ve([v()],ue.prototype,"showClearIcon",void 0),ve([v()],ue.prototype,"mode",void 0),ve([v()],ue.prototype,"isCalendarShow",void 0),ve([v()],ue.prototype,"vegaDatePickerValueController",void 0),ve([v()],ue.prototype,"calendarOpenStateController",void 0);var we=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ye extends ue{constructor(){super(...arguments),this.render=()=>e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getSinglePlaceholder(),value:this.vegaDatePickerValueController.getValue(),ref:e=>this.singleDateInputRef=e,onChange:this.onSingleDateChange,disabled:this.disabled,role:"combobox","aria-label":this.label?`${this.label}, ${this.translationSlimmer.t("date picker")}`:this.translationSlimmer.t("date picker"),"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:()=>this.calendarOpenStateController.showCalendar()}),this.renderClearIcon()),this.getSinglePlaceholder=()=>this.placeholder?"string"!=typeof this.placeholder?(w.warn("The placeholder should be a string"),this.format):this.placeholder:this.format,this.onSingleDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue(this.vegaDatePickerFormatController.formatDate(t)):(this.vegaDatePickerValueController.setValue(""),this.singleDateInputRef.value="",w.warn("The date value of ${date} is invalid"))}}getSingleDateInputRef(){return this.singleDateInputRef}focusInput(){this.singleDateInputRef.focus()}}we([v()],ye.prototype,"placeholder",void 0),we([v()],ye.prototype,"format",void 0),we([v()],ye.prototype,"label",void 0),we([v()],ye.prototype,"isCalendarShow",void 0),we([v()],ye.prototype,"vegaDatePickerFormatController",void 0),we([v()],ye.prototype,"vegaDatePickerRenderer",void 0),we([v()],ye.prototype,"calendarOpenStateController",void 0),we([v()],ye.prototype,"vegaDatePickerCalendarRenderer",void 0),we([v()],ye.prototype,"translationSlimmer",void 0);var be=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class _e extends ue{constructor(){super(...arguments),this.render=()=>{const t=this.label?`, ${this.label}`:"",a=`, ${this.translationSlimmer.t("date picker")}`,n=`${this.translationSlimmer.t("Start Date")}${t}${a}`,r=`${this.translationSlimmer.t("End Date")}${t}${a}`;return e(i,null,e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[0],value:this.vegaDatePickerValueController.getValue()[0],ref:e=>this.startDateInputRef=e,onChange:this.onStartDateChange,disabled:this.disabled,role:"combobox","aria-label":n,"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:async()=>await this.onInputClicked("start")})),e("span",{class:{"range-input-divider":!0}}),e("div",{class:"date-picker-input"},e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[1],value:this.vegaDatePickerValueController.getValue()[1],ref:e=>this.endDateInputRef=e,onChange:this.onEndDateChange,disabled:this.disabled,role:"combobox","aria-label":r,"aria-haspopup":"dialog","aria-expanded":`${this.isCalendarShow}`,"aria-controls":this.vegaDatePickerCalendarRenderer.getCalendarId(),onClick:async()=>await this.onInputClicked("end")}),this.renderClearIcon()))},this.getRangePlaceholder=()=>this.placeholder?Array.isArray(this.placeholder)&&2===this.placeholder.length?this.placeholder:(w.warn("The placeholder should be an array, including start and end placeholder"),["Start Date","End Date"].map((e=>this.translationSlimmer.t(e)))):["Start Date","End Date"].map((e=>this.translationSlimmer.t(e))),this.onStartDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerFormatController.formatDate(t),this.vegaDatePickerValueController.getValue()[1]]):(this.vegaDatePickerValueController.setValue(["",this.vegaDatePickerValueController.getValue()[1]]),this.startDateInputRef.value="",w.warn("The date value of ${date} is invalid"))},this.onEndDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],this.vegaDatePickerFormatController.formatDate(t)]):(this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],""]),this.endDateInputRef.value="",w.warn("The date value of ${date} is invalid"))}}getStartDateInputRef(){return this.startDateInputRef}getEndDateInputRef(){return this.endDateInputRef}focusInput(){this.startDateInputRef.focus()}async onInputClicked(e){await this.calendarOpenStateController.showCalendar(),await this.vegaDatePickerCalendarRenderer.triggerRepick(e)}}be([v()],_e.prototype,"placeholder",void 0),be([v()],_e.prototype,"label",void 0),be([v()],_e.prototype,"isCalendarShow",void 0),be([v()],_e.prototype,"vegaDatePickerFormatController",void 0),be([v()],_e.prototype,"vegaDatePickerRenderer",void 0),be([v()],_e.prototype,"calendarOpenStateController",void 0),be([v()],_e.prototype,"translationSlimmer",void 0),be([v()],_e.prototype,"allowRepick",void 0),be([v()],_e.prototype,"format",void 0),be([v()],_e.prototype,"vegaDatePickerCalendarRenderer",void 0);var Ce=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ke extends u{constructor(){super(...arguments),this.calendarId=U()}componentDidLoad(){this.appendCalendarToBodyIfMobile()}getCalendarContentBoxRef(){return this.calendarContentBoxRef}getCalendarRef(){return this.calendarRef}getCalendarId(){return this.calendarId}getMobileModalRef(){return this.mobileModalRef}async triggerRepick(e){this.allowRepick&&"range"===this.mode&&await this.calendarRef.triggerRepick(e)}render(){return this.isMobileDevice?this.mobileRender():this.renderCalendar()}mobileRender(){return e("vega-modal",{showCloseButton:!1,size:ke.calendarModalSize,padding:"0",isVerticallyCentered:!0,backdropColor:"semi",ref:e=>{this.mobileModalRef=e,this.addModalObserver(e)}},e("div",{slot:"modal-content"},this.renderCalendar()))}renderCalendar(){const t=this.label?`${this.label}, `:"",i=`${this.translationSlimmer.t("date picker")}`;return e("vega-box",Object.assign({},this.isMobileDevice?{}:{role:"dialog","aria-modal":"true","aria-label":`${t}${i}`},{id:this.calendarId,padding:{default:"size-12",S:"size-32"},corners:"rounded-12",backgroundColor:"bg-primary",shadow:"shadow-dropdown-menu",border:"border-input-field",ref:e=>{this.calendarContentBoxRef=e},class:"date-picker-content-box"}),e("vega-box",{width:this.getDefaultCalendarDimension("width"),height:this.getDefaultCalendarDimension("height")},e("vega-date-picker-calendar",{selection:this.value,mode:this.mode,minDate:this.minDate,maxDate:this.maxDate,clearButton:this.clearButton,format:this.format,staticHeight:!1!==this.dropdownConfig.staticHeight,showYearMonthDropdowns:this.showYearMonthDropdowns,timezone:this.timezone,yearMonthDropdownProps:{isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")},ref:e=>{this.calendarRef=e,this.addCalendarObserver(e)},isDateDisabled:e=>this.isDateDisabled(e)})))}addCalendarObserver(e){j.addUniqueObserverToNode(e,O,(async e=>{await this.onCalendarSelected(e.detail)})),j.addUniqueObserverToNode(e,P,(async()=>{await this.calendarOpenStateController.hideCalendar()})),j.addUniqueObserverToNode(e,E,(async e=>{this.monthYearChangeEventEmitter.emit(e.detail)}))}addModalObserver(e){j.addUniqueObserverToNode(e,V,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!0)})),j.addUniqueObserverToNode(e,A,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!1)}))}async onCalendarSelected(e){("single"===this.mode||"range"===this.mode)&&this.vegaDatePickerValueController.setValue(e),this.isCalendarShow&&await this.calendarOpenStateController.hideCalendar()}appendCalendarToBodyIfMobile(){const e=K();this.isMobileDevice&&e&&e.body.append(this.mobileModalRef)}getDefaultCalendarDimension(e){if("height"===e&&!1===this.dropdownConfig.staticHeight)return"auto";let t=("range"!==this.mode||this.isMobileDevice?ke.regularDatePickerCalendarDimensionsForSingle:ke.regularDatePickerCalendarDimensionsForRange)[e];return"height"===e&&this.clearButton&&(t+=40),`${t}px`}}ke.calendarModalSize=344,ke.regularDatePickerCalendarDimensionsForSingle={width:280,height:320},ke.regularDatePickerCalendarDimensionsForRange={width:608,height:358},Ce([v()],ke.prototype,"format",void 0),Ce([v()],ke.prototype,"value",void 0),Ce([v()],ke.prototype,"mode",void 0),Ce([v()],ke.prototype,"minDate",void 0),Ce([v()],ke.prototype,"maxDate",void 0),Ce([v()],ke.prototype,"clearButton",void 0),Ce([v()],ke.prototype,"dropdownConfig",void 0),Ce([v()],ke.prototype,"showYearMonthDropdowns",void 0),Ce([v()],ke.prototype,"timezone",void 0),Ce([v()],ke.prototype,"isMobileDevice",void 0),Ce([v()],ke.prototype,"isCalendarShow",void 0),Ce([v()],ke.prototype,"isDateDisabled",void 0),Ce([v()],ke.prototype,"allowRepick",void 0),Ce([v()],ke.prototype,"disabled",void 0),Ce([v()],ke.prototype,"label",void 0),Ce([v()],ke.prototype,"monthYearChangeEventEmitter",void 0),Ce([v()],ke.prototype,"translationSlimmer",void 0),Ce([v()],ke.prototype,"vegaDatePickerValueController",void 0),Ce([v()],ke.prototype,"calendarOpenStateController",void 0),Ce([y("componentDidLoad")],ke.prototype,"componentDidLoad",null);var De=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ie extends u{componentWillLoad(){this.value&&this.valueGuard(this.value)||this.setDefaultValueByMode()}watchValue(e,t){"range"===this.mode&&B(e,t)||(this.valueGuard(e)||this.setDefaultValueByMode(),this.changeEventEmitter.emit(this.value),G.notify(Z,{host:this.host,detail:this.value}))}watchMode(){this.setDefaultValueByMode()}getValue(){return this.valueGuard(this.value),this.value}setValue(e){this.valueGuard(e)&&(this.value=e)}setDefaultValueByMode(){"range"===this.mode&&this.setValue(["",""]),"single"===this.mode&&this.setValue("")}valueGuard(e){let t;switch(this.mode){case"single":t=e&&"string"==typeof e&&!!m.fromString(e,this.format)||""===e;break;case"range":t=Array.isArray(e)&&2===e.length&&e.every((e=>!!m.fromString(e,this.format)||""===e))}return t||w.warn(`Invalid date picker value ${e} for ${this.mode} mode`),t}}De([v({writable:!0})],Ie.prototype,"value",void 0),De([v()],Ie.prototype,"mode",void 0),De([v()],Ie.prototype,"format",void 0),De([v()],Ie.prototype,"changeEventEmitter",void 0),De([v()],Ie.prototype,"host",void 0),De([v()],Ie.prototype,"isCalendarShow",void 0),De([v()],Ie.prototype,"vegaDatePickerCalendarRenderer",void 0),De([v()],Ie.prototype,"calendarOpenStateController",void 0),De([y("componentWillLoad")],Ie.prototype,"componentWillLoad",null),De([y("watchValue")],Ie.prototype,"watchValue",null),De([y("watchMode")],Ie.prototype,"watchMode",null);var ze=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Re extends J{constructor(e){super(),this.formatDate=e=>m.fromString(e,this.format).toString(this.format),this.getInputElementRef=()=>{switch(this.inputType){case"single":return this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef();case"rangeStart":return this.vegaDatePickerRangeInputRenderer.getStartDateInputRef();case"rangeEnd":return this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()}},this.getInputModeStrategy=()=>this.datePickerFormatStrategy,this.getBlurModeStrategy=()=>null,this.getDateFormatMask=e=>{const t=e.match(/M/gi);return new q({mask:e.replace(/[MDY]/gi,"9"),slot:"9",accept:(t&&t.length)>2?/\w/g:/\d/g})},this.inputType=e}componentDidLoad(){this.setupStringFormatter(this.format)}watchFormat(e){this.setupStringFormatter(e)}setupStringFormatter(e){this.datePickerFormatStrategy=this.getDateFormatMask(e),this.setup()}}ze([v()],Re.prototype,"format",void 0),ze([v()],Re.prototype,"mode",void 0),ze([v()],Re.prototype,"vegaDatePickerCalendarRenderer",void 0),ze([v()],Re.prototype,"vegaDatePickerSingleInputRenderer",void 0),ze([v()],Re.prototype,"vegaDatePickerRangeInputRenderer",void 0),ze([y("componentDidLoad")],Re.prototype,"componentDidLoad",null),ze([y("watchFormat")],Re.prototype,"watchFormat",null);var je=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Se extends X{constructor(){super((e=>[{keyCode:"Enter",activeElementInScope:()=>[e.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),e.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),e.vegaDatePickerRangeInputRenderer.getEndDateInputRef(),e.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef()],eventName:"keydown",callback:e=>{var t;const i=(null===(t=e.target.shadowRoot)||void 0===t?void 0:t.activeElement)||e.target;return null==i?void 0:i.click()}}]))}}je([v()],Se.prototype,"vegaDatePickerCalendarRenderer",void 0),je([v()],Se.prototype,"vegaDatePickerSingleInputRenderer",void 0),je([v()],Se.prototype,"vegaDatePickerRangeInputRenderer",void 0);const Me=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!0===e.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!1===e.autoValidation},{payloadKey:"MODE_IS_SINGLE",payloadDescription:"Specifies the selection mode of the date picker. Use `single` to allow selecting a single date",payloadValue:e=>"single"===e.mode},{payloadKey:"MODE_IS_RANGE",payloadDescription:"Specifies the selection mode of the date picker. Use `range` to allow selecting a date range",payloadValue:e=>"range"===e.mode}];var Oe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Pe extends ne{constructor(){super((()=>({target:this.vegaDatePickerRenderer.getDatePickerContainer(),appendableElement:this.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef(),positionRelativeTo:this.dropdownConfig.positionRelativeTo,translocation:{X:0,Y:8},placement:["bottom","top"],alignment:["start","end"],isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")})),(()=>new oe),"isCalendarShow"),this.ariaDialogFocusableTrapSlimmer=ae(Pe,se,[],[{mapFrom:"show",mapTo:"show"}],[{triggerEl:()=>this.vegaDatePickerRenderer.getDatePickerContainer(),dialogEl:()=>this.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef()}]),this.clearCalendarStateTaskQueue=new re}connectedCallback(){this.isMobileDevice||super.connectedCallback()}disconnectedCallback(){this.isMobileDevice||super.disconnectedCallback()}componentDidLoad(){this.isMobileDevice||super.componentDidLoad()}async componentDidRender(){await this.clearCalendarStateTaskQueue.runTask()}async doOpen(){await this.showCalendar()}async doClose(){await this.hideCalendar()}async watchDisabled(){await this.hideCalendar()}async watchIsCalendarShow(){await this.clearCalendarSelectingState()}async showCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("show"):this.show()}async hideCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("hide"):this.hide(),this.focusContainerWithAnnouncement()}updateIsCalendarShowState(e){this.isCalendarShow=e}focusContainerWithAnnouncement(){const e=I();if((null==e?void 0:e.matches)&&e.matches(":focus-visible")){const e=this.vegaDatePickerRenderer.getDatePickerContainer();if(e){const t=this.buildAriaAnnouncement(this.value);e.setAttribute("role","group"),e.setAttribute("aria-label",t),e.setAttribute("tabindex","-1"),e.addEventListener("blur",(()=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("tabindex")}),{once:!0}),setTimeout((()=>e.focus()),0)}}}buildAriaAnnouncement(e){let t=null,i=null;return"single"===this.mode&&"string"==typeof e?t=e?m.fromString(e,this.format):null:"range"===this.mode&&Array.isArray(e)&&(t=e[0]?m.fromString(e[0],this.format):null,i=e[1]?m.fromString(e[1],this.format):null),`\n\t\t\t${p({startDate:t,endDate:i,mode:this.mode})},\n\t\t\t${N.t("date picker")}\n\t\t`}async clearCalendarSelectingState(){if(!this.isCalendarShow){const e=this.vegaDatePickerCalendarRenderer.getCalendarRef();await this.clearCalendarStateTaskQueue.enqueue({run:async()=>await e.reset()},!1)}}}Oe([v()],Pe.prototype,"dropdownConfig",void 0),Oe([v()],Pe.prototype,"vegaDatePickerRenderer",void 0),Oe([v()],Pe.prototype,"vegaDatePickerCalendarRenderer",void 0),Oe([v()],Pe.prototype,"value",void 0),Oe([v()],Pe.prototype,"format",void 0),Oe([v()],Pe.prototype,"mode",void 0),Oe([v({writable:!0})],Pe.prototype,"isCalendarShow",void 0),Oe([v()],Pe.prototype,"isMobileDevice",void 0),Oe([b()],Pe.prototype,"ariaDialogFocusableTrapSlimmer",void 0),Oe([y("componentDidRender")],Pe.prototype,"componentDidRender",null),Oe([y("doOpen")],Pe.prototype,"doOpen",null),Oe([y("doClose")],Pe.prototype,"doClose",null),Oe([y("watchDisabled")],Pe.prototype,"watchDisabled",null),Oe([y("watchIsCalendarShow")],Pe.prototype,"watchIsCalendarShow",null);var Ee=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const Ve=class{constructor(e){a(this,e),this.vegaChange=n(this,"vegaChange",7),this.change=n(this,"change",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.globalSlimmers={},this.translationSlimmer=new ie,this.calendarOpenStateController=new Pe,this.vegaDatePickerValueController=new Ie,this.vegaDatePickerFormatController=new Re("single"),this.startInputFormatController=new Re("rangeStart"),this.endInputFormatController=new Re("rangeEnd"),this.vegaDatePickerKeyboardController=new Se,this.vegaDatePickerRenderer=new xe,this.vegaDatePickerSingleInputRenderer=new ye,this.vegaDatePickerRangeInputRenderer=new _e,this.vegaDatePickerCalendarRenderer=new ke,this.formFieldController=new k({propertyRules:[{propertyName:"required",ruleFactory:(e,t)=>e?new s({mode:t}):null,dependence:"mode"},{propertyName:"mode",ruleFactory:e=>"range"===e?new me:null},{propertyName:"minDate",ruleFactory:(e,t)=>new pe({minDate:e,maxDate:t}),dependence:"maxDate"},{propertyName:"maxDate",ruleFactory:(e,t)=>new pe({minDate:t,maxDate:e}),dependence:"minDate"}],validationRulesName:"validationRules",defaultValue:e=>"range"===e.mode?["",""]:"",attributeGetter:e=>this[e],inputContainerGetter:()=>this.vegaDatePickerRenderer.getDatePickerContainer(),touchableAreaGetter:()=>[this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),this.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()].filter(Boolean)}),this.changeEventEmitter=ee(Ve,L),this.monthYearChangeEventEmitter=ee(Ve,E),this.inputEventPrevent=new te([L,P,E],(()=>this.vegaDatePickerCalendarRenderer.getCalendarRef())),this.vegaComponentUsageRuntimeMetricsSlimmer=new _(Me),this.isMobileDevice=z()===R.MOBILE,this.isCalendarShow=!1,this.mode="single",this.value="range"===this.mode?["",""]:"",this.required=!1,this.isValid=null,this.autoValidation=!0,this.format="MM/DD/YYYY",this.size="default",this.validationRules=[],this.clearButton=!1,this.readOnly=!1,this.allowRepick=!1,this.dropdownConfig={},this.showClearIcon=!0,this.showYearMonthDropdowns=!1,this.disabled=!1,this.isDateDisabled=()=>!1}watchIsCalendarShow(){}watchMode(){}watchValue(e,t){}watchFormat(e){}watchValidationRules(){}watchMinDate(e){}watchMaxDate(e){}watchAllowRepick(){}watchShowYearMonthDropdowns(){}watchDisabled(){}async doClose(){}async doOpen(){}render(){return o(this.vegaDatePickerRenderer.render(),this.host)}get host(){return r(this)}static get watchers(){return{isCalendarShow:["watchIsCalendarShow"],mode:["watchMode"],value:["watchValue"],format:["watchFormat"],validationRules:["watchValidationRules"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],allowRepick:["watchAllowRepick"],showYearMonthDropdowns:["watchShowYearMonthDropdowns"],disabled:["watchDisabled"]}}};Ee([C()],Ve.prototype,"globalSlimmers",void 0),Ee([b()],Ve.prototype,"translationSlimmer",void 0),Ee([b()],Ve.prototype,"calendarOpenStateController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerValueController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerFormatController",void 0),Ee([b()],Ve.prototype,"startInputFormatController",void 0),Ee([b()],Ve.prototype,"endInputFormatController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerKeyboardController",void 0),Ee([b()],Ve.prototype,"vegaDatePickerRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerSingleInputRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerRangeInputRenderer",void 0),Ee([b()],Ve.prototype,"vegaDatePickerCalendarRenderer",void 0),Ee([b()],Ve.prototype,"formFieldController",void 0),Ee([b()],Ve.prototype,"changeEventEmitter",void 0),Ee([b()],Ve.prototype,"monthYearChangeEventEmitter",void 0),Ee([b()],Ve.prototype,"inputEventPrevent",void 0),Ee([b()],Ve.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Ee([Q()],Ve.prototype,"watchValue",null),Ve.style=':host{display:inline-block;width:100%;text-align:left;line-height:normal}:host vega-field-label{margin-bottom:8px}:host .vega-input-container{position:relative;display:block;border-radius:8px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));display:flex;align-items:center}:host .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .vega-input-container .date-picker-input{padding-left:16px;padding-right:16px;width:100%;box-sizing:border-box;display:flex;align-items:center}:host .vega-input-container.default .date-picker-input{padding-left:16px;padding-right:16px}:host .vega-input-container.small .date-picker-input{padding-left:12px;padding-right:12px}:host .vega-input-container.default .date-picker-input input{padding-top:12px;padding-bottom:12px}:host .vega-input-container.small .date-picker-input input{padding-top:8px;padding-bottom:8px}:host .vega-input-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-input-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-input-container.single-mode.error:focus-within,:host .vega-input-container.range-mode.error .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));border-radius:8px}:host .vega-input-container.range-mode.error .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode.error .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container.single-mode:not(.error):focus-within,:host .vega-input-container.range-mode:not(.error) .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));border-radius:8px}:host .vega-input-container.range-mode .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container input{width:100%;box-sizing:content-box;border-width:0px;margin:0px;outline:2px solid transparent;outline-offset:2px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1));display:block;padding-left:8px;padding-right:8px;padding-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}.vega-input-clear-icon{width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-input-clear-icon vega-icon{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}:host .range-input-divider{width:1px;height:24px;border-style:solid;border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-container.range-mode.mobile .range-input-divider{width:100%;height:1px;border-style:solid;border-right-width:0px;border-top-width:1px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-prefix{display:flex;margin-right:8px}:host .vega-input-container.range-mode.mobile.small .vega-input-prefix{margin-right:8px}:host .vega-input-container.range-mode.mobile{flex-direction:column}:host .vega-input-container.range-mode.mobile .date-picker-input:last-of-type{padding-left:40px}:host .vega-input-container.range-mode.mobile.small .date-picker-input:last-of-type{padding-left:36px}:host(.disabled) .vega-input-container{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));--tw-shadow:0 0 #0000;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px}:host(.disabled) .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host(.disabled) .vega-input-container input{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}';var Ae=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Le extends u{render(){return e("div",{class:{calendar:!0,"static-height":this.staticHeight}},e("div",{class:"container__main"},this.headerRenderer.render(),this.renderContainer(),this.renderFooter()),e("div",{class:"aria-announcement","aria-live":"polite","aria-atomic":"true"},this.buildAnnouncement()))}renderContainer(){const t=this.shouldRenderRangeMonth();return e("div",{class:{container__months:!0,"columns-2":t}},t?this.renderRangeMonth():this.monthItemRenderer.render("start"))}renderRangeMonth(){return e(i,null,this.monthItemRenderer.render("start"),this.monthItemRenderer.render("end"))}renderFooter(){return this.clearButton&&e("div",{class:"footer-container"},e("vega-button-link",{ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.clearCalendar()}))},label:this.translationSlimmer.t("Clear")}))}shouldRenderRangeMonth(){return"range"===this.mode&&!this.isMobileDevice}clearCalendar(){this.clearEventEmitter.emit(),G.notify(S.getSubject(this.host,de),{})}buildAnnouncement(){const{startDate:e,endDate:t}=this.calendarSelection;return p({mode:this.mode,startDate:e,endDate:t})}}Ae([v()],Le.prototype,"host",void 0),Ae([v()],Le.prototype,"clearButton",void 0),Ae([v()],Le.prototype,"calendarSelection",void 0),Ae([v()],Le.prototype,"monthItemRenderer",void 0),Ae([v()],Le.prototype,"staticHeight",void 0),Ae([v()],Le.prototype,"translationSlimmer",void 0),Ae([v()],Le.prototype,"mode",void 0),Ae([v()],Le.prototype,"clearEventEmitter",void 0),Ae([v()],Le.prototype,"isMobileDevice",void 0),Ae([v()],Le.prototype,"headerRenderer",void 0);const $e=["January","February","March","April","May","June","July","August","September","October","November","December"];var Te=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ye extends u{render(){return("range"!==this.mode||this.showYearMonthDropdowns||this.isMobileDevice)&&e("vega-flex",{justifyContent:"center"},this.showYearMonthDropdowns?this.renderMonthDropdownSwitcher():this.renderCurrentMonth(),this.showYearMonthDropdowns?this.renderYearDropdownSwitcher():this.renderCurrentYear())}getMonthDropdownOptions(){const e=this.currentPeriod.current.year;return $e.map(((t,i)=>({key:`${i}`,label:this.translationSlimmer.t(t),disabled:this.isDisabledMonth(e,i+1)})))}isDisabledMonth(e,t){var i,a,n,r;const o=null===(i=this.minCalendarDate)||void 0===i?void 0:i.month,s=null===(a=this.minCalendarDate)||void 0===a?void 0:a.year,d=null===(n=this.maxCalendarDate)||void 0===n?void 0:n.month,h=null===(r=this.maxCalendarDate)||void 0===r?void 0:r.year;return e<s||e>h||e===s&&o>t||e===h&&d<t}getYearDropdownOptions(){var e,t,i,a;const n=(new Date).getFullYear(),r=(null===(e=this.minCalendarDate)||void 0===e?void 0:e.year)||Math.min((null===(t=this.maxCalendarDate)||void 0===t?void 0:t.year)||n,n)-Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR,o=(null===(i=this.maxCalendarDate)||void 0===i?void 0:i.year)||Math.max((null===(a=this.minCalendarDate)||void 0===a?void 0:a.year)||n,n)+Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR,s=[];for(let e=r;e<=o;e++)s.push({key:String(e),label:String(e)});return s}renderMonthDropdownSwitcher(){const{month:t}=this.currentPeriod.current,i=t-1;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getMonthDropdownOptions(),selectedSourceKey:i.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,$,(e=>{const t=parseInt(e.detail);this.setDateBasedOnSelectedMonth(t)}))}},this.renderCurrentMonth())}renderYearDropdownSwitcher(){const{year:t}=this.currentPeriod.current;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getYearDropdownOptions(),selectedSourceKey:t.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,$,(e=>{this.setDateBasedOnSelectedYear(parseInt(e.detail))}))}},this.renderCurrentYear())}onDropdownShowOrHide(e){j.addUniqueObserverToNode(e,T,(async()=>{e.classList.add("active")})),j.addUniqueObserverToNode(e,Y,(()=>{const t=e.closest(".calendar");if(t){const e=t.querySelector("vega-dropdown.active");e&&e.classList.remove("active")}}))}renderCurrentMonth(){const t=this.translationSlimmer.t(this.currentPeriod.current.getMonthName());return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-name",size:"small",label:t}):e("div",{class:"month-item-name",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?H():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderCurrentYear(){const t=this.currentPeriod.current.year.toString();return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-year",size:"small",label:t}):e("div",{class:"month-item-year",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?H():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderDropdownSwitchIcon(){return this.showYearMonthDropdowns&&e("vega-icon",{icon:F.getIconKey("caret-down"),color:"text-link"})}setDateBasedOnSelectedMonth(e){const{year:t}=this.currentPeriod.current,i=new Date(t,e,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}setDateBasedOnSelectedYear(e){const{month:t}=this.currentPeriod.current,i=new Date(e,t-1,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}}F.register({"caret-down":ge["caret-down"]}),Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR=10,Ye.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR=10,Te([v()],Ye.prototype,"currentPeriodController",void 0),Te([v()],Ye.prototype,"showYearMonthDropdowns",void 0),Te([v()],Ye.prototype,"translationSlimmer",void 0),Te([v()],Ye.prototype,"minCalendarDate",void 0),Te([v()],Ye.prototype,"maxCalendarDate",void 0),Te([v()],Ye.prototype,"yearMonthDropdownProps",void 0),Te([v()],Ye.prototype,"currentPeriod",void 0),Te([v()],Ye.prototype,"size",void 0),Te([v()],Ye.prototype,"mode",void 0),Te([v()],Ye.prototype,"isMobileDevice",void 0);var Fe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class He extends u{connectedCallback(){this.initCalendarClearObserver()}disconnectedCallback(){this.removeCalendarClearObserver()}initCalendarClearObserver(){this.calendarClearObserver=new le(this.canAcceptClearEvent.bind(this),this.clear.bind(this)),G.register(S.getSubject(this.host,de),this.calendarClearObserver)}removeCalendarClearObserver(){G.unregister(S.getSubject(this.host,de),this.calendarClearObserver)}canAcceptClearEvent(){return!0}}Fe([v()],He.prototype,"host",void 0),Fe([y("connectedCallback")],He.prototype,"connectedCallback",null),Fe([y("disconnectedCallback")],He.prototype,"disconnectedCallback",null);var Be=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ne extends He{connectedCallback(){super.connectedCallback(),this.initCalendarPeriodUpdateObserver()}disconnectedCallback(){super.disconnectedCallback(),this.removeCalendarPeriodUpdateObserver()}componentWillLoad(){this.setCurrentMonthPeriod()}watchMaxCalendarDate(){this.setCurrentMonthPeriod()}watchMinCalendarDate(){this.setCurrentMonthPeriod()}watchCurrentPeriod(){this.monthYearChangeEventEmitter.emit(this.getCurrentYearMonthByPeriod())}resetCurrentPeriod(){this.setCurrentMonthPeriod()}clear(){this.setCurrentMonthPeriod()}gotoNextPeriod(){const e=this.isRangeView()?this.currentPeriod.next().next():this.currentPeriod.next();this.updateCalendarPeriod(e)}gotoPreviousPeriod(){const e=this.isRangeView()?this.currentPeriod.previous().previous():this.currentPeriod.previous();this.updateCalendarPeriod(e)}updateCalendarPeriod(e){this.currentPeriod&&this.currentPeriod.equal(e)||(this.currentPeriod=e)}setCurrentMonthPeriod(){let e;const t=this.calendarSelection.startDate;e=f(t)?t:this.minCalendarDate&&(this.today.isBefore(this.minCalendarDate)||this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate))?this.minCalendarDate:this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate)?this.maxCalendarDate:this.today,this.updateCalendarPeriod(new g(e,!0,this.timezone))}isRangeView(){return"range"===this.mode&&!this.isMobileDevice}getCurrentYearMonthByPeriod(){const e={month:$e[this.currentPeriod.current.month-1],year:`${this.currentPeriod.current.year}`};return"range"===this.mode?[e,{month:$e[this.currentPeriod.endDate.month-1],year:`${this.currentPeriod.endDate.year}`}]:e}initCalendarPeriodUpdateObserver(){j.addUniqueObserverToNode(this.host,he,this.setCurrentMonthPeriod.bind(this))}removeCalendarPeriodUpdateObserver(){j.removeUniqueObserverFromNode(this.host,he)}}Be([v({writable:!0})],Ne.prototype,"currentPeriod",void 0),Be([v()],Ne.prototype,"host",void 0),Be([v()],Ne.prototype,"today",void 0),Be([v()],Ne.prototype,"mode",void 0),Be([v()],Ne.prototype,"format",void 0),Be([v()],Ne.prototype,"timezone",void 0),Be([v()],Ne.prototype,"minCalendarDate",void 0),Be([v()],Ne.prototype,"maxCalendarDate",void 0),Be([v()],Ne.prototype,"isMobileDevice",void 0),Be([v()],Ne.prototype,"monthYearChangeEventEmitter",void 0),Be([v()],Ne.prototype,"calendarSelection",void 0),Be([y("connectedCallback")],Ne.prototype,"connectedCallback",null),Be([y("disconnectedCallback")],Ne.prototype,"disconnectedCallback",null),Be([y("componentWillLoad")],Ne.prototype,"componentWillLoad",null),Be([y("watchMaxCalendarDate")],Ne.prototype,"watchMaxCalendarDate",null),Be([y("watchMinCalendarDate")],Ne.prototype,"watchMinCalendarDate",null),Be([y("watchCurrentPeriod")],Ne.prototype,"watchCurrentPeriod",null),Be([y("reset")],Ne.prototype,"resetCurrentPeriod",null);var We=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ke extends u{connectedCallback(){this.setToday()}watchTimezone(){this.setToday()}setToday(){this.today=m.from(new Date,this.timezone)}}We([v()],Ke.prototype,"timezone",void 0),We([v({writable:!0})],Ke.prototype,"today",void 0),We([y("connectedCallback")],Ke.prototype,"connectedCallback",null),We([y("watchTimezone")],Ke.prototype,"watchTimezone",null);var Ue=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ze extends u{constructor(){super(...arguments),this.monthViewGenerator=new ce}render(t){const i="end"===t?this.currentPeriod.next():this.currentPeriod,a=this.monthViewGenerator.generate(i);return e("div",{class:"month-item"},this.renderCurrentYearMonth(i),this.renderWeek(a),this.renderDays(a,i))}renderCurrentYearMonth(t){return"range"===this.mode&&!this.isMobileDevice&&e("vega-box",{class:"current-month-year"},this.translationSlimmer.t(t.current.getMonthName())," ",t.current.year)}renderWeek(t){return e("vega-grid",{class:"month-item-weekdays-row",column:"7-auto",row:1,"aria-hidden":"true"},t.weekdays.map((t=>e("div",{key:t},this.translationSlimmer.t(`${t}-short`)))))}renderDays(t,i){return e("vega-grid",{class:"container__days",column:"7-auto",row:this.staticHeight?6:"6-auto"},t.dateItems.flat().filter((e=>e.month<=i.current.month||e.year<i.current.year)).map((e=>this.renderItem(e,i))))}renderItem(e,t){const i=this.dateIndicator(e.toDate()),a=this.renderDay(e,t);return i&&i.text?this.renderDayWithIndicator(i,a):a}renderDayWithIndicator(t,i){return e("vega-tooltip",Object.assign({},t),i)}renderDay(t,i){const a=t.month===i.current.month,n=this.isBeforeMinDate(t)||this.isAfterMaxDate(t),r=this.getCurrentRangeDates(),o=this.isDateDisabled(t.toDate()),s=t.isAfter(r[0])&&t.isBefore(r[1]),d=a&&!n&&!o,h=this.translationSlimmer.t(`${t.getWeekDayShortName()}-full`);return e("div",{key:`${t.month}-${t.date}`,class:a&&{"day-item":!0,"is-today":t.equal(this.today),"is-start-date":t.equal(r[0]),"is-in-range":s,"is-end-date":t.equal(r[1]),"is-locked":n,"is-disabled":o},onClick:()=>d&&this.selectionController.onDayClick(t),onMouseEnter:()=>d&&this.selectionController.onDayHover(t),onKeyDown:H(),role:"menuitem","aria-label":`${t.getMonthName()} ${t.date} ${t.year} ${h}`,"aria-hidden":a?void 0:"true","aria-disabled":n||o?"true":void 0,tabIndex:d?0:-1},e("div",{class:"day-content","aria-hidden":"true"},a?t.date:""))}getCurrentRangeDates(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;return f(e)&&!t&&this.hoverDate?this.hoverDate.isBefore(e)?[this.hoverDate,e]:[e,this.hoverDate]:!f(e)&&t&&this.hoverDate?this.hoverDate.isBefore(t)?[this.hoverDate,t]:[t,this.hoverDate]:[e,t]}isBeforeMinDate(e){return this.minCalendarDate&&e.isBefore(this.minCalendarDate)}isAfterMaxDate(e){return this.maxCalendarDate&&e.isAfter(this.maxCalendarDate)}}Ue([v()],Ze.prototype,"currentPeriod",void 0),Ue([v()],Ze.prototype,"today",void 0),Ue([v()],Ze.prototype,"translationSlimmer",void 0),Ue([v()],Ze.prototype,"hoverDate",void 0),Ue([v()],Ze.prototype,"maxCalendarDate",void 0),Ue([v()],Ze.prototype,"minCalendarDate",void 0),Ue([v()],Ze.prototype,"selectionController",void 0),Ue([v()],Ze.prototype,"calendarSelection",void 0),Ue([v()],Ze.prototype,"staticHeight",void 0),Ue([v()],Ze.prototype,"mode",void 0),Ue([v()],Ze.prototype,"size",void 0),Ue([v()],Ze.prototype,"isDateDisabled",void 0),Ue([v()],Ze.prototype,"dateIndicator",void 0),Ue([v()],Ze.prototype,"isMobileDevice",void 0);class Ge{constructor(e,t,i){if(this.startDate=e,this.endDate=t,this.mode=i,"range"===this.mode&&this.startDate&&this.endDate&&this.startDate.isAfter(this.endDate)){const e=this.startDate;this.startDate=this.endDate,this.endDate=e}}static fromSelection(e,t,i){let a=null,n=null;if(this.isValidSelection(e,t,i))if("single"===t&&"string"==typeof e){const t=m.fromString(e,i);a=t,n=t}else"range"===t&&Array.isArray(e)&&(a=m.fromString(e[0],i),n=m.fromString(e[1],i));return new Ge(a,n,t)}static isValidSelection(e,t,i){let a;switch(t){case"single":a=this.isValidDateString(e,i);break;case"range":a=Array.isArray(e)&&2===e.length&&e.every((e=>this.isValidDateString(e,i)))}return a||w.warn(`Invalid date picker calendar selection ${e} for ${t} mode`),a}static isValidDateString(e,t){return e&&"string"==typeof e&&!!m.fromString(e,t)||""===e}toSelection(e){var t,i,a;return"range"===this.mode?[(null===(t=this.startDate)||void 0===t?void 0:t.toString(e))||"",(null===(i=this.endDate)||void 0===i?void 0:i.toString(e))||""]:(null===(a=this.startDate)||void 0===a?void 0:a.toString(e))||""}equals(e){if(!e)return!1;const t=this.startDate&&e.startDate?this.startDate.equal(e.startDate):this.startDate===this.endDate,i=this.endDate&&e.endDate?this.endDate.equal(e.endDate):this.endDate===e.endDate;return t&&i}isCompleted(){return f(this.startDate)&&("range"!==this.mode||f(this.endDate))}isEmpty(){return!f(this.startDate)&&!f(this.endDate)}}var qe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Je extends He{componentWillLoad(){this.setCalendarSelectionBySelection(this.selection)}watchSelection(e){!this.isSameSelection(e,this.calendarSelection.toSelection(this.format))&&(this.setCalendarSelectionBySelection(e),this.notifyPeriodChange())}resetRange(){const e=!this.calendarSelection.isCompleted()&&!this.calendarSelection.isEmpty()&&!!this.previousCalendarSelection;this.setCalendarSelectionBySelection(e?this.previousCalendarSelection.toSelection(this.format):this.selection),this.hoverDate=null}watchCalendarSelection(){(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&this.setSelection(this.calendarSelection.toSelection(this.format))}clear(){this.setCalendarSelectionByRange(null,null),this.hoverDate=null}onDayClick(e){"single"===this.mode?this.setCalendarSelectionByRange(e,e):"range"===this.mode&&(this.calendarSelection.startDate&&!this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.startDate,e):!this.calendarSelection.startDate&&this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.endDate,e):this.setCalendarSelectionByRange(e,null),this.hoverDate=null)}onDayHover(e){const t=this.allowRepickController.getRepickType();t&&"range"===this.mode&&this.calendarSelection.isCompleted()&&("start"===t?this.setCalendarSelectionByRange(null,this.calendarSelection.endDate):this.setCalendarSelectionByRange(this.calendarSelection.startDate,null)),this.calendarSelection.isEmpty()||this.calendarSelection.isCompleted()||(this.hoverDate=e)}setCalendarSelectionBySelection(e){const t=Ge.fromSelection(e,this.mode,this.format);this.calendarSelection&&(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&(this.previousCalendarSelection=this.calendarSelection),t.equals(this.calendarSelection)||(this.calendarSelection=t),this.setSelection(t.toSelection(this.format))}setCalendarSelectionByRange(e,t){this.calendarSelection=new Ge(e,t,this.mode)}setSelection(e){this.isSameSelection(e,this.selection)||(this.selection=e,this.vegaSelectionChangeEventEmitter.emit(this.selection))}isSameSelection(e,t){return"range"===this.mode&&Array.isArray(e)&&Array.isArray(t)?B(e,t):e===t}notifyPeriodChange(){G.notify(S.getSubject(this.host,he),{})}}qe([v()],Je.prototype,"host",void 0),qe([v()],Je.prototype,"mode",void 0),qe([v()],Je.prototype,"format",void 0),qe([v({writable:!0})],Je.prototype,"selection",void 0),qe([v({writable:!0})],Je.prototype,"calendarSelection",void 0),qe([v({writable:!0})],Je.prototype,"hoverDate",void 0),qe([v()],Je.prototype,"clearEventEmitter",void 0),qe([v()],Je.prototype,"vegaSelectionChangeEventEmitter",void 0),qe([v()],Je.prototype,"allowRepickController",void 0),qe([v()],Je.prototype,"translationSlimmer",void 0),qe([y("componentWillLoad")],Je.prototype,"componentWillLoad",null),qe([y("watchSelection")],Je.prototype,"watchSelection",null),qe([y("reset")],Je.prototype,"resetRange",null),qe([y("watchCalendarSelection")],Je.prototype,"watchCalendarSelection",null);var Xe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Qe extends u{componentWillLoad(){this.setMaxCalendarDate(),this.setMinCalendarDate()}watchMaxDate(){this.setMaxCalendarDate()}watchMinDate(){this.setMinCalendarDate()}setMaxCalendarDate(){this.maxCalendarDate=m.fromString(this.maxDate,this.format)}setMinCalendarDate(){this.minCalendarDate=m.fromString(this.minDate,this.format)}}Xe([v()],Qe.prototype,"maxDate",void 0),Xe([v()],Qe.prototype,"minDate",void 0),Xe([v()],Qe.prototype,"format",void 0),Xe([v({writable:!0})],Qe.prototype,"maxCalendarDate",void 0),Xe([v({writable:!0})],Qe.prototype,"minCalendarDate",void 0),Xe([y("componentWillLoad")],Qe.prototype,"componentWillLoad",null),Xe([y("watchMaxDate")],Qe.prototype,"watchMaxDate",null),Xe([y("watchMinDate")],Qe.prototype,"watchMinDate",null);var et=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class tt extends u{triggerRepick(e){this.repickType=e,"end"===e&&this.setEndDateAsCurrentMonthPeriod()}watchCalendarSelection(){this.calendarSelection.isCompleted()&&(this.repickType=null)}getRepickType(){return this.repickType}setEndDateAsCurrentMonthPeriod(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;if(t){const i=f(e)&&e.compare(t).inMonth?e:this.isMobileDevice?t:t.add(0,-1);this.currentPeriodController.updateCalendarPeriod(new g(i))}}}et([v()],tt.prototype,"calendarSelection",void 0),et([v()],tt.prototype,"isMobileDevice",void 0),et([v()],tt.prototype,"currentPeriodController",void 0),et([y("triggerRepick")],tt.prototype,"triggerRepick",null),et([y("watchCalendarSelection")],tt.prototype,"watchCalendarSelection",null);var it=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class at extends u{render(){return e("vega-flex",{class:"month-item-header",alignItems:"center"},this.renderSwitcher(),this.yearMonthSwitcherRender.render())}renderSwitcher(){return e("vega-flex",{gap:"size-8",alignItems:"center"},this.renderPrevIcon(),this.renderToday(),this.renderNextIcon())}renderPrevIcon(){const t=this.currentPeriod.current.firstDateOfMonth(),i=this.minCalendarDate&&(t.isBefore(this.minCalendarDate)||t.equal(this.minCalendarDate));return e("vega-button-circle",{class:{"button-previous-month":!0,disabled:i},variant:"icon-only",icon:F.getIconKey("chevron-left"),"data-aria-label":this.translationSlimmer.t("Previous month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoPreviousPeriod()}))},iconColor:i?"text-disabled":"text-link",size:this.getNavigationIconSize(),disabled:i})}renderNextIcon(){const t=("range"===this.mode?this.currentPeriod.next():this.currentPeriod).current.lastDateOfMonth(),i=this.maxCalendarDate&&(t.isAfter(this.maxCalendarDate)||t.equal(this.maxCalendarDate));return e("vega-button-circle",{class:{"button-next-month":!0,disabled:i},variant:"icon-only",icon:F.getIconKey("chevron-right"),"data-aria-label":this.translationSlimmer.t("Next month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoNextPeriod()}))},size:this.getNavigationIconSize(),iconColor:i?"text-disabled":"text-link",disabled:i})}renderToday(){const t="range"===this.mode&&!this.isMobileDevice&&"small"!==this.size;return e("vega-button-link",{class:{"button-today":!0,"with-label":t},"data-aria-label":this.translationSlimmer.t("Today"),label:t?this.translationSlimmer.t("Today"):"",ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.updateCalendarPeriod(new g(this.today,!0,this.timezone))}))},size:"large"===this.size?"default":"small",icon:F.getIconKey("bulls-eye")})}getNavigationIconSize(){return"large"===this.size?"small":"extra-small"}}F.register({"chevron-left":ge["chevron-left"],"chevron-right":ge["chevron-right"],"bulls-eye":ge["bulls-eye"]}),it([v()],at.prototype,"currentPeriod",void 0),it([v()],at.prototype,"today",void 0),it([v()],at.prototype,"translationSlimmer",void 0),it([v()],at.prototype,"yearMonthSwitcherRender",void 0),it([v()],at.prototype,"mode",void 0),it([v()],at.prototype,"currentPeriodController",void 0),it([v()],at.prototype,"maxCalendarDate",void 0),it([v()],at.prototype,"minCalendarDate",void 0),it([v()],at.prototype,"size",void 0),it([v()],at.prototype,"timezone",void 0),it([v()],at.prototype,"isMobileDevice",void 0);var nt=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const rt=class{constructor(e){a(this,e),this.vegaClear=n(this,"vegaClear",7),this.clear=n(this,"clear",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.vegaSelectionChange=n(this,"vegaSelectionChange",7),this.selectionChange=n(this,"selectionChange",7),this.globalSlimmers={},this.renderer=new Le,this.monthItemRenderer=new Ze,this.headerRenderer=new at,this.translationSlimmer=new ie,this.todayController=new Ke,this.selectionController=new Je,this.minMaxDateController=new Qe,this.currentPeriodController=new Ne,this.yearMonthSwitcherRender=new Ye,this.allowRepickController=new tt,this.vegaComponentUsageRuntimeMetricsSlimmer=new _,this.clearEventEmitter=ee(rt,P),this.monthYearChangeEventEmitter=ee(rt,E),this.vegaSelectionChangeEventEmitter=ee(rt,O),this.isMobileDevice=z()===R.MOBILE,this.size="regular",this.mode="single",this.selection="range"===this.mode?["",""]:"",this.format="MM/DD/YYYY",this.clearButton=!1,this.staticHeight=!1,this.showYearMonthDropdowns=!1,this.yearMonthDropdownProps={},this.isDateDisabled=()=>!1,this.dateIndicator=()=>null}watchCurrentPeriod(){}watchCalendarSelection(){}watchMaxCalendarDate(){}watchMinCalendarDate(){}watchSelection(){}watchMinDate(){}watchMaxDate(){}watchTimezone(){}async reset(){}async triggerRepick(e){}render(){return o(e(t,{class:{[this.size]:!0,[this.mode]:!0,mobile:this.isMobileDevice}},this.renderer.render()),this.host)}get host(){return r(this)}static get watchers(){return{currentPeriod:["watchCurrentPeriod"],calendarSelection:["watchCalendarSelection"],maxCalendarDate:["watchMaxCalendarDate"],minCalendarDate:["watchMinCalendarDate"],selection:["watchSelection"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],timezone:["watchTimezone"]}}};nt([C()],rt.prototype,"globalSlimmers",void 0),nt([b()],rt.prototype,"renderer",void 0),nt([b()],rt.prototype,"monthItemRenderer",void 0),nt([b()],rt.prototype,"headerRenderer",void 0),nt([b()],rt.prototype,"translationSlimmer",void 0),nt([b()],rt.prototype,"todayController",void 0),nt([b()],rt.prototype,"selectionController",void 0),nt([b()],rt.prototype,"minMaxDateController",void 0),nt([b()],rt.prototype,"currentPeriodController",void 0),nt([b()],rt.prototype,"yearMonthSwitcherRender",void 0),nt([b()],rt.prototype,"allowRepickController",void 0),nt([b()],rt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),nt([b()],rt.prototype,"clearEventEmitter",void 0),nt([b()],rt.prototype,"monthYearChangeEventEmitter",void 0),nt([b()],rt.prototype,"vegaSelectionChangeEventEmitter",void 0),rt.style=':host{--vega-litepicker-container-width:calc(var(--vega-litepicker-day-width) * 7)}.calendar,.calendar .container__main,.calendar .container__months{height:100%}:host(.small.range) .calendar.static-height .container__main,:host(.regular.range) .calendar.static-height .container__main,:host(.large.range) .calendar.static-height .container__main{aspect-ratio:1/1}:host .month-item-header .button-today::part(link){color:rgba(var(--v-text-link, 19, 98, 226, 1));vertical-align:top}:host .month-item-header vega-dropdown .month-item-name,:host .month-item-header vega-dropdown .month-item-year{display:flex;gap:8px;align-items:center;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))}:host .month-item-header vega-dropdown.active .month-item-name,:host .month-item-header vega-dropdown.active .month-item-year{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .month-item-header .button-previous-month.disabled,:host .month-item-header .button-next-month.disabled{pointer-events:none}:host(.small.single) vega-dropdown .month-item-name span{max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.small){--vega-litepicker-day-width:28px;--vega-litepicker-day-height:28px;--vega-date-picker-calendar-range-space-size:16px}:host(.small) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header{gap:8px;margin-bottom:12px}:host(.small) .month-item-header .button-today{height:16px}:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header .month-item-name{margin-right:4px}:host(.small) .month-item-header vega-dropdown .month-item-name{margin-right:8px}:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:4px;padding-right:4px;font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;gap:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .month-item-header vega-dropdown .month-item-name vega-icon,:host(.small) .month-item-header vega-dropdown .month-item-year vega-icon{width:12px;height:12px}:host(.small) .month-item-header .small-month-item-name{margin-right:8px}:host(.small) .month-item-header .small-month-item-name::part(label-container),:host(.small) .month-item-header .small-month-item-year::part(label-container){font-size:14px}:host(.small) .month-item .current-month-year{margin-bottom:4px}:host(.small) .calendar .container__main{max-width:360px;max-height:360px}:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;margin-bottom:4px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .calendar .container__days .day-item .day-content{width:18px;height:18px}:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;width:18px;height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.small.range) .calendar .container__main{width:100%;max-width:600px;max-height:360px}:host(.regular){--vega-litepicker-day-width:40px;--vega-litepicker-day-height:40px;--vega-date-picker-calendar-range-space-size:24px}:host(.regular) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header{gap:16px;margin-bottom:24px}:host(.regular) .month-item-header .button-today{height:16px}:host(.regular) .month-item-header .button-today.with-label{height:18px}:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header .month-item-name{margin-right:4px}:host(.regular) .month-item-header vega-dropdown .month-item-name{margin-right:16px}:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:8px;padding-right:8px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px;padding-top:3px;padding-bottom:3px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.regular) .month-item .current-month-year{margin-bottom:12px}:host(.regular) .calendar .container__main{max-width:450px;max-height:450px}:host(.regular) .calendar .container__months .month-item-header{margin-bottom:12px}:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item .day-content{width:24px;height:24px}:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.regular.range) .calendar .container__main{width:100%;max-width:900px;max-height:450px}:host(.large){--vega-litepicker-day-width:56px;--vega-litepicker-day-height:56px;--vega-date-picker-calendar-range-space-size:40px}:host(.large) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header{gap:16px;margin-bottom:24px}:host(.large) .month-item-header .button-today{height:16px}:host(.large) .month-item-header .button-today.with-label{height:24px}:host(.large) .month-item-header .month-item-name{margin-right:4px}:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;gap:8px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header vega-dropdown .month-item-name{margin-right:24px}:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{border-radius:8px;padding-left:12px;padding-right:12px;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;padding-top:7px;padding-bottom:7px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.large) .month-item .current-month-year{margin-bottom:16px}:host(.large) .calendar .container__main{max-width:600px;max-height:600px}:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;margin-bottom:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .day-content{width:36px;height:36px}:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days vega-tooltip .day-item .day-content:after{width:6px;height:6px;bottom:-4px;left:calc(50% - 3px)}:host(.regular) .container__days .day-item.is-today .day-content,:host(.large) .container__days .day-item.is-today .day-content{border:1px solid rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.regular) .container__days .day-item.is-today.is-start-date .day-content,:host(.regular) .container__days .day-item.is-today.is-end-date .day-content,:host(.regular) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content,:host(.large) .container__days .day-item.is-today.is-start-date .day-content,:host(.large) .container__days .day-item.is-today.is-end-date .day-content,:host(.large) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content{border-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.large.range) .calendar .container__main{width:100%;max-width:1200px;max-height:600px}.calendar .container__main{display:flex;flex-direction:column}.calendar .container__months{display:flex}.calendar .container__months.columns-2{width:100%;flex-direction:row}.calendar .container__months .month-item{box-sizing:content-box;position:relative;width:100%;height:100%;z-index:1;display:flex;flex-direction:column}.calendar .container__months.columns-2 .month-item:first-of-type{padding-right:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months.columns-2 .month-item:last-of-type{padding-left:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months .month-item:nth-child(2)::before{background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));margin-bottom:32px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:none;width:1px;content:"";display:block}.calendar .container__months .month-item-weekdays-row{color:rgba(var(--v-text-primary, 32, 54, 69, 1));place-items:center}.calendar .aria-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.calendar .container__days{text-align:center;place-items:center;flex:1 1 auto}.calendar.static-height .container__days{align-content:flex-start}.calendar:not(.static-height) .container__days{flex:none}.calendar .container__months .month-item-weekdays-row>div,.calendar .container__days>div,.calendar .container__days>vega-tooltip>div,.calendar .container__days>a{padding:4px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--vega-litepicker-day-height);width:100%;min-width:var(--vega-litepicker-day-width)}.calendar .container__days .day-item{color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:center;border-radius:9999px;cursor:default}.calendar .container__days .day-item .day-content{display:flex;align-items:center;justify-content:center;border-radius:4px;box-sizing:border-box}.calendar .container__days .day-item:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.calendar .container__days .day-item:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));border-width:0px;outline:none}.calendar .container__days .day-item:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days .day-item.is-locked,.calendar .container__days .day-item.is-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1));-webkit-tap-highlight-color:transparent;cursor:not-allowed}.calendar .container__days .day-item.is-locked:hover,.calendar .container__days .day-item.is-disabled:hover{border-width:0px}.calendar .container__days .day-item.is-locked:active,.calendar .container__days .day-item.is-disabled:active{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px;outline:none}.calendar .container__days .day-item.is-disabled{text-decoration:line-through}.calendar .container__days .day-item.is-start-date,.calendar .container__days .day-item.is-end-date{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));position:relative;border-width:0px}.calendar .container__days .day-item.is-start-date:hover,.calendar .container__days .day-item.is-end-date:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.calendar .container__days .day-item.is-start-date:active,.calendar .container__days .day-item.is-end-date:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.calendar .container__days .day-item.is-start-date:focus-visible,.calendar .container__days .day-item.is-end-date:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;background-color:rgba(var(--v-bg-action-focus, 19, 98, 226, 1))}.calendar .container__days .day-item.is-start-date.is-disabled,.calendar .container__days .day-item.is-start-date.is-locked,.calendar .container__days .day-item.is-end-date.is-disabled,.calendar .container__days .day-item.is-end-date.is-locked{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1));color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}.calendar .container__days .day-item.is-start-date.is-end-date:after{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.calendar .container__days .day-item.is-start-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-top-left-radius:9999px;border-bottom-left-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-end-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-in-range{border-radius:0px;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1));border-width:0px}.calendar .container__days .day-item.is-in-range:hover{position:relative}.calendar .container__days .day-item.is-in-range:hover:before{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));border-radius:9999px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;content:" "}.calendar .container__days .day-item.is-in-range:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days vega-tooltip{width:100%}.calendar .container__days vega-tooltip .day-item .day-content{position:relative}.calendar .container__days vega-tooltip .day-item .day-content:after{position:absolute;border-radius:9999px;content:" ";background-color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.calendar .container__days vega-tooltip .day-item.is-start-date .day-content:after,.calendar .container__days vega-tooltip .day-item.is-end-date .day-content:after,.calendar .container__days vega-tooltip .day-item:active:not(.is-locked):not(.is-disabled) .day-content:after{background-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}.calendar.mobilefriendly[data-plugins*=mobilefriendly] .container__days>div{height:var(--vega-date-picker-calendar-day-height)}.calendar .clear-button{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}.calendar .footer-container{margin-top:16px;height:24px}:host(.vega-force-hidden){display:none !important}.calendar{left:initial !important;top:initial !important;position:initial !important}.button-next-month svg,.button-previous-month svg{width:12px;height:16px}.calendar .container__days>div:not(.day-item){-webkit-tap-highlight-color:transparent}';export{Ve as vega_date_picker,rt as vega_date_picker_calendar}
|