@esri/calcite-components 1.0.0-next.653 → 1.0.0-next.655
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-043ea88f.entry.js +6 -0
- package/dist/calcite/{p-dee6d536.js → p-04a542d5.js} +2 -2
- package/dist/calcite/{p-2ec7c680.js → p-05c07433.js} +1 -1
- package/dist/calcite/{p-28884998.entry.js → p-06b8eaf1.entry.js} +2 -2
- package/dist/calcite/p-114b5d1c.entry.js +6 -0
- package/dist/calcite/p-15500e9a.entry.js +6 -0
- package/dist/calcite/p-1982152c.entry.js +6 -0
- package/dist/calcite/p-19eef56a.entry.js +6 -0
- package/dist/calcite/p-1d01393e.js +6 -0
- package/dist/calcite/p-1d457dd1.js +6 -0
- package/dist/calcite/p-20a4c9c3.entry.js +6 -0
- package/dist/calcite/{p-406fcc95.entry.js → p-21588351.entry.js} +2 -2
- package/dist/calcite/p-26e36a96.entry.js +6 -0
- package/dist/calcite/p-2964e90c.entry.js +6 -0
- package/dist/calcite/{p-49701eee.js → p-29dc2fc3.js} +1 -1
- package/dist/calcite/{p-bff4c20d.entry.js → p-2e002bf7.entry.js} +2 -2
- package/dist/calcite/p-31512acf.js +6 -0
- package/dist/calcite/{p-e2f5256c.entry.js → p-3403e756.entry.js} +2 -2
- package/dist/calcite/p-340e338f.entry.js +6 -0
- package/dist/calcite/p-3b4fbb37.entry.js +6 -0
- package/dist/calcite/{p-220b7569.entry.js → p-3c0dcfb7.entry.js} +2 -2
- package/dist/calcite/{p-048b7796.js → p-3f55b93b.js} +1 -1
- package/dist/calcite/p-3fcadef4.entry.js +6 -0
- package/dist/calcite/p-442b6798.entry.js +6 -0
- package/dist/calcite/p-46dd2ba4.entry.js +6 -0
- package/dist/calcite/p-47685252.entry.js +6 -0
- package/dist/calcite/p-4a861228.entry.js +6 -0
- package/dist/calcite/p-4b46c28a.entry.js +6 -0
- package/dist/calcite/{p-8fb7ee35.entry.js → p-4f08640a.entry.js} +2 -2
- package/dist/calcite/p-5007e6bd.entry.js +6 -0
- package/dist/calcite/{p-d849b5b6.entry.js → p-56ad5531.entry.js} +2 -2
- package/dist/calcite/p-595da7bb.entry.js +6 -0
- package/dist/calcite/{p-d5e70d38.entry.js → p-62677747.entry.js} +2 -2
- package/dist/calcite/{p-24c048b5.js → p-6c29460f.js} +1 -1
- package/dist/calcite/{p-6e0ecbed.entry.js → p-70af3d23.entry.js} +2 -2
- package/dist/calcite/p-70e5d6c1.entry.js +6 -0
- package/dist/calcite/{p-36046779.js → p-75665b0d.js} +1 -1
- package/dist/calcite/p-789b6bad.entry.js +6 -0
- package/dist/calcite/p-7a197dad.entry.js +6 -0
- package/dist/calcite/p-7ce637a8.entry.js +6 -0
- package/dist/calcite/p-7dfeef91.entry.js +6 -0
- package/dist/calcite/{p-3dc251f4.entry.js → p-8087a217.entry.js} +2 -2
- package/dist/calcite/p-8693a7bb.entry.js +6 -0
- package/dist/calcite/p-883da6ae.js +6 -0
- package/dist/calcite/{p-1e7d0a3e.entry.js → p-894b85ce.entry.js} +2 -2
- package/dist/calcite/{p-675dfbe8.entry.js → p-8d68685d.entry.js} +2 -2
- package/dist/calcite/{p-44a78e82.entry.js → p-914480aa.entry.js} +2 -2
- package/dist/calcite/p-93a37211.entry.js +6 -0
- package/dist/calcite/{p-b567d164.js → p-94d9499a.js} +1 -1
- package/dist/calcite/p-97338377.entry.js +6 -0
- package/dist/calcite/p-9a2d8ab0.entry.js +6 -0
- package/dist/calcite/{p-627cd0ab.entry.js → p-9b91641b.entry.js} +2 -2
- package/dist/calcite/p-9be856ff.entry.js +6 -0
- package/dist/calcite/p-a13d26d4.entry.js +6 -0
- package/dist/calcite/{p-e1fa408f.js → p-a176bb86.js} +2 -2
- package/dist/calcite/p-a2aa2633.entry.js +6 -0
- package/dist/calcite/{p-3274abf2.js → p-a46eae3b.js} +2 -2
- package/dist/calcite/{p-b0cecf6b.js → p-a9ad5958.js} +1 -1
- package/dist/calcite/p-ab331d08.entry.js +6 -0
- package/dist/calcite/p-adc56e8e.entry.js +6 -0
- package/dist/calcite/p-ae16f981.entry.js +6 -0
- package/dist/calcite/{p-0a1f589a.js → p-af6229cc.js} +2 -2
- package/dist/calcite/{p-5a953a75.js → p-b2464ba9.js} +1 -1
- package/dist/calcite/p-b257f060.entry.js +6 -0
- package/dist/calcite/p-b3de53d6.js +6 -0
- package/dist/calcite/p-b52352f0.entry.js +6 -0
- package/dist/calcite/p-b60fc503.js +6 -0
- package/dist/calcite/{p-5bb6cc45.js → p-bb298c47.js} +1 -1
- package/dist/calcite/{p-4296ca3f.js → p-c55e7664.js} +1 -1
- package/dist/calcite/{p-b9184c58.entry.js → p-c66c342c.entry.js} +2 -2
- package/dist/calcite/p-c8cb4d64.entry.js +6 -0
- package/dist/calcite/{p-f857cfa2.entry.js → p-c91c0d84.entry.js} +2 -2
- package/dist/calcite/{p-74c02e3a.js → p-ce2cd41b.js} +3 -3
- package/dist/calcite/{p-98183f7a.js → p-d1250cd5.js} +1 -1
- package/dist/calcite/p-d1ea7e98.entry.js +6 -0
- package/dist/calcite/p-d4897627.js +6 -0
- package/dist/calcite/{p-1a859cf5.js → p-d63eca00.js} +1 -1
- package/dist/calcite/p-d7a2f588.js +6 -0
- package/dist/calcite/p-d9073ba3.entry.js +6 -0
- package/dist/calcite/p-df638ece.entry.js +6 -0
- package/dist/calcite/{p-c8946ac4.js → p-e0117b64.js} +1 -1
- package/dist/calcite/p-e17d5384.entry.js +6 -0
- package/dist/calcite/p-ea9d9c5c.entry.js +6 -0
- package/dist/calcite/{p-4869c10e.js → p-f33ca6d1.js} +2 -2
- package/dist/calcite/p-f4006464.js +6 -0
- package/dist/calcite/p-f5c2dc70.entry.js +6 -0
- package/dist/calcite/{p-a53596e5.js → p-f5dbda7d.js} +1 -1
- package/dist/calcite/{p-e452903d.js → p-f735579b.js} +1 -1
- package/dist/calcite/p-f86dead7.entry.js +6 -0
- package/dist/calcite/{p-1cdae83d.js → p-fb2017d2.js} +1 -1
- package/dist/calcite/{p-a1a81de3.entry.js → p-fd4ed53a.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-8d248ee3.js → ExpandToggle-b5b731d6.js} +7 -8
- package/dist/cjs/{Heading-dd6d6eb7.js → Heading-86fb7f76.js} +2 -2
- package/dist/cjs/{app-globals-35dd7e0f.js → app-globals-f51875dc.js} +2 -2
- package/dist/cjs/{array-bc2da329.js → array-6f9691d3.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 +36 -28
- 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 +32 -36
- 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 +23 -27
- 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-01e94659.js} +3 -3
- package/dist/cjs/{debounce-fec2cc26.js → debounce-9787fe3f.js} +1 -1
- package/dist/cjs/{dom-8db20575.js → dom-0c006683.js} +13 -13
- package/dist/cjs/{filter-4951900a.js → filter-1f20ad58.js} +3 -3
- package/dist/cjs/{floating-ui-16ec7ef7.js → floating-ui-357b6162.js} +7 -8
- package/dist/cjs/{focusTrapComponent-1f7ac746.js → focusTrapComponent-f6ec01ac.js} +4 -6
- package/dist/cjs/{form-df338099.js → form-affb950f.js} +5 -7
- package/dist/cjs/{guid-7c9bf705.js → guid-bcf2e27d.js} +1 -1
- package/dist/cjs/{index-11cbd6ae.js → index-e7f6d8a9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-12572356.js → interactive-50819d76.js} +1 -1
- package/dist/cjs/{interfaces-bcf5a504.js → interfaces-65e8ab48.js} +1 -1
- package/dist/cjs/{key-5efe25db.js → key-27cd9b48.js} +1 -1
- package/dist/cjs/{label-f2b57841.js → label-b53d0971.js} +4 -5
- package/dist/cjs/{loadable-fdc027c5.js → loadable-5fff6d49.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ad2e4def.js → locale-7c7ea778.js} +7 -8
- package/dist/cjs/{math-e3bf7036.js → math-b2c68418.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-25b21483.js} +6 -6
- package/dist/cjs/{observers-1cb80ad6.js → observers-93a0a981.js} +1 -1
- package/dist/cjs/{openCloseComponent-42ea9fde.js → openCloseComponent-7e8c6590.js} +1 -1
- package/dist/cjs/{resources-61c779db.js → resources-154a6134.js} +1 -1
- package/dist/cjs/{resources-883ffa52.js → resources-2a151557.js} +3 -3
- package/dist/cjs/{resources-f5a03517.js → resources-34896b85.js} +1 -1
- package/dist/cjs/{resources-125245bd.js → resources-9a470a7e.js} +1 -1
- package/dist/cjs/{resources-e6605c29.js → resources-bdc925d6.js} +1 -1
- package/dist/cjs/{resources-01342a2b.js → resources-d4a726c6.js} +11 -16
- package/dist/cjs/{sortable.esm-ec7f83ae.js → sortable.esm-2e3e4661.js} +1 -1
- package/dist/cjs/{utils-727a0b8e.js → utils-dda0c978.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 +7 -8
- package/dist/collection/components/date-picker-month-header/resources.js +14 -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 +17 -21
- 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 +4 -6
- 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 +17 -21
- 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 +4 -6
- 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 +19 -7
- 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-67f409ce.js} +7 -8
- package/dist/esm/{Heading-f71bbfe4.js → Heading-7d30eb95.js} +2 -2
- package/dist/esm/{app-globals-61e0f5bb.js → app-globals-91c967df.js} +2 -2
- package/dist/esm/{array-f3af604a.js → array-0f371fbe.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 +36 -28
- 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 +32 -36
- 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 +23 -27
- 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-7375791c.js} +3 -3
- package/dist/esm/{debounce-511eda6a.js → debounce-fa1ba8dd.js} +1 -1
- package/dist/esm/{dom-3d0a39a1.js → dom-f86880a8.js} +13 -13
- package/dist/esm/{filter-275e53f4.js → filter-fe83cf69.js} +3 -3
- package/dist/esm/{floating-ui-fc56a23b.js → floating-ui-06e2aace.js} +7 -8
- package/dist/esm/{focusTrapComponent-2dcf390f.js → focusTrapComponent-725a0cce.js} +4 -6
- package/dist/esm/{form-99c3afb4.js → form-411e884b.js} +5 -7
- package/dist/esm/{guid-b0902c5e.js → guid-8a166774.js} +1 -1
- package/dist/esm/{index-a3e37dea.js → index-d632f7a1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ee12cb1f.js → interactive-3f5bd2e0.js} +1 -1
- package/dist/esm/{interfaces-461b2615.js → interfaces-7ca05385.js} +1 -1
- package/dist/esm/{key-26613542.js → key-d42e35a4.js} +1 -1
- package/dist/esm/{label-b9c0aa89.js → label-39b9caf1.js} +4 -5
- package/dist/esm/{loadable-9a013351.js → loadable-ecb83b69.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-35d09242.js → locale-9cc8d692.js} +7 -8
- package/dist/esm/{math-5fdb35a6.js → math-03369c68.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-928c5ed3.js → nonChromiumPlatformUtils-0dda1ba1.js} +6 -6
- package/dist/esm/{observers-1bc07c7a.js → observers-2b56a317.js} +1 -1
- package/dist/esm/{openCloseComponent-1a0f1e5f.js → openCloseComponent-08e9135e.js} +1 -1
- package/dist/esm/{resources-a1b41b10.js → resources-122bdb3c.js} +1 -1
- package/dist/esm/{resources-fd9aac1d.js → resources-34cf847c.js} +11 -16
- package/dist/esm/{resources-205e1a5e.js → resources-8ab3148f.js} +3 -3
- package/dist/esm/{resources-52b91f29.js → resources-b8533188.js} +1 -1
- package/dist/esm/{resources-9c2b241b.js → resources-c1317324.js} +1 -1
- package/dist/esm/{resources-0440659e.js → resources-cca3a0a9.js} +1 -1
- package/dist/esm/{sortable.esm-a20e5345.js → sortable.esm-baccf0e5.js} +1 -1
- package/dist/esm/{utils-a06ba7b4.js → utils-a76ce9e9.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/dist/types/components/date-picker-month-header/resources.d.ts +13 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -1
- package/hydrate/index.js +377 -509
- 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-797fd5dd.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-9e30a932.entry.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-ae684eb2.entry.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,27 +1,27 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const resources = require('./resources-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
14
|
-
const floatingUi = require('./floating-ui-
|
|
15
|
-
const interactive = require('./interactive-
|
|
16
|
-
const dom = require('./dom-
|
|
17
|
-
const openCloseComponent = require('./openCloseComponent-
|
|
18
|
-
const locale = require('./locale-
|
|
19
|
-
const key = require('./key-
|
|
20
|
-
const loadable = require('./loadable-
|
|
21
|
-
require('./debounce-
|
|
22
|
-
require('./resources-
|
|
23
|
-
require('./guid-
|
|
24
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const resources = require('./resources-2a151557.js');
|
|
12
|
+
const label = require('./label-b53d0971.js');
|
|
13
|
+
const form = require('./form-affb950f.js');
|
|
14
|
+
const floatingUi = require('./floating-ui-357b6162.js');
|
|
15
|
+
const interactive = require('./interactive-50819d76.js');
|
|
16
|
+
const dom = require('./dom-0c006683.js');
|
|
17
|
+
const openCloseComponent = require('./openCloseComponent-7e8c6590.js');
|
|
18
|
+
const locale = require('./locale-7c7ea778.js');
|
|
19
|
+
const key = require('./key-27cd9b48.js');
|
|
20
|
+
const loadable = require('./loadable-5fff6d49.js');
|
|
21
|
+
require('./debounce-9787fe3f.js');
|
|
22
|
+
require('./resources-154a6134.js');
|
|
23
|
+
require('./guid-bcf2e27d.js');
|
|
24
|
+
require('./observers-93a0a981.js');
|
|
25
25
|
|
|
26
26
|
const CSS = {
|
|
27
27
|
menu: "menu-container",
|
|
@@ -83,15 +83,14 @@ const InputDatePicker = class {
|
|
|
83
83
|
this.open = false;
|
|
84
84
|
};
|
|
85
85
|
this.keyDownHandler = (event) => {
|
|
86
|
-
var _a, _b;
|
|
87
86
|
const { defaultPrevented, key } = event;
|
|
88
87
|
if (key === "Enter" && !defaultPrevented) {
|
|
89
88
|
this.commitValue();
|
|
90
89
|
if (this.shouldFocusRangeEnd()) {
|
|
91
|
-
|
|
90
|
+
this.endInput?.setFocus();
|
|
92
91
|
}
|
|
93
92
|
else if (this.shouldFocusRangeStart()) {
|
|
94
|
-
|
|
93
|
+
this.startInput?.setFocus();
|
|
95
94
|
}
|
|
96
95
|
if (form.submitForm(this)) {
|
|
97
96
|
event.preventDefault();
|
|
@@ -143,7 +142,6 @@ const InputDatePicker = class {
|
|
|
143
142
|
this.localizeInputValues();
|
|
144
143
|
};
|
|
145
144
|
this.handleDateRangeChange = (event) => {
|
|
146
|
-
var _a, _b;
|
|
147
145
|
if (!this.range || !event.detail) {
|
|
148
146
|
return;
|
|
149
147
|
}
|
|
@@ -152,10 +150,10 @@ const InputDatePicker = class {
|
|
|
152
150
|
this.setRangeValue([startDate, endDate]);
|
|
153
151
|
this.localizeInputValues();
|
|
154
152
|
if (this.shouldFocusRangeEnd()) {
|
|
155
|
-
|
|
153
|
+
this.endInput?.setFocus();
|
|
156
154
|
}
|
|
157
155
|
else if (this.shouldFocusRangeStart()) {
|
|
158
|
-
|
|
156
|
+
this.startInput?.setFocus();
|
|
159
157
|
}
|
|
160
158
|
};
|
|
161
159
|
this.setInputValue = (newValue, input = "start") => {
|
|
@@ -223,17 +221,12 @@ const InputDatePicker = class {
|
|
|
223
221
|
this.setInputValue(oldValue);
|
|
224
222
|
}
|
|
225
223
|
};
|
|
226
|
-
this.commonDateSeparators = [".", "-", "/"];
|
|
227
224
|
this.formatNumerals = (value) => value
|
|
228
225
|
? value
|
|
229
226
|
.split("")
|
|
230
|
-
.map((char) =>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
? this.localeData.separator
|
|
234
|
-
: key.numberKeys.includes(char)
|
|
235
|
-
? locale.numberStringFormatter.numberFormatter.format(Number(char))
|
|
236
|
-
: char)
|
|
227
|
+
.map((char) => key.numberKeys.includes(char)
|
|
228
|
+
? locale.numberStringFormatter.numberFormatter.format(Number(char))
|
|
229
|
+
: char)
|
|
237
230
|
.join("")
|
|
238
231
|
: "";
|
|
239
232
|
this.disabled = false;
|
|
@@ -362,9 +355,8 @@ const InputDatePicker = class {
|
|
|
362
355
|
// --------------------------------------------------------------------------
|
|
363
356
|
/** Sets focus on the component. */
|
|
364
357
|
async setFocus() {
|
|
365
|
-
var _a;
|
|
366
358
|
await loadable.componentLoaded(this);
|
|
367
|
-
|
|
359
|
+
this.startInput?.setFocus();
|
|
368
360
|
}
|
|
369
361
|
/**
|
|
370
362
|
* Updates the position of the component.
|
|
@@ -456,14 +448,13 @@ const InputDatePicker = class {
|
|
|
456
448
|
interactive.updateHostInteraction(this);
|
|
457
449
|
}
|
|
458
450
|
render() {
|
|
459
|
-
var _a, _b;
|
|
460
451
|
const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
|
|
461
452
|
locale.numberStringFormatter.numberFormatOptions = {
|
|
462
453
|
numberingSystem,
|
|
463
454
|
locale: effectiveLocale,
|
|
464
455
|
useGrouping: false
|
|
465
456
|
};
|
|
466
|
-
return (index.h(index.Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": dom.toAriaBoolean(this.open), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this),
|
|
457
|
+
return (index.h(index.Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": dom.toAriaBoolean(this.open), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this), "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" })), index.h("div", { "aria-hidden": dom.toAriaBoolean(!this.open), class: {
|
|
467
458
|
[CSS.menu]: true,
|
|
468
459
|
[CSS.menuActive]: this.open
|
|
469
460
|
}, ref: this.setFloatingEl }, index.h("div", { class: {
|
|
@@ -471,10 +462,10 @@ const InputDatePicker = class {
|
|
|
471
462
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
472
463
|
[floatingUi.FloatingCSS.animation]: true,
|
|
473
464
|
[floatingUi.FloatingCSS.animationActive]: this.open
|
|
474
|
-
}, ref: this.setTransitionEl }, index.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,
|
|
465
|
+
}, ref: this.setTransitionEl }, index.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, 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" && (index.h("div", { class: "horizontal-arrow-container" }, index.h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (index.h("div", { class: "vertical-arrow-container" }, index.h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (index.h("div", { class: "input-wrapper", ref: this.setEndWrapper }, index.h("calcite-input", { class: {
|
|
475
466
|
input: true,
|
|
476
467
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
477
|
-
}, disabled: disabled, icon: "calendar",
|
|
468
|
+
}, disabled: disabled, icon: "calendar", "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" }))))), index.h(form.HiddenFormInputSlot, { component: this })));
|
|
478
469
|
}
|
|
479
470
|
setReferenceEl() {
|
|
480
471
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -551,6 +542,11 @@ const InputDatePicker = class {
|
|
|
551
542
|
this.endAsDate = end ? resources.setEndOfDay(resources.dateFromISO(end)) : resources.dateFromISO(end);
|
|
552
543
|
}
|
|
553
544
|
async loadLocaleData() {
|
|
545
|
+
locale.numberStringFormatter.numberFormatOptions = {
|
|
546
|
+
numberingSystem: this.numberingSystem,
|
|
547
|
+
locale: this.effectiveLocale,
|
|
548
|
+
useGrouping: false
|
|
549
|
+
};
|
|
554
550
|
this.localeData = await resources.getLocaleData(this.effectiveLocale);
|
|
555
551
|
}
|
|
556
552
|
shouldFocusRangeStart() {
|
|
@@ -1,16 +1,16 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
require('./resources-
|
|
13
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const dom = require('./dom-0c006683.js');
|
|
12
|
+
require('./resources-154a6134.js');
|
|
13
|
+
require('./guid-bcf2e27d.js');
|
|
14
14
|
|
|
15
15
|
var StatusIconDefaults;
|
|
16
16
|
(function (StatusIconDefaults) {
|
|
@@ -1,24 +1,24 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
14
|
-
const locale = require('./locale-
|
|
15
|
-
const key = require('./key-
|
|
16
|
-
const resources = require('./resources-
|
|
17
|
-
const math = require('./math-
|
|
18
|
-
const observers = require('./observers-
|
|
19
|
-
const interactive = require('./interactive-
|
|
20
|
-
const loadable = require('./loadable-
|
|
21
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const dom = require('./dom-0c006683.js');
|
|
12
|
+
const label = require('./label-b53d0971.js');
|
|
13
|
+
const form = require('./form-affb950f.js');
|
|
14
|
+
const locale = require('./locale-7c7ea778.js');
|
|
15
|
+
const key = require('./key-27cd9b48.js');
|
|
16
|
+
const resources = require('./resources-154a6134.js');
|
|
17
|
+
const math = require('./math-b2c68418.js');
|
|
18
|
+
const observers = require('./observers-93a0a981.js');
|
|
19
|
+
const interactive = require('./interactive-50819d76.js');
|
|
20
|
+
const loadable = require('./loadable-5fff6d49.js');
|
|
21
|
+
require('./guid-bcf2e27d.js');
|
|
22
22
|
|
|
23
23
|
const CSS = {
|
|
24
24
|
loader: "loader",
|
|
@@ -341,13 +341,11 @@ const InputNumber = class {
|
|
|
341
341
|
}
|
|
342
342
|
/** watcher to update number-to-string for max */
|
|
343
343
|
maxWatcher() {
|
|
344
|
-
|
|
345
|
-
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
344
|
+
this.maxString = this.max?.toString() || null;
|
|
346
345
|
}
|
|
347
346
|
/** watcher to update number-to-string for min */
|
|
348
347
|
minWatcher() {
|
|
349
|
-
|
|
350
|
-
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
348
|
+
this.minString = this.min?.toString() || null;
|
|
351
349
|
}
|
|
352
350
|
valueWatcher(newValue, previousValue) {
|
|
353
351
|
if (!this.userChangedValue) {
|
|
@@ -376,7 +374,6 @@ const InputNumber = class {
|
|
|
376
374
|
//
|
|
377
375
|
//--------------------------------------------------------------------------
|
|
378
376
|
connectedCallback() {
|
|
379
|
-
var _a;
|
|
380
377
|
locale.connectLocalized(this);
|
|
381
378
|
this.scale = dom.getElementProp(this.el, "scale", this.scale);
|
|
382
379
|
this.status = dom.getElementProp(this.el, "status", this.status);
|
|
@@ -393,7 +390,7 @@ const InputNumber = class {
|
|
|
393
390
|
origin: "connected",
|
|
394
391
|
value: locale.isValidNumber(this.value) ? this.value : ""
|
|
395
392
|
});
|
|
396
|
-
|
|
393
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
397
394
|
this.setDisabledAction();
|
|
398
395
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
399
396
|
}
|
|
@@ -401,18 +398,16 @@ const InputNumber = class {
|
|
|
401
398
|
loadable.setComponentLoaded(this);
|
|
402
399
|
}
|
|
403
400
|
disconnectedCallback() {
|
|
404
|
-
var _a;
|
|
405
401
|
label.disconnectLabel(this);
|
|
406
402
|
form.disconnectForm(this);
|
|
407
403
|
locale.disconnectLocalized(this);
|
|
408
|
-
|
|
404
|
+
this.mutationObserver?.disconnect();
|
|
409
405
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
410
406
|
}
|
|
411
407
|
componentWillLoad() {
|
|
412
|
-
var _a, _b;
|
|
413
408
|
loadable.setUpLoadableComponent(this);
|
|
414
|
-
this.maxString =
|
|
415
|
-
this.minString =
|
|
409
|
+
this.maxString = this.max?.toString();
|
|
410
|
+
this.minString = this.min?.toString();
|
|
416
411
|
this.requestedIcon = dom.setRequestedIcon({}, this.icon, "number");
|
|
417
412
|
}
|
|
418
413
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
@@ -435,14 +430,12 @@ const InputNumber = class {
|
|
|
435
430
|
//--------------------------------------------------------------------------
|
|
436
431
|
/** Sets focus on the component. */
|
|
437
432
|
async setFocus() {
|
|
438
|
-
var _a;
|
|
439
433
|
await loadable.componentLoaded(this);
|
|
440
|
-
|
|
434
|
+
this.childNumberEl?.focus();
|
|
441
435
|
}
|
|
442
436
|
/** Selects all text of the component's `value`. */
|
|
443
437
|
async selectText() {
|
|
444
|
-
|
|
445
|
-
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
438
|
+
this.childNumberEl?.select();
|
|
446
439
|
}
|
|
447
440
|
onLabelClick() {
|
|
448
441
|
this.setFocus();
|
|
@@ -473,10 +466,9 @@ const InputNumber = class {
|
|
|
473
466
|
});
|
|
474
467
|
}
|
|
475
468
|
syncHiddenFormInput(input) {
|
|
476
|
-
var _a, _b, _c, _d;
|
|
477
469
|
input.type = "number";
|
|
478
|
-
input.min =
|
|
479
|
-
input.max =
|
|
470
|
+
input.min = this.min?.toString(10) ?? "";
|
|
471
|
+
input.max = this.max?.toString(10) ?? "";
|
|
480
472
|
}
|
|
481
473
|
setDisabledAction() {
|
|
482
474
|
const slottedActionEl = dom.getSlotted(this.el, "action");
|
|
@@ -1,21 +1,21 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
14
|
-
const resources = require('./resources-
|
|
15
|
-
const observers = require('./observers-
|
|
16
|
-
const interactive = require('./interactive-
|
|
17
|
-
const loadable = require('./loadable-
|
|
18
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const dom = require('./dom-0c006683.js');
|
|
12
|
+
const label = require('./label-b53d0971.js');
|
|
13
|
+
const form = require('./form-affb950f.js');
|
|
14
|
+
const resources = require('./resources-154a6134.js');
|
|
15
|
+
const observers = require('./observers-93a0a981.js');
|
|
16
|
+
const interactive = require('./interactive-50819d76.js');
|
|
17
|
+
const loadable = require('./loadable-5fff6d49.js');
|
|
18
|
+
require('./guid-bcf2e27d.js');
|
|
19
19
|
|
|
20
20
|
const CSS = {
|
|
21
21
|
loader: "loader",
|
|
@@ -214,7 +214,6 @@ const InputText = class {
|
|
|
214
214
|
//
|
|
215
215
|
//--------------------------------------------------------------------------
|
|
216
216
|
connectedCallback() {
|
|
217
|
-
var _a;
|
|
218
217
|
this.scale = dom.getElementProp(this.el, "scale", this.scale);
|
|
219
218
|
this.status = dom.getElementProp(this.el, "status", this.status);
|
|
220
219
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
@@ -225,15 +224,14 @@ const InputText = class {
|
|
|
225
224
|
this.setPreviousValue(this.value);
|
|
226
225
|
label.connectLabel(this);
|
|
227
226
|
form.connectForm(this);
|
|
228
|
-
|
|
227
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
229
228
|
this.setDisabledAction();
|
|
230
229
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
231
230
|
}
|
|
232
231
|
disconnectedCallback() {
|
|
233
|
-
var _a;
|
|
234
232
|
label.disconnectLabel(this);
|
|
235
233
|
form.disconnectForm(this);
|
|
236
|
-
|
|
234
|
+
this.mutationObserver?.disconnect();
|
|
237
235
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
238
236
|
}
|
|
239
237
|
componentWillLoad() {
|
|
@@ -253,14 +251,12 @@ const InputText = class {
|
|
|
253
251
|
//--------------------------------------------------------------------------
|
|
254
252
|
/** Sets focus on the component. */
|
|
255
253
|
async setFocus() {
|
|
256
|
-
var _a;
|
|
257
254
|
await loadable.componentLoaded(this);
|
|
258
|
-
|
|
255
|
+
this.childEl?.focus();
|
|
259
256
|
}
|
|
260
257
|
/** Selects all text of the component's `value`. */
|
|
261
258
|
async selectText() {
|
|
262
|
-
|
|
263
|
-
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
259
|
+
this.childEl?.select();
|
|
264
260
|
}
|
|
265
261
|
onLabelClick() {
|
|
266
262
|
this.setFocus();
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const locale = require('./locale-
|
|
13
|
-
const label = require('./label-
|
|
14
|
-
const form = require('./form-
|
|
15
|
-
const interactive = require('./interactive-
|
|
16
|
-
const key = require('./key-
|
|
17
|
-
const loadable = require('./loadable-
|
|
18
|
-
require('./observers-
|
|
19
|
-
require('./dom-
|
|
20
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const guid = require('./guid-bcf2e27d.js');
|
|
12
|
+
const locale = require('./locale-7c7ea778.js');
|
|
13
|
+
const label = require('./label-b53d0971.js');
|
|
14
|
+
const form = require('./form-affb950f.js');
|
|
15
|
+
const interactive = require('./interactive-50819d76.js');
|
|
16
|
+
const key = require('./key-27cd9b48.js');
|
|
17
|
+
const loadable = require('./loadable-5fff6d49.js');
|
|
18
|
+
require('./observers-93a0a981.js');
|
|
19
|
+
require('./dom-0c006683.js');
|
|
20
|
+
require('./resources-154a6134.js');
|
|
21
21
|
|
|
22
22
|
const maxTenthForMinuteAndSecond = 5;
|
|
23
23
|
function createLocaleDateTimeFormatter(locale$1, numberingSystem, includeSeconds = true) {
|
|
@@ -60,7 +60,6 @@ function getLocaleHourCycle(locale, numberingSystem) {
|
|
|
60
60
|
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
61
61
|
}
|
|
62
62
|
function getLocalizedTimePart(part, parts) {
|
|
63
|
-
var _a, _b, _c, _d;
|
|
64
63
|
if (!part || !parts) {
|
|
65
64
|
return null;
|
|
66
65
|
}
|
|
@@ -69,7 +68,7 @@ function getLocalizedTimePart(part, parts) {
|
|
|
69
68
|
const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
|
|
70
69
|
const hourSuffix = parts[hourIndex + 1];
|
|
71
70
|
return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
|
|
72
|
-
?
|
|
71
|
+
? hourSuffix.value?.trim() || null
|
|
73
72
|
: null;
|
|
74
73
|
}
|
|
75
74
|
if (part === "minuteSuffix") {
|
|
@@ -77,15 +76,15 @@ function getLocalizedTimePart(part, parts) {
|
|
|
77
76
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
78
77
|
const minuteSuffix = parts[minuteIndex + 1];
|
|
79
78
|
return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
|
|
80
|
-
?
|
|
79
|
+
? minuteSuffix.value?.trim() || null
|
|
81
80
|
: null;
|
|
82
81
|
}
|
|
83
82
|
if (part === "secondSuffix") {
|
|
84
83
|
const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
|
|
85
84
|
const secondSuffix = parts[secondIndex + 1];
|
|
86
|
-
return secondSuffix && secondSuffix.type === "literal" ?
|
|
85
|
+
return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
|
|
87
86
|
}
|
|
88
|
-
return
|
|
87
|
+
return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
|
|
89
88
|
}
|
|
90
89
|
function getMeridiem(hour) {
|
|
91
90
|
if (!locale.isValidNumber(hour)) {
|
|
@@ -144,7 +143,7 @@ function localizeTimeString({ value, locale, numberingSystem, includeSeconds = t
|
|
|
144
143
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
145
144
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
146
145
|
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
147
|
-
return
|
|
146
|
+
return formatter?.format(dateFromTimeString) || null;
|
|
148
147
|
}
|
|
149
148
|
function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
150
149
|
if (!isValidTime(value)) {
|
|
@@ -427,9 +426,8 @@ const InputTimePicker = class {
|
|
|
427
426
|
// --------------------------------------------------------------------------
|
|
428
427
|
/** Sets focus on the component. */
|
|
429
428
|
async setFocus() {
|
|
430
|
-
var _a;
|
|
431
429
|
await loadable.componentLoaded(this);
|
|
432
|
-
|
|
430
|
+
this.calciteInputEl?.setFocus();
|
|
433
431
|
}
|
|
434
432
|
/**
|
|
435
433
|
* Updates the position of the component.
|
|
@@ -437,8 +435,7 @@ const InputTimePicker = class {
|
|
|
437
435
|
* @param delayed
|
|
438
436
|
*/
|
|
439
437
|
async reposition(delayed = false) {
|
|
440
|
-
|
|
441
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
|
438
|
+
this.popoverEl?.reposition(delayed);
|
|
442
439
|
}
|
|
443
440
|
onLabelClick() {
|
|
444
441
|
this.setFocus();
|
|
@@ -488,7 +485,7 @@ const InputTimePicker = class {
|
|
|
488
485
|
// --------------------------------------------------------------------------
|
|
489
486
|
render() {
|
|
490
487
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
491
|
-
return (index.h(index.Host, { onKeyDown: this.keyDownHandler }, index.h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, index.h("calcite-input", { disabled: this.disabled, icon: "clock", label: label.getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), index.h("calcite-popover", { disableFocusTrap: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, index.h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp,
|
|
488
|
+
return (index.h(index.Host, { onKeyDown: this.keyDownHandler }, index.h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, index.h("calcite-input", { disabled: this.disabled, icon: "clock", label: label.getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), index.h("calcite-popover", { disableFocusTrap: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, index.h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), index.h(form.HiddenFormInputSlot, { component: this })));
|
|
492
489
|
}
|
|
493
490
|
get el() { return index.getElement(this); }
|
|
494
491
|
static get watchers() { return {
|
|
@@ -846,7 +843,6 @@ const TimePicker = class {
|
|
|
846
843
|
}
|
|
847
844
|
};
|
|
848
845
|
this.setValuePart = (key, value, emit = true) => {
|
|
849
|
-
var _a;
|
|
850
846
|
const { effectiveLocale: locale$1, numberingSystem } = this;
|
|
851
847
|
if (key === "meridiem") {
|
|
852
848
|
this.meridiem = value;
|
|
@@ -889,7 +885,8 @@ const TimePicker = class {
|
|
|
889
885
|
this.value = null;
|
|
890
886
|
}
|
|
891
887
|
this.localizedMeridiem = this.value
|
|
892
|
-
?
|
|
888
|
+
? localizeTimeStringToParts({ value: this.value, locale: locale$1, numberingSystem })
|
|
889
|
+
?.localizedMeridiem || null
|
|
893
890
|
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale: locale$1, numberingSystem });
|
|
894
891
|
if (emit) {
|
|
895
892
|
this.calciteInternalTimePickerChange.emit();
|
|
@@ -1018,9 +1015,8 @@ const TimePicker = class {
|
|
|
1018
1015
|
* @param target
|
|
1019
1016
|
*/
|
|
1020
1017
|
async setFocus(target) {
|
|
1021
|
-
var _a;
|
|
1022
1018
|
await loadable.componentLoaded(this);
|
|
1023
|
-
|
|
1019
|
+
this[`${target || "hour"}El`]?.focus();
|
|
1024
1020
|
}
|
|
1025
1021
|
// --------------------------------------------------------------------------
|
|
1026
1022
|
//
|
|
@@ -1,24 +1,24 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
14
|
-
const locale = require('./locale-
|
|
15
|
-
const key = require('./key-
|
|
16
|
-
const resources = require('./resources-
|
|
17
|
-
const math = require('./math-
|
|
18
|
-
const observers = require('./observers-
|
|
19
|
-
const interactive = require('./interactive-
|
|
20
|
-
const loadable = require('./loadable-
|
|
21
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-e7f6d8a9.js');
|
|
11
|
+
const dom = require('./dom-0c006683.js');
|
|
12
|
+
const label = require('./label-b53d0971.js');
|
|
13
|
+
const form = require('./form-affb950f.js');
|
|
14
|
+
const locale = require('./locale-7c7ea778.js');
|
|
15
|
+
const key = require('./key-27cd9b48.js');
|
|
16
|
+
const resources = require('./resources-154a6134.js');
|
|
17
|
+
const math = require('./math-b2c68418.js');
|
|
18
|
+
const observers = require('./observers-93a0a981.js');
|
|
19
|
+
const interactive = require('./interactive-50819d76.js');
|
|
20
|
+
const loadable = require('./loadable-5fff6d49.js');
|
|
21
|
+
require('./guid-bcf2e27d.js');
|
|
22
22
|
|
|
23
23
|
const CSS = {
|
|
24
24
|
loader: "loader",
|
|
@@ -400,13 +400,11 @@ const Input = class {
|
|
|
400
400
|
}
|
|
401
401
|
/** watcher to update number-to-string for max */
|
|
402
402
|
maxWatcher() {
|
|
403
|
-
|
|
404
|
-
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
403
|
+
this.maxString = this.max?.toString() || null;
|
|
405
404
|
}
|
|
406
405
|
/** watcher to update number-to-string for min */
|
|
407
406
|
minWatcher() {
|
|
408
|
-
|
|
409
|
-
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
407
|
+
this.minString = this.min?.toString() || null;
|
|
410
408
|
}
|
|
411
409
|
valueWatcher(newValue, previousValue) {
|
|
412
410
|
if (!this.userChangedValue) {
|
|
@@ -440,7 +438,6 @@ const Input = class {
|
|
|
440
438
|
//
|
|
441
439
|
//--------------------------------------------------------------------------
|
|
442
440
|
connectedCallback() {
|
|
443
|
-
var _a;
|
|
444
441
|
locale.connectLocalized(this);
|
|
445
442
|
this.scale = dom.getElementProp(this.el, "scale", this.scale);
|
|
446
443
|
this.status = dom.getElementProp(this.el, "status", this.status);
|
|
@@ -459,24 +456,22 @@ const Input = class {
|
|
|
459
456
|
value: locale.isValidNumber(this.value) ? this.value : ""
|
|
460
457
|
});
|
|
461
458
|
}
|
|
462
|
-
|
|
459
|
+
this.mutationObserver?.observe(this.el, { childList: true });
|
|
463
460
|
this.setDisabledAction();
|
|
464
461
|
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
465
462
|
}
|
|
466
463
|
disconnectedCallback() {
|
|
467
|
-
var _a;
|
|
468
464
|
label.disconnectLabel(this);
|
|
469
465
|
form.disconnectForm(this);
|
|
470
466
|
locale.disconnectLocalized(this);
|
|
471
|
-
|
|
467
|
+
this.mutationObserver?.disconnect();
|
|
472
468
|
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
473
469
|
}
|
|
474
470
|
componentWillLoad() {
|
|
475
|
-
var _a, _b;
|
|
476
471
|
loadable.setUpLoadableComponent(this);
|
|
477
472
|
this.childElType = this.type === "textarea" ? "textarea" : "input";
|
|
478
|
-
this.maxString =
|
|
479
|
-
this.minString =
|
|
473
|
+
this.maxString = this.max?.toString();
|
|
474
|
+
this.minString = this.min?.toString();
|
|
480
475
|
this.requestedIcon = dom.setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
481
476
|
}
|
|
482
477
|
componentDidLoad() {
|
|
@@ -502,23 +497,21 @@ const Input = class {
|
|
|
502
497
|
//--------------------------------------------------------------------------
|
|
503
498
|
/** Sets focus on the component. */
|
|
504
499
|
async setFocus() {
|
|
505
|
-
var _a, _b;
|
|
506
500
|
await loadable.componentLoaded(this);
|
|
507
501
|
if (this.type === "number") {
|
|
508
|
-
|
|
502
|
+
this.childNumberEl?.focus();
|
|
509
503
|
}
|
|
510
504
|
else {
|
|
511
|
-
|
|
505
|
+
this.childEl?.focus();
|
|
512
506
|
}
|
|
513
507
|
}
|
|
514
508
|
/** Selects all text of the component's `value`. */
|
|
515
509
|
async selectText() {
|
|
516
|
-
var _a, _b;
|
|
517
510
|
if (this.type === "number") {
|
|
518
|
-
|
|
511
|
+
this.childNumberEl?.select();
|
|
519
512
|
}
|
|
520
513
|
else {
|
|
521
|
-
|
|
514
|
+
this.childEl?.select();
|
|
522
515
|
}
|
|
523
516
|
}
|
|
524
517
|
onLabelClick() {
|
|
@@ -550,11 +543,10 @@ const Input = class {
|
|
|
550
543
|
});
|
|
551
544
|
}
|
|
552
545
|
syncHiddenFormInput(input) {
|
|
553
|
-
var _a, _b, _c, _d;
|
|
554
546
|
if (this.type === "number") {
|
|
555
547
|
input.type = "number";
|
|
556
|
-
input.min =
|
|
557
|
-
input.max =
|
|
548
|
+
input.min = this.min?.toString(10) ?? "";
|
|
549
|
+
input.max = this.max?.toString(10) ?? "";
|
|
558
550
|
}
|
|
559
551
|
else if (this.type === "text") {
|
|
560
552
|
input.type = "text";
|