@esri/calcite-components 1.0.0-next.620 → 1.0.0-next.622
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/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00b343e7.js +6 -0
- package/dist/calcite/{p-b04a6b2c.entry.js → p-0684c679.entry.js} +2 -2
- package/dist/calcite/{p-96fb7815.js → p-0a47f25e.js} +1 -1
- package/dist/calcite/{p-18590c9d.js → p-0dfed97c.js} +2 -2
- package/dist/calcite/{p-5d80a1a7.entry.js → p-10435a9c.entry.js} +2 -2
- package/dist/calcite/{p-990af603.js → p-12965257.js} +2 -2
- package/dist/calcite/{p-b1366a63.entry.js → p-13a16758.entry.js} +2 -2
- package/dist/calcite/{p-aa979404.js → p-15dbdd70.js} +2 -2
- package/dist/calcite/{p-8670116a.entry.js → p-16bcab6c.entry.js} +2 -2
- package/dist/calcite/{p-c7a0a34f.js → p-1995d332.js} +1 -1
- package/dist/calcite/{p-255e2ae1.entry.js → p-1a9af777.entry.js} +2 -2
- package/dist/calcite/{p-c7858a40.entry.js → p-1cf5f3e2.entry.js} +2 -2
- package/dist/calcite/{p-3d38fb35.js → p-1d0a940e.js} +1 -1
- package/dist/calcite/{p-ea769dde.js → p-208c298f.js} +1 -1
- package/dist/calcite/{p-e5972608.entry.js → p-21a933cb.entry.js} +2 -2
- package/dist/calcite/{p-f7a246c3.entry.js → p-25506ea4.entry.js} +2 -2
- package/dist/calcite/{p-a1d1f070.entry.js → p-270abe96.entry.js} +2 -2
- package/dist/calcite/{p-e13f1fd9.js → p-2812b58f.js} +2 -2
- package/dist/calcite/{p-3681c26d.entry.js → p-2bb89489.entry.js} +2 -2
- package/dist/calcite/{p-6e2c04a1.entry.js → p-2edbbcf4.entry.js} +2 -2
- package/dist/calcite/{p-b4b39bd6.js → p-3234c811.js} +1 -1
- package/dist/calcite/{p-9439e44e.entry.js → p-36b459ac.entry.js} +2 -2
- package/dist/calcite/{p-e9f23eec.js → p-38882a3b.js} +1 -1
- package/dist/calcite/{p-f8eb0221.js → p-3d2b3d0b.js} +1 -1
- package/dist/calcite/{p-95b7628b.entry.js → p-407307f8.entry.js} +2 -2
- package/dist/calcite/{p-0b1db23d.entry.js → p-45a2b65d.entry.js} +2 -2
- package/dist/calcite/p-4cc55a65.entry.js +6 -0
- package/dist/calcite/{p-33053f28.entry.js → p-4db0fc4c.entry.js} +2 -2
- package/dist/calcite/{p-21ab53c7.entry.js → p-52876bf9.entry.js} +2 -2
- package/dist/calcite/{p-8ec0cdda.js → p-5726e1ec.js} +2 -2
- package/dist/calcite/{p-daf25e2c.entry.js → p-5a4bdee7.entry.js} +2 -2
- package/dist/calcite/{p-5f93979f.entry.js → p-5bd00523.entry.js} +2 -2
- package/dist/calcite/{p-5637eb10.js → p-5fde2316.js} +1 -1
- package/dist/calcite/{p-e53d9005.entry.js → p-6054d272.entry.js} +2 -2
- package/dist/calcite/{p-10020d19.entry.js → p-6110677c.entry.js} +2 -2
- package/dist/calcite/{p-4fc28c5d.entry.js → p-659c856d.entry.js} +2 -2
- package/dist/calcite/{p-60a85329.entry.js → p-6630279a.entry.js} +2 -2
- package/dist/calcite/{p-fbd2940e.entry.js → p-6b4955ec.entry.js} +2 -2
- package/dist/calcite/{p-111e41b6.entry.js → p-6b79d351.entry.js} +2 -2
- package/dist/calcite/{p-f8de0739.entry.js → p-6c481567.entry.js} +2 -2
- package/dist/calcite/{p-c7e2df71.js → p-6cf2e38b.js} +1 -1
- package/dist/calcite/{p-f5b510e9.entry.js → p-6f5352a3.entry.js} +2 -2
- package/dist/calcite/{p-5b73fd11.entry.js → p-727b3065.entry.js} +2 -2
- package/dist/calcite/{p-bd67b9be.js → p-758811ae.js} +1 -1
- package/dist/calcite/{p-18650746.entry.js → p-781371b0.entry.js} +2 -2
- package/dist/calcite/{p-99605a71.entry.js → p-7a1e096b.entry.js} +2 -2
- package/dist/calcite/{p-0072722c.js → p-7c5eb2bc.js} +1 -1
- package/dist/calcite/{p-4362bb5b.entry.js → p-7d6639a8.entry.js} +2 -2
- package/dist/calcite/{p-293a819c.entry.js → p-8176e247.entry.js} +2 -2
- package/dist/calcite/{p-30dfa8fa.entry.js → p-818c7da7.entry.js} +2 -2
- package/dist/calcite/{p-9e18f8ff.entry.js → p-82e3d643.entry.js} +2 -2
- package/dist/calcite/{p-092fc365.js → p-85c36037.js} +2 -2
- package/dist/calcite/{p-7470ad11.entry.js → p-860a62b8.entry.js} +2 -2
- package/dist/calcite/{p-81f0abbe.entry.js → p-899213d6.entry.js} +2 -2
- package/dist/calcite/{p-8b5794c3.js → p-8a23bee9.js} +1 -1
- package/dist/calcite/{p-179703ee.entry.js → p-906274e5.entry.js} +2 -2
- package/dist/calcite/{p-108764a9.entry.js → p-9421277e.entry.js} +2 -2
- package/dist/calcite/{p-a9fb7422.entry.js → p-95f9ce1a.entry.js} +2 -2
- package/dist/calcite/{p-6c852841.entry.js → p-9641e77b.entry.js} +2 -2
- package/dist/calcite/{p-b01e3b51.entry.js → p-99d5ec29.entry.js} +2 -2
- package/dist/calcite/{p-101ae9d4.entry.js → p-a00a270a.entry.js} +2 -2
- package/dist/calcite/{p-ef98ffdf.entry.js → p-a4c40fbe.entry.js} +2 -2
- package/dist/calcite/{p-10000a5d.js → p-a7cd8b98.js} +2 -2
- package/dist/calcite/{p-9795f44f.entry.js → p-a80a158c.entry.js} +2 -2
- package/dist/calcite/{p-3362f7c4.entry.js → p-a821c137.entry.js} +2 -2
- package/dist/calcite/p-a9790487.entry.js +6 -0
- package/dist/calcite/{p-6c687147.entry.js → p-afac13a2.entry.js} +2 -2
- package/dist/calcite/{p-2c8e7879.entry.js → p-afc2e98e.entry.js} +2 -2
- package/dist/calcite/{p-a0ca6259.js → p-b648f4b7.js} +1 -1
- package/dist/calcite/{p-03ae7bb0.js → p-b7ca1b33.js} +2 -2
- package/dist/calcite/p-b8d532cf.entry.js +6 -0
- package/dist/calcite/{p-fc770486.entry.js → p-ba252dfd.entry.js} +2 -2
- package/dist/calcite/{p-7b79de67.entry.js → p-bd968bbc.entry.js} +2 -2
- package/dist/calcite/p-ca9e73f5.js +6 -0
- package/dist/calcite/p-d0b36729.js +6 -0
- package/dist/calcite/{p-a8045ba4.entry.js → p-d1afb786.entry.js} +2 -2
- package/dist/calcite/{p-b7d97b96.entry.js → p-d8a786f5.entry.js} +2 -2
- package/dist/calcite/p-da40bc5b.js +6 -0
- package/dist/calcite/{p-86c1de35.entry.js → p-e812a0f1.entry.js} +2 -2
- package/dist/calcite/{p-8fdab6a6.entry.js → p-e91a0472.entry.js} +2 -2
- package/dist/calcite/p-ecc55abe.entry.js +6 -0
- package/dist/calcite/{p-6d984659.js → p-f48adde2.js} +1 -1
- package/dist/calcite/{p-e7a986eb.entry.js → p-f4c4299f.entry.js} +2 -2
- package/dist/calcite/{p-1b6b98f3.entry.js → p-f55de32b.entry.js} +2 -2
- package/dist/calcite/{p-a3b2b864.js → p-f6204412.js} +2 -2
- package/dist/calcite/{p-5da7d372.js → p-f6d1cd99.js} +1 -1
- package/dist/calcite/{p-86b5b1b0.js → p-fe239890.js} +1 -1
- package/dist/calcite/{p-d74f5506.entry.js → p-fe4dbd3c.entry.js} +2 -2
- package/dist/calcite/{p-61bc5542.entry.js → p-fe5b18ea.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-9d88b485.js → ExpandToggle-f16cd4b7.js} +5 -5
- package/dist/cjs/{Heading-42c721fb.js → Heading-82b6415d.js} +2 -2
- package/dist/cjs/{app-globals-965b63b5.js → app-globals-6ed9583f.js} +2 -2
- package/dist/cjs/{array-daccf225.js → array-f182b3fd.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +26 -22
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +203 -193
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-e9b39791.js → conditionalSlot-0ced7734.js} +3 -3
- package/dist/cjs/{debounce-900b4165.js → debounce-5c435160.js} +1 -1
- package/dist/cjs/{dom-050ed51d.js → dom-e3186c45.js} +3 -3
- package/dist/cjs/{filter-b7155c42.js → filter-946e1302.js} +2 -2
- package/dist/cjs/{floating-ui-cdd2427c.js → floating-ui-b245626d.js} +9 -5
- package/dist/cjs/{form-354faea8.js → form-160bf02c.js} +3 -3
- package/dist/cjs/{guid-e831a5e2.js → guid-90da9b56.js} +1 -1
- package/dist/cjs/{index-4ba2845b.js → index-bc274dac.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-962a14b0.js → interactive-6cebed8c.js} +1 -1
- package/dist/cjs/{interfaces-100c4ce3.js → interfaces-c6aa72d3.js} +1 -1
- package/dist/cjs/{key-040ca8df.js → key-03e7267c.js} +1 -1
- package/dist/cjs/{label-13427cfa.js → label-b9178040.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-75425b71.js → locale-76eeee32.js} +4 -4
- package/dist/cjs/{math-3c3a14bf.js → math-235c3c91.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-d75b3668.js → nonChromiumPlatformUtils-027dfe64.js} +6 -6
- package/dist/cjs/{observers-af1bb8d7.js → observers-0a828123.js} +1 -1
- package/dist/cjs/{openCloseComponent-490cec2b.js → openCloseComponent-42118698.js} +1 -1
- package/dist/cjs/{resources-2628eeec.js → resources-0207cea8.js} +5 -5
- package/dist/cjs/{resources-a9cf54f2.js → resources-0b85abbe.js} +1 -1
- package/dist/cjs/{resources-91b73336.js → resources-b31191c7.js} +1 -1
- package/dist/cjs/{resources-4844a48d.js → resources-bd82b284.js} +55 -12
- package/dist/cjs/{resources-d2ceea67.js → resources-f2fa9481.js} +1 -1
- package/dist/cjs/{resources-00608607.js → resources-f409124d.js} +1 -1
- package/dist/cjs/{sortable.esm-acb58ff7.js → sortable.esm-6af0b4c7.js} +1 -1
- package/dist/cjs/{utils-662f5bd1.js → utils-2c07bcf4.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +0 -4
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +37 -13
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +0 -4
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +0 -6
- package/dist/collection/components/input-date-picker/input-date-picker.js +195 -193
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -3
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -3
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +51 -9
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +6 -2
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +2 -2
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +192 -181
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +18 -14
- package/dist/components/date.js +52 -10
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +3 -3
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +6 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-4253f384.js → ExpandToggle-cc2a15dd.js} +5 -5
- package/dist/esm/{Heading-d7b8f08a.js → Heading-22d5338d.js} +2 -2
- package/dist/esm/{app-globals-903b988b.js → app-globals-3737de60.js} +2 -2
- package/dist/esm/{array-14b21cd6.js → array-6b26472f.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +26 -22
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +203 -193
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-c72274bb.js → conditionalSlot-236ac8c6.js} +3 -3
- package/dist/esm/{debounce-c9f6d406.js → debounce-7c99e653.js} +1 -1
- package/dist/esm/{dom-1e4deb7f.js → dom-7b1a9388.js} +3 -3
- package/dist/esm/{filter-8cb43127.js → filter-77ad1cab.js} +2 -2
- package/dist/esm/{floating-ui-9297004b.js → floating-ui-32b46ef9.js} +9 -5
- package/dist/esm/{form-8128fc79.js → form-857f1ff0.js} +3 -3
- package/dist/esm/{guid-e67a0403.js → guid-8c313d9d.js} +1 -1
- package/dist/esm/{index-3d98d82f.js → index-c7811f4e.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-280bdade.js → interactive-4239c942.js} +1 -1
- package/dist/esm/{interfaces-38455864.js → interfaces-c5e65cb0.js} +1 -1
- package/dist/esm/{key-fcfa1157.js → key-a47cc528.js} +1 -1
- package/dist/esm/{label-be9adac1.js → label-da4b7005.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-c9f01571.js → locale-011a1885.js} +4 -4
- package/dist/esm/{math-3a02723b.js → math-4258b418.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-276b149b.js → nonChromiumPlatformUtils-bd116351.js} +6 -6
- package/dist/esm/{observers-1537e191.js → observers-6ff46f9d.js} +1 -1
- package/dist/esm/{openCloseComponent-ebaa346a.js → openCloseComponent-42df2fc7.js} +1 -1
- package/dist/esm/{resources-accfd5fd.js → resources-556743be.js} +5 -5
- package/dist/esm/{resources-14ef9ddd.js → resources-87e42b61.js} +54 -12
- package/dist/esm/{resources-d1e80acf.js → resources-94c6c8b9.js} +1 -1
- package/dist/esm/{resources-41d8eaae.js → resources-ad95d26e.js} +1 -1
- package/dist/esm/{resources-d0be46e0.js → resources-c7125d11.js} +1 -1
- package/dist/esm/{resources-f99889eb.js → resources-f8ab3aeb.js} +1 -1
- package/dist/esm/{sortable.esm-c828508b.js → sortable.esm-337860b2.js} +1 -1
- package/dist/esm/{utils-e6154388.js → utils-c8ff0f30.js} +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +3 -5
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +14 -28
- package/dist/types/components.d.ts +10 -2
- package/dist/types/utils/date.d.ts +22 -2
- package/hydrate/index.js +267 -206
- package/package.json +1 -1
- package/dist/calcite/p-1ae67147.js +0 -6
- package/dist/calcite/p-1ddbe023.js +0 -6
- package/dist/calcite/p-2ca34505.js +0 -6
- package/dist/calcite/p-38b7151e.entry.js +0 -6
- package/dist/calcite/p-51aea0bf.entry.js +0 -6
- package/dist/calcite/p-7fb0ca65.entry.js +0 -6
- package/dist/calcite/p-b2aed582.entry.js +0 -6
- package/dist/calcite/p-f51a4508.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.622
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -16060,7 +16060,11 @@ function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
|
16060
16060
|
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
16061
16061
|
const position = component.overlayPositioning;
|
|
16062
16062
|
// ensure position matches for initial positioning
|
|
16063
|
-
floatingEl.style
|
|
16063
|
+
Object.assign(floatingEl.style, {
|
|
16064
|
+
visibility: "hidden",
|
|
16065
|
+
pointerEvents: "none",
|
|
16066
|
+
position
|
|
16067
|
+
});
|
|
16064
16068
|
if (position === "absolute") {
|
|
16065
16069
|
moveOffScreen(floatingEl);
|
|
16066
16070
|
}
|
|
@@ -16164,7 +16168,7 @@ function getDepth(element) {
|
|
|
16164
16168
|
}
|
|
16165
16169
|
}
|
|
16166
16170
|
|
|
16167
|
-
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-combobox:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-combobox{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;visibility:hidden;
|
|
16171
|
+
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-combobox:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-combobox{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;visibility:hidden;inline-size:0;block-size:0;overflow:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
16168
16172
|
|
|
16169
16173
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
16170
16174
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -17252,6 +17256,9 @@ class ComboboxItemGroup {
|
|
|
17252
17256
|
* @param max
|
|
17253
17257
|
*/
|
|
17254
17258
|
function inRange(date, min, max) {
|
|
17259
|
+
if (!date) {
|
|
17260
|
+
return;
|
|
17261
|
+
}
|
|
17255
17262
|
const time = date.getTime();
|
|
17256
17263
|
const afterMin = !(min instanceof Date) || time >= min.getTime();
|
|
17257
17264
|
const beforeMax = !(max instanceof Date) || time <= max.getTime();
|
|
@@ -17305,6 +17312,46 @@ function dateFromISO(iso8601, isEndDate = false) {
|
|
|
17305
17312
|
}
|
|
17306
17313
|
return date;
|
|
17307
17314
|
}
|
|
17315
|
+
/**
|
|
17316
|
+
* Parse a localized date string into a valid Date.
|
|
17317
|
+
* return false if date is invalid, or out of range
|
|
17318
|
+
*
|
|
17319
|
+
* @param value
|
|
17320
|
+
* @param localeData
|
|
17321
|
+
*/
|
|
17322
|
+
function dateFromLocalizedString(value, localeData) {
|
|
17323
|
+
if (!localeData) {
|
|
17324
|
+
return null;
|
|
17325
|
+
}
|
|
17326
|
+
const { separator } = localeData;
|
|
17327
|
+
const { day, month, year } = parseDateString(value, localeData);
|
|
17328
|
+
const date = new Date(year, month, day);
|
|
17329
|
+
date.setFullYear(year);
|
|
17330
|
+
const validDay = day > 0;
|
|
17331
|
+
const validMonth = month > -1;
|
|
17332
|
+
const validDate = !isNaN(date.getTime());
|
|
17333
|
+
const validLength = value.split(separator).filter((c) => c).length > 2;
|
|
17334
|
+
const validYear = year.toString().length > 0;
|
|
17335
|
+
if (validDay && validMonth && validDate && validLength && validYear) {
|
|
17336
|
+
return date;
|
|
17337
|
+
}
|
|
17338
|
+
return null;
|
|
17339
|
+
}
|
|
17340
|
+
/**
|
|
17341
|
+
* Retrieve day, month, and year strings from a localized string
|
|
17342
|
+
*
|
|
17343
|
+
* @param string
|
|
17344
|
+
* @param localeData
|
|
17345
|
+
*/
|
|
17346
|
+
function datePartsFromLocalizedString(string, localeData) {
|
|
17347
|
+
const { separator, unitOrder } = localeData;
|
|
17348
|
+
const order = getOrder(unitOrder);
|
|
17349
|
+
const values = string.split(separator).map((part) => numberStringFormatter.delocalize(part));
|
|
17350
|
+
const day = values[order.indexOf("d")];
|
|
17351
|
+
const month = values[order.indexOf("m")];
|
|
17352
|
+
const year = values[order.indexOf("y")];
|
|
17353
|
+
return { day, month, year };
|
|
17354
|
+
}
|
|
17308
17355
|
/**
|
|
17309
17356
|
* Return first portion of ISO string (YYYY-mm-dd)
|
|
17310
17357
|
*
|
|
@@ -17365,18 +17412,17 @@ function nextMonth(date) {
|
|
|
17365
17412
|
/**
|
|
17366
17413
|
* Parse numeric units for day, month, and year from a localized string
|
|
17367
17414
|
* month starts at 0 (can pass to date constructor)
|
|
17415
|
+
* can return values as number or string
|
|
17368
17416
|
*
|
|
17369
|
-
* @param
|
|
17417
|
+
* @param string
|
|
17370
17418
|
* @param localeData
|
|
17371
17419
|
*/
|
|
17372
|
-
function parseDateString(
|
|
17373
|
-
const {
|
|
17374
|
-
const order = getOrder(unitOrder);
|
|
17375
|
-
const values = str.split(separator).map((part) => numberStringFormatter.delocalize(part));
|
|
17420
|
+
function parseDateString(string, localeData) {
|
|
17421
|
+
const { day, month, year } = datePartsFromLocalizedString(string, localeData);
|
|
17376
17422
|
return {
|
|
17377
|
-
day: parseInt(
|
|
17378
|
-
month: parseInt(
|
|
17379
|
-
year: parseInt(
|
|
17423
|
+
day: parseInt(day),
|
|
17424
|
+
month: parseInt(month) - 1,
|
|
17425
|
+
year: parseInt(year)
|
|
17380
17426
|
};
|
|
17381
17427
|
}
|
|
17382
17428
|
/**
|
|
@@ -17600,8 +17646,12 @@ class DatePicker {
|
|
|
17600
17646
|
*/
|
|
17601
17647
|
this.monthDateChange = (event) => {
|
|
17602
17648
|
const date = new Date(event.detail);
|
|
17649
|
+
const isoDate = dateToISO(date);
|
|
17650
|
+
if (!this.range && isoDate === dateToISO(this.valueAsDate)) {
|
|
17651
|
+
return;
|
|
17652
|
+
}
|
|
17603
17653
|
if (!this.range) {
|
|
17604
|
-
this.value =
|
|
17654
|
+
this.value = isoDate || "";
|
|
17605
17655
|
this.valueAsDate = date || null;
|
|
17606
17656
|
this.activeDate = date || null;
|
|
17607
17657
|
this.calciteDatePickerChange.emit(date);
|
|
@@ -17656,6 +17706,11 @@ class DatePicker {
|
|
|
17656
17706
|
this.calciteDatePickerChange.emit(date);
|
|
17657
17707
|
};
|
|
17658
17708
|
}
|
|
17709
|
+
activeDateWatcher(newActiveDate) {
|
|
17710
|
+
if (this.activeRange === "end") {
|
|
17711
|
+
this.activeEndDate = newActiveDate;
|
|
17712
|
+
}
|
|
17713
|
+
}
|
|
17659
17714
|
handleValueAsDate(date) {
|
|
17660
17715
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
17661
17716
|
this.activeDate = date;
|
|
@@ -17714,13 +17769,10 @@ class DatePicker {
|
|
|
17714
17769
|
}
|
|
17715
17770
|
render() {
|
|
17716
17771
|
var _a;
|
|
17717
|
-
const date = dateFromRange(this.range ? this.
|
|
17718
|
-
|
|
17719
|
-
|
|
17720
|
-
|
|
17721
|
-
let activeDate = activeStartDate;
|
|
17722
|
-
const endDate = this.range
|
|
17723
|
-
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
17772
|
+
const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
17773
|
+
let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
|
|
17774
|
+
const endDate = this.range && Array.isArray(this.valueAsDate)
|
|
17775
|
+
? dateFromRange(this.valueAsDate[1], this.minAsDate, this.maxAsDate)
|
|
17724
17776
|
: null;
|
|
17725
17777
|
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
|
17726
17778
|
if ((this.activeRange === "end" ||
|
|
@@ -17833,15 +17885,13 @@ class DatePicker {
|
|
|
17833
17885
|
getActiveDate(value, min, max) {
|
|
17834
17886
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
|
17835
17887
|
}
|
|
17836
|
-
getActiveStartDate(value, min, max) {
|
|
17837
|
-
return (dateFromRange(this.activeStartDate, min, max) || value || dateFromRange(new Date(), min, max));
|
|
17838
|
-
}
|
|
17839
17888
|
getActiveEndDate(value, min, max) {
|
|
17840
17889
|
return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));
|
|
17841
17890
|
}
|
|
17842
17891
|
static get assetsDirs() { return ["assets"]; }
|
|
17843
17892
|
get el() { return getElement(this); }
|
|
17844
17893
|
static get watchers() { return {
|
|
17894
|
+
"activeDate": ["activeDateWatcher"],
|
|
17845
17895
|
"valueAsDate": ["handleValueAsDate"],
|
|
17846
17896
|
"startAsDate": ["handleRangeChange"],
|
|
17847
17897
|
"endAsDate": ["handleRangeChange"],
|
|
@@ -17857,6 +17907,7 @@ class DatePicker {
|
|
|
17857
17907
|
"$flags$": 9,
|
|
17858
17908
|
"$tagName$": "calcite-date-picker",
|
|
17859
17909
|
"$members$": {
|
|
17910
|
+
"activeDate": [1040],
|
|
17860
17911
|
"activeRange": [513, "active-range"],
|
|
17861
17912
|
"value": [1025],
|
|
17862
17913
|
"headingLevel": [514, "heading-level"],
|
|
@@ -17877,7 +17928,6 @@ class DatePicker {
|
|
|
17877
17928
|
"start": [1537],
|
|
17878
17929
|
"end": [1537],
|
|
17879
17930
|
"proximitySelectionDisabled": [516, "proximity-selection-disabled"],
|
|
17880
|
-
"activeDate": [32],
|
|
17881
17931
|
"activeStartDate": [32],
|
|
17882
17932
|
"activeEndDate": [32],
|
|
17883
17933
|
"globalAttributes": [32],
|
|
@@ -18507,7 +18557,7 @@ const SLOTS$k = {
|
|
|
18507
18557
|
dropdownTrigger: "dropdown-trigger"
|
|
18508
18558
|
};
|
|
18509
18559
|
|
|
18510
|
-
const dropdownCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;visibility:hidden;
|
|
18560
|
+
const dropdownCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;visibility:hidden;inline-size:0;block-size:0;overflow:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
18511
18561
|
|
|
18512
18562
|
/**
|
|
18513
18563
|
* @slot - A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
@@ -18575,7 +18625,7 @@ class Dropdown {
|
|
|
18575
18625
|
this.groups = [];
|
|
18576
18626
|
this.mutationObserver = createObserver();
|
|
18577
18627
|
this.resizeObserver = createObserver();
|
|
18578
|
-
this.openTransitionProp = "
|
|
18628
|
+
this.openTransitionProp = "opacity";
|
|
18579
18629
|
this.guid = `calcite-dropdown-${guid()}`;
|
|
18580
18630
|
this.defaultAssignedElements = [];
|
|
18581
18631
|
//--------------------------------------------------------------------------
|
|
@@ -21251,7 +21301,7 @@ const CSS$u = {
|
|
|
21251
21301
|
menuActive: "menu-container--active"
|
|
21252
21302
|
};
|
|
21253
21303
|
|
|
21254
|
-
const inputDatePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-date-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{flex-direction:column;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
21304
|
+
const inputDatePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input-date-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{flex-direction:column;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
21255
21305
|
|
|
21256
21306
|
class InputDatePicker {
|
|
21257
21307
|
constructor(hostRef) {
|
|
@@ -21278,6 +21328,8 @@ class InputDatePicker {
|
|
|
21278
21328
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
21279
21329
|
*/
|
|
21280
21330
|
this.readOnly = false;
|
|
21331
|
+
/** Selected date as a string in ISO format (YYYY-MM-DD) */
|
|
21332
|
+
this.value = "";
|
|
21281
21333
|
/**
|
|
21282
21334
|
* When `true`, the component is active.
|
|
21283
21335
|
*
|
|
@@ -21336,9 +21388,25 @@ class InputDatePicker {
|
|
|
21336
21388
|
this.proximitySelectionDisabled = false;
|
|
21337
21389
|
/** Defines the layout of the component. */
|
|
21338
21390
|
this.layout = "horizontal";
|
|
21391
|
+
this.calciteInternalInputInputHandler = (event) => {
|
|
21392
|
+
const target = event.target;
|
|
21393
|
+
const value = target.value;
|
|
21394
|
+
const { year } = datePartsFromLocalizedString(value, this.localeData);
|
|
21395
|
+
if (year && year.length < 4) {
|
|
21396
|
+
return;
|
|
21397
|
+
}
|
|
21398
|
+
const date = dateFromLocalizedString(value, this.localeData);
|
|
21399
|
+
if (inRange(date, this.min, this.max)) {
|
|
21400
|
+
this.datePickerActiveDate = date;
|
|
21401
|
+
}
|
|
21402
|
+
};
|
|
21403
|
+
this.calciteInternalInputBlurHandler = () => {
|
|
21404
|
+
this.commitValue();
|
|
21405
|
+
};
|
|
21339
21406
|
this.effectiveLocale = "";
|
|
21340
21407
|
this.focusedInput = "start";
|
|
21341
21408
|
this.globalAttributes = {};
|
|
21409
|
+
this.userChangedValue = false;
|
|
21342
21410
|
this.openTransitionProp = "opacity";
|
|
21343
21411
|
//--------------------------------------------------------------------------
|
|
21344
21412
|
//
|
|
@@ -21365,8 +21433,16 @@ class InputDatePicker {
|
|
|
21365
21433
|
this.open = false;
|
|
21366
21434
|
};
|
|
21367
21435
|
this.keyDownHandler = (event) => {
|
|
21436
|
+
var _a, _b;
|
|
21368
21437
|
const { defaultPrevented, key } = event;
|
|
21369
21438
|
if (key === "Enter" && !defaultPrevented) {
|
|
21439
|
+
this.commitValue();
|
|
21440
|
+
if (this.shouldFocusRangeEnd()) {
|
|
21441
|
+
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
21442
|
+
}
|
|
21443
|
+
else if (this.shouldFocusRangeStart()) {
|
|
21444
|
+
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
21445
|
+
}
|
|
21370
21446
|
if (submitForm(this)) {
|
|
21371
21447
|
event.preventDefault();
|
|
21372
21448
|
}
|
|
@@ -21377,9 +21453,6 @@ class InputDatePicker {
|
|
|
21377
21453
|
event.preventDefault();
|
|
21378
21454
|
}
|
|
21379
21455
|
};
|
|
21380
|
-
this.inputBlur = (event) => {
|
|
21381
|
-
this.blur(event.currentTarget);
|
|
21382
|
-
};
|
|
21383
21456
|
this.startInputFocus = () => {
|
|
21384
21457
|
if (!this.readOnly) {
|
|
21385
21458
|
this.open = true;
|
|
@@ -21392,18 +21465,6 @@ class InputDatePicker {
|
|
|
21392
21465
|
}
|
|
21393
21466
|
this.focusedInput = "end";
|
|
21394
21467
|
};
|
|
21395
|
-
this.startInputInput = () => {
|
|
21396
|
-
const parsedValue = this.parseNumerals(this.startInput.value);
|
|
21397
|
-
const formattedValue = this.formatNumerals(parsedValue);
|
|
21398
|
-
this.startInput.value = formattedValue;
|
|
21399
|
-
this.input(parsedValue);
|
|
21400
|
-
};
|
|
21401
|
-
this.endInputInput = () => {
|
|
21402
|
-
const parsedValue = this.parseNumerals(this.endInput.value);
|
|
21403
|
-
const formattedValue = this.formatNumerals(parsedValue);
|
|
21404
|
-
this.endInput.value = formattedValue;
|
|
21405
|
-
this.input(parsedValue);
|
|
21406
|
-
};
|
|
21407
21468
|
this.setFloatingEl = (el) => {
|
|
21408
21469
|
if (el) {
|
|
21409
21470
|
this.floatingEl = el;
|
|
@@ -21421,23 +21482,25 @@ class InputDatePicker {
|
|
|
21421
21482
|
/**
|
|
21422
21483
|
* Event handler for when the selected date changes
|
|
21423
21484
|
*
|
|
21424
|
-
* @param event
|
|
21485
|
+
* @param event CalciteDatePicker custom change event
|
|
21425
21486
|
*/
|
|
21426
21487
|
this.handleDateChange = (event) => {
|
|
21427
21488
|
if (this.range) {
|
|
21428
21489
|
return;
|
|
21429
21490
|
}
|
|
21430
|
-
|
|
21491
|
+
event.stopPropagation();
|
|
21492
|
+
this.setValue(event.detail);
|
|
21493
|
+
this.localizeInputValues();
|
|
21431
21494
|
};
|
|
21432
21495
|
this.handleDateRangeChange = (event) => {
|
|
21433
21496
|
var _a, _b;
|
|
21434
21497
|
if (!this.range || !event.detail) {
|
|
21435
21498
|
return;
|
|
21436
21499
|
}
|
|
21500
|
+
event.stopPropagation();
|
|
21437
21501
|
const { startDate, endDate } = event.detail;
|
|
21438
|
-
this.
|
|
21439
|
-
this.
|
|
21440
|
-
this.value = [this.start, this.end];
|
|
21502
|
+
this.setRangeValue([startDate, endDate]);
|
|
21503
|
+
this.localizeInputValues();
|
|
21441
21504
|
if (this.shouldFocusRangeEnd()) {
|
|
21442
21505
|
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
21443
21506
|
}
|
|
@@ -21445,6 +21508,71 @@ class InputDatePicker {
|
|
|
21445
21508
|
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
21446
21509
|
}
|
|
21447
21510
|
};
|
|
21511
|
+
this.setInputValue = (newValue, input = "start") => {
|
|
21512
|
+
const inputEl = this[`${input}Input`];
|
|
21513
|
+
if (!inputEl) {
|
|
21514
|
+
return;
|
|
21515
|
+
}
|
|
21516
|
+
inputEl.value = newValue;
|
|
21517
|
+
};
|
|
21518
|
+
this.setRangeValue = (value) => {
|
|
21519
|
+
if (!this.range) {
|
|
21520
|
+
return;
|
|
21521
|
+
}
|
|
21522
|
+
const { value: oldValue } = this;
|
|
21523
|
+
const oldValueIsArray = Array.isArray(oldValue);
|
|
21524
|
+
const valueIsArray = Array.isArray(value);
|
|
21525
|
+
const newStartDate = valueIsArray ? value[0] : "";
|
|
21526
|
+
const newStartDateISO = valueIsArray ? dateToISO(newStartDate) : "";
|
|
21527
|
+
const newEndDate = valueIsArray ? value[1] : "";
|
|
21528
|
+
const newEndDateISO = valueIsArray ? dateToISO(newEndDate) : "";
|
|
21529
|
+
const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
|
|
21530
|
+
if (newValue === oldValue) {
|
|
21531
|
+
return;
|
|
21532
|
+
}
|
|
21533
|
+
this.userChangedValue = true;
|
|
21534
|
+
this.value = newValue;
|
|
21535
|
+
this.valueAsDate = newValue ? getValueAsDateRange(newValue) : undefined;
|
|
21536
|
+
this.start = newStartDateISO;
|
|
21537
|
+
this.end = newEndDateISO;
|
|
21538
|
+
const eventDetail = {
|
|
21539
|
+
startDate: newStartDate,
|
|
21540
|
+
endDate: newEndDate ? setEndOfDay(newEndDate) : null
|
|
21541
|
+
};
|
|
21542
|
+
const changeEvent = this.calciteInputDatePickerChange.emit();
|
|
21543
|
+
const rangeChangeEvent = this.calciteDatePickerRangeChange.emit(eventDetail);
|
|
21544
|
+
if ((changeEvent && changeEvent.defaultPrevented) ||
|
|
21545
|
+
(rangeChangeEvent && rangeChangeEvent.defaultPrevented)) {
|
|
21546
|
+
this.value = oldValue;
|
|
21547
|
+
if (oldValueIsArray) {
|
|
21548
|
+
this.setInputValue(oldValue[0], "start");
|
|
21549
|
+
this.setInputValue(oldValue[1], "end");
|
|
21550
|
+
}
|
|
21551
|
+
else {
|
|
21552
|
+
this.value = oldValue;
|
|
21553
|
+
this.setInputValue(oldValue);
|
|
21554
|
+
}
|
|
21555
|
+
}
|
|
21556
|
+
};
|
|
21557
|
+
this.setValue = (value) => {
|
|
21558
|
+
if (this.range) {
|
|
21559
|
+
return;
|
|
21560
|
+
}
|
|
21561
|
+
const oldValue = this.value;
|
|
21562
|
+
const newValue = dateToISO(value);
|
|
21563
|
+
if (newValue === oldValue) {
|
|
21564
|
+
return;
|
|
21565
|
+
}
|
|
21566
|
+
this.userChangedValue = true;
|
|
21567
|
+
this.valueAsDate = newValue ? dateFromISO(newValue) : undefined;
|
|
21568
|
+
this.value = newValue || "";
|
|
21569
|
+
const changeEvent = this.calciteInputDatePickerChange.emit();
|
|
21570
|
+
const deprecatedDatePickerChangeEvent = this.calciteDatePickerChange.emit(value);
|
|
21571
|
+
if (changeEvent.defaultPrevented || deprecatedDatePickerChangeEvent.defaultPrevented) {
|
|
21572
|
+
this.value = oldValue;
|
|
21573
|
+
this.setInputValue(oldValue);
|
|
21574
|
+
}
|
|
21575
|
+
};
|
|
21448
21576
|
this.commonDateSeparators = [".", "-", "/"];
|
|
21449
21577
|
this.formatNumerals = (value) => value
|
|
21450
21578
|
? value
|
|
@@ -21458,34 +21586,31 @@ class InputDatePicker {
|
|
|
21458
21586
|
: char)
|
|
21459
21587
|
.join("")
|
|
21460
21588
|
: "";
|
|
21461
|
-
this.parseNumerals = (value) => value
|
|
21462
|
-
? value
|
|
21463
|
-
.split("")
|
|
21464
|
-
.map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
|
|
21465
|
-
.join("")
|
|
21466
|
-
: "";
|
|
21467
21589
|
}
|
|
21468
21590
|
handleDisabledAndReadOnlyChange(value) {
|
|
21469
21591
|
if (!value) {
|
|
21470
21592
|
this.open = false;
|
|
21471
21593
|
}
|
|
21472
21594
|
}
|
|
21473
|
-
|
|
21474
|
-
if (
|
|
21475
|
-
|
|
21476
|
-
|
|
21477
|
-
|
|
21478
|
-
|
|
21479
|
-
|
|
21480
|
-
|
|
21481
|
-
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
this.
|
|
21487
|
-
this.end = undefined;
|
|
21595
|
+
valueWatcher(newValue) {
|
|
21596
|
+
if (!this.userChangedValue) {
|
|
21597
|
+
if (Array.isArray(newValue)) {
|
|
21598
|
+
this.valueAsDate = getValueAsDateRange(newValue);
|
|
21599
|
+
this.start = newValue[0];
|
|
21600
|
+
this.end = newValue[1];
|
|
21601
|
+
}
|
|
21602
|
+
else if (newValue) {
|
|
21603
|
+
this.valueAsDate = dateFromISO(newValue);
|
|
21604
|
+
}
|
|
21605
|
+
else {
|
|
21606
|
+
this.valueAsDate = undefined;
|
|
21607
|
+
}
|
|
21608
|
+
this.localizeInputValues();
|
|
21488
21609
|
}
|
|
21610
|
+
this.userChangedValue = false;
|
|
21611
|
+
}
|
|
21612
|
+
valueAsDateWatcher(valueAsDate) {
|
|
21613
|
+
this.datePickerActiveDate = valueAsDate;
|
|
21489
21614
|
}
|
|
21490
21615
|
flipPlacementsHandler() {
|
|
21491
21616
|
this.setFilteredPlacements();
|
|
@@ -21528,9 +21653,6 @@ class InputDatePicker {
|
|
|
21528
21653
|
// Event Listeners
|
|
21529
21654
|
//
|
|
21530
21655
|
//--------------------------------------------------------------------------
|
|
21531
|
-
handleDateOrRangeChange() {
|
|
21532
|
-
this.calciteInputDatePickerChange.emit();
|
|
21533
|
-
}
|
|
21534
21656
|
calciteDaySelectHandler() {
|
|
21535
21657
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
21536
21658
|
return;
|
|
@@ -21579,7 +21701,13 @@ class InputDatePicker {
|
|
|
21579
21701
|
this.end = this.value[1];
|
|
21580
21702
|
}
|
|
21581
21703
|
else if (this.value) {
|
|
21582
|
-
|
|
21704
|
+
try {
|
|
21705
|
+
this.valueAsDate = dateFromISO(this.value);
|
|
21706
|
+
}
|
|
21707
|
+
catch (error) {
|
|
21708
|
+
this.warnAboutInvalidValue(this.value);
|
|
21709
|
+
this.value = "";
|
|
21710
|
+
}
|
|
21583
21711
|
this.start = "";
|
|
21584
21712
|
this.end = "";
|
|
21585
21713
|
}
|
|
@@ -21612,6 +21740,7 @@ class InputDatePicker {
|
|
|
21612
21740
|
this.onMaxChanged(this.max);
|
|
21613
21741
|
}
|
|
21614
21742
|
componentDidLoad() {
|
|
21743
|
+
this.localizeInputValues();
|
|
21615
21744
|
this.reposition(true);
|
|
21616
21745
|
}
|
|
21617
21746
|
disconnectedCallback() {
|
|
@@ -21626,21 +21755,13 @@ class InputDatePicker {
|
|
|
21626
21755
|
}
|
|
21627
21756
|
render() {
|
|
21628
21757
|
var _a, _b;
|
|
21629
|
-
const { disabled,
|
|
21758
|
+
const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
|
|
21630
21759
|
numberStringFormatter.numberFormatOptions = {
|
|
21631
21760
|
numberingSystem,
|
|
21632
21761
|
locale: effectiveLocale,
|
|
21633
21762
|
useGrouping: false
|
|
21634
21763
|
};
|
|
21635
|
-
|
|
21636
|
-
const endDate = this.range
|
|
21637
|
-
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
21638
|
-
: null;
|
|
21639
|
-
const formattedEndDate = endDate
|
|
21640
|
-
? this.formatNumerals(endDate.toLocaleDateString(effectiveLocale))
|
|
21641
|
-
: "";
|
|
21642
|
-
const formattedDate = date ? this.formatNumerals(date.toLocaleDateString(effectiveLocale)) : "";
|
|
21643
|
-
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.startInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21764
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21644
21765
|
[CSS$u.menu]: true,
|
|
21645
21766
|
[CSS$u.menuActive]: this.open
|
|
21646
21767
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -21648,10 +21769,10 @@ class InputDatePicker {
|
|
|
21648
21769
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21649
21770
|
[FloatingCSS.animation]: true,
|
|
21650
21771
|
[FloatingCSS.animationActive]: this.open
|
|
21651
|
-
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21772
|
+
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21652
21773
|
input: true,
|
|
21653
21774
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21654
|
-
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.
|
|
21775
|
+
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
21655
21776
|
}
|
|
21656
21777
|
setReferenceEl() {
|
|
21657
21778
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -21676,6 +21797,51 @@ class InputDatePicker {
|
|
|
21676
21797
|
onClose() {
|
|
21677
21798
|
this.calciteInputDatePickerClose.emit();
|
|
21678
21799
|
}
|
|
21800
|
+
commitValue() {
|
|
21801
|
+
const { focusedInput, value } = this;
|
|
21802
|
+
const focusedInputName = `${focusedInput}Input`;
|
|
21803
|
+
const focusedInputValue = this[focusedInputName].value;
|
|
21804
|
+
const date = dateFromLocalizedString(focusedInputValue, this.localeData);
|
|
21805
|
+
const dateAsISO = dateToISO(date);
|
|
21806
|
+
const valueIsArray = Array.isArray(value);
|
|
21807
|
+
if (this.range) {
|
|
21808
|
+
const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
|
|
21809
|
+
if (valueIsArray) {
|
|
21810
|
+
if (dateAsISO === value[focusedInputValueIndex]) {
|
|
21811
|
+
return;
|
|
21812
|
+
}
|
|
21813
|
+
if (date) {
|
|
21814
|
+
this.setRangeValue([
|
|
21815
|
+
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
21816
|
+
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
21817
|
+
]);
|
|
21818
|
+
this.localizeInputValues();
|
|
21819
|
+
}
|
|
21820
|
+
else {
|
|
21821
|
+
this.setRangeValue([
|
|
21822
|
+
focusedInput === "end" && dateFromISO(value[0]),
|
|
21823
|
+
focusedInput === "start" && dateFromISO(value[1])
|
|
21824
|
+
]);
|
|
21825
|
+
}
|
|
21826
|
+
}
|
|
21827
|
+
else {
|
|
21828
|
+
if (date) {
|
|
21829
|
+
this.setRangeValue([
|
|
21830
|
+
focusedInput === "start" ? date : dateFromISO(value[0]),
|
|
21831
|
+
focusedInput === "end" ? date : dateFromISO(value[1])
|
|
21832
|
+
]);
|
|
21833
|
+
this.localizeInputValues();
|
|
21834
|
+
}
|
|
21835
|
+
}
|
|
21836
|
+
}
|
|
21837
|
+
else {
|
|
21838
|
+
if (dateAsISO === value) {
|
|
21839
|
+
return;
|
|
21840
|
+
}
|
|
21841
|
+
this.setValue(date);
|
|
21842
|
+
this.localizeInputValues();
|
|
21843
|
+
}
|
|
21844
|
+
}
|
|
21679
21845
|
startWatcher(start) {
|
|
21680
21846
|
this.startAsDate = dateFromISO(start);
|
|
21681
21847
|
}
|
|
@@ -21687,97 +21853,6 @@ class InputDatePicker {
|
|
|
21687
21853
|
return;
|
|
21688
21854
|
}
|
|
21689
21855
|
}
|
|
21690
|
-
clearCurrentValue() {
|
|
21691
|
-
if (!this.range) {
|
|
21692
|
-
if (typeof this.value === "string" && this.value) {
|
|
21693
|
-
this.calciteDatePickerChange.emit();
|
|
21694
|
-
}
|
|
21695
|
-
this.value = "";
|
|
21696
|
-
return;
|
|
21697
|
-
}
|
|
21698
|
-
const { focusedInput } = this;
|
|
21699
|
-
if (focusedInput === "start") {
|
|
21700
|
-
if (this.start) {
|
|
21701
|
-
this.calciteDatePickerRangeChange.emit();
|
|
21702
|
-
}
|
|
21703
|
-
this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
|
|
21704
|
-
this.start = undefined;
|
|
21705
|
-
}
|
|
21706
|
-
else if (focusedInput === "end") {
|
|
21707
|
-
if (this.end) {
|
|
21708
|
-
this.calciteDatePickerRangeChange.emit();
|
|
21709
|
-
}
|
|
21710
|
-
this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
|
|
21711
|
-
this.end = undefined;
|
|
21712
|
-
}
|
|
21713
|
-
}
|
|
21714
|
-
/**
|
|
21715
|
-
* If inputted string is a valid date, update value/active
|
|
21716
|
-
*
|
|
21717
|
-
* @param value
|
|
21718
|
-
*/
|
|
21719
|
-
input(value) {
|
|
21720
|
-
const date = this.getDateFromInput(value);
|
|
21721
|
-
if (!date) {
|
|
21722
|
-
this.clearCurrentValue();
|
|
21723
|
-
return;
|
|
21724
|
-
}
|
|
21725
|
-
if (!this.range) {
|
|
21726
|
-
this.value = dateToISO(date);
|
|
21727
|
-
this.calciteDatePickerChange.emit(date);
|
|
21728
|
-
return;
|
|
21729
|
-
}
|
|
21730
|
-
const { focusedInput } = this;
|
|
21731
|
-
if (focusedInput === "start") {
|
|
21732
|
-
if (!this.startAsDate || !sameDate(date, this.startAsDate)) {
|
|
21733
|
-
const startDateISO = dateToISO(date);
|
|
21734
|
-
this.value = Array.isArray(this.value)
|
|
21735
|
-
? [startDateISO, this.value[1] || ""]
|
|
21736
|
-
: [startDateISO];
|
|
21737
|
-
this.start = startDateISO;
|
|
21738
|
-
this.calciteDatePickerRangeChange.emit({
|
|
21739
|
-
startDate: date,
|
|
21740
|
-
endDate: this.endAsDate
|
|
21741
|
-
});
|
|
21742
|
-
}
|
|
21743
|
-
}
|
|
21744
|
-
else if (focusedInput === "end") {
|
|
21745
|
-
if (!this.endAsDate || !sameDate(date, this.endAsDate)) {
|
|
21746
|
-
const endDateISO = dateToISO(date);
|
|
21747
|
-
this.value = Array.isArray(this.value)
|
|
21748
|
-
? [this.value[0] || "", endDateISO]
|
|
21749
|
-
: ["", endDateISO];
|
|
21750
|
-
this.end = endDateISO;
|
|
21751
|
-
this.calciteDatePickerRangeChange.emit({
|
|
21752
|
-
startDate: this.startAsDate,
|
|
21753
|
-
endDate: setEndOfDay(date)
|
|
21754
|
-
});
|
|
21755
|
-
}
|
|
21756
|
-
}
|
|
21757
|
-
}
|
|
21758
|
-
/**
|
|
21759
|
-
* Clean up invalid date from input on blur
|
|
21760
|
-
*
|
|
21761
|
-
* @param target
|
|
21762
|
-
*/
|
|
21763
|
-
blur(target) {
|
|
21764
|
-
const { focusedInput, endAsDate, range, startAsDate, valueAsDate } = this;
|
|
21765
|
-
const locale = this.effectiveLocale;
|
|
21766
|
-
const date = this.getDateFromInput(target.value);
|
|
21767
|
-
if (!date) {
|
|
21768
|
-
if (!range && valueAsDate) {
|
|
21769
|
-
target.value = this.formatNumerals(Array.isArray(valueAsDate)
|
|
21770
|
-
? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
|
|
21771
|
-
: valueAsDate.toLocaleDateString(locale));
|
|
21772
|
-
}
|
|
21773
|
-
else if (focusedInput === "start" && startAsDate) {
|
|
21774
|
-
target.value = this.formatNumerals(startAsDate.toLocaleDateString(locale));
|
|
21775
|
-
}
|
|
21776
|
-
else if (focusedInput === "end" && endAsDate) {
|
|
21777
|
-
target.value = this.formatNumerals(endAsDate.toLocaleDateString(locale));
|
|
21778
|
-
}
|
|
21779
|
-
}
|
|
21780
|
-
}
|
|
21781
21856
|
shouldFocusRangeStart() {
|
|
21782
21857
|
return !!(this.endAsDate &&
|
|
21783
21858
|
!this.startAsDate &&
|
|
@@ -21790,40 +21865,25 @@ class InputDatePicker {
|
|
|
21790
21865
|
this.focusedInput === "start" &&
|
|
21791
21866
|
this.endInput);
|
|
21792
21867
|
}
|
|
21793
|
-
|
|
21794
|
-
|
|
21795
|
-
|
|
21796
|
-
|
|
21797
|
-
|
|
21798
|
-
|
|
21799
|
-
|
|
21800
|
-
|
|
21801
|
-
|
|
21802
|
-
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
const validDay = day > 0;
|
|
21806
|
-
const validMonth = month > -1;
|
|
21807
|
-
const date = new Date(year, month, day);
|
|
21808
|
-
date.setFullYear(year);
|
|
21809
|
-
const validDate = !isNaN(date.getTime());
|
|
21810
|
-
const validLength = value.split(separator).filter((c) => c).length > 2;
|
|
21811
|
-
const validYear = year.toString().length > 0;
|
|
21812
|
-
if (validDay &&
|
|
21813
|
-
validMonth &&
|
|
21814
|
-
validDate &&
|
|
21815
|
-
validLength &&
|
|
21816
|
-
validYear &&
|
|
21817
|
-
inRange(date, this.min, this.max)) {
|
|
21818
|
-
return date;
|
|
21819
|
-
}
|
|
21820
|
-
return false;
|
|
21868
|
+
localizeInputValues() {
|
|
21869
|
+
const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
21870
|
+
const endDate = this.range
|
|
21871
|
+
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
21872
|
+
: null;
|
|
21873
|
+
const localizedDate = date && this.formatNumerals(date.toLocaleDateString(this.effectiveLocale));
|
|
21874
|
+
const localizedEndDate = endDate && this.formatNumerals(endDate.toLocaleDateString(this.effectiveLocale));
|
|
21875
|
+
localizedDate && this.setInputValue(localizedDate, "start");
|
|
21876
|
+
this.range && localizedEndDate && this.setInputValue(localizedEndDate, "end");
|
|
21877
|
+
}
|
|
21878
|
+
warnAboutInvalidValue(value) {
|
|
21879
|
+
console.warn(`The specified value "${value}" does not conform to the required format, "yyyy-MM-dd".`);
|
|
21821
21880
|
}
|
|
21822
21881
|
get el() { return getElement(this); }
|
|
21823
21882
|
static get watchers() { return {
|
|
21824
21883
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
21825
21884
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
21826
|
-
"value": ["
|
|
21885
|
+
"value": ["valueWatcher"],
|
|
21886
|
+
"valueAsDate": ["valueAsDateWatcher"],
|
|
21827
21887
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21828
21888
|
"min": ["onMinChanged"],
|
|
21829
21889
|
"max": ["onMaxChanged"],
|
|
@@ -21870,6 +21930,7 @@ class InputDatePicker {
|
|
|
21870
21930
|
"overlayPositioning": [513, "overlay-positioning"],
|
|
21871
21931
|
"proximitySelectionDisabled": [4, "proximity-selection-disabled"],
|
|
21872
21932
|
"layout": [513],
|
|
21933
|
+
"datePickerActiveDate": [32],
|
|
21873
21934
|
"effectiveLocale": [32],
|
|
21874
21935
|
"focusedInput": [32],
|
|
21875
21936
|
"globalAttributes": [32],
|
|
@@ -21877,7 +21938,7 @@ class InputDatePicker {
|
|
|
21877
21938
|
"setFocus": [64],
|
|
21878
21939
|
"reposition": [64]
|
|
21879
21940
|
},
|
|
21880
|
-
"$listeners$": [[0, "
|
|
21941
|
+
"$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
|
|
21881
21942
|
"$lazyBundleId$": "-",
|
|
21882
21943
|
"$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["active", "active"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["start", "start"], ["end", "end"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
|
|
21883
21944
|
}; }
|
|
@@ -26197,7 +26258,7 @@ class PopoverManager$1 {
|
|
|
26197
26258
|
}
|
|
26198
26259
|
}
|
|
26199
26260
|
|
|
26200
|
-
const popoverCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-popover:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-popover:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-popover:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{position:relative;transition:var(--calcite-floating-ui-transition);
|
|
26261
|
+
const popoverCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-popover:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-popover:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-popover:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-popover-h .calcite-floating-ui-anim--active.sc-calcite-popover{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-popover-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-start:-4px}/*!@:host([data-placement^=right]) .arrow,\n:host([data-placement^=left]) .arrow*/[data-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover,[data-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{direction:ltr;text-align:start}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-inline-start:-4px}/*!@:host([scale=s]) .heading*/[scale=s].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .heading*/[scale=m].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:0.75rem;padding-block:1rem;font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .heading*/[scale=l].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:1rem;padding-block:1.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}/*!@.close-button-container*/.close-button-container.sc-calcite-popover{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{block-size:100%}";
|
|
26201
26262
|
|
|
26202
26263
|
const manager$1 = new PopoverManager$1();
|
|
26203
26264
|
/**
|
|
@@ -35448,7 +35509,7 @@ class TooltipManager$1 {
|
|
|
35448
35509
|
}
|
|
35449
35510
|
}
|
|
35450
35511
|
|
|
35451
|
-
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{display:block;position:absolute;z-index:999}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);
|
|
35512
|
+
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{display:block;position:absolute;z-index:999}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-tooltip,.arrow.sc-calcite-tooltip::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-start:-4px}/*!@:host([data-placement^=right]) .arrow,\n:host([data-placement^=left]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip,[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;text-align:start}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-inline-start:-4px}/*!@.container*/.container.sc-calcite-tooltip{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
35452
35513
|
|
|
35453
35514
|
const manager = new TooltipManager$1();
|
|
35454
35515
|
/**
|