@esri/calcite-components 1.0.0-next.653 → 1.0.0-next.654
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-c8946ac4.js → p-0254ac2f.js} +1 -1
- package/dist/calcite/{p-ae684eb2.entry.js → p-050ade87.entry.js} +2 -2
- package/dist/calcite/p-06d5c014.entry.js +6 -0
- package/dist/calcite/{p-a53596e5.js → p-0be6bca1.js} +1 -1
- package/dist/calcite/{p-4296ca3f.js → p-1055bcbe.js} +1 -1
- package/dist/calcite/p-10aa4062.entry.js +6 -0
- package/dist/calcite/{p-f857cfa2.entry.js → p-10d7edd8.entry.js} +2 -2
- package/dist/calcite/{p-8fb7ee35.entry.js → p-12d6681d.entry.js} +2 -2
- package/dist/calcite/p-14e0d4fe.entry.js +6 -0
- package/dist/calcite/p-17c258b8.entry.js +6 -0
- package/dist/calcite/p-185bb7cb.entry.js +6 -0
- package/dist/calcite/p-1f01fc57.entry.js +6 -0
- package/dist/calcite/p-24bdea5e.entry.js +6 -0
- package/dist/calcite/{p-675dfbe8.entry.js → p-2cc5c240.entry.js} +2 -2
- package/dist/calcite/{p-1a859cf5.js → p-33e17f1b.js} +1 -1
- package/dist/calcite/p-35fc7dca.js +6 -0
- package/dist/calcite/{p-98183f7a.js → p-39d090ab.js} +1 -1
- package/dist/calcite/{p-3274abf2.js → p-3a773abe.js} +2 -2
- package/dist/calcite/p-3ce64b5d.js +6 -0
- package/dist/calcite/{p-28884998.entry.js → p-3d983e10.entry.js} +2 -2
- package/dist/calcite/p-3f8e53cd.entry.js +6 -0
- package/dist/calcite/p-3fc46634.entry.js +6 -0
- package/dist/calcite/p-46d45c3c.entry.js +6 -0
- package/dist/calcite/p-48154bde.entry.js +6 -0
- package/dist/calcite/p-48d5c4c0.entry.js +6 -0
- package/dist/calcite/p-4c684f9b.entry.js +6 -0
- package/dist/calcite/{p-e1fa408f.js → p-4ca4f558.js} +2 -2
- package/dist/calcite/{p-5bb6cc45.js → p-4cf9ae65.js} +1 -1
- package/dist/calcite/{p-44a78e82.entry.js → p-4fbd47e5.entry.js} +2 -2
- package/dist/calcite/{p-3dc251f4.entry.js → p-51db14be.entry.js} +2 -2
- package/dist/calcite/p-530fdbab.js +6 -0
- package/dist/calcite/{p-74c02e3a.js → p-53c33d4b.js} +3 -3
- package/dist/calcite/{p-49701eee.js → p-553dcf8f.js} +1 -1
- package/dist/calcite/p-55c80ec7.js +6 -0
- package/dist/calcite/p-5718dd4a.js +6 -0
- package/dist/calcite/p-59f646f1.entry.js +6 -0
- package/dist/calcite/{p-5a953a75.js → p-5ce6006a.js} +1 -1
- package/dist/calcite/{p-6e0ecbed.entry.js → p-6287a7e3.entry.js} +2 -2
- package/dist/calcite/p-63fabfa9.entry.js +6 -0
- package/dist/calcite/{p-e452903d.js → p-69bdbe6c.js} +1 -1
- package/dist/calcite/{p-bff4c20d.entry.js → p-6c957ddf.entry.js} +2 -2
- package/dist/calcite/p-6f5b07e8.entry.js +6 -0
- package/dist/calcite/p-6f92b03a.entry.js +6 -0
- package/dist/calcite/{p-9e30a932.entry.js → p-72d77198.entry.js} +2 -2
- package/dist/calcite/{p-2ec7c680.js → p-72f6644b.js} +1 -1
- package/dist/calcite/p-77c4f889.js +6 -0
- package/dist/calcite/p-7bef3ee1.entry.js +6 -0
- package/dist/calcite/{p-a1a81de3.entry.js → p-7d21ff63.entry.js} +2 -2
- package/dist/calcite/{p-0a1f589a.js → p-7e574772.js} +2 -2
- package/dist/calcite/p-822cfd4f.entry.js +6 -0
- package/dist/calcite/{p-1cdae83d.js → p-8aa907d3.js} +1 -1
- package/dist/calcite/p-8d0566d1.entry.js +6 -0
- package/dist/calcite/p-92f22711.entry.js +6 -0
- package/dist/calcite/p-95cfabd8.entry.js +6 -0
- package/dist/calcite/{p-220b7569.entry.js → p-96c90357.entry.js} +2 -2
- package/dist/calcite/p-99003334.entry.js +6 -0
- package/dist/calcite/{p-dee6d536.js → p-9bc4d2e7.js} +2 -2
- package/dist/calcite/{p-797fd5dd.entry.js → p-9c4fe712.entry.js} +2 -2
- package/dist/calcite/p-a3b5d915.entry.js +6 -0
- package/dist/calcite/p-a3ba6aef.entry.js +6 -0
- package/dist/calcite/{p-406fcc95.entry.js → p-a3efce03.entry.js} +2 -2
- package/dist/calcite/p-a4735ae4.entry.js +6 -0
- package/dist/calcite/p-a77f3220.entry.js +6 -0
- package/dist/calcite/{p-e2f5256c.entry.js → p-aa620a9f.entry.js} +2 -2
- package/dist/calcite/p-ade56eab.js +6 -0
- package/dist/calcite/{p-048b7796.js → p-ae327e4f.js} +1 -1
- package/dist/calcite/p-b0f4cbef.entry.js +6 -0
- package/dist/calcite/p-b9028c65.entry.js +6 -0
- package/dist/calcite/p-bb813cda.entry.js +6 -0
- package/dist/calcite/p-c1dd3c4e.entry.js +6 -0
- package/dist/calcite/{p-1e7d0a3e.entry.js → p-c3502aba.entry.js} +2 -2
- package/dist/calcite/{p-36046779.js → p-c6f8fd3f.js} +1 -1
- package/dist/calcite/{p-4869c10e.js → p-c8db295e.js} +2 -2
- package/dist/calcite/{p-24c048b5.js → p-ceb691f9.js} +1 -1
- package/dist/calcite/p-d4313c1c.js +6 -0
- package/dist/calcite/{p-d849b5b6.entry.js → p-d8790ccd.entry.js} +2 -2
- package/dist/calcite/{p-b567d164.js → p-d8a36d6a.js} +1 -1
- package/dist/calcite/p-d9e9ec30.entry.js +6 -0
- package/dist/calcite/p-deceabe8.entry.js +6 -0
- package/dist/calcite/p-e05633d0.entry.js +6 -0
- package/dist/calcite/{p-d5e70d38.entry.js → p-e27d22a3.entry.js} +2 -2
- package/dist/calcite/{p-b0cecf6b.js → p-e33b64ac.js} +1 -1
- package/dist/calcite/p-e38a5179.entry.js +6 -0
- package/dist/calcite/p-e4503ec2.entry.js +6 -0
- package/dist/calcite/{p-627cd0ab.entry.js → p-e734a9bd.entry.js} +2 -2
- package/dist/calcite/p-e94dd8f6.entry.js +6 -0
- package/dist/calcite/{p-b9184c58.entry.js → p-ea002837.entry.js} +2 -2
- package/dist/calcite/p-ef016df0.entry.js +6 -0
- package/dist/calcite/p-f11ab8b7.js +6 -0
- package/dist/calcite/p-f275f69c.entry.js +6 -0
- package/dist/calcite/p-f9e27633.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-8d248ee3.js → ExpandToggle-6b439626.js} +7 -8
- package/dist/cjs/{Heading-dd6d6eb7.js → Heading-ceb4f2b6.js} +2 -2
- package/dist/cjs/{app-globals-35dd7e0f.js → app-globals-abf96af0.js} +2 -2
- package/dist/cjs/{array-bc2da329.js → array-96bd470b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -17
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-button.cjs.entry.js +15 -19
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -10
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +30 -37
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -24
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -22
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +10 -11
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -7
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -8
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -23
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -27
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +23 -31
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -26
- package/dist/cjs/calcite-input.cjs.entry.js +25 -33
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +22 -26
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -22
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -17
- package/dist/cjs/calcite-popover.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 +5 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -15
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +17 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +26 -34
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -21
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-d2dd31d5.js → conditionalSlot-a875fe2d.js} +3 -3
- package/dist/cjs/{debounce-fec2cc26.js → debounce-d3347e7f.js} +1 -1
- package/dist/cjs/{dom-8db20575.js → dom-f3870c02.js} +13 -13
- package/dist/cjs/{filter-4951900a.js → filter-bfb93506.js} +3 -3
- package/dist/cjs/{floating-ui-16ec7ef7.js → floating-ui-3c7d9b63.js} +7 -8
- package/dist/cjs/{focusTrapComponent-1f7ac746.js → focusTrapComponent-feb51e35.js} +4 -6
- package/dist/cjs/{form-df338099.js → form-6fbeeffb.js} +5 -7
- package/dist/cjs/{guid-7c9bf705.js → guid-01d6fefc.js} +1 -1
- package/dist/cjs/{index-11cbd6ae.js → index-483dbe04.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-12572356.js → interactive-134aafb0.js} +1 -1
- package/dist/cjs/{interfaces-bcf5a504.js → interfaces-0cb162a3.js} +1 -1
- package/dist/cjs/{key-5efe25db.js → key-64fe2d0d.js} +1 -1
- package/dist/cjs/{label-f2b57841.js → label-bb7baad0.js} +4 -5
- package/dist/cjs/{loadable-fdc027c5.js → loadable-9ea89e06.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ad2e4def.js → locale-66bb4c04.js} +7 -8
- package/dist/cjs/{math-e3bf7036.js → math-168daa90.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-a8326836.js} +6 -6
- package/dist/cjs/{observers-1cb80ad6.js → observers-265cc6fd.js} +1 -1
- package/dist/cjs/{openCloseComponent-42ea9fde.js → openCloseComponent-86d66b5f.js} +1 -1
- package/dist/cjs/{resources-f5a03517.js → resources-4d34f5ad.js} +1 -1
- package/dist/cjs/{resources-e6605c29.js → resources-56adcab5.js} +1 -1
- package/dist/cjs/{resources-01342a2b.js → resources-94f83bb6.js} +11 -16
- package/dist/cjs/{resources-125245bd.js → resources-ad99e815.js} +1 -1
- package/dist/cjs/{resources-883ffa52.js → resources-e280f675.js} +3 -3
- package/dist/cjs/{resources-61c779db.js → resources-e34dd4ef.js} +1 -1
- package/dist/cjs/{sortable.esm-ec7f83ae.js → sortable.esm-a516af47.js} +1 -1
- package/dist/cjs/{utils-727a0b8e.js → utils-61f76522.js} +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- 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 +6 -10
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +6 -9
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +2 -2
- 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 +7 -7
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -3
- 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 +2 -3
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +6 -10
- 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 +2 -3
- package/dist/collection/components/chip/chip.js +2 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +9 -11
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +2 -2
- 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 +13 -18
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +4 -6
- 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 +5 -7
- 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 +4 -6
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +2 -3
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +7 -9
- 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 +2 -3
- 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 +3 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +3 -4
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -3
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +3 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +2 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -3
- 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 +9 -15
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +13 -21
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -12
- 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 +11 -19
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +5 -9
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -5
- 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 +8 -12
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +3 -3
- 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.css +1 -1
- package/dist/collection/components/modal/modal.js +5 -8
- 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 +3 -5
- 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 +8 -11
- 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 +7 -12
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -3
- 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/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -5
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- 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 +3 -5
- 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 +6 -9
- 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 +2 -2
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +4 -6
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +6 -11
- 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 +3 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -5
- package/dist/collection/components/tab-nav/tab-nav.js +13 -17
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- 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 +2 -3
- 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 +4 -5
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +2 -3
- 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 +4 -6
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +3 -5
- package/dist/collection/components/tree/utils.js +2 -2
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +6 -9
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +3 -3
- package/dist/collection/components/value-list/value-list.js +4 -5
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- 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 +1 -1
- package/dist/collection/utils/dom.js +11 -11
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +4 -5
- package/dist/collection/utils/focusTrapComponent.js +3 -5
- package/dist/collection/utils/form.js +3 -5
- 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 +3 -4
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +4 -5
- 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 +2 -3
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +6 -7
- package/dist/components/ExpandToggle.js +3 -4
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +7 -7
- package/dist/components/action.js +6 -10
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -10
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +6 -9
- 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 +2 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -3
- 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 +9 -11
- 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 +13 -18
- 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 +2 -3
- 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 +3 -4
- package/dist/components/calcite-flow.js +3 -5
- 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 +9 -15
- package/dist/components/calcite-input-date-picker.js +8 -12
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +11 -19
- package/dist/components/calcite-input-text.js +5 -9
- package/dist/components/calcite-input-time-picker.js +3 -5
- 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 +5 -5
- package/dist/components/calcite-list.js +8 -12
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -8
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +3 -5
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.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 +3 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -4
- package/dist/components/calcite-rating.js +3 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +6 -9
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +4 -6
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +6 -11
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +6 -10
- package/dist/components/calcite-stepper.js +3 -4
- 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 +2 -3
- 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 +4 -6
- package/dist/components/calcite-tip.js +2 -3
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +6 -9
- package/dist/components/calcite-tree.js +4 -6
- package/dist/components/calcite-value-list-item.js +2 -3
- package/dist/components/calcite-value-list.js +6 -7
- package/dist/components/checkbox.js +2 -3
- package/dist/components/chip.js +2 -3
- 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 -3
- package/dist/components/date-picker-month.js +4 -6
- package/dist/components/date-picker.js +5 -7
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +11 -11
- package/dist/components/dropdown.js +7 -9
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +4 -5
- package/dist/components/focusTrapComponent.js +3 -5
- package/dist/components/form.js +3 -5
- package/dist/components/graph.js +3 -5
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -3
- package/dist/components/icon.js +2 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +13 -21
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -4
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +4 -5
- 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 +8 -11
- package/dist/components/pick-list-item.js +2 -3
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +3 -3
- 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 +7 -12
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +13 -17
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab.js +3 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +9 -11
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +4 -6
- package/dist/esm/{ExpandToggle-3ec34795.js → ExpandToggle-7995a4b7.js} +7 -8
- package/dist/esm/{Heading-f71bbfe4.js → Heading-9e7e60aa.js} +2 -2
- package/dist/esm/{app-globals-61e0f5bb.js → app-globals-be068759.js} +2 -2
- package/dist/esm/{array-f3af604a.js → array-1cdf24cf.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +17 -20
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +15 -15
- package/dist/esm/calcite-action-pad.entry.js +12 -13
- package/dist/esm/calcite-action.entry.js +13 -17
- package/dist/esm/calcite-alert.entry.js +12 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +11 -12
- package/dist/esm/calcite-button.entry.js +15 -19
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +11 -12
- package/dist/esm/calcite-chip.entry.js +9 -10
- package/dist/esm/calcite-color-picker_3.entry.js +19 -21
- package/dist/esm/calcite-combobox_3.entry.js +30 -37
- package/dist/esm/calcite-date-picker_4.entry.js +19 -24
- package/dist/esm/calcite-dropdown_3.entry.js +19 -22
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +10 -11
- package/dist/esm/calcite-flow.entry.js +5 -7
- package/dist/esm/calcite-graph_2.entry.js +16 -18
- package/dist/esm/calcite-handle.entry.js +7 -8
- package/dist/esm/calcite-icon.entry.js +7 -8
- package/dist/esm/calcite-inline-editable.entry.js +17 -23
- package/dist/esm/calcite-input-date-picker.entry.js +23 -27
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +23 -31
- package/dist/esm/calcite-input-text.entry.js +14 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +22 -26
- package/dist/esm/calcite-input.entry.js +25 -33
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +22 -26
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +14 -17
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +17 -22
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +18 -21
- package/dist/esm/calcite-pick-list_3.entry.js +15 -17
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +5 -7
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-radio-group_2.entry.js +11 -12
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +12 -14
- package/dist/esm/calcite-sortable-list.entry.js +10 -15
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +17 -22
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +26 -34
- package/dist/esm/calcite-tile-select_2.entry.js +6 -7
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -15
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +16 -21
- package/dist/esm/calcite-value-list_2.entry.js +19 -21
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-be35718d.js → conditionalSlot-264302f2.js} +3 -3
- package/dist/esm/{debounce-511eda6a.js → debounce-97af721b.js} +1 -1
- package/dist/esm/{dom-3d0a39a1.js → dom-e83e3685.js} +13 -13
- package/dist/esm/{filter-275e53f4.js → filter-74f44357.js} +3 -3
- package/dist/esm/{floating-ui-fc56a23b.js → floating-ui-a46ce22a.js} +7 -8
- package/dist/esm/{focusTrapComponent-2dcf390f.js → focusTrapComponent-976fba1d.js} +4 -6
- package/dist/esm/{form-99c3afb4.js → form-e64648c7.js} +5 -7
- package/dist/esm/{guid-b0902c5e.js → guid-d9ecc494.js} +1 -1
- package/dist/esm/{index-a3e37dea.js → index-83004828.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ee12cb1f.js → interactive-9e6a5f71.js} +1 -1
- package/dist/esm/{interfaces-461b2615.js → interfaces-b1d9177f.js} +1 -1
- package/dist/esm/{key-26613542.js → key-06b23960.js} +1 -1
- package/dist/esm/{label-b9c0aa89.js → label-e92abdfa.js} +4 -5
- package/dist/esm/{loadable-9a013351.js → loadable-0c46daa0.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-35d09242.js → locale-4983f5d8.js} +7 -8
- package/dist/esm/{math-5fdb35a6.js → math-3122e153.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-928c5ed3.js → nonChromiumPlatformUtils-238e88ad.js} +6 -6
- package/dist/esm/{observers-1bc07c7a.js → observers-89a35a75.js} +1 -1
- package/dist/esm/{openCloseComponent-1a0f1e5f.js → openCloseComponent-fdff8486.js} +1 -1
- package/dist/esm/{resources-fd9aac1d.js → resources-2e32226e.js} +11 -16
- package/dist/esm/{resources-52b91f29.js → resources-35e36c39.js} +1 -1
- package/dist/esm/{resources-0440659e.js → resources-36963763.js} +1 -1
- package/dist/esm/{resources-205e1a5e.js → resources-3a95b40f.js} +3 -3
- package/dist/esm/{resources-a1b41b10.js → resources-812152a0.js} +1 -1
- package/dist/esm/{resources-9c2b241b.js → resources-edac802c.js} +1 -1
- package/dist/esm/{sortable.esm-a20e5345.js → sortable.esm-ac2f32ed.js} +1 -1
- package/dist/esm/{utils-a06ba7b4.js → utils-1cddbae1.js} +2 -2
- package/dist/extras/docs-json.json +2 -2
- 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/hydrate/index.js +252 -392
- package/package.json +1 -1
- package/dist/calcite/p-01182fb3.entry.js +0 -6
- package/dist/calcite/p-01cdb480.entry.js +0 -6
- package/dist/calcite/p-0bf47b10.entry.js +0 -6
- package/dist/calcite/p-0fe25017.entry.js +0 -6
- package/dist/calcite/p-169a8a94.entry.js +0 -6
- package/dist/calcite/p-25ca3105.entry.js +0 -6
- package/dist/calcite/p-272fc5c7.entry.js +0 -6
- package/dist/calcite/p-2a4269f0.entry.js +0 -6
- package/dist/calcite/p-2d6e9def.entry.js +0 -6
- package/dist/calcite/p-377b89a4.entry.js +0 -6
- package/dist/calcite/p-3e45b099.entry.js +0 -6
- package/dist/calcite/p-4331211c.js +0 -6
- package/dist/calcite/p-47aa3608.entry.js +0 -6
- package/dist/calcite/p-47f53948.js +0 -6
- package/dist/calcite/p-49a74b3e.js +0 -6
- package/dist/calcite/p-4ee5ad79.js +0 -6
- package/dist/calcite/p-50755b97.entry.js +0 -6
- package/dist/calcite/p-5a715918.entry.js +0 -6
- package/dist/calcite/p-5dd53e64.js +0 -6
- package/dist/calcite/p-5fcff767.entry.js +0 -6
- package/dist/calcite/p-60967994.entry.js +0 -6
- package/dist/calcite/p-6653a04c.entry.js +0 -6
- package/dist/calcite/p-6d2cb8f4.entry.js +0 -6
- package/dist/calcite/p-761d2432.entry.js +0 -6
- package/dist/calcite/p-798770da.entry.js +0 -6
- package/dist/calcite/p-7de16322.entry.js +0 -6
- package/dist/calcite/p-88a03f41.entry.js +0 -6
- package/dist/calcite/p-8e4e1bf2.entry.js +0 -6
- package/dist/calcite/p-90e5f7d2.entry.js +0 -6
- package/dist/calcite/p-95d84aec.entry.js +0 -6
- package/dist/calcite/p-9be255ca.entry.js +0 -6
- package/dist/calcite/p-9dd2a286.js +0 -6
- package/dist/calcite/p-9e30d06b.entry.js +0 -6
- package/dist/calcite/p-a3da6c86.entry.js +0 -6
- package/dist/calcite/p-a4a63866.js +0 -6
- package/dist/calcite/p-b52accff.entry.js +0 -6
- package/dist/calcite/p-b858d734.entry.js +0 -6
- package/dist/calcite/p-c1792c48.entry.js +0 -6
- package/dist/calcite/p-c56796e6.entry.js +0 -6
- package/dist/calcite/p-c881f4fc.js +0 -6
- package/dist/calcite/p-c8b9c903.entry.js +0 -6
- package/dist/calcite/p-cce9a30d.entry.js +0 -6
- package/dist/calcite/p-cd5323d3.entry.js +0 -6
- package/dist/calcite/p-d16cee95.entry.js +0 -6
- package/dist/calcite/p-df1e5c64.entry.js +0 -6
- package/dist/calcite/p-e86f837e.js +0 -6
- package/dist/calcite/p-f00cdd90.entry.js +0 -6
- package/dist/calcite/p-f7fffa4a.entry.js +0 -6
- package/dist/calcite/p-fafa19e5.entry.js +0 -6
|
@@ -1,23 +1,23 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { d as datePartsFromLocalizedString, a as dateFromLocalizedString, i as inRange, b as dateToISO, g as getValueAsDateRange, s as setEndOfDay, c as dateFromISO, T as TEXT, e as getLocaleData, f as dateFromRange } from './resources-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { t as toAriaBoolean } from './dom-
|
|
13
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
14
|
-
import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
15
|
-
import { n as numberKeys } from './key-
|
|
16
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
17
|
-
import './debounce-
|
|
18
|
-
import './resources-
|
|
19
|
-
import './guid-
|
|
20
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { d as datePartsFromLocalizedString, a as dateFromLocalizedString, i as inRange, b as dateToISO, g as getValueAsDateRange, s as setEndOfDay, c as dateFromISO, T as TEXT, e as getLocaleData, f as dateFromRange } from './resources-3a95b40f.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-e92abdfa.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e64648c7.js';
|
|
10
|
+
import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-a46ce22a.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
12
|
+
import { t as toAriaBoolean } from './dom-e83e3685.js';
|
|
13
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-fdff8486.js';
|
|
14
|
+
import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized } from './locale-4983f5d8.js';
|
|
15
|
+
import { n as numberKeys } from './key-06b23960.js';
|
|
16
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-0c46daa0.js';
|
|
17
|
+
import './debounce-97af721b.js';
|
|
18
|
+
import './resources-edac802c.js';
|
|
19
|
+
import './guid-d9ecc494.js';
|
|
20
|
+
import './observers-89a35a75.js';
|
|
21
21
|
|
|
22
22
|
const CSS = {
|
|
23
23
|
menu: "menu-container",
|
|
@@ -79,15 +79,14 @@ const InputDatePicker = class {
|
|
|
79
79
|
this.open = false;
|
|
80
80
|
};
|
|
81
81
|
this.keyDownHandler = (event) => {
|
|
82
|
-
var _a, _b;
|
|
83
82
|
const { defaultPrevented, key } = event;
|
|
84
83
|
if (key === "Enter" && !defaultPrevented) {
|
|
85
84
|
this.commitValue();
|
|
86
85
|
if (this.shouldFocusRangeEnd()) {
|
|
87
|
-
|
|
86
|
+
this.endInput?.setFocus();
|
|
88
87
|
}
|
|
89
88
|
else if (this.shouldFocusRangeStart()) {
|
|
90
|
-
|
|
89
|
+
this.startInput?.setFocus();
|
|
91
90
|
}
|
|
92
91
|
if (submitForm(this)) {
|
|
93
92
|
event.preventDefault();
|
|
@@ -139,7 +138,6 @@ const InputDatePicker = class {
|
|
|
139
138
|
this.localizeInputValues();
|
|
140
139
|
};
|
|
141
140
|
this.handleDateRangeChange = (event) => {
|
|
142
|
-
var _a, _b;
|
|
143
141
|
if (!this.range || !event.detail) {
|
|
144
142
|
return;
|
|
145
143
|
}
|
|
@@ -148,10 +146,10 @@ const InputDatePicker = class {
|
|
|
148
146
|
this.setRangeValue([startDate, endDate]);
|
|
149
147
|
this.localizeInputValues();
|
|
150
148
|
if (this.shouldFocusRangeEnd()) {
|
|
151
|
-
|
|
149
|
+
this.endInput?.setFocus();
|
|
152
150
|
}
|
|
153
151
|
else if (this.shouldFocusRangeStart()) {
|
|
154
|
-
|
|
152
|
+
this.startInput?.setFocus();
|
|
155
153
|
}
|
|
156
154
|
};
|
|
157
155
|
this.setInputValue = (newValue, input = "start") => {
|
|
@@ -358,9 +356,8 @@ const InputDatePicker = class {
|
|
|
358
356
|
// --------------------------------------------------------------------------
|
|
359
357
|
/** Sets focus on the component. */
|
|
360
358
|
async setFocus() {
|
|
361
|
-
var _a;
|
|
362
359
|
await componentLoaded(this);
|
|
363
|
-
|
|
360
|
+
this.startInput?.setFocus();
|
|
364
361
|
}
|
|
365
362
|
/**
|
|
366
363
|
* Updates the position of the component.
|
|
@@ -452,14 +449,13 @@ const InputDatePicker = class {
|
|
|
452
449
|
updateHostInteraction(this);
|
|
453
450
|
}
|
|
454
451
|
render() {
|
|
455
|
-
var _a, _b;
|
|
456
452
|
const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
|
|
457
453
|
numberStringFormatter.numberFormatOptions = {
|
|
458
454
|
numberingSystem,
|
|
459
455
|
locale: effectiveLocale,
|
|
460
456
|
useGrouping: false
|
|
461
457
|
};
|
|
462
|
-
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("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:
|
|
458
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("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: this.localeData?.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
463
459
|
[CSS.menu]: true,
|
|
464
460
|
[CSS.menuActive]: this.open
|
|
465
461
|
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
@@ -470,7 +466,7 @@ const InputDatePicker = class {
|
|
|
470
466
|
}, ref: this.setTransitionEl }, h("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" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
471
467
|
input: true,
|
|
472
468
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
473
|
-
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder:
|
|
469
|
+
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), h(HiddenFormInputSlot, { component: this })));
|
|
474
470
|
}
|
|
475
471
|
setReferenceEl() {
|
|
476
472
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -1,12 +1,12 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as setRequestedIcon, h as getElementProp } from './dom-
|
|
8
|
-
import './resources-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { b as setRequestedIcon, h as getElementProp } from './dom-e83e3685.js';
|
|
8
|
+
import './resources-edac802c.js';
|
|
9
|
+
import './guid-d9ecc494.js';
|
|
10
10
|
|
|
11
11
|
var StatusIconDefaults;
|
|
12
12
|
(function (StatusIconDefaults) {
|
|
@@ -1,20 +1,20 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, i as isPrimaryPointerButton, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, s as sanitizeNumberString, a as defaultNumberingSystem, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
11
|
-
import { n as numberKeys } from './key-
|
|
12
|
-
import { T as TEXT$1, C as CSS_UTILITY } from './resources-
|
|
13
|
-
import { d as decimalPlaces } from './math-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { a as setComponentLoaded, s as setUpLoadableComponent, c as componentLoaded } from './loadable-
|
|
17
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { g as getSlotted, i as isPrimaryPointerButton, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-e83e3685.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-e92abdfa.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e64648c7.js';
|
|
10
|
+
import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, s as sanitizeNumberString, a as defaultNumberingSystem, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-4983f5d8.js';
|
|
11
|
+
import { n as numberKeys } from './key-06b23960.js';
|
|
12
|
+
import { T as TEXT$1, C as CSS_UTILITY } from './resources-edac802c.js';
|
|
13
|
+
import { d as decimalPlaces } from './math-3122e153.js';
|
|
14
|
+
import { c as createObserver } from './observers-89a35a75.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
16
|
+
import { a as setComponentLoaded, s as setUpLoadableComponent, c as componentLoaded } from './loadable-0c46daa0.js';
|
|
17
|
+
import './guid-d9ecc494.js';
|
|
18
18
|
|
|
19
19
|
const CSS = {
|
|
20
20
|
loader: "loader",
|
|
@@ -337,13 +337,11 @@ const InputNumber = class {
|
|
|
337
337
|
}
|
|
338
338
|
/** watcher to update number-to-string for max */
|
|
339
339
|
maxWatcher() {
|
|
340
|
-
|
|
341
|
-
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
340
|
+
this.maxString = this.max?.toString() || null;
|
|
342
341
|
}
|
|
343
342
|
/** watcher to update number-to-string for min */
|
|
344
343
|
minWatcher() {
|
|
345
|
-
|
|
346
|
-
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
344
|
+
this.minString = this.min?.toString() || null;
|
|
347
345
|
}
|
|
348
346
|
valueWatcher(newValue, previousValue) {
|
|
349
347
|
if (!this.userChangedValue) {
|
|
@@ -372,7 +370,6 @@ const InputNumber = class {
|
|
|
372
370
|
//
|
|
373
371
|
//--------------------------------------------------------------------------
|
|
374
372
|
connectedCallback() {
|
|
375
|
-
var _a;
|
|
376
373
|
connectLocalized(this);
|
|
377
374
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
378
375
|
this.status = getElementProp(this.el, "status", this.status);
|
|
@@ -389,7 +386,7 @@ const InputNumber = class {
|
|
|
389
386
|
origin: "connected",
|
|
390
387
|
value: isValidNumber(this.value) ? this.value : ""
|
|
391
388
|
});
|
|
392
|
-
|
|
389
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
393
390
|
this.setDisabledAction();
|
|
394
391
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
395
392
|
}
|
|
@@ -397,18 +394,16 @@ const InputNumber = class {
|
|
|
397
394
|
setComponentLoaded(this);
|
|
398
395
|
}
|
|
399
396
|
disconnectedCallback() {
|
|
400
|
-
var _a;
|
|
401
397
|
disconnectLabel(this);
|
|
402
398
|
disconnectForm(this);
|
|
403
399
|
disconnectLocalized(this);
|
|
404
|
-
|
|
400
|
+
this.mutationObserver?.disconnect();
|
|
405
401
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
406
402
|
}
|
|
407
403
|
componentWillLoad() {
|
|
408
|
-
var _a, _b;
|
|
409
404
|
setUpLoadableComponent(this);
|
|
410
|
-
this.maxString =
|
|
411
|
-
this.minString =
|
|
405
|
+
this.maxString = this.max?.toString();
|
|
406
|
+
this.minString = this.min?.toString();
|
|
412
407
|
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
413
408
|
}
|
|
414
409
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
@@ -431,14 +426,12 @@ const InputNumber = class {
|
|
|
431
426
|
//--------------------------------------------------------------------------
|
|
432
427
|
/** Sets focus on the component. */
|
|
433
428
|
async setFocus() {
|
|
434
|
-
var _a;
|
|
435
429
|
await componentLoaded(this);
|
|
436
|
-
|
|
430
|
+
this.childNumberEl?.focus();
|
|
437
431
|
}
|
|
438
432
|
/** Selects all text of the component's `value`. */
|
|
439
433
|
async selectText() {
|
|
440
|
-
|
|
441
|
-
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
434
|
+
this.childNumberEl?.select();
|
|
442
435
|
}
|
|
443
436
|
onLabelClick() {
|
|
444
437
|
this.setFocus();
|
|
@@ -469,10 +462,9 @@ const InputNumber = class {
|
|
|
469
462
|
});
|
|
470
463
|
}
|
|
471
464
|
syncHiddenFormInput(input) {
|
|
472
|
-
var _a, _b, _c, _d;
|
|
473
465
|
input.type = "number";
|
|
474
|
-
input.min =
|
|
475
|
-
input.max =
|
|
466
|
+
input.min = this.min?.toString(10) ?? "";
|
|
467
|
+
input.max = this.max?.toString(10) ?? "";
|
|
476
468
|
}
|
|
477
469
|
setDisabledAction() {
|
|
478
470
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -1,17 +1,17 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { T as TEXT$1, C as CSS_UTILITY } from './resources-
|
|
11
|
-
import { c as createObserver } from './observers-
|
|
12
|
-
import { u as updateHostInteraction } from './interactive-
|
|
13
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { g as getSlotted, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-e83e3685.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-e92abdfa.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e64648c7.js';
|
|
10
|
+
import { T as TEXT$1, C as CSS_UTILITY } from './resources-edac802c.js';
|
|
11
|
+
import { c as createObserver } from './observers-89a35a75.js';
|
|
12
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
13
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-0c46daa0.js';
|
|
14
|
+
import './guid-d9ecc494.js';
|
|
15
15
|
|
|
16
16
|
const CSS = {
|
|
17
17
|
loader: "loader",
|
|
@@ -210,7 +210,6 @@ const InputText = class {
|
|
|
210
210
|
//
|
|
211
211
|
//--------------------------------------------------------------------------
|
|
212
212
|
connectedCallback() {
|
|
213
|
-
var _a;
|
|
214
213
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
215
214
|
this.status = getElementProp(this.el, "status", this.status);
|
|
216
215
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -221,15 +220,14 @@ const InputText = class {
|
|
|
221
220
|
this.setPreviousValue(this.value);
|
|
222
221
|
connectLabel(this);
|
|
223
222
|
connectForm(this);
|
|
224
|
-
|
|
223
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
225
224
|
this.setDisabledAction();
|
|
226
225
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
227
226
|
}
|
|
228
227
|
disconnectedCallback() {
|
|
229
|
-
var _a;
|
|
230
228
|
disconnectLabel(this);
|
|
231
229
|
disconnectForm(this);
|
|
232
|
-
|
|
230
|
+
this.mutationObserver?.disconnect();
|
|
233
231
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
234
232
|
}
|
|
235
233
|
componentWillLoad() {
|
|
@@ -249,14 +247,12 @@ const InputText = class {
|
|
|
249
247
|
//--------------------------------------------------------------------------
|
|
250
248
|
/** Sets focus on the component. */
|
|
251
249
|
async setFocus() {
|
|
252
|
-
var _a;
|
|
253
250
|
await componentLoaded(this);
|
|
254
|
-
|
|
251
|
+
this.childEl?.focus();
|
|
255
252
|
}
|
|
256
253
|
/** Selects all text of the component's `value`. */
|
|
257
254
|
async selectText() {
|
|
258
|
-
|
|
259
|
-
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
255
|
+
this.childEl?.select();
|
|
260
256
|
}
|
|
261
257
|
onLabelClick() {
|
|
262
258
|
this.setFocus();
|
|
@@ -1,19 +1,19 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { i as isValidNumber, g as getSupportedLocale, b as getSupportedNumberingSystem, n as numberStringFormatter, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { n as numberKeys, i as isActivationKey } from './key-
|
|
13
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
14
|
-
import './observers-
|
|
15
|
-
import './dom-
|
|
16
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { g as guid } from './guid-d9ecc494.js';
|
|
8
|
+
import { i as isValidNumber, g as getSupportedLocale, b as getSupportedNumberingSystem, n as numberStringFormatter, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-4983f5d8.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-e92abdfa.js';
|
|
10
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e64648c7.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
12
|
+
import { n as numberKeys, i as isActivationKey } from './key-06b23960.js';
|
|
13
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-0c46daa0.js';
|
|
14
|
+
import './observers-89a35a75.js';
|
|
15
|
+
import './dom-e83e3685.js';
|
|
16
|
+
import './resources-edac802c.js';
|
|
17
17
|
|
|
18
18
|
const maxTenthForMinuteAndSecond = 5;
|
|
19
19
|
function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
|
|
@@ -56,7 +56,6 @@ function getLocaleHourCycle(locale, numberingSystem) {
|
|
|
56
56
|
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
57
57
|
}
|
|
58
58
|
function getLocalizedTimePart(part, parts) {
|
|
59
|
-
var _a, _b, _c, _d;
|
|
60
59
|
if (!part || !parts) {
|
|
61
60
|
return null;
|
|
62
61
|
}
|
|
@@ -65,7 +64,7 @@ function getLocalizedTimePart(part, parts) {
|
|
|
65
64
|
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
66
65
|
const hourSuffix = parts[hourIndex + 1];
|
|
67
66
|
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
68
|
-
?
|
|
67
|
+
? hourSuffix.value?.trim() || null
|
|
69
68
|
: null;
|
|
70
69
|
}
|
|
71
70
|
if (part === "minuteSuffix") {
|
|
@@ -73,15 +72,15 @@ function getLocalizedTimePart(part, parts) {
|
|
|
73
72
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
74
73
|
const minuteSuffix = parts[minuteIndex + 1];
|
|
75
74
|
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
76
|
-
?
|
|
75
|
+
? minuteSuffix.value?.trim() || null
|
|
77
76
|
: null;
|
|
78
77
|
}
|
|
79
78
|
if (part === "secondSuffix") {
|
|
80
79
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
81
80
|
const secondSuffix = parts[secondIndex + 1];
|
|
82
|
-
return secondSuffix && secondSuffix.type === "literal" ?
|
|
81
|
+
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
83
82
|
}
|
|
84
|
-
return
|
|
83
|
+
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
85
84
|
}
|
|
86
85
|
function getMeridiem(hour) {
|
|
87
86
|
if (!isValidNumber(hour)) {
|
|
@@ -140,7 +139,7 @@ function localizeTimeString({ value, locale, numberingSystem, includeSeconds = t
|
|
|
140
139
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
141
140
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
142
141
|
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
143
|
-
return
|
|
142
|
+
return formatter?.format(dateFromTimeString) || null;
|
|
144
143
|
}
|
|
145
144
|
function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
146
145
|
if (!isValidTime(value)) {
|
|
@@ -423,9 +422,8 @@ const InputTimePicker = class {
|
|
|
423
422
|
// --------------------------------------------------------------------------
|
|
424
423
|
/** Sets focus on the component. */
|
|
425
424
|
async setFocus() {
|
|
426
|
-
var _a;
|
|
427
425
|
await componentLoaded(this);
|
|
428
|
-
|
|
426
|
+
this.calciteInputEl?.setFocus();
|
|
429
427
|
}
|
|
430
428
|
/**
|
|
431
429
|
* Updates the position of the component.
|
|
@@ -433,8 +431,7 @@ const InputTimePicker = class {
|
|
|
433
431
|
* @param delayed
|
|
434
432
|
*/
|
|
435
433
|
async reposition(delayed = false) {
|
|
436
|
-
|
|
437
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
|
434
|
+
this.popoverEl?.reposition(delayed);
|
|
438
435
|
}
|
|
439
436
|
onLabelClick() {
|
|
440
437
|
this.setFocus();
|
|
@@ -842,7 +839,6 @@ const TimePicker = class {
|
|
|
842
839
|
}
|
|
843
840
|
};
|
|
844
841
|
this.setValuePart = (key, value, emit = true) => {
|
|
845
|
-
var _a;
|
|
846
842
|
const { effectiveLocale: locale, numberingSystem } = this;
|
|
847
843
|
if (key === "meridiem") {
|
|
848
844
|
this.meridiem = value;
|
|
@@ -885,7 +881,8 @@ const TimePicker = class {
|
|
|
885
881
|
this.value = null;
|
|
886
882
|
}
|
|
887
883
|
this.localizedMeridiem = this.value
|
|
888
|
-
?
|
|
884
|
+
? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
|
|
885
|
+
?.localizedMeridiem || null
|
|
889
886
|
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
890
887
|
if (emit) {
|
|
891
888
|
this.calciteInternalTimePickerChange.emit();
|
|
@@ -1014,9 +1011,8 @@ const TimePicker = class {
|
|
|
1014
1011
|
* @param target
|
|
1015
1012
|
*/
|
|
1016
1013
|
async setFocus(target) {
|
|
1017
|
-
var _a;
|
|
1018
1014
|
await componentLoaded(this);
|
|
1019
|
-
|
|
1015
|
+
this[`${target || "hour"}El`]?.focus();
|
|
1020
1016
|
}
|
|
1021
1017
|
// --------------------------------------------------------------------------
|
|
1022
1018
|
//
|
|
@@ -1,20 +1,20 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, i as isPrimaryPointerButton, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, a as defaultNumberingSystem, s as sanitizeNumberString, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
11
|
-
import { n as numberKeys } from './key-
|
|
12
|
-
import { T as TEXT$1, C as CSS_UTILITY } from './resources-
|
|
13
|
-
import { d as decimalPlaces } from './math-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
17
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { g as getSlotted, i as isPrimaryPointerButton, b as setRequestedIcon, h as getElementProp, a as getElementDir } from './dom-e83e3685.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-e92abdfa.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e64648c7.js';
|
|
10
|
+
import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, a as defaultNumberingSystem, s as sanitizeNumberString, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-4983f5d8.js';
|
|
11
|
+
import { n as numberKeys } from './key-06b23960.js';
|
|
12
|
+
import { T as TEXT$1, C as CSS_UTILITY } from './resources-edac802c.js';
|
|
13
|
+
import { d as decimalPlaces } from './math-3122e153.js';
|
|
14
|
+
import { c as createObserver } from './observers-89a35a75.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
16
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-0c46daa0.js';
|
|
17
|
+
import './guid-d9ecc494.js';
|
|
18
18
|
|
|
19
19
|
const CSS = {
|
|
20
20
|
loader: "loader",
|
|
@@ -396,13 +396,11 @@ const Input = class {
|
|
|
396
396
|
}
|
|
397
397
|
/** watcher to update number-to-string for max */
|
|
398
398
|
maxWatcher() {
|
|
399
|
-
|
|
400
|
-
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
399
|
+
this.maxString = this.max?.toString() || null;
|
|
401
400
|
}
|
|
402
401
|
/** watcher to update number-to-string for min */
|
|
403
402
|
minWatcher() {
|
|
404
|
-
|
|
405
|
-
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
403
|
+
this.minString = this.min?.toString() || null;
|
|
406
404
|
}
|
|
407
405
|
valueWatcher(newValue, previousValue) {
|
|
408
406
|
if (!this.userChangedValue) {
|
|
@@ -436,7 +434,6 @@ const Input = class {
|
|
|
436
434
|
//
|
|
437
435
|
//--------------------------------------------------------------------------
|
|
438
436
|
connectedCallback() {
|
|
439
|
-
var _a;
|
|
440
437
|
connectLocalized(this);
|
|
441
438
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
442
439
|
this.status = getElementProp(this.el, "status", this.status);
|
|
@@ -455,24 +452,22 @@ const Input = class {
|
|
|
455
452
|
value: isValidNumber(this.value) ? this.value : ""
|
|
456
453
|
});
|
|
457
454
|
}
|
|
458
|
-
|
|
455
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
459
456
|
this.setDisabledAction();
|
|
460
457
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
461
458
|
}
|
|
462
459
|
disconnectedCallback() {
|
|
463
|
-
var _a;
|
|
464
460
|
disconnectLabel(this);
|
|
465
461
|
disconnectForm(this);
|
|
466
462
|
disconnectLocalized(this);
|
|
467
|
-
|
|
463
|
+
this.mutationObserver?.disconnect();
|
|
468
464
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
469
465
|
}
|
|
470
466
|
componentWillLoad() {
|
|
471
|
-
var _a, _b;
|
|
472
467
|
setUpLoadableComponent(this);
|
|
473
468
|
this.childElType = this.type === "textarea" ? "textarea" : "input";
|
|
474
|
-
this.maxString =
|
|
475
|
-
this.minString =
|
|
469
|
+
this.maxString = this.max?.toString();
|
|
470
|
+
this.minString = this.min?.toString();
|
|
476
471
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
477
472
|
}
|
|
478
473
|
componentDidLoad() {
|
|
@@ -498,23 +493,21 @@ const Input = class {
|
|
|
498
493
|
//--------------------------------------------------------------------------
|
|
499
494
|
/** Sets focus on the component. */
|
|
500
495
|
async setFocus() {
|
|
501
|
-
var _a, _b;
|
|
502
496
|
await componentLoaded(this);
|
|
503
497
|
if (this.type === "number") {
|
|
504
|
-
|
|
498
|
+
this.childNumberEl?.focus();
|
|
505
499
|
}
|
|
506
500
|
else {
|
|
507
|
-
|
|
501
|
+
this.childEl?.focus();
|
|
508
502
|
}
|
|
509
503
|
}
|
|
510
504
|
/** Selects all text of the component's `value`. */
|
|
511
505
|
async selectText() {
|
|
512
|
-
var _a, _b;
|
|
513
506
|
if (this.type === "number") {
|
|
514
|
-
|
|
507
|
+
this.childNumberEl?.select();
|
|
515
508
|
}
|
|
516
509
|
else {
|
|
517
|
-
|
|
510
|
+
this.childEl?.select();
|
|
518
511
|
}
|
|
519
512
|
}
|
|
520
513
|
onLabelClick() {
|
|
@@ -546,11 +539,10 @@ const Input = class {
|
|
|
546
539
|
});
|
|
547
540
|
}
|
|
548
541
|
syncHiddenFormInput(input) {
|
|
549
|
-
var _a, _b, _c, _d;
|
|
550
542
|
if (this.type === "number") {
|
|
551
543
|
input.type = "number";
|
|
552
|
-
input.min =
|
|
553
|
-
input.max =
|
|
544
|
+
input.min = this.min?.toString(10) ?? "";
|
|
545
|
+
input.max = this.max?.toString(10) ?? "";
|
|
554
546
|
}
|
|
555
547
|
else if (this.type === "text") {
|
|
556
548
|
input.type = "text";
|
|
@@ -1,13 +1,13 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label-
|
|
8
|
-
import './dom-
|
|
9
|
-
import './resources-
|
|
10
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label-e92abdfa.js';
|
|
8
|
+
import './dom-e83e3685.js';
|
|
9
|
+
import './resources-edac802c.js';
|
|
10
|
+
import './guid-d9ecc494.js';
|
|
11
11
|
|
|
12
12
|
const CSS = {
|
|
13
13
|
container: "container"
|
|
@@ -1,14 +1,14 @@
|
|
|
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.654
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as getElementDir, f as focusElement } from './dom-
|
|
8
|
-
import { C as CSS_UTILITY } from './resources-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-83004828.js';
|
|
7
|
+
import { a as getElementDir, f as focusElement } from './dom-e83e3685.js';
|
|
8
|
+
import { C as CSS_UTILITY } from './resources-edac802c.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-9e6a5f71.js';
|
|
10
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-0c46daa0.js';
|
|
11
|
+
import './guid-d9ecc494.js';
|
|
12
12
|
|
|
13
13
|
const linkCss = "@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline}:host a,:host span{position:relative;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:middle;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-block-start:-0.25em}:host .calcite-link--icon.icon-start{margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position-x:0%, 100%;background-position-y:min(1.5em, 100%);background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
14
14
|
|