@esri/calcite-components 1.0.0-next.621 → 1.0.0-next.623
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-92fba838.js → p-04fd6182.js} +2 -2
- package/dist/calcite/{p-fa5734b0.entry.js → p-0595ac4c.entry.js} +2 -2
- package/dist/calcite/{p-2a2481ff.entry.js → p-09696047.entry.js} +2 -2
- package/dist/calcite/{p-0521d204.entry.js → p-09ae6f64.entry.js} +2 -2
- package/dist/calcite/{p-44fc18dc.entry.js → p-0bd3f205.entry.js} +2 -2
- package/dist/calcite/{p-322a0ed2.js → p-11e91f58.js} +1 -1
- package/dist/calcite/{p-c318a3f7.entry.js → p-13bab275.entry.js} +2 -2
- package/dist/calcite/{p-3dbdaa52.entry.js → p-18b67121.entry.js} +2 -2
- package/dist/calcite/{p-53edbf75.entry.js → p-1b14dcb7.entry.js} +2 -2
- package/dist/calcite/{p-1df5485b.entry.js → p-22e9f634.entry.js} +2 -2
- package/dist/calcite/{p-0952a584.entry.js → p-2670c9e4.entry.js} +2 -2
- package/dist/calcite/p-26f2b7f5.js +6 -0
- package/dist/calcite/{p-f791dfa5.entry.js → p-2773b7ef.entry.js} +2 -2
- package/dist/calcite/{p-6b8b8c34.entry.js → p-2897d202.entry.js} +2 -2
- package/dist/calcite/{p-c4d6edf1.entry.js → p-2eb3250d.entry.js} +2 -2
- package/dist/calcite/{p-0fa0c792.js → p-30808671.js} +2 -2
- package/dist/calcite/{p-e4586625.entry.js → p-3353d6e4.entry.js} +2 -2
- package/dist/calcite/{p-2138b0b6.entry.js → p-348c4f79.entry.js} +2 -2
- package/dist/calcite/{p-0bdd14f0.js → p-355b7cf9.js} +1 -1
- package/dist/calcite/{p-ef467f86.js → p-366feaa8.js} +1 -1
- package/dist/calcite/p-399a601c.entry.js +6 -0
- package/dist/calcite/{p-60aa9acf.entry.js → p-3a4edb92.entry.js} +2 -2
- package/dist/calcite/{p-677bd60b.entry.js → p-3bac095d.entry.js} +2 -2
- package/dist/calcite/p-3c3c31f7.js +6 -0
- package/dist/calcite/p-406165b9.entry.js +6 -0
- package/dist/calcite/{p-9cd0124d.entry.js → p-46ca7df5.entry.js} +2 -2
- package/dist/calcite/{p-19fd7fdd.entry.js → p-47ceca5e.entry.js} +2 -2
- package/dist/calcite/{p-ae16a763.entry.js → p-48f7e6b3.entry.js} +2 -2
- package/dist/calcite/{p-e7c5dc6a.js → p-4b2c4894.js} +2 -2
- package/dist/calcite/{p-3fb5c925.js → p-4f954fa8.js} +1 -1
- package/dist/calcite/{p-f6df89ee.entry.js → p-551f7bbd.entry.js} +2 -2
- package/dist/calcite/{p-a8b94643.entry.js → p-56ee0f01.entry.js} +2 -2
- package/dist/calcite/{p-49ff5254.entry.js → p-57b8a8c8.entry.js} +2 -2
- package/dist/calcite/{p-09efa156.js → p-5940f0e0.js} +1 -1
- package/dist/calcite/{p-6a318899.entry.js → p-5d47f00a.entry.js} +2 -2
- package/dist/calcite/{p-e27d014b.entry.js → p-5e810390.entry.js} +2 -2
- package/dist/calcite/{p-78842e04.js → p-623614af.js} +2 -2
- package/dist/calcite/{p-d5bd2cce.entry.js → p-6241594b.entry.js} +2 -2
- package/dist/calcite/{p-76f423b1.js → p-643ef81d.js} +2 -2
- package/dist/calcite/{p-8d4a6d2e.js → p-646d7d85.js} +1 -1
- package/dist/calcite/{p-8d2b16bc.entry.js → p-65cbb73a.entry.js} +2 -2
- package/dist/calcite/{p-85e746b3.entry.js → p-67a4367e.entry.js} +2 -2
- package/dist/calcite/{p-bce1438e.entry.js → p-68d3ba94.entry.js} +2 -2
- package/dist/calcite/{p-2180565b.js → p-6aa7723a.js} +1 -1
- package/dist/calcite/{p-2d119582.entry.js → p-6d7b0abe.entry.js} +2 -2
- package/dist/calcite/{p-d5ab7d86.js → p-6df279cc.js} +2 -2
- package/dist/calcite/{p-973f536b.entry.js → p-7a899648.entry.js} +2 -2
- package/dist/calcite/{p-b7d84fd3.entry.js → p-7ed776a5.entry.js} +2 -2
- package/dist/calcite/{p-a5290358.entry.js → p-819608a3.entry.js} +2 -2
- package/dist/calcite/{p-56ac3ebb.entry.js → p-85df868a.entry.js} +2 -2
- package/dist/calcite/p-8f8965da.js +6 -0
- package/dist/calcite/{p-5011d3d1.entry.js → p-9077dc7b.entry.js} +2 -2
- package/dist/calcite/{p-41485201.js → p-91887b43.js} +1 -1
- package/dist/calcite/{p-105295b3.entry.js → p-91959924.entry.js} +2 -2
- package/dist/calcite/{p-e3bae452.js → p-98123542.js} +1 -1
- package/dist/calcite/{p-3891aeef.entry.js → p-989885b8.entry.js} +2 -2
- package/dist/calcite/{p-6e5a7881.entry.js → p-9b1c2bac.entry.js} +2 -2
- package/dist/calcite/{p-15940da2.entry.js → p-9e499a17.entry.js} +2 -2
- package/dist/calcite/{p-3253e0f7.entry.js → p-a729ba9d.entry.js} +2 -2
- package/dist/calcite/{p-90d92bec.entry.js → p-ab021c05.entry.js} +2 -2
- package/dist/calcite/{p-168a6ac9.entry.js → p-ab6c3082.entry.js} +2 -2
- package/dist/calcite/{p-617b6222.js → p-ae0c7d32.js} +2 -2
- package/dist/calcite/{p-dfe7edf4.entry.js → p-b2d5191c.entry.js} +2 -2
- package/dist/calcite/{p-89b3f2cc.entry.js → p-b4085ed5.entry.js} +2 -2
- package/dist/calcite/{p-926ecaf9.entry.js → p-b6925a05.entry.js} +2 -2
- package/dist/calcite/{p-d14fe8fb.js → p-b72c7fc9.js} +1 -1
- package/dist/calcite/{p-caffe56d.entry.js → p-c1107550.entry.js} +2 -2
- package/dist/calcite/{p-aa50ed7b.entry.js → p-c14b2850.entry.js} +2 -2
- package/dist/calcite/{p-7d0a0f90.entry.js → p-c19f23c9.entry.js} +2 -2
- package/dist/calcite/{p-95a223ae.entry.js → p-c355bab3.entry.js} +2 -2
- package/dist/calcite/{p-4df78bad.entry.js → p-c5214cbc.entry.js} +2 -2
- package/dist/calcite/{p-08863064.entry.js → p-cde125f1.entry.js} +2 -2
- package/dist/calcite/{p-bdc088d1.js → p-ced0cf16.js} +2 -2
- package/dist/calcite/{p-9d19f843.js → p-d04ab0de.js} +1 -1
- package/dist/calcite/{p-272bb78b.js → p-d3dc8bcf.js} +1 -1
- package/dist/calcite/{p-09cda1db.entry.js → p-d977a78f.entry.js} +2 -2
- package/dist/calcite/{p-02d06f36.entry.js → p-da3c5654.entry.js} +2 -2
- package/dist/calcite/{p-edaac0ed.js → p-dab8fac6.js} +1 -1
- package/dist/calcite/{p-7e683a16.entry.js → p-de1cc7e4.entry.js} +2 -2
- package/dist/calcite/{p-dd56c58e.js → p-de9c9782.js} +1 -1
- package/dist/calcite/{p-0f9dd6cb.entry.js → p-dff4d005.entry.js} +2 -2
- package/dist/calcite/{p-f3045588.js → p-e5a9e20b.js} +1 -1
- package/dist/calcite/{p-390df669.js → p-e5ddbb1c.js} +1 -1
- package/dist/calcite/{p-c4428a1d.entry.js → p-e8efdf9f.entry.js} +2 -2
- package/dist/calcite/{p-3fd5f4ef.js → p-eaa02364.js} +2 -2
- package/dist/calcite/{p-adaf07bb.js → p-f1ab3157.js} +2 -2
- package/dist/calcite/{p-05279aef.entry.js → p-f636a554.entry.js} +2 -2
- package/dist/calcite/{p-3dbbb524.entry.js → p-f8394c34.entry.js} +2 -2
- package/dist/calcite/{p-12beb662.entry.js → p-ff098f27.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-30870be4.js → ExpandToggle-18235848.js} +5 -5
- package/dist/cjs/{Heading-50e27201.js → Heading-0db9175a.js} +2 -2
- package/dist/cjs/{app-globals-454ef5c3.js → app-globals-f8e080b5.js} +2 -2
- package/dist/cjs/{array-14b8a712.js → array-886c87d8.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 +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +26 -22
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- 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 +202 -192
- 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 +11 -11
- 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 +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-0218bdb0.js → conditionalSlot-fd320878.js} +3 -3
- package/dist/cjs/{debounce-9f721f0f.js → debounce-bb717590.js} +1 -1
- package/dist/cjs/{dom-111d0b48.js → dom-0aabd897.js} +3 -3
- package/dist/cjs/{filter-93e488ed.js → filter-8f65e79c.js} +2 -2
- package/dist/cjs/{floating-ui-2b3588cc.js → floating-ui-c45516f6.js} +4 -4
- package/dist/cjs/{form-574759e3.js → form-4c422179.js} +3 -3
- package/dist/cjs/{guid-f91a5b94.js → guid-94853a3e.js} +1 -1
- package/dist/cjs/{index-a435aa25.js → index-b20ebc08.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3af46bf5.js → interactive-2ebb12dd.js} +1 -1
- package/dist/cjs/{interfaces-d038fd36.js → interfaces-5caa07dc.js} +1 -1
- package/dist/cjs/{key-8fd9f672.js → key-d3904100.js} +1 -1
- package/dist/cjs/{label-320e4b2c.js → label-97021edf.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-17731889.js → locale-76c83cde.js} +4 -4
- package/dist/cjs/{math-9f1a8824.js → math-107a0fc7.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-7fec6639.js → nonChromiumPlatformUtils-d595dbeb.js} +6 -6
- package/dist/cjs/{observers-01f80ba1.js → observers-375f517f.js} +1 -1
- package/dist/cjs/{openCloseComponent-4a377556.js → openCloseComponent-f940e430.js} +1 -1
- package/dist/cjs/{resources-622ea992.js → resources-2c64fe3d.js} +55 -12
- package/dist/cjs/{resources-1e6c2e18.js → resources-300e28a7.js} +1 -1
- package/dist/cjs/{resources-cc09ee96.js → resources-beb08870.js} +1 -1
- package/dist/cjs/{resources-a58222d7.js → resources-c23d6080.js} +5 -5
- package/dist/cjs/{resources-b33165ed.js → resources-d97a86ea.js} +1 -1
- package/dist/cjs/{resources-683f77ba.js → resources-e0f919b2.js} +1 -1
- package/dist/cjs/{sortable.esm-46429ff6.js → sortable.esm-e846c1a9.js} +1 -1
- package/dist/cjs/{utils-c454cde9.js → utils-bb02fda6.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.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.js +1 -1
- 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.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.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.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.css +12 -0
- 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 +1 -1
- 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 +1 -1
- 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 +191 -180
- 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 +2 -2
- 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 +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-2fe0eb69.js → ExpandToggle-9f895528.js} +5 -5
- package/dist/esm/{Heading-6b420ea9.js → Heading-6d3b6b5b.js} +2 -2
- package/dist/esm/{app-globals-c7367546.js → app-globals-ee56721e.js} +2 -2
- package/dist/esm/{array-95f55518.js → array-dc25a282.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 +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +26 -22
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- 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 +202 -192
- 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 +11 -11
- 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 +7 -7
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-3e6ff622.js → conditionalSlot-82a00320.js} +3 -3
- package/dist/esm/{debounce-baa0cb16.js → debounce-043acf64.js} +1 -1
- package/dist/esm/{dom-7f5ae1d3.js → dom-65f0504d.js} +3 -3
- package/dist/esm/{filter-0a4e4ea8.js → filter-8ca50f59.js} +2 -2
- package/dist/esm/{floating-ui-7afdd776.js → floating-ui-dfab76ec.js} +4 -4
- package/dist/esm/{form-4a1f04c5.js → form-91142437.js} +3 -3
- package/dist/esm/{guid-f7b01d22.js → guid-9def76fa.js} +1 -1
- package/dist/esm/{index-edbe4b19.js → index-bd3cc490.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b28a6f7f.js → interactive-80132ca3.js} +1 -1
- package/dist/esm/{interfaces-40fe82c0.js → interfaces-deb05e21.js} +1 -1
- package/dist/esm/{key-73f72ef3.js → key-c82a486a.js} +1 -1
- package/dist/esm/{label-cbd83726.js → label-1a523873.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-f27e1f50.js → locale-a887d86e.js} +4 -4
- package/dist/esm/{math-f6edd3d2.js → math-a1d6c71e.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-0d2ff806.js → nonChromiumPlatformUtils-41ede917.js} +6 -6
- package/dist/esm/{observers-2ca1ba4b.js → observers-ed8743d1.js} +1 -1
- package/dist/esm/{openCloseComponent-3741a2a8.js → openCloseComponent-01c0a7ea.js} +1 -1
- package/dist/esm/{resources-e56f0644.js → resources-2f5d1325.js} +54 -12
- package/dist/esm/{resources-4ce8df60.js → resources-7989af4e.js} +1 -1
- package/dist/esm/{resources-7b01babf.js → resources-92cd3636.js} +1 -1
- package/dist/esm/{resources-07374ab4.js → resources-bce4522e.js} +5 -5
- package/dist/esm/{resources-4069c9e2.js → resources-bd95b821.js} +1 -1
- package/dist/esm/{resources-66a0a955.js → resources-e870ee36.js} +1 -1
- package/dist/esm/{sortable.esm-e0c5a35a.js → sortable.esm-d01cf851.js} +1 -1
- package/dist/esm/{utils-8592ea57.js → utils-165db206.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 +257 -200
- package/package.json +1 -1
- package/dist/calcite/p-0a300758.js +0 -6
- package/dist/calcite/p-4d82a992.entry.js +0 -6
- package/dist/calcite/p-585ec526.entry.js +0 -6
- package/dist/calcite/p-6a391414.js +0 -6
- package/dist/calcite/p-806686e9.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.623
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -17256,6 +17256,9 @@ class ComboboxItemGroup {
|
|
|
17256
17256
|
* @param max
|
|
17257
17257
|
*/
|
|
17258
17258
|
function inRange(date, min, max) {
|
|
17259
|
+
if (!date) {
|
|
17260
|
+
return;
|
|
17261
|
+
}
|
|
17259
17262
|
const time = date.getTime();
|
|
17260
17263
|
const afterMin = !(min instanceof Date) || time >= min.getTime();
|
|
17261
17264
|
const beforeMax = !(max instanceof Date) || time <= max.getTime();
|
|
@@ -17309,6 +17312,46 @@ function dateFromISO(iso8601, isEndDate = false) {
|
|
|
17309
17312
|
}
|
|
17310
17313
|
return date;
|
|
17311
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
|
+
}
|
|
17312
17355
|
/**
|
|
17313
17356
|
* Return first portion of ISO string (YYYY-mm-dd)
|
|
17314
17357
|
*
|
|
@@ -17369,18 +17412,17 @@ function nextMonth(date) {
|
|
|
17369
17412
|
/**
|
|
17370
17413
|
* Parse numeric units for day, month, and year from a localized string
|
|
17371
17414
|
* month starts at 0 (can pass to date constructor)
|
|
17415
|
+
* can return values as number or string
|
|
17372
17416
|
*
|
|
17373
|
-
* @param
|
|
17417
|
+
* @param string
|
|
17374
17418
|
* @param localeData
|
|
17375
17419
|
*/
|
|
17376
|
-
function parseDateString(
|
|
17377
|
-
const {
|
|
17378
|
-
const order = getOrder(unitOrder);
|
|
17379
|
-
const values = str.split(separator).map((part) => numberStringFormatter.delocalize(part));
|
|
17420
|
+
function parseDateString(string, localeData) {
|
|
17421
|
+
const { day, month, year } = datePartsFromLocalizedString(string, localeData);
|
|
17380
17422
|
return {
|
|
17381
|
-
day: parseInt(
|
|
17382
|
-
month: parseInt(
|
|
17383
|
-
year: parseInt(
|
|
17423
|
+
day: parseInt(day),
|
|
17424
|
+
month: parseInt(month) - 1,
|
|
17425
|
+
year: parseInt(year)
|
|
17384
17426
|
};
|
|
17385
17427
|
}
|
|
17386
17428
|
/**
|
|
@@ -17604,8 +17646,12 @@ class DatePicker {
|
|
|
17604
17646
|
*/
|
|
17605
17647
|
this.monthDateChange = (event) => {
|
|
17606
17648
|
const date = new Date(event.detail);
|
|
17649
|
+
const isoDate = dateToISO(date);
|
|
17650
|
+
if (!this.range && isoDate === dateToISO(this.valueAsDate)) {
|
|
17651
|
+
return;
|
|
17652
|
+
}
|
|
17607
17653
|
if (!this.range) {
|
|
17608
|
-
this.value =
|
|
17654
|
+
this.value = isoDate || "";
|
|
17609
17655
|
this.valueAsDate = date || null;
|
|
17610
17656
|
this.activeDate = date || null;
|
|
17611
17657
|
this.calciteDatePickerChange.emit(date);
|
|
@@ -17660,6 +17706,11 @@ class DatePicker {
|
|
|
17660
17706
|
this.calciteDatePickerChange.emit(date);
|
|
17661
17707
|
};
|
|
17662
17708
|
}
|
|
17709
|
+
activeDateWatcher(newActiveDate) {
|
|
17710
|
+
if (this.activeRange === "end") {
|
|
17711
|
+
this.activeEndDate = newActiveDate;
|
|
17712
|
+
}
|
|
17713
|
+
}
|
|
17663
17714
|
handleValueAsDate(date) {
|
|
17664
17715
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
17665
17716
|
this.activeDate = date;
|
|
@@ -17718,13 +17769,10 @@ class DatePicker {
|
|
|
17718
17769
|
}
|
|
17719
17770
|
render() {
|
|
17720
17771
|
var _a;
|
|
17721
|
-
const date = dateFromRange(this.range ? this.
|
|
17722
|
-
|
|
17723
|
-
|
|
17724
|
-
|
|
17725
|
-
let activeDate = activeStartDate;
|
|
17726
|
-
const endDate = this.range
|
|
17727
|
-
? 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)
|
|
17728
17776
|
: null;
|
|
17729
17777
|
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
|
17730
17778
|
if ((this.activeRange === "end" ||
|
|
@@ -17837,15 +17885,13 @@ class DatePicker {
|
|
|
17837
17885
|
getActiveDate(value, min, max) {
|
|
17838
17886
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
|
17839
17887
|
}
|
|
17840
|
-
getActiveStartDate(value, min, max) {
|
|
17841
|
-
return (dateFromRange(this.activeStartDate, min, max) || value || dateFromRange(new Date(), min, max));
|
|
17842
|
-
}
|
|
17843
17888
|
getActiveEndDate(value, min, max) {
|
|
17844
17889
|
return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));
|
|
17845
17890
|
}
|
|
17846
17891
|
static get assetsDirs() { return ["assets"]; }
|
|
17847
17892
|
get el() { return getElement(this); }
|
|
17848
17893
|
static get watchers() { return {
|
|
17894
|
+
"activeDate": ["activeDateWatcher"],
|
|
17849
17895
|
"valueAsDate": ["handleValueAsDate"],
|
|
17850
17896
|
"startAsDate": ["handleRangeChange"],
|
|
17851
17897
|
"endAsDate": ["handleRangeChange"],
|
|
@@ -17861,6 +17907,7 @@ class DatePicker {
|
|
|
17861
17907
|
"$flags$": 9,
|
|
17862
17908
|
"$tagName$": "calcite-date-picker",
|
|
17863
17909
|
"$members$": {
|
|
17910
|
+
"activeDate": [1040],
|
|
17864
17911
|
"activeRange": [513, "active-range"],
|
|
17865
17912
|
"value": [1025],
|
|
17866
17913
|
"headingLevel": [514, "heading-level"],
|
|
@@ -17881,7 +17928,6 @@ class DatePicker {
|
|
|
17881
17928
|
"start": [1537],
|
|
17882
17929
|
"end": [1537],
|
|
17883
17930
|
"proximitySelectionDisabled": [516, "proximity-selection-disabled"],
|
|
17884
|
-
"activeDate": [32],
|
|
17885
17931
|
"activeStartDate": [32],
|
|
17886
17932
|
"activeEndDate": [32],
|
|
17887
17933
|
"globalAttributes": [32],
|
|
@@ -21282,6 +21328,8 @@ class InputDatePicker {
|
|
|
21282
21328
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
21283
21329
|
*/
|
|
21284
21330
|
this.readOnly = false;
|
|
21331
|
+
/** Selected date as a string in ISO format (YYYY-MM-DD) */
|
|
21332
|
+
this.value = "";
|
|
21285
21333
|
/**
|
|
21286
21334
|
* When `true`, the component is active.
|
|
21287
21335
|
*
|
|
@@ -21340,9 +21388,25 @@ class InputDatePicker {
|
|
|
21340
21388
|
this.proximitySelectionDisabled = false;
|
|
21341
21389
|
/** Defines the layout of the component. */
|
|
21342
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
|
+
};
|
|
21343
21406
|
this.effectiveLocale = "";
|
|
21344
21407
|
this.focusedInput = "start";
|
|
21345
21408
|
this.globalAttributes = {};
|
|
21409
|
+
this.userChangedValue = false;
|
|
21346
21410
|
this.openTransitionProp = "opacity";
|
|
21347
21411
|
//--------------------------------------------------------------------------
|
|
21348
21412
|
//
|
|
@@ -21369,8 +21433,16 @@ class InputDatePicker {
|
|
|
21369
21433
|
this.open = false;
|
|
21370
21434
|
};
|
|
21371
21435
|
this.keyDownHandler = (event) => {
|
|
21436
|
+
var _a, _b;
|
|
21372
21437
|
const { defaultPrevented, key } = event;
|
|
21373
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
|
+
}
|
|
21374
21446
|
if (submitForm(this)) {
|
|
21375
21447
|
event.preventDefault();
|
|
21376
21448
|
}
|
|
@@ -21381,9 +21453,6 @@ class InputDatePicker {
|
|
|
21381
21453
|
event.preventDefault();
|
|
21382
21454
|
}
|
|
21383
21455
|
};
|
|
21384
|
-
this.inputBlur = (event) => {
|
|
21385
|
-
this.blur(event.currentTarget);
|
|
21386
|
-
};
|
|
21387
21456
|
this.startInputFocus = () => {
|
|
21388
21457
|
if (!this.readOnly) {
|
|
21389
21458
|
this.open = true;
|
|
@@ -21396,18 +21465,6 @@ class InputDatePicker {
|
|
|
21396
21465
|
}
|
|
21397
21466
|
this.focusedInput = "end";
|
|
21398
21467
|
};
|
|
21399
|
-
this.startInputInput = () => {
|
|
21400
|
-
const parsedValue = this.parseNumerals(this.startInput.value);
|
|
21401
|
-
const formattedValue = this.formatNumerals(parsedValue);
|
|
21402
|
-
this.startInput.value = formattedValue;
|
|
21403
|
-
this.input(parsedValue);
|
|
21404
|
-
};
|
|
21405
|
-
this.endInputInput = () => {
|
|
21406
|
-
const parsedValue = this.parseNumerals(this.endInput.value);
|
|
21407
|
-
const formattedValue = this.formatNumerals(parsedValue);
|
|
21408
|
-
this.endInput.value = formattedValue;
|
|
21409
|
-
this.input(parsedValue);
|
|
21410
|
-
};
|
|
21411
21468
|
this.setFloatingEl = (el) => {
|
|
21412
21469
|
if (el) {
|
|
21413
21470
|
this.floatingEl = el;
|
|
@@ -21425,23 +21482,25 @@ class InputDatePicker {
|
|
|
21425
21482
|
/**
|
|
21426
21483
|
* Event handler for when the selected date changes
|
|
21427
21484
|
*
|
|
21428
|
-
* @param event
|
|
21485
|
+
* @param event CalciteDatePicker custom change event
|
|
21429
21486
|
*/
|
|
21430
21487
|
this.handleDateChange = (event) => {
|
|
21431
21488
|
if (this.range) {
|
|
21432
21489
|
return;
|
|
21433
21490
|
}
|
|
21434
|
-
|
|
21491
|
+
event.stopPropagation();
|
|
21492
|
+
this.setValue(event.detail);
|
|
21493
|
+
this.localizeInputValues();
|
|
21435
21494
|
};
|
|
21436
21495
|
this.handleDateRangeChange = (event) => {
|
|
21437
21496
|
var _a, _b;
|
|
21438
21497
|
if (!this.range || !event.detail) {
|
|
21439
21498
|
return;
|
|
21440
21499
|
}
|
|
21500
|
+
event.stopPropagation();
|
|
21441
21501
|
const { startDate, endDate } = event.detail;
|
|
21442
|
-
this.
|
|
21443
|
-
this.
|
|
21444
|
-
this.value = [this.start, this.end];
|
|
21502
|
+
this.setRangeValue([startDate, endDate]);
|
|
21503
|
+
this.localizeInputValues();
|
|
21445
21504
|
if (this.shouldFocusRangeEnd()) {
|
|
21446
21505
|
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
21447
21506
|
}
|
|
@@ -21449,6 +21508,71 @@ class InputDatePicker {
|
|
|
21449
21508
|
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
21450
21509
|
}
|
|
21451
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
|
+
};
|
|
21452
21576
|
this.commonDateSeparators = [".", "-", "/"];
|
|
21453
21577
|
this.formatNumerals = (value) => value
|
|
21454
21578
|
? value
|
|
@@ -21462,34 +21586,31 @@ class InputDatePicker {
|
|
|
21462
21586
|
: char)
|
|
21463
21587
|
.join("")
|
|
21464
21588
|
: "";
|
|
21465
|
-
this.parseNumerals = (value) => value
|
|
21466
|
-
? value
|
|
21467
|
-
.split("")
|
|
21468
|
-
.map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
|
|
21469
|
-
.join("")
|
|
21470
|
-
: "";
|
|
21471
21589
|
}
|
|
21472
21590
|
handleDisabledAndReadOnlyChange(value) {
|
|
21473
21591
|
if (!value) {
|
|
21474
21592
|
this.open = false;
|
|
21475
21593
|
}
|
|
21476
21594
|
}
|
|
21477
|
-
|
|
21478
|
-
if (
|
|
21479
|
-
|
|
21480
|
-
|
|
21481
|
-
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
|
|
21487
|
-
|
|
21488
|
-
|
|
21489
|
-
|
|
21490
|
-
this.
|
|
21491
|
-
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();
|
|
21492
21609
|
}
|
|
21610
|
+
this.userChangedValue = false;
|
|
21611
|
+
}
|
|
21612
|
+
valueAsDateWatcher(valueAsDate) {
|
|
21613
|
+
this.datePickerActiveDate = valueAsDate;
|
|
21493
21614
|
}
|
|
21494
21615
|
flipPlacementsHandler() {
|
|
21495
21616
|
this.setFilteredPlacements();
|
|
@@ -21532,9 +21653,6 @@ class InputDatePicker {
|
|
|
21532
21653
|
// Event Listeners
|
|
21533
21654
|
//
|
|
21534
21655
|
//--------------------------------------------------------------------------
|
|
21535
|
-
handleDateOrRangeChange() {
|
|
21536
|
-
this.calciteInputDatePickerChange.emit();
|
|
21537
|
-
}
|
|
21538
21656
|
calciteDaySelectHandler() {
|
|
21539
21657
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
21540
21658
|
return;
|
|
@@ -21583,7 +21701,13 @@ class InputDatePicker {
|
|
|
21583
21701
|
this.end = this.value[1];
|
|
21584
21702
|
}
|
|
21585
21703
|
else if (this.value) {
|
|
21586
|
-
|
|
21704
|
+
try {
|
|
21705
|
+
this.valueAsDate = dateFromISO(this.value);
|
|
21706
|
+
}
|
|
21707
|
+
catch (error) {
|
|
21708
|
+
this.warnAboutInvalidValue(this.value);
|
|
21709
|
+
this.value = "";
|
|
21710
|
+
}
|
|
21587
21711
|
this.start = "";
|
|
21588
21712
|
this.end = "";
|
|
21589
21713
|
}
|
|
@@ -21616,6 +21740,7 @@ class InputDatePicker {
|
|
|
21616
21740
|
this.onMaxChanged(this.max);
|
|
21617
21741
|
}
|
|
21618
21742
|
componentDidLoad() {
|
|
21743
|
+
this.localizeInputValues();
|
|
21619
21744
|
this.reposition(true);
|
|
21620
21745
|
}
|
|
21621
21746
|
disconnectedCallback() {
|
|
@@ -21630,21 +21755,13 @@ class InputDatePicker {
|
|
|
21630
21755
|
}
|
|
21631
21756
|
render() {
|
|
21632
21757
|
var _a, _b;
|
|
21633
|
-
const { disabled,
|
|
21758
|
+
const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
|
|
21634
21759
|
numberStringFormatter.numberFormatOptions = {
|
|
21635
21760
|
numberingSystem,
|
|
21636
21761
|
locale: effectiveLocale,
|
|
21637
21762
|
useGrouping: false
|
|
21638
21763
|
};
|
|
21639
|
-
|
|
21640
|
-
const endDate = this.range
|
|
21641
|
-
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
21642
|
-
: null;
|
|
21643
|
-
const formattedEndDate = endDate
|
|
21644
|
-
? this.formatNumerals(endDate.toLocaleDateString(effectiveLocale))
|
|
21645
|
-
: "";
|
|
21646
|
-
const formattedDate = date ? this.formatNumerals(date.toLocaleDateString(effectiveLocale)) : "";
|
|
21647
|
-
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: {
|
|
21648
21765
|
[CSS$u.menu]: true,
|
|
21649
21766
|
[CSS$u.menuActive]: this.open
|
|
21650
21767
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -21652,10 +21769,10 @@ class InputDatePicker {
|
|
|
21652
21769
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21653
21770
|
[FloatingCSS.animation]: true,
|
|
21654
21771
|
[FloatingCSS.animationActive]: this.open
|
|
21655
|
-
}, 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: {
|
|
21656
21773
|
input: true,
|
|
21657
21774
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21658
|
-
}, 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 })));
|
|
21659
21776
|
}
|
|
21660
21777
|
setReferenceEl() {
|
|
21661
21778
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -21680,6 +21797,51 @@ class InputDatePicker {
|
|
|
21680
21797
|
onClose() {
|
|
21681
21798
|
this.calciteInputDatePickerClose.emit();
|
|
21682
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
|
+
}
|
|
21683
21845
|
startWatcher(start) {
|
|
21684
21846
|
this.startAsDate = dateFromISO(start);
|
|
21685
21847
|
}
|
|
@@ -21691,97 +21853,6 @@ class InputDatePicker {
|
|
|
21691
21853
|
return;
|
|
21692
21854
|
}
|
|
21693
21855
|
}
|
|
21694
|
-
clearCurrentValue() {
|
|
21695
|
-
if (!this.range) {
|
|
21696
|
-
if (typeof this.value === "string" && this.value) {
|
|
21697
|
-
this.calciteDatePickerChange.emit();
|
|
21698
|
-
}
|
|
21699
|
-
this.value = "";
|
|
21700
|
-
return;
|
|
21701
|
-
}
|
|
21702
|
-
const { focusedInput } = this;
|
|
21703
|
-
if (focusedInput === "start") {
|
|
21704
|
-
if (this.start) {
|
|
21705
|
-
this.calciteDatePickerRangeChange.emit();
|
|
21706
|
-
}
|
|
21707
|
-
this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
|
|
21708
|
-
this.start = undefined;
|
|
21709
|
-
}
|
|
21710
|
-
else if (focusedInput === "end") {
|
|
21711
|
-
if (this.end) {
|
|
21712
|
-
this.calciteDatePickerRangeChange.emit();
|
|
21713
|
-
}
|
|
21714
|
-
this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
|
|
21715
|
-
this.end = undefined;
|
|
21716
|
-
}
|
|
21717
|
-
}
|
|
21718
|
-
/**
|
|
21719
|
-
* If inputted string is a valid date, update value/active
|
|
21720
|
-
*
|
|
21721
|
-
* @param value
|
|
21722
|
-
*/
|
|
21723
|
-
input(value) {
|
|
21724
|
-
const date = this.getDateFromInput(value);
|
|
21725
|
-
if (!date) {
|
|
21726
|
-
this.clearCurrentValue();
|
|
21727
|
-
return;
|
|
21728
|
-
}
|
|
21729
|
-
if (!this.range) {
|
|
21730
|
-
this.value = dateToISO(date);
|
|
21731
|
-
this.calciteDatePickerChange.emit(date);
|
|
21732
|
-
return;
|
|
21733
|
-
}
|
|
21734
|
-
const { focusedInput } = this;
|
|
21735
|
-
if (focusedInput === "start") {
|
|
21736
|
-
if (!this.startAsDate || !sameDate(date, this.startAsDate)) {
|
|
21737
|
-
const startDateISO = dateToISO(date);
|
|
21738
|
-
this.value = Array.isArray(this.value)
|
|
21739
|
-
? [startDateISO, this.value[1] || ""]
|
|
21740
|
-
: [startDateISO];
|
|
21741
|
-
this.start = startDateISO;
|
|
21742
|
-
this.calciteDatePickerRangeChange.emit({
|
|
21743
|
-
startDate: date,
|
|
21744
|
-
endDate: this.endAsDate
|
|
21745
|
-
});
|
|
21746
|
-
}
|
|
21747
|
-
}
|
|
21748
|
-
else if (focusedInput === "end") {
|
|
21749
|
-
if (!this.endAsDate || !sameDate(date, this.endAsDate)) {
|
|
21750
|
-
const endDateISO = dateToISO(date);
|
|
21751
|
-
this.value = Array.isArray(this.value)
|
|
21752
|
-
? [this.value[0] || "", endDateISO]
|
|
21753
|
-
: ["", endDateISO];
|
|
21754
|
-
this.end = endDateISO;
|
|
21755
|
-
this.calciteDatePickerRangeChange.emit({
|
|
21756
|
-
startDate: this.startAsDate,
|
|
21757
|
-
endDate: setEndOfDay(date)
|
|
21758
|
-
});
|
|
21759
|
-
}
|
|
21760
|
-
}
|
|
21761
|
-
}
|
|
21762
|
-
/**
|
|
21763
|
-
* Clean up invalid date from input on blur
|
|
21764
|
-
*
|
|
21765
|
-
* @param target
|
|
21766
|
-
*/
|
|
21767
|
-
blur(target) {
|
|
21768
|
-
const { focusedInput, endAsDate, range, startAsDate, valueAsDate } = this;
|
|
21769
|
-
const locale = this.effectiveLocale;
|
|
21770
|
-
const date = this.getDateFromInput(target.value);
|
|
21771
|
-
if (!date) {
|
|
21772
|
-
if (!range && valueAsDate) {
|
|
21773
|
-
target.value = this.formatNumerals(Array.isArray(valueAsDate)
|
|
21774
|
-
? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
|
|
21775
|
-
: valueAsDate.toLocaleDateString(locale));
|
|
21776
|
-
}
|
|
21777
|
-
else if (focusedInput === "start" && startAsDate) {
|
|
21778
|
-
target.value = this.formatNumerals(startAsDate.toLocaleDateString(locale));
|
|
21779
|
-
}
|
|
21780
|
-
else if (focusedInput === "end" && endAsDate) {
|
|
21781
|
-
target.value = this.formatNumerals(endAsDate.toLocaleDateString(locale));
|
|
21782
|
-
}
|
|
21783
|
-
}
|
|
21784
|
-
}
|
|
21785
21856
|
shouldFocusRangeStart() {
|
|
21786
21857
|
return !!(this.endAsDate &&
|
|
21787
21858
|
!this.startAsDate &&
|
|
@@ -21794,40 +21865,25 @@ class InputDatePicker {
|
|
|
21794
21865
|
this.focusedInput === "start" &&
|
|
21795
21866
|
this.endInput);
|
|
21796
21867
|
}
|
|
21797
|
-
|
|
21798
|
-
|
|
21799
|
-
|
|
21800
|
-
|
|
21801
|
-
|
|
21802
|
-
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21809
|
-
const validDay = day > 0;
|
|
21810
|
-
const validMonth = month > -1;
|
|
21811
|
-
const date = new Date(year, month, day);
|
|
21812
|
-
date.setFullYear(year);
|
|
21813
|
-
const validDate = !isNaN(date.getTime());
|
|
21814
|
-
const validLength = value.split(separator).filter((c) => c).length > 2;
|
|
21815
|
-
const validYear = year.toString().length > 0;
|
|
21816
|
-
if (validDay &&
|
|
21817
|
-
validMonth &&
|
|
21818
|
-
validDate &&
|
|
21819
|
-
validLength &&
|
|
21820
|
-
validYear &&
|
|
21821
|
-
inRange(date, this.min, this.max)) {
|
|
21822
|
-
return date;
|
|
21823
|
-
}
|
|
21824
|
-
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".`);
|
|
21825
21880
|
}
|
|
21826
21881
|
get el() { return getElement(this); }
|
|
21827
21882
|
static get watchers() { return {
|
|
21828
21883
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
21829
21884
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
21830
|
-
"value": ["
|
|
21885
|
+
"value": ["valueWatcher"],
|
|
21886
|
+
"valueAsDate": ["valueAsDateWatcher"],
|
|
21831
21887
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21832
21888
|
"min": ["onMinChanged"],
|
|
21833
21889
|
"max": ["onMaxChanged"],
|
|
@@ -21874,6 +21930,7 @@ class InputDatePicker {
|
|
|
21874
21930
|
"overlayPositioning": [513, "overlay-positioning"],
|
|
21875
21931
|
"proximitySelectionDisabled": [4, "proximity-selection-disabled"],
|
|
21876
21932
|
"layout": [513],
|
|
21933
|
+
"datePickerActiveDate": [32],
|
|
21877
21934
|
"effectiveLocale": [32],
|
|
21878
21935
|
"focusedInput": [32],
|
|
21879
21936
|
"globalAttributes": [32],
|
|
@@ -21881,7 +21938,7 @@ class InputDatePicker {
|
|
|
21881
21938
|
"setFocus": [64],
|
|
21882
21939
|
"reposition": [64]
|
|
21883
21940
|
},
|
|
21884
|
-
"$listeners$": [[0, "
|
|
21941
|
+
"$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
|
|
21885
21942
|
"$lazyBundleId$": "-",
|
|
21886
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"]]
|
|
21887
21944
|
}; }
|
|
@@ -36337,7 +36394,7 @@ function replacePlaceholders(text, label, position, total) {
|
|
|
36337
36394
|
return replaceLabel.replace("${total}", total.toString());
|
|
36338
36395
|
}
|
|
36339
36396
|
|
|
36340
|
-
const valueListCss = "@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-value-list: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-value-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-h{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-value-list-h *.sc-calcite-value-list{box-sizing:border-box}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-h[disabled] .sc-calcite-value-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-h [calcite-hydrated][disabled].sc-calcite-value-list{opacity:1}/*!@calcite-value-list-item:last-of-type*/calcite-value-list-item.sc-calcite-value-list:last-of-type{--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([filter-enabled]) header*/[filter-enabled].sc-calcite-value-list-h header.sc-calcite-value-list{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header.sticky-pos*/[filter-enabled].sc-calcite-value-list-h header.sticky-pos.sc-calcite-value-list{position:sticky;inset-block-start:0px;z-index:300}/*!@calcite-filter*/calcite-filter.sc-calcite-value-list{margin-block-end:1px}";
|
|
36397
|
+
const valueListCss = "@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-value-list: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-value-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-h{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-value-list-h *.sc-calcite-value-list{box-sizing:border-box}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-h[disabled] .sc-calcite-value-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-h [calcite-hydrated][disabled].sc-calcite-value-list{opacity:1}/*!@calcite-value-list-item:last-of-type*/calcite-value-list-item.sc-calcite-value-list:last-of-type{--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([filter-enabled]) header*/[filter-enabled].sc-calcite-value-list-h header.sc-calcite-value-list{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([filter-enabled]) header.sticky-pos*/[filter-enabled].sc-calcite-value-list-h header.sticky-pos.sc-calcite-value-list{position:sticky;inset-block-start:0px;z-index:300}/*!@calcite-filter*/calcite-filter.sc-calcite-value-list{margin-block-end:1px}/*!@.assistive-text*/.assistive-text.sc-calcite-value-list{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}";
|
|
36341
36398
|
|
|
36342
36399
|
/**
|
|
36343
36400
|
* @slot - A slot for adding `calcite-value-list-item` elements. List items are displayed as a vertical list.
|