@esri/solutions-components 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-table/resources.json +1 -0
- package/dist/assets/t9n/layer-table/resources_en.json +1 -0
- package/dist/cjs/ExpandToggle-7ca802d2.js +118 -0
- package/dist/cjs/FloatingArrow-f4896a36.js +50 -0
- package/dist/cjs/Heading-ef796c7e.js +25 -0
- package/dist/cjs/app-globals-9541aa87.js +69 -0
- package/dist/cjs/ar-4ea5cf50.js +104 -0
- package/dist/cjs/array-967ea191.js +17 -0
- package/dist/cjs/bg-bbb11dad.js +82 -0
- package/dist/cjs/browser-abd0e2fa.js +23 -0
- package/dist/cjs/bs-0c7323f3.js +51 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
- package/dist/cjs/ca-8c132b5c.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +11 -10
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +74 -29
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action_2.cjs.entry.js +19 -17
- package/dist/cjs/calcite-alert_3.cjs.entry.js +18 -33
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block.cjs.entry.js +16 -16
- package/dist/cjs/calcite-button.cjs.entry.js +22 -19
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +16 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +272 -72
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -18
- package/dist/cjs/calcite-date-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +13 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -25
- package/dist/cjs/calcite-input-number.cjs.entry.js +593 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js +356 -0
- package/dist/cjs/calcite-input-time-picker-07edd190.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +18 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +53 -16
- package/dist/cjs/calcite-input_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -13
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +11 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +120 -55
- package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +11 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +120 -61
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -15
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +38 -21
- package/dist/cjs/calcite-stepper.cjs.entry.js +197 -35
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -12
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/card-manager_3.cjs.entry.js +15 -3
- package/dist/cjs/component-98c27d5f.js +17 -0
- package/dist/cjs/conditionalSlot-1efd1f30.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
- package/dist/cjs/cs-beb23778.js +147 -0
- package/dist/cjs/da-d2413a66.js +66 -0
- package/dist/cjs/date-628b8529.js +261 -0
- package/dist/cjs/de-73c09fa5.js +91 -0
- package/dist/cjs/de-at-c80ba65c.js +90 -0
- package/dist/cjs/de-ch-07611a55.js +90 -0
- package/dist/cjs/dom-5c1fefc1.js +1077 -0
- package/dist/cjs/el-85562376.js +66 -0
- package/dist/cjs/en-au-46f6054b.js +66 -0
- package/dist/cjs/en-ca-0c0a3c9b.js +65 -0
- package/dist/cjs/en-gb-60b63416.js +69 -0
- package/dist/cjs/es-699e9ab7.js +66 -0
- package/dist/cjs/es-mx-0a692d1b.js +65 -0
- package/dist/cjs/et-7120f20c.js +92 -0
- package/dist/cjs/fi-48d50457.js +115 -0
- package/dist/cjs/filter-6d5fdb8c.js +765 -0
- package/dist/cjs/floating-ui-b601790a.js +1902 -0
- package/dist/cjs/focusTrapComponent-21d85ddf.js +1028 -0
- package/dist/cjs/form-81cf84d1.js +260 -0
- package/dist/cjs/fr-181ff7ad.js +68 -0
- package/dist/cjs/fr-ch-be3e8d46.js +66 -0
- package/dist/cjs/globalAttributes-b155944a.js +77 -0
- package/dist/cjs/guid-c95a49d2.js +26 -0
- package/dist/cjs/he-e3d579f4.js +105 -0
- package/dist/cjs/hi-330caf2c.js +65 -0
- package/dist/cjs/hr-dc91d7f6.js +80 -0
- package/dist/cjs/hu-20d2f283.js +88 -0
- package/dist/cjs/id-621968dc.js +66 -0
- package/dist/cjs/index-4c1b0d3c.js +73 -0
- package/dist/cjs/index-c0ee2715.js +206 -0
- package/dist/cjs/interactive-85d0402d.js +147 -0
- package/dist/cjs/it-68cc02eb.js +66 -0
- package/dist/cjs/it-ch-125ed733.js +66 -0
- package/dist/cjs/ja-42400345.js +72 -0
- package/dist/cjs/key-cdf99d14.js +19 -0
- package/dist/cjs/ko-af71930f.js +72 -0
- package/dist/cjs/label-8a389916.js +154 -0
- package/dist/cjs/loadable-3358bfc7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-44d38e1a.js +607 -0
- package/dist/cjs/lt-7fed7d9b.js +97 -0
- package/dist/cjs/lv-69552dce.js +66 -0
- package/dist/cjs/math-950b6ada.js +60 -0
- package/dist/cjs/mk-d7e02da4.js +66 -0
- package/dist/cjs/nb-bd55eaf3.js +67 -0
- package/dist/cjs/nl-cd98d891.js +67 -0
- package/dist/cjs/observers-0f180f88.js +53 -0
- package/dist/cjs/openCloseComponent-7afeb520.js +92 -0
- package/dist/cjs/pl-2d3c3597.js +114 -0
- package/dist/cjs/pt-93b5d4f4.js +67 -0
- package/dist/cjs/pt-br-839d5879.js +65 -0
- package/dist/cjs/resources-19f11bde.js +29 -0
- package/dist/cjs/resources-1f09ad7f.js +20 -0
- package/dist/cjs/resources-854eafcd.js +2062 -0
- package/dist/cjs/resources-87f6e576.js +39 -0
- package/dist/cjs/resources-89626d92.js +32 -0
- package/dist/cjs/resources-a95a6548.js +26 -0
- package/dist/cjs/resources-b4f2bec2.js +27 -0
- package/dist/cjs/resources-b89c3642.js +52 -0
- package/dist/cjs/resources-d3562a7e.js +29 -0
- package/dist/cjs/resources-e1672ba5.js +23 -0
- package/dist/cjs/ro-faf4d226.js +66 -0
- package/dist/cjs/ru-52c88060.js +126 -0
- package/dist/cjs/shared-list-render-6939bcac.js +364 -0
- package/dist/cjs/sk-3d496fd7.js +148 -0
- package/dist/cjs/sl-5422921c.js +168 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/sortableComponent-f5f88018.js +3107 -0
- package/dist/cjs/sr-23a8f847.js +101 -0
- package/dist/cjs/sv-22b72d3a.js +71 -0
- package/dist/cjs/t9n-02f62c58.js +100 -0
- package/dist/cjs/th-73ce9bbd.js +65 -0
- package/dist/cjs/time-bfaa8f38.js +289 -0
- package/dist/cjs/tr-f4530a05.js +66 -0
- package/dist/cjs/uk-117902c4.js +104 -0
- package/dist/cjs/utils-4d5934ab.js +95 -0
- package/dist/cjs/utils-75231cf1.js +221 -0
- package/dist/cjs/utils-90ce30aa.js +64 -0
- package/dist/cjs/utils-b6e28e37.js +62 -0
- package/dist/cjs/vi-6ef0f273.js +70 -0
- package/dist/cjs/zh-cn-e801dfdd.js +94 -0
- package/dist/cjs/zh-hk-b4793c58.js +71 -0
- package/dist/cjs/zh-tw-f7e62c05.js +92 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/collection/components/layer-table/layer-table.css +5 -0
- package/dist/collection/components/layer-table/layer-table.js +45 -2
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +4 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +9 -7
- package/dist/components/alert.js +8 -25
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/button.js +9 -6
- package/dist/components/calcite-accordion-item.js +6 -5
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +12 -11
- package/dist/components/calcite-input-time-picker.js +8 -7
- package/dist/components/calcite-input-time-zone.js +39 -2
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +19 -4
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +6 -12
- package/dist/components/calcite-stepper-item.js +34 -12
- package/dist/components/calcite-stepper.js +224 -34
- package/dist/components/calcite-table-row.js +2 -1
- package/dist/components/calcite-table.js +2 -2
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +5 -4
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +6 -6
- package/dist/components/combobox.js +252 -47
- package/dist/components/component.js +15 -0
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/date-picker-day.js +3 -5
- package/dist/components/date-picker-month-header.js +4 -4
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +26 -11
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +21 -23
- package/dist/components/focusTrapComponent.js +46 -27
- package/dist/components/form.js +1 -29
- package/dist/components/globalAttributes.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +9 -4
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +40 -6
- package/dist/components/index5.js +15 -15
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +12 -7
- package/dist/components/input-text.js +5 -4
- package/dist/components/input.js +8 -7
- package/dist/components/interactive.js +3 -3
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +16 -3
- package/dist/components/list-item.js +29 -9
- package/dist/components/list.js +28 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +4 -3
- package/dist/components/notice.js +4 -3
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +120 -51
- package/dist/components/panel.js +5 -5
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +4 -3
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/scrim.js +4 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/select.js +3 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +21 -10
- package/dist/components/tab-title.js +13 -18
- package/dist/components/tab.js +13 -7
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +3 -2
- package/dist/components/tabs.js +51 -2
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +4 -3
- package/dist/components/tooltip.js +4 -4
- package/dist/components/tree-item.js +5 -4
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +6 -3
- package/dist/components/utils3.js +4 -2
- package/dist/components/value-list-item.js +4 -2
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-c3ebdd3b.js +110 -0
- package/dist/esm/FloatingArrow-b38b7259.js +48 -0
- package/dist/esm/Heading-272fcae6.js +22 -0
- package/dist/esm/app-globals-7b136f05.js +67 -0
- package/dist/esm/ar-1d739ee3.js +102 -0
- package/dist/esm/array-5ed5be45.js +15 -0
- package/dist/esm/bg-5aa64085.js +80 -0
- package/dist/esm/browser-aaebde6b.js +21 -0
- package/dist/esm/bs-6fe73bc9.js +49 -0
- package/dist/esm/buffer-tools_4.entry.js +14 -14
- package/dist/esm/ca-78e2432d.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +11 -10
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +74 -29
- package/dist/esm/calcite-action-group_2.entry.js +12 -12
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action_2.entry.js +19 -17
- package/dist/esm/calcite-alert_3.entry.js +18 -33
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block.entry.js +16 -16
- package/dist/esm/calcite-button.entry.js +22 -19
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox_3.entry.js +17 -16
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +16 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +13 -13
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +272 -72
- package/dist/esm/calcite-date-picker-day_3.entry.js +17 -18
- package/dist/esm/calcite-date-picker.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_3.entry.js +16 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +13 -8
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +26 -25
- package/dist/esm/calcite-input-number.entry.js +589 -0
- package/dist/esm/calcite-input-text.entry.js +352 -0
- package/dist/esm/calcite-input-time-picker-b0e9c281.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +18 -17
- package/dist/esm/calcite-input-time-zone.entry.js +53 -16
- package/dist/esm/calcite-input_2.entry.js +20 -19
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +5 -5
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +14 -13
- package/dist/esm/calcite-navigation-logo.entry.js +11 -4
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice_2.entry.js +20 -19
- package/dist/esm/calcite-option_2.entry.js +12 -11
- package/dist/esm/calcite-pagination.entry.js +120 -55
- package/dist/esm/calcite-panel_2.entry.js +17 -17
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +11 -11
- package/dist/esm/calcite-popover.entry.js +17 -16
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +11 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +122 -63
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +9 -15
- package/dist/esm/calcite-stepper-item.entry.js +38 -21
- package/dist/esm/calcite-stepper.entry.js +198 -36
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-cell_2.entry.js +14 -13
- package/dist/esm/calcite-table-row.entry.js +8 -7
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +13 -13
- package/dist/esm/calcite-tile-select-group.entry.js +2 -2
- package/dist/esm/calcite-tile-select.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-time-picker.entry.js +13 -12
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/card-manager_3.entry.js +15 -3
- package/dist/esm/component-7a1690e7.js +15 -0
- package/dist/esm/conditionalSlot-ea10aa41.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -1
- package/dist/esm/cs-e623da5b.js +145 -0
- package/dist/esm/da-b065ea31.js +64 -0
- package/dist/esm/date-713af2d5.js +245 -0
- package/dist/esm/de-674a391a.js +89 -0
- package/dist/esm/de-at-94f5df4e.js +88 -0
- package/dist/esm/de-ch-977042ef.js +88 -0
- package/dist/esm/dom-7b3caf49.js +1047 -0
- package/dist/esm/el-3bf5add5.js +64 -0
- package/dist/esm/en-au-b012c4f1.js +64 -0
- package/dist/esm/en-ca-e94b72aa.js +63 -0
- package/dist/esm/en-gb-f01e285d.js +67 -0
- package/dist/esm/es-b0a092b5.js +64 -0
- package/dist/esm/es-mx-318553ae.js +63 -0
- package/dist/esm/et-4b370a83.js +90 -0
- package/dist/esm/fi-01e2268c.js +113 -0
- package/dist/esm/filter-77954777.js +763 -0
- package/dist/esm/floating-ui-5f9b22b5.js +1894 -0
- package/dist/esm/focusTrapComponent-971a945b.js +1023 -0
- package/dist/esm/form-e5d8cf1d.js +252 -0
- package/dist/esm/fr-c98a937e.js +66 -0
- package/dist/esm/fr-ch-32c7c9be.js +64 -0
- package/dist/esm/globalAttributes-8f64aaf3.js +74 -0
- package/dist/esm/guid-abceb248.js +24 -0
- package/dist/esm/he-bea2cda9.js +103 -0
- package/dist/esm/hi-88b336f9.js +63 -0
- package/dist/esm/hr-1ba83f9d.js +78 -0
- package/dist/esm/hu-cb7c9b7d.js +86 -0
- package/dist/esm/id-401c4f4b.js +64 -0
- package/dist/esm/index-5110a27a.js +71 -0
- package/dist/esm/index-d8ff08ed.js +204 -0
- package/dist/esm/interactive-53ef126b.js +143 -0
- package/dist/esm/it-aee1b55c.js +64 -0
- package/dist/esm/it-ch-2bacdd40.js +64 -0
- package/dist/esm/ja-14a21ba5.js +70 -0
- package/dist/esm/key-242646ba.js +16 -0
- package/dist/esm/ko-a451f6de.js +70 -0
- package/dist/esm/label-be72bd90.js +148 -0
- package/dist/esm/loadable-a9b6b87e.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-f23b92b1.js +594 -0
- package/dist/esm/lt-97185284.js +95 -0
- package/dist/esm/lv-742b3967.js +64 -0
- package/dist/esm/math-7162ad13.js +54 -0
- package/dist/esm/mk-d63a58c3.js +64 -0
- package/dist/esm/nb-a9b71f26.js +65 -0
- package/dist/esm/nl-88f97550.js +65 -0
- package/dist/esm/observers-4ec1ca0a.js +51 -0
- package/dist/esm/openCloseComponent-79521e6e.js +90 -0
- package/dist/esm/pl-6d408a9c.js +112 -0
- package/dist/esm/pt-bfc774aa.js +65 -0
- package/dist/esm/pt-br-bef64ce0.js +63 -0
- package/dist/esm/resources-120cdd90.js +35 -0
- package/dist/esm/resources-6a27a5e7.js +26 -0
- package/dist/esm/resources-7de224d3.js +24 -0
- package/dist/esm/resources-8c00c1ef.js +24 -0
- package/dist/esm/resources-91b0f96d.js +20 -0
- package/dist/esm/resources-99ae29ef.js +28 -0
- package/dist/esm/resources-b1d1efb3.js +48 -0
- package/dist/esm/resources-b56d35f9.js +22 -0
- package/dist/esm/resources-b994d084.js +20 -0
- package/dist/esm/resources-d9c39906.js +2051 -0
- package/dist/esm/ro-6b678231.js +64 -0
- package/dist/esm/ru-4f0974b4.js +124 -0
- package/dist/esm/shared-list-render-0fe2fe03.js +342 -0
- package/dist/esm/sk-4694961f.js +146 -0
- package/dist/esm/sl-abe686d3.js +166 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/sortableComponent-0b6eef97.js +3103 -0
- package/dist/esm/sr-a7201cef.js +99 -0
- package/dist/esm/sv-8cba5484.js +69 -0
- package/dist/esm/t9n-9d03f26d.js +95 -0
- package/dist/esm/th-b1c38718.js +63 -0
- package/dist/esm/time-1361fac3.js +274 -0
- package/dist/esm/tr-069d2eb8.js +64 -0
- package/dist/esm/uk-7f9ed1d7.js +102 -0
- package/dist/esm/utils-2cd02be4.js +61 -0
- package/dist/esm/utils-404ac39d.js +87 -0
- package/dist/esm/utils-93bb7d2c.js +203 -0
- package/dist/esm/utils-c0f61fc0.js +51 -0
- package/dist/esm/vi-94474938.js +68 -0
- package/dist/esm/zh-cn-4428e0d5.js +92 -0
- package/dist/esm/zh-hk-07262583.js +69 -0
- package/dist/esm/zh-tw-43ddb906.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +2 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +37 -42
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +17 -64
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +2 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +6 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +36 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +22 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +116 -243
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +13 -13
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +36 -25
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +27 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +39 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +12 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +23 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +3 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +9 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +13 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +2 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +3 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +27 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +8 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +96 -3
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +36 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +28 -28
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +24 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +26 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +7 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/solutions-components/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/solutions-components/assets/combobox/t9n/messages.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_en.json +4 -1
- package/dist/solutions-components/assets/icon/boxChartSeries16.json +1 -0
- package/dist/solutions-components/assets/icon/boxChartSeries24.json +1 -0
- package/dist/solutions-components/assets/icon/boxChartSeries32.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence16.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence24.json +1 -0
- package/dist/solutions-components/assets/icon/breakRecurrence32.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd16.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd24.json +1 -0
- package/dist/solutions-components/assets/icon/chevronEnd32.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart16.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart24.json +1 -0
- package/dist/solutions-components/assets/icon/chevronStart32.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser16.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser24.json +1 -0
- package/dist/solutions-components/assets/icon/collaborationUser32.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit16.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit24.json +1 -0
- package/dist/solutions-components/assets/icon/configureGridUnit32.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit16.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit24.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsUnit32.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall16.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall24.json +1 -0
- package/dist/solutions-components/assets/icon/dimensionsWall32.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId16.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId24.json +1 -0
- package/dist/solutions-components/assets/icon/employeeId32.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser16.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser24.json +1 -0
- package/dist/solutions-components/assets/icon/fileUser32.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical16.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical24.json +1 -0
- package/dist/solutions-components/assets/icon/flipVertical32.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint16.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint24.json +1 -0
- package/dist/solutions-components/assets/icon/groundControlPoint32.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer16.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer24.json +1 -0
- package/dist/solutions-components/assets/icon/imageCollectionExplorer32.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass16.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass24.json +1 -0
- package/dist/solutions-components/assets/icon/imageMagnifyingGlass32.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact16.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact24.json +1 -0
- package/dist/solutions-components/assets/icon/layoutCompact32.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious16.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious24.json +1 -0
- package/dist/solutions-components/assets/icon/layoutSpacious32.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails16.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails24.json +1 -0
- package/dist/solutions-components/assets/icon/mergeDetails32.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits16.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits24.json +1 -0
- package/dist/solutions-components/assets/icon/mergeUnits32.json +1 -0
- package/dist/solutions-components/assets/icon/partner16.json +1 -0
- package/dist/solutions-components/assets/icon/partner24.json +1 -0
- package/dist/solutions-components/assets/icon/partner32.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect16.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect24.json +1 -0
- package/dist/solutions-components/assets/icon/polygonSelect32.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX16.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX24.json +1 -0
- package/dist/solutions-components/assets/icon/presentationX32.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea16.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea24.json +1 -0
- package/dist/solutions-components/assets/icon/scanArea32.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor16.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor24.json +1 -0
- package/dist/solutions-components/assets/icon/scanCorridor32.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch16.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch24.json +1 -0
- package/dist/solutions-components/assets/icon/scanCrosshatch32.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter16.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter24.json +1 -0
- package/dist/solutions-components/assets/icon/scanPerimeter32.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical16.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical24.json +1 -0
- package/dist/solutions-components/assets/icon/scanVertical32.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike16.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike24.json +1 -0
- package/dist/solutions-components/assets/icon/speechBubbleLike32.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits16.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits24.json +1 -0
- package/dist/solutions-components/assets/icon/splitUnits32.json +1 -0
- package/dist/solutions-components/assets/icon/storage16.json +1 -0
- package/dist/solutions-components/assets/icon/storage24.json +1 -0
- package/dist/solutions-components/assets/icon/storage32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +4 -4
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +4 -4
- package/dist/solutions-components/assets/pagination/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/pagination/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/pagination/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_nl.json +2 -2
- package/dist/solutions-components/assets/stepper/t9n/index.d.ts +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ar.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_bg.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_bs.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ca.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_cs.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_da.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_de.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_el.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_en.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_es.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_et.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_fi.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_fr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_he.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_hr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_hu.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_id.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_it.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ja.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ko.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_lt.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_lv.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_nl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_no.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pt-BR.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_pt-PT.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ro.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_ru.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sk.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sl.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_sv.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_th.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_tr.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_uk.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_vi.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-CN.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-HK.json +5 -0
- package/dist/solutions-components/assets/stepper/t9n/messages_zh-TW.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/index.d.ts +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ar.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_bg.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_bs.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ca.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_cs.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_da.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_de.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_el.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_en.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_es.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_et.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_fi.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_fr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_he.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_hr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_hu.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_id.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_it.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ja.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ko.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_lt.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_lv.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_nl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_no.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-BR.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_pt-PT.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ro.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_ru.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sk.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sl.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_sv.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_th.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_tr.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_uk.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_vi.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-CN.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-HK.json +5 -0
- package/dist/solutions-components/assets/stepper-item/t9n/messages_zh-TW.json +5 -0
- package/dist/solutions-components/p-00778753.entry.js +28 -0
- package/dist/solutions-components/p-014bea09.entry.js +11 -0
- package/dist/solutions-components/p-01835985.js +11 -0
- package/dist/solutions-components/p-0303091f.entry.js +11 -0
- package/dist/solutions-components/p-037ab3c5.entry.js +11 -0
- package/dist/solutions-components/p-039e518a.entry.js +11 -0
- package/dist/solutions-components/p-03ddee7e.entry.js +11 -0
- package/dist/solutions-components/p-08916647.entry.js +12 -0
- package/dist/solutions-components/p-0c322ca5.entry.js +6 -0
- package/dist/solutions-components/p-0c43e485.js +6 -0
- package/dist/solutions-components/p-0ed276ee.js +6 -0
- package/dist/solutions-components/p-0fc9b854.entry.js +11 -0
- package/dist/solutions-components/p-118bcff3.js +11 -0
- package/dist/solutions-components/p-132a0716.js +6 -0
- package/dist/solutions-components/p-1539a6fa.entry.js +11 -0
- package/dist/solutions-components/p-156f2d47.js +6 -0
- package/dist/solutions-components/p-16adafcb.js +6 -0
- package/dist/solutions-components/p-1814d28b.js +11 -0
- package/dist/solutions-components/p-1a8e8246.js +16 -0
- package/dist/solutions-components/p-1af5af80.js +11 -0
- package/dist/solutions-components/p-1be88141.entry.js +12 -0
- package/dist/solutions-components/p-1bf91a04.js +11 -0
- package/dist/solutions-components/p-1e50346e.entry.js +11 -0
- package/dist/solutions-components/p-1f283ddb.js +11 -0
- package/dist/solutions-components/p-2295c2dd.entry.js +6 -0
- package/dist/solutions-components/p-23328381.entry.js +6 -0
- package/dist/solutions-components/p-2dfb4e56.entry.js +16 -0
- package/dist/solutions-components/p-2e730210.entry.js +6 -0
- package/dist/solutions-components/p-2f268d5b.entry.js +16 -0
- package/dist/solutions-components/p-308024dc.js +11 -0
- package/dist/solutions-components/p-3124eab2.entry.js +17 -0
- package/dist/solutions-components/p-31c65694.entry.js +6 -0
- package/dist/solutions-components/p-32d25bcb.js +11 -0
- package/dist/solutions-components/p-3640823f.entry.js +17 -0
- package/dist/solutions-components/p-367c73f3.entry.js +6 -0
- package/dist/solutions-components/p-37f44acc.js +11 -0
- package/dist/solutions-components/p-3870751d.js +6 -0
- package/dist/solutions-components/p-3a8f5449.entry.js +11 -0
- package/dist/solutions-components/p-3f0a680f.js +6 -0
- package/dist/solutions-components/p-4031b480.js +6 -0
- package/dist/solutions-components/p-406c320e.js +11 -0
- package/dist/solutions-components/p-40827722.js +11 -0
- package/dist/solutions-components/p-4147ecf0.js +11 -0
- package/dist/solutions-components/p-430908f8.js +6 -0
- package/dist/solutions-components/p-44b3bbf8.entry.js +11 -0
- package/dist/solutions-components/p-46a7caf2.js +6 -0
- package/dist/solutions-components/p-470345d6.js +11 -0
- package/dist/solutions-components/p-483a5477.js +6 -0
- package/dist/solutions-components/p-49bb8952.js +11 -0
- package/dist/solutions-components/p-4c365c5e.entry.js +11 -0
- package/dist/solutions-components/p-4c70b352.entry.js +6 -0
- package/dist/solutions-components/p-4f6aa2f6.js +11 -0
- package/dist/solutions-components/p-50002c2f.js +6 -0
- package/dist/solutions-components/p-504bb19e.entry.js +11 -0
- package/dist/solutions-components/p-5119d274.js +11 -0
- package/dist/solutions-components/p-533b0d64.js +6 -0
- package/dist/solutions-components/p-5467780a.entry.js +11 -0
- package/dist/solutions-components/p-54ff0119.entry.js +11 -0
- package/dist/solutions-components/p-55a07c2a.js +11 -0
- package/dist/solutions-components/p-56a43beb.entry.js +11 -0
- package/dist/solutions-components/p-579bdb57.js +6 -0
- package/dist/solutions-components/p-58ccddc5.entry.js +11 -0
- package/dist/solutions-components/p-598c64f7.entry.js +29 -0
- package/dist/solutions-components/p-5a075f65.entry.js +11 -0
- package/dist/solutions-components/p-5bb19185.entry.js +11 -0
- package/dist/solutions-components/p-5e1ecb54.js +6 -0
- package/dist/solutions-components/p-60dba4a9.entry.js +11 -0
- package/dist/solutions-components/p-6373d5e2.js +6 -0
- package/dist/solutions-components/p-659f82a2.js +11 -0
- package/dist/solutions-components/p-65f230f4.js +6 -0
- package/dist/solutions-components/p-6d5a1566.js +17 -0
- package/dist/solutions-components/p-6ecce676.entry.js +11 -0
- package/dist/solutions-components/p-6ff04b6a.entry.js +11 -0
- package/dist/solutions-components/p-7203026b.entry.js +11 -0
- package/dist/solutions-components/p-74062e42.js +6 -0
- package/dist/solutions-components/p-76809845.js +6 -0
- package/dist/solutions-components/p-779f46eb.js +11 -0
- package/dist/solutions-components/p-77c3fb52.js +6 -0
- package/dist/solutions-components/p-79bb2b4d.entry.js +11 -0
- package/dist/solutions-components/p-7ab4c1e1.js +6 -0
- package/dist/solutions-components/p-7afb5491.js +6 -0
- package/dist/solutions-components/p-7bd4e7bf.js +6 -0
- package/dist/solutions-components/p-7c9cfa11.js +11 -0
- package/dist/solutions-components/p-7d79a255.entry.js +11 -0
- package/dist/solutions-components/p-7d94c28d.js +6 -0
- package/dist/solutions-components/p-7e4238d2.js +6 -0
- package/dist/solutions-components/p-7f3f99de.entry.js +6 -0
- package/dist/solutions-components/p-7ff4a852.js +6 -0
- package/dist/solutions-components/p-822d9606.entry.js +18 -0
- package/dist/solutions-components/p-82da0de5.js +12 -0
- package/dist/solutions-components/p-83153df0.js +18 -0
- package/dist/solutions-components/p-86a2d317.entry.js +11 -0
- package/dist/solutions-components/p-8837c151.entry.js +6 -0
- package/dist/solutions-components/p-88dac03a.js +11 -0
- package/dist/solutions-components/p-8a15f8aa.js +6 -0
- package/dist/solutions-components/p-8a9d80e2.js +6 -0
- package/dist/solutions-components/p-8b05cb55.entry.js +18 -0
- package/dist/solutions-components/p-8cbb4062.js +11 -0
- package/dist/solutions-components/p-8e26eb6f.js +22 -0
- package/dist/solutions-components/p-90a57fcf.js +6 -0
- package/dist/solutions-components/p-91d4bef4.js +6 -0
- package/dist/solutions-components/p-920709db.entry.js +11 -0
- package/dist/solutions-components/p-9283b5f2.entry.js +11 -0
- package/dist/solutions-components/p-931e1ce1.js +6 -0
- package/dist/solutions-components/p-9507e2ce.js +11 -0
- package/dist/solutions-components/p-950b82c8.entry.js +11 -0
- package/dist/solutions-components/p-956d3175.entry.js +6 -0
- package/dist/solutions-components/p-998671c9.entry.js +11 -0
- package/dist/solutions-components/p-99d06856.js +6 -0
- package/dist/solutions-components/p-9bbe962a.entry.js +11 -0
- package/dist/solutions-components/p-9e64167e.js +6 -0
- package/dist/solutions-components/p-9eaa2050.js +6 -0
- package/dist/solutions-components/p-a013accc.js +6 -0
- package/dist/solutions-components/p-a23a07b4.entry.js +17 -0
- package/dist/solutions-components/p-a2c636db.entry.js +12 -0
- package/dist/solutions-components/p-a302baed.js +6 -0
- package/dist/solutions-components/p-a41dfa26.entry.js +6 -0
- package/dist/solutions-components/p-a4d81864.js +16 -0
- package/dist/solutions-components/p-a6db296e.js +6 -0
- package/dist/solutions-components/p-a7ff08e7.js +11 -0
- package/dist/solutions-components/p-a825403b.js +6 -0
- package/dist/solutions-components/p-a85f10d5.js +6 -0
- package/dist/solutions-components/p-aaa1209e.js +11 -0
- package/dist/solutions-components/p-abe3df4d.entry.js +6 -0
- package/dist/solutions-components/p-adcf36e0.js +11 -0
- package/dist/solutions-components/p-b2862cb2.js +6 -0
- package/dist/solutions-components/p-b2a7416b.entry.js +11 -0
- package/dist/solutions-components/p-b2d1b625.entry.js +6 -0
- package/dist/solutions-components/p-b4912a5e.js +6 -0
- package/dist/solutions-components/p-b69d8edc.js +6 -0
- package/dist/solutions-components/p-b6bf2256.entry.js +17 -0
- package/dist/solutions-components/p-b95a7bb1.entry.js +11 -0
- package/dist/solutions-components/p-b9c16f28.js +6 -0
- package/dist/solutions-components/p-ba717eb2.entry.js +6 -0
- package/dist/solutions-components/p-bdd2d1b3.js +6 -0
- package/dist/solutions-components/p-be7add87.js +6 -0
- package/dist/solutions-components/p-bfda0e4c.js +6 -0
- package/dist/solutions-components/p-c147c7ee.js +11 -0
- package/dist/solutions-components/p-c3f4cb87.entry.js +11 -0
- package/dist/solutions-components/p-c758e011.js +6 -0
- package/dist/solutions-components/p-c75af332.js +11 -0
- package/dist/solutions-components/p-c94937f6.entry.js +6 -0
- package/dist/solutions-components/p-c95cf6b6.entry.js +17 -0
- package/dist/solutions-components/p-c9fc3253.js +6 -0
- package/dist/solutions-components/p-ca391de0.js +6 -0
- package/dist/solutions-components/p-caa4ef57.js +17 -0
- package/dist/solutions-components/p-cadf1546.entry.js +11 -0
- package/dist/solutions-components/p-cb57efe6.entry.js +11 -0
- package/dist/solutions-components/p-cc6b57c6.entry.js +11 -0
- package/dist/solutions-components/p-d34397ef.entry.js +17 -0
- package/dist/solutions-components/p-d52bc7dd.entry.js +11 -0
- package/dist/solutions-components/p-d607ab3d.entry.js +47 -0
- package/dist/solutions-components/p-d93e3745.entry.js +11 -0
- package/dist/solutions-components/p-d943947f.js +11 -0
- package/dist/solutions-components/p-ddb3bc15.js +11 -0
- package/dist/solutions-components/p-ddd5afde.js +11 -0
- package/dist/solutions-components/p-dea5e302.entry.js +11 -0
- package/dist/solutions-components/p-e2336324.js +11 -0
- package/dist/solutions-components/p-e2d2cb89.entry.js +11 -0
- package/dist/solutions-components/p-e58ffef6.entry.js +11 -0
- package/dist/solutions-components/p-e91c5763.js +16 -0
- package/dist/solutions-components/p-ea22826b.js +11 -0
- package/dist/solutions-components/p-eace7ab0.entry.js +11 -0
- package/dist/solutions-components/p-ec1f28a7.entry.js +11 -0
- package/dist/solutions-components/p-ef0b06ac.entry.js +6 -0
- package/dist/solutions-components/p-f0547cac.entry.js +6 -0
- package/dist/solutions-components/p-f0b83721.js +6 -0
- package/dist/solutions-components/p-f1979b5c.entry.js +11 -0
- package/dist/solutions-components/p-f2723f08.js +6 -0
- package/dist/solutions-components/p-f3f1e27e.js +11 -0
- package/dist/solutions-components/p-f70e8ca1.js +11 -0
- package/dist/solutions-components/p-ff3f307a.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +16 -0
- package/dist/types/components.d.ts +21 -0
- package/dist/types/preact.d.ts +2 -1
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-965987de.js +0 -118
- package/dist/cjs/FloatingArrow-5aba7af1.js +0 -48
- package/dist/cjs/Heading-b0970391.js +0 -25
- package/dist/cjs/app-globals-8afc8fa0.js +0 -69
- package/dist/cjs/ar-e86d748c.js +0 -103
- package/dist/cjs/array-d55de2d5.js +0 -17
- package/dist/cjs/bg-6f72f34d.js +0 -81
- package/dist/cjs/browser-09760f9f.js +0 -23
- package/dist/cjs/bs-290f2e0c.js +0 -50
- package/dist/cjs/ca-d9261215.js +0 -70
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +0 -920
- package/dist/cjs/calcite-input-time-picker-b809da0b.js +0 -1848
- package/dist/cjs/conditionalSlot-f577ba32.js +0 -63
- package/dist/cjs/cs-b250298e.js +0 -146
- package/dist/cjs/da-8715f736.js +0 -65
- package/dist/cjs/date-60e18f3e.js +0 -261
- package/dist/cjs/de-9289461a.js +0 -90
- package/dist/cjs/de-at-e7ef417f.js +0 -89
- package/dist/cjs/de-ch-de539200.js +0 -89
- package/dist/cjs/dom-c585dfa7.js +0 -1061
- package/dist/cjs/el-7701d486.js +0 -65
- package/dist/cjs/en-au-6e2f2f4b.js +0 -65
- package/dist/cjs/en-ca-8bc8ae5b.js +0 -64
- package/dist/cjs/en-gb-6e0fd6a4.js +0 -68
- package/dist/cjs/es-dd9fcddf.js +0 -65
- package/dist/cjs/es-mx-32e3b2ce.js +0 -64
- package/dist/cjs/et-9c241f89.js +0 -91
- package/dist/cjs/fi-946c7e09.js +0 -114
- package/dist/cjs/filter-a4465208.js +0 -765
- package/dist/cjs/floating-ui-3625f253.js +0 -1904
- package/dist/cjs/focusTrapComponent-919e5636.js +0 -1009
- package/dist/cjs/form-da1bc377.js +0 -288
- package/dist/cjs/fr-1a8ac01d.js +0 -67
- package/dist/cjs/fr-ch-02594f06.js +0 -65
- package/dist/cjs/globalAttributes-bb9603f4.js +0 -77
- package/dist/cjs/guid-5ef151a6.js +0 -26
- package/dist/cjs/he-e3dd7687.js +0 -104
- package/dist/cjs/hi-66fc4798.js +0 -64
- package/dist/cjs/hr-2dbffa4f.js +0 -79
- package/dist/cjs/hu-22732855.js +0 -87
- package/dist/cjs/id-40469057.js +0 -65
- package/dist/cjs/index-22e2d297.js +0 -172
- package/dist/cjs/index-6b21a03f.js +0 -73
- package/dist/cjs/interactive-17168f1c.js +0 -147
- package/dist/cjs/it-72244e1f.js +0 -65
- package/dist/cjs/it-ch-111e0a76.js +0 -65
- package/dist/cjs/ja-64c49fbb.js +0 -71
- package/dist/cjs/key-29076628.js +0 -19
- package/dist/cjs/ko-ba039889.js +0 -71
- package/dist/cjs/label-a44d17b9.js +0 -154
- package/dist/cjs/loadable-53fa41ac.js +0 -94
- package/dist/cjs/locale-62c20bcc.js +0 -607
- package/dist/cjs/lt-14caf6e3.js +0 -96
- package/dist/cjs/lv-90627da7.js +0 -65
- package/dist/cjs/math-1e2752e6.js +0 -60
- package/dist/cjs/mk-43da0937.js +0 -65
- package/dist/cjs/nb-6e84fe55.js +0 -66
- package/dist/cjs/nl-b09e824f.js +0 -66
- package/dist/cjs/observers-ee7eadc4.js +0 -53
- package/dist/cjs/openCloseComponent-56419b32.js +0 -92
- package/dist/cjs/pl-acc3eed9.js +0 -113
- package/dist/cjs/pt-445d1df2.js +0 -66
- package/dist/cjs/pt-br-63d38ff8.js +0 -64
- package/dist/cjs/resources-3a88b7d8.js +0 -2062
- package/dist/cjs/resources-4548c1f4.js +0 -29
- package/dist/cjs/resources-4671a126.js +0 -20
- package/dist/cjs/resources-49866a7a.js +0 -52
- package/dist/cjs/resources-85c1ae6a.js +0 -27
- package/dist/cjs/resources-876c9b89.js +0 -29
- package/dist/cjs/resources-9dcc553a.js +0 -39
- package/dist/cjs/resources-be3c1b4b.js +0 -26
- package/dist/cjs/resources-d8917c46.js +0 -32
- package/dist/cjs/resources-d89b020a.js +0 -23
- package/dist/cjs/responsive-b6e86bcb.js +0 -44
- package/dist/cjs/ro-3d33dcc0.js +0 -65
- package/dist/cjs/ru-6d33bd42.js +0 -125
- package/dist/cjs/shared-list-render-44ea9d69.js +0 -364
- package/dist/cjs/sk-8e7343e5.js +0 -147
- package/dist/cjs/sl-b2721e1d.js +0 -167
- package/dist/cjs/sortableComponent-f9fbabf1.js +0 -3107
- package/dist/cjs/sr-6c42e7fd.js +0 -100
- package/dist/cjs/sv-09355347.js +0 -70
- package/dist/cjs/t9n-78efea01.js +0 -100
- package/dist/cjs/th-b011dfda.js +0 -64
- package/dist/cjs/time-5c558990.js +0 -289
- package/dist/cjs/tr-64095398.js +0 -65
- package/dist/cjs/uk-942a3963.js +0 -103
- package/dist/cjs/utils-a3c937c3.js +0 -59
- package/dist/cjs/utils-bad1a9c3.js +0 -64
- package/dist/cjs/utils-bbda4ba3.js +0 -93
- package/dist/cjs/utils-e99ff998.js +0 -221
- package/dist/cjs/vi-1f4b147c.js +0 -69
- package/dist/cjs/zh-cn-d312b710.js +0 -93
- package/dist/cjs/zh-hk-8237d0e3.js +0 -70
- package/dist/cjs/zh-tw-f28548c8.js +0 -91
- package/dist/components/responsive.js +0 -42
- package/dist/esm/ExpandToggle-e107f9b4.js +0 -110
- package/dist/esm/FloatingArrow-3bcbf69c.js +0 -46
- package/dist/esm/Heading-d54e4e64.js +0 -22
- package/dist/esm/app-globals-d6e155e2.js +0 -67
- package/dist/esm/ar-6024936e.js +0 -101
- package/dist/esm/array-3a471981.js +0 -15
- package/dist/esm/bg-0aaf375e.js +0 -79
- package/dist/esm/browser-b8a2c2d7.js +0 -21
- package/dist/esm/bs-a29d4263.js +0 -48
- package/dist/esm/ca-7025e8bd.js +0 -68
- package/dist/esm/calcite-input-number_2.entry.js +0 -915
- package/dist/esm/calcite-input-time-picker-970d2da4.js +0 -1845
- package/dist/esm/conditionalSlot-2966afcc.js +0 -60
- package/dist/esm/cs-e75d4f0f.js +0 -144
- package/dist/esm/da-7ef2ef83.js +0 -63
- package/dist/esm/date-05688c80.js +0 -245
- package/dist/esm/de-8c937192.js +0 -88
- package/dist/esm/de-at-2d6f27fb.js +0 -87
- package/dist/esm/de-ch-94e48c2e.js +0 -87
- package/dist/esm/dom-923ca11d.js +0 -1032
- package/dist/esm/el-a2fbe5ed.js +0 -63
- package/dist/esm/en-au-e41b88d1.js +0 -63
- package/dist/esm/en-ca-87be65a9.js +0 -62
- package/dist/esm/en-gb-83952182.js +0 -66
- package/dist/esm/es-141e8350.js +0 -63
- package/dist/esm/es-mx-b6a7e8b9.js +0 -62
- package/dist/esm/et-938a5466.js +0 -89
- package/dist/esm/fi-b2c86fbe.js +0 -112
- package/dist/esm/filter-a4d7ecd2.js +0 -763
- package/dist/esm/floating-ui-9c3f29d1.js +0 -1896
- package/dist/esm/focusTrapComponent-d703f459.js +0 -1004
- package/dist/esm/form-77fd19cb.js +0 -280
- package/dist/esm/fr-38f2377b.js +0 -65
- package/dist/esm/fr-ch-f0aa93c8.js +0 -63
- package/dist/esm/globalAttributes-43f1d649.js +0 -74
- package/dist/esm/guid-99d025c6.js +0 -24
- package/dist/esm/he-c4b286cd.js +0 -102
- package/dist/esm/hi-78cb42a0.js +0 -62
- package/dist/esm/hr-a4637cfd.js +0 -77
- package/dist/esm/hu-54c88160.js +0 -85
- package/dist/esm/id-059e47c6.js +0 -63
- package/dist/esm/index-7bd8186c.js +0 -71
- package/dist/esm/index-9d64f551.js +0 -170
- package/dist/esm/interactive-e95bbf6b.js +0 -143
- package/dist/esm/it-015c5cc3.js +0 -63
- package/dist/esm/it-ch-f345a8fe.js +0 -63
- package/dist/esm/ja-f6c91a37.js +0 -69
- package/dist/esm/key-5ab69c42.js +0 -16
- package/dist/esm/ko-7b0bfdfa.js +0 -69
- package/dist/esm/label-be61f66c.js +0 -148
- package/dist/esm/loadable-9617e31c.js +0 -89
- package/dist/esm/locale-76c0c1d9.js +0 -594
- package/dist/esm/lt-ebe0d73b.js +0 -94
- package/dist/esm/lv-f7cb8ecf.js +0 -63
- package/dist/esm/math-26607e9b.js +0 -54
- package/dist/esm/mk-fdcc6d81.js +0 -63
- package/dist/esm/nb-44fa5d1f.js +0 -64
- package/dist/esm/nl-72a97244.js +0 -64
- package/dist/esm/observers-115d1b4b.js +0 -51
- package/dist/esm/openCloseComponent-ecc80ec6.js +0 -90
- package/dist/esm/pl-6594cf3b.js +0 -111
- package/dist/esm/pt-a7407eb8.js +0 -64
- package/dist/esm/pt-br-83e7fa27.js +0 -62
- package/dist/esm/resources-0fa1514d.js +0 -22
- package/dist/esm/resources-19e558e7.js +0 -48
- package/dist/esm/resources-27261bc6.js +0 -24
- package/dist/esm/resources-4100c616.js +0 -35
- package/dist/esm/resources-55ef6d44.js +0 -2051
- package/dist/esm/resources-9158321b.js +0 -20
- package/dist/esm/resources-936a5f2d.js +0 -26
- package/dist/esm/resources-bb8600a6.js +0 -28
- package/dist/esm/resources-c8f83593.js +0 -20
- package/dist/esm/resources-ee6e347f.js +0 -24
- package/dist/esm/responsive-4d7ef153.js +0 -42
- package/dist/esm/ro-455d4855.js +0 -63
- package/dist/esm/ru-afedf1c0.js +0 -123
- package/dist/esm/shared-list-render-086be7e0.js +0 -342
- package/dist/esm/sk-593b7042.js +0 -145
- package/dist/esm/sl-738e75ca.js +0 -165
- package/dist/esm/sortableComponent-4a933f2e.js +0 -3103
- package/dist/esm/sr-46d78867.js +0 -98
- package/dist/esm/sv-a5afd0c2.js +0 -68
- package/dist/esm/t9n-709a2605.js +0 -95
- package/dist/esm/th-0e794832.js +0 -62
- package/dist/esm/time-a725be63.js +0 -274
- package/dist/esm/tr-c520e117.js +0 -63
- package/dist/esm/uk-98d8c935.js +0 -101
- package/dist/esm/utils-186d9d5e.js +0 -48
- package/dist/esm/utils-1c26ea1b.js +0 -61
- package/dist/esm/utils-3ad366fc.js +0 -85
- package/dist/esm/utils-9f44f942.js +0 -203
- package/dist/esm/vi-d6022534.js +0 -67
- package/dist/esm/zh-cn-c112d022.js +0 -91
- package/dist/esm/zh-hk-2d857989.js +0 -68
- package/dist/esm/zh-tw-196abcd0.js +0 -89
- package/dist/solutions-components/p-00026bea.js +0 -6
- package/dist/solutions-components/p-024c2016.js +0 -11
- package/dist/solutions-components/p-024ff2f9.js +0 -11
- package/dist/solutions-components/p-02e84287.entry.js +0 -11
- package/dist/solutions-components/p-039ac222.js +0 -11
- package/dist/solutions-components/p-071d92ec.entry.js +0 -18
- package/dist/solutions-components/p-091f2e4a.entry.js +0 -11
- package/dist/solutions-components/p-0a95c999.js +0 -11
- package/dist/solutions-components/p-0a976cf8.js +0 -6
- package/dist/solutions-components/p-0bd702b0.entry.js +0 -11
- package/dist/solutions-components/p-0c77262e.entry.js +0 -11
- package/dist/solutions-components/p-0ca9f9b0.js +0 -6
- package/dist/solutions-components/p-109dcfef.entry.js +0 -6
- package/dist/solutions-components/p-11a5efc8.entry.js +0 -11
- package/dist/solutions-components/p-1229516f.js +0 -11
- package/dist/solutions-components/p-123257b4.js +0 -6
- package/dist/solutions-components/p-139ff4ab.js +0 -6
- package/dist/solutions-components/p-1406bcc4.js +0 -18
- package/dist/solutions-components/p-151c5d71.js +0 -11
- package/dist/solutions-components/p-16d0f5e7.js +0 -6
- package/dist/solutions-components/p-1738c574.entry.js +0 -6
- package/dist/solutions-components/p-18bdcb54.js +0 -6
- package/dist/solutions-components/p-1abf4a98.entry.js +0 -12
- package/dist/solutions-components/p-1b606a4e.js +0 -6
- package/dist/solutions-components/p-1d8b5383.entry.js +0 -17
- package/dist/solutions-components/p-1efb6f5e.js +0 -6
- package/dist/solutions-components/p-1f8b3c22.js +0 -6
- package/dist/solutions-components/p-244fe501.js +0 -6
- package/dist/solutions-components/p-25736760.entry.js +0 -6
- package/dist/solutions-components/p-27431aa6.js +0 -11
- package/dist/solutions-components/p-27c3142d.js +0 -6
- package/dist/solutions-components/p-28657abb.entry.js +0 -11
- package/dist/solutions-components/p-29f22e76.entry.js +0 -11
- package/dist/solutions-components/p-2a8e0824.entry.js +0 -11
- package/dist/solutions-components/p-2c095772.entry.js +0 -11
- package/dist/solutions-components/p-2c49fea8.entry.js +0 -11
- package/dist/solutions-components/p-2c676869.entry.js +0 -11
- package/dist/solutions-components/p-2d34a885.entry.js +0 -6
- package/dist/solutions-components/p-2ee3afea.js +0 -12
- package/dist/solutions-components/p-2f9bab49.js +0 -11
- package/dist/solutions-components/p-3003e56a.js +0 -11
- package/dist/solutions-components/p-319e672e.js +0 -6
- package/dist/solutions-components/p-3324bc9c.js +0 -6
- package/dist/solutions-components/p-33833cea.js +0 -6
- package/dist/solutions-components/p-34fb2a6e.js +0 -11
- package/dist/solutions-components/p-353ff6c3.js +0 -17
- package/dist/solutions-components/p-3556a164.entry.js +0 -11
- package/dist/solutions-components/p-361b44ed.js +0 -11
- package/dist/solutions-components/p-369e28ed.js +0 -11
- package/dist/solutions-components/p-37551e19.entry.js +0 -28
- package/dist/solutions-components/p-3760847f.js +0 -11
- package/dist/solutions-components/p-3a712812.js +0 -6
- package/dist/solutions-components/p-3ca5956e.entry.js +0 -6
- package/dist/solutions-components/p-3e1346f4.js +0 -6
- package/dist/solutions-components/p-42472527.entry.js +0 -11
- package/dist/solutions-components/p-427f8955.js +0 -6
- package/dist/solutions-components/p-4349f3f7.js +0 -6
- package/dist/solutions-components/p-44ddfacf.entry.js +0 -6
- package/dist/solutions-components/p-455f4ed8.entry.js +0 -17
- package/dist/solutions-components/p-4879d789.js +0 -11
- package/dist/solutions-components/p-48a44c8d.js +0 -6
- package/dist/solutions-components/p-49dc53cb.js +0 -11
- package/dist/solutions-components/p-4b9ba22d.js +0 -17
- package/dist/solutions-components/p-4ce32f39.js +0 -6
- package/dist/solutions-components/p-4daf1755.entry.js +0 -11
- package/dist/solutions-components/p-4e58893d.js +0 -11
- package/dist/solutions-components/p-4eb21769.js +0 -11
- package/dist/solutions-components/p-50a7927d.entry.js +0 -11
- package/dist/solutions-components/p-524078d6.entry.js +0 -11
- package/dist/solutions-components/p-528116a5.js +0 -6
- package/dist/solutions-components/p-52d5d2c7.js +0 -6
- package/dist/solutions-components/p-53368491.js +0 -11
- package/dist/solutions-components/p-5507d527.entry.js +0 -17
- package/dist/solutions-components/p-59d706b4.js +0 -11
- package/dist/solutions-components/p-59f96664.js +0 -6
- package/dist/solutions-components/p-5f4fba81.entry.js +0 -11
- package/dist/solutions-components/p-60336409.entry.js +0 -17
- package/dist/solutions-components/p-640de6e2.js +0 -11
- package/dist/solutions-components/p-64106e73.js +0 -6
- package/dist/solutions-components/p-6536a858.js +0 -6
- package/dist/solutions-components/p-69925ee2.entry.js +0 -12
- package/dist/solutions-components/p-69b7a4da.js +0 -6
- package/dist/solutions-components/p-6acf6258.js +0 -6
- package/dist/solutions-components/p-6b7be761.entry.js +0 -11
- package/dist/solutions-components/p-6e779398.entry.js +0 -11
- package/dist/solutions-components/p-73e7af57.entry.js +0 -11
- package/dist/solutions-components/p-761adec1.js +0 -6
- package/dist/solutions-components/p-76384a24.js +0 -6
- package/dist/solutions-components/p-788f3c1c.js +0 -11
- package/dist/solutions-components/p-799ba781.js +0 -6
- package/dist/solutions-components/p-7c937dad.entry.js +0 -11
- package/dist/solutions-components/p-7d7e6744.js +0 -11
- package/dist/solutions-components/p-7fea302e.js +0 -6
- package/dist/solutions-components/p-800d0291.entry.js +0 -11
- package/dist/solutions-components/p-8239ee0e.entry.js +0 -6
- package/dist/solutions-components/p-83208f15.js +0 -6
- package/dist/solutions-components/p-857c255c.js +0 -6
- package/dist/solutions-components/p-866837f6.js +0 -11
- package/dist/solutions-components/p-86f482ca.js +0 -11
- package/dist/solutions-components/p-87e51c05.entry.js +0 -11
- package/dist/solutions-components/p-8a2ae571.js +0 -11
- package/dist/solutions-components/p-8f535590.entry.js +0 -6
- package/dist/solutions-components/p-8f650f5a.entry.js +0 -6
- package/dist/solutions-components/p-940c447c.js +0 -6
- package/dist/solutions-components/p-9640d89a.entry.js +0 -6
- package/dist/solutions-components/p-98d82820.entry.js +0 -11
- package/dist/solutions-components/p-9b5df16f.js +0 -6
- package/dist/solutions-components/p-9d54d7a0.entry.js +0 -29
- package/dist/solutions-components/p-9ddb9445.entry.js +0 -11
- package/dist/solutions-components/p-9e10d371.js +0 -6
- package/dist/solutions-components/p-9fd9dab0.entry.js +0 -35
- package/dist/solutions-components/p-a30bf8f8.entry.js +0 -11
- package/dist/solutions-components/p-a3538132.js +0 -6
- package/dist/solutions-components/p-a47c8ae2.js +0 -22
- package/dist/solutions-components/p-a525e175.entry.js +0 -11
- package/dist/solutions-components/p-a6774162.entry.js +0 -11
- package/dist/solutions-components/p-a678b2d3.js +0 -6
- package/dist/solutions-components/p-a99967f5.js +0 -6
- package/dist/solutions-components/p-abfec82b.js +0 -6
- package/dist/solutions-components/p-acd7494a.js +0 -6
- package/dist/solutions-components/p-b0e67c32.entry.js +0 -11
- package/dist/solutions-components/p-b3622a4e.js +0 -11
- package/dist/solutions-components/p-b41915d9.js +0 -16
- package/dist/solutions-components/p-b48e8dd1.js +0 -11
- package/dist/solutions-components/p-b587b224.entry.js +0 -6
- package/dist/solutions-components/p-b80631c4.js +0 -11
- package/dist/solutions-components/p-bc965d47.js +0 -12
- package/dist/solutions-components/p-bdc6be4b.entry.js +0 -11
- package/dist/solutions-components/p-bf9d3381.js +0 -16
- package/dist/solutions-components/p-c0ec94af.js +0 -6
- package/dist/solutions-components/p-c191d28c.entry.js +0 -17
- package/dist/solutions-components/p-c24040ec.js +0 -11
- package/dist/solutions-components/p-c4a448a3.js +0 -6
- package/dist/solutions-components/p-c69ba9db.entry.js +0 -11
- package/dist/solutions-components/p-c8e772fb.js +0 -6
- package/dist/solutions-components/p-c9ba6598.js +0 -6
- package/dist/solutions-components/p-c9d9ac15.entry.js +0 -6
- package/dist/solutions-components/p-ca37ebd0.entry.js +0 -6
- package/dist/solutions-components/p-ca53679d.entry.js +0 -11
- package/dist/solutions-components/p-cb8e599c.js +0 -6
- package/dist/solutions-components/p-cbe3b9ee.js +0 -6
- package/dist/solutions-components/p-cdfe141e.entry.js +0 -11
- package/dist/solutions-components/p-cefde738.entry.js +0 -11
- package/dist/solutions-components/p-d0e59d62.js +0 -6
- package/dist/solutions-components/p-d16db4eb.entry.js +0 -11
- package/dist/solutions-components/p-d4278729.js +0 -11
- package/dist/solutions-components/p-d6f51bea.entry.js +0 -11
- package/dist/solutions-components/p-d78136be.entry.js +0 -11
- package/dist/solutions-components/p-d7953124.entry.js +0 -11
- package/dist/solutions-components/p-d85e1fbe.entry.js +0 -11
- package/dist/solutions-components/p-dcf0f0c8.entry.js +0 -12
- package/dist/solutions-components/p-dd36af4f.js +0 -11
- package/dist/solutions-components/p-dd4e5f64.js +0 -11
- package/dist/solutions-components/p-dd6b827e.entry.js +0 -16
- package/dist/solutions-components/p-e004e8e2.js +0 -16
- package/dist/solutions-components/p-e1e22909.entry.js +0 -11
- package/dist/solutions-components/p-e1f1e124.entry.js +0 -11
- package/dist/solutions-components/p-e416078b.entry.js +0 -6
- package/dist/solutions-components/p-e592e744.entry.js +0 -6
- package/dist/solutions-components/p-e6371690.entry.js +0 -6
- package/dist/solutions-components/p-ed3bd9b8.entry.js +0 -17
- package/dist/solutions-components/p-ed95f634.entry.js +0 -6
- package/dist/solutions-components/p-ee13cafa.entry.js +0 -11
- package/dist/solutions-components/p-ee839f28.entry.js +0 -11
- package/dist/solutions-components/p-efc041d0.js +0 -11
- package/dist/solutions-components/p-f20097e5.js +0 -6
- package/dist/solutions-components/p-f3f83c1e.js +0 -6
- package/dist/solutions-components/p-f52ee45d.js +0 -11
- package/dist/solutions-components/p-fb67a388.entry.js +0 -17
- package/dist/solutions-components/p-fbbfed75.entry.js +0 -18
- package/dist/solutions-components/p-fe9cdc3d.entry.js +0 -6
@@ -1,1845 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b05b3079.js';
|
7
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-77fd19cb.js';
|
8
|
-
import { g as guid } from './guid-99d025c6.js';
|
9
|
-
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive-e95bbf6b.js';
|
10
|
-
import { n as numberKeys } from './key-5ab69c42.js';
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-be61f66c.js';
|
12
|
-
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-9617e31c.js';
|
13
|
-
import { n as numberStringFormatter, g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized } from './locale-76c0c1d9.js';
|
14
|
-
import { d as deactivateFocusTrap, a as activateFocusTrap, c as connectFocusTrap } from './focusTrapComponent-d703f459.js';
|
15
|
-
import { l as localizeTimeString, t as toISOTimeString, i as isValidTime, f as formatTimeString, a as formatTimePart } from './time-a725be63.js';
|
16
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n-709a2605.js';
|
17
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-ecc80ec6.js';
|
18
|
-
import { d as decimalPlaces } from './math-26607e9b.js';
|
19
|
-
|
20
|
-
/*!
|
21
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
22
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
23
|
-
* v1.9.0
|
24
|
-
*/
|
25
|
-
const CSS = {
|
26
|
-
toggleIcon: "toggle-icon",
|
27
|
-
};
|
28
|
-
|
29
|
-
var SECONDS_A_MINUTE = 60;
|
30
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
31
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
32
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
33
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
34
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
35
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
36
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
37
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
38
|
-
|
39
|
-
var MS = 'millisecond';
|
40
|
-
var S = 'second';
|
41
|
-
var MIN = 'minute';
|
42
|
-
var H = 'hour';
|
43
|
-
var D = 'day';
|
44
|
-
var W = 'week';
|
45
|
-
var M = 'month';
|
46
|
-
var Q = 'quarter';
|
47
|
-
var Y = 'year';
|
48
|
-
var DATE = 'date';
|
49
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
50
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
51
|
-
|
52
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
53
|
-
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
54
|
-
|
55
|
-
// English [en]
|
56
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
57
|
-
const en = {
|
58
|
-
name: 'en',
|
59
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
60
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
61
|
-
ordinal: function ordinal(n) {
|
62
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
63
|
-
var v = n % 100;
|
64
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
65
|
-
}
|
66
|
-
};
|
67
|
-
|
68
|
-
const en$1 = /*#__PURE__*/Object.freeze({
|
69
|
-
__proto__: null,
|
70
|
-
'default': en
|
71
|
-
});
|
72
|
-
|
73
|
-
var padStart = function padStart(string, length, pad) {
|
74
|
-
var s = String(string);
|
75
|
-
if (!s || s.length >= length) return string;
|
76
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
77
|
-
};
|
78
|
-
|
79
|
-
var padZoneStr = function padZoneStr(instance) {
|
80
|
-
var negMinutes = -instance.utcOffset();
|
81
|
-
var minutes = Math.abs(negMinutes);
|
82
|
-
var hourOffset = Math.floor(minutes / 60);
|
83
|
-
var minuteOffset = minutes % 60;
|
84
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
85
|
-
};
|
86
|
-
|
87
|
-
var monthDiff = function monthDiff(a, b) {
|
88
|
-
// function from moment.js in order to keep the same result
|
89
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
90
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
91
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
92
|
-
var c = b - anchor < 0;
|
93
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
94
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
95
|
-
};
|
96
|
-
|
97
|
-
var absFloor = function absFloor(n) {
|
98
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
99
|
-
};
|
100
|
-
|
101
|
-
var prettyUnit = function prettyUnit(u) {
|
102
|
-
var special = {
|
103
|
-
M: M,
|
104
|
-
y: Y,
|
105
|
-
w: W,
|
106
|
-
d: D,
|
107
|
-
D: DATE,
|
108
|
-
h: H,
|
109
|
-
m: MIN,
|
110
|
-
s: S,
|
111
|
-
ms: MS,
|
112
|
-
Q: Q
|
113
|
-
};
|
114
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
115
|
-
};
|
116
|
-
|
117
|
-
var isUndefined = function isUndefined(s) {
|
118
|
-
return s === undefined;
|
119
|
-
};
|
120
|
-
|
121
|
-
const U = {
|
122
|
-
s: padStart,
|
123
|
-
z: padZoneStr,
|
124
|
-
m: monthDiff,
|
125
|
-
a: absFloor,
|
126
|
-
p: prettyUnit,
|
127
|
-
u: isUndefined
|
128
|
-
};
|
129
|
-
|
130
|
-
var L = 'en'; // global locale
|
131
|
-
|
132
|
-
var Ls = {}; // global loaded locale
|
133
|
-
|
134
|
-
Ls[L] = en;
|
135
|
-
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
136
|
-
|
137
|
-
var isDayjs = function isDayjs(d) {
|
138
|
-
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
139
|
-
};
|
140
|
-
|
141
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
142
|
-
var l;
|
143
|
-
if (!preset) return L;
|
144
|
-
|
145
|
-
if (typeof preset === 'string') {
|
146
|
-
var presetLower = preset.toLowerCase();
|
147
|
-
|
148
|
-
if (Ls[presetLower]) {
|
149
|
-
l = presetLower;
|
150
|
-
}
|
151
|
-
|
152
|
-
if (object) {
|
153
|
-
Ls[presetLower] = object;
|
154
|
-
l = presetLower;
|
155
|
-
}
|
156
|
-
|
157
|
-
var presetSplit = preset.split('-');
|
158
|
-
|
159
|
-
if (!l && presetSplit.length > 1) {
|
160
|
-
return parseLocale(presetSplit[0]);
|
161
|
-
}
|
162
|
-
} else {
|
163
|
-
var name = preset.name;
|
164
|
-
Ls[name] = preset;
|
165
|
-
l = name;
|
166
|
-
}
|
167
|
-
|
168
|
-
if (!isLocal && l) L = l;
|
169
|
-
return l || !isLocal && L;
|
170
|
-
};
|
171
|
-
|
172
|
-
var dayjs = function dayjs(date, c) {
|
173
|
-
if (isDayjs(date)) {
|
174
|
-
return date.clone();
|
175
|
-
} // eslint-disable-next-line no-nested-ternary
|
176
|
-
|
177
|
-
|
178
|
-
var cfg = typeof c === 'object' ? c : {};
|
179
|
-
cfg.date = date;
|
180
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
181
|
-
|
182
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
183
|
-
};
|
184
|
-
|
185
|
-
var wrapper = function wrapper(date, instance) {
|
186
|
-
return dayjs(date, {
|
187
|
-
locale: instance.$L,
|
188
|
-
utc: instance.$u,
|
189
|
-
x: instance.$x,
|
190
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
191
|
-
|
192
|
-
});
|
193
|
-
};
|
194
|
-
|
195
|
-
var Utils = U; // for plugin use
|
196
|
-
|
197
|
-
Utils.l = parseLocale;
|
198
|
-
Utils.i = isDayjs;
|
199
|
-
Utils.w = wrapper;
|
200
|
-
|
201
|
-
var parseDate = function parseDate(cfg) {
|
202
|
-
var date = cfg.date,
|
203
|
-
utc = cfg.utc;
|
204
|
-
if (date === null) return new Date(NaN); // null is invalid
|
205
|
-
|
206
|
-
if (Utils.u(date)) return new Date(); // today
|
207
|
-
|
208
|
-
if (date instanceof Date) return new Date(date);
|
209
|
-
|
210
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
211
|
-
var d = date.match(REGEX_PARSE);
|
212
|
-
|
213
|
-
if (d) {
|
214
|
-
var m = d[2] - 1 || 0;
|
215
|
-
var ms = (d[7] || '0').substring(0, 3);
|
216
|
-
|
217
|
-
if (utc) {
|
218
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
219
|
-
}
|
220
|
-
|
221
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
return new Date(date); // everything else
|
226
|
-
};
|
227
|
-
|
228
|
-
var Dayjs = /*#__PURE__*/function () {
|
229
|
-
function Dayjs(cfg) {
|
230
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
231
|
-
this.parse(cfg); // for plugin
|
232
|
-
|
233
|
-
this.$x = this.$x || cfg.x || {};
|
234
|
-
this[IS_DAYJS] = true;
|
235
|
-
}
|
236
|
-
|
237
|
-
var _proto = Dayjs.prototype;
|
238
|
-
|
239
|
-
_proto.parse = function parse(cfg) {
|
240
|
-
this.$d = parseDate(cfg);
|
241
|
-
this.init();
|
242
|
-
};
|
243
|
-
|
244
|
-
_proto.init = function init() {
|
245
|
-
var $d = this.$d;
|
246
|
-
this.$y = $d.getFullYear();
|
247
|
-
this.$M = $d.getMonth();
|
248
|
-
this.$D = $d.getDate();
|
249
|
-
this.$W = $d.getDay();
|
250
|
-
this.$H = $d.getHours();
|
251
|
-
this.$m = $d.getMinutes();
|
252
|
-
this.$s = $d.getSeconds();
|
253
|
-
this.$ms = $d.getMilliseconds();
|
254
|
-
} // eslint-disable-next-line class-methods-use-this
|
255
|
-
;
|
256
|
-
|
257
|
-
_proto.$utils = function $utils() {
|
258
|
-
return Utils;
|
259
|
-
};
|
260
|
-
|
261
|
-
_proto.isValid = function isValid() {
|
262
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
263
|
-
};
|
264
|
-
|
265
|
-
_proto.isSame = function isSame(that, units) {
|
266
|
-
var other = dayjs(that);
|
267
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
268
|
-
};
|
269
|
-
|
270
|
-
_proto.isAfter = function isAfter(that, units) {
|
271
|
-
return dayjs(that) < this.startOf(units);
|
272
|
-
};
|
273
|
-
|
274
|
-
_proto.isBefore = function isBefore(that, units) {
|
275
|
-
return this.endOf(units) < dayjs(that);
|
276
|
-
};
|
277
|
-
|
278
|
-
_proto.$g = function $g(input, get, set) {
|
279
|
-
if (Utils.u(input)) return this[get];
|
280
|
-
return this.set(set, input);
|
281
|
-
};
|
282
|
-
|
283
|
-
_proto.unix = function unix() {
|
284
|
-
return Math.floor(this.valueOf() / 1000);
|
285
|
-
};
|
286
|
-
|
287
|
-
_proto.valueOf = function valueOf() {
|
288
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
289
|
-
return this.$d.getTime();
|
290
|
-
};
|
291
|
-
|
292
|
-
_proto.startOf = function startOf(units, _startOf) {
|
293
|
-
var _this = this;
|
294
|
-
|
295
|
-
// startOf -> endOf
|
296
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
297
|
-
var unit = Utils.p(units);
|
298
|
-
|
299
|
-
var instanceFactory = function instanceFactory(d, m) {
|
300
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
301
|
-
return isStartOf ? ins : ins.endOf(D);
|
302
|
-
};
|
303
|
-
|
304
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
305
|
-
var argumentStart = [0, 0, 0, 0];
|
306
|
-
var argumentEnd = [23, 59, 59, 999];
|
307
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
308
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
309
|
-
};
|
310
|
-
|
311
|
-
var $W = this.$W,
|
312
|
-
$M = this.$M,
|
313
|
-
$D = this.$D;
|
314
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
315
|
-
|
316
|
-
switch (unit) {
|
317
|
-
case Y:
|
318
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
319
|
-
|
320
|
-
case M:
|
321
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
322
|
-
|
323
|
-
case W:
|
324
|
-
{
|
325
|
-
var weekStart = this.$locale().weekStart || 0;
|
326
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
327
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
328
|
-
}
|
329
|
-
|
330
|
-
case D:
|
331
|
-
case DATE:
|
332
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
333
|
-
|
334
|
-
case H:
|
335
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
336
|
-
|
337
|
-
case MIN:
|
338
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
339
|
-
|
340
|
-
case S:
|
341
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
342
|
-
|
343
|
-
default:
|
344
|
-
return this.clone();
|
345
|
-
}
|
346
|
-
};
|
347
|
-
|
348
|
-
_proto.endOf = function endOf(arg) {
|
349
|
-
return this.startOf(arg, false);
|
350
|
-
};
|
351
|
-
|
352
|
-
_proto.$set = function $set(units, _int) {
|
353
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
354
|
-
|
355
|
-
// private set
|
356
|
-
var unit = Utils.p(units);
|
357
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
358
|
-
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
359
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
360
|
-
|
361
|
-
if (unit === M || unit === Y) {
|
362
|
-
// clone is for badMutable plugin
|
363
|
-
var date = this.clone().set(DATE, 1);
|
364
|
-
date.$d[name](arg);
|
365
|
-
date.init();
|
366
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
367
|
-
} else if (name) this.$d[name](arg);
|
368
|
-
|
369
|
-
this.init();
|
370
|
-
return this;
|
371
|
-
};
|
372
|
-
|
373
|
-
_proto.set = function set(string, _int2) {
|
374
|
-
return this.clone().$set(string, _int2);
|
375
|
-
};
|
376
|
-
|
377
|
-
_proto.get = function get(unit) {
|
378
|
-
return this[Utils.p(unit)]();
|
379
|
-
};
|
380
|
-
|
381
|
-
_proto.add = function add(number, units) {
|
382
|
-
var _this2 = this,
|
383
|
-
_C$MIN$C$H$C$S$unit;
|
384
|
-
|
385
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
386
|
-
|
387
|
-
var unit = Utils.p(units);
|
388
|
-
|
389
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
390
|
-
var d = dayjs(_this2);
|
391
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
392
|
-
};
|
393
|
-
|
394
|
-
if (unit === M) {
|
395
|
-
return this.set(M, this.$M + number);
|
396
|
-
}
|
397
|
-
|
398
|
-
if (unit === Y) {
|
399
|
-
return this.set(Y, this.$y + number);
|
400
|
-
}
|
401
|
-
|
402
|
-
if (unit === D) {
|
403
|
-
return instanceFactorySet(1);
|
404
|
-
}
|
405
|
-
|
406
|
-
if (unit === W) {
|
407
|
-
return instanceFactorySet(7);
|
408
|
-
}
|
409
|
-
|
410
|
-
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
411
|
-
|
412
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
413
|
-
return Utils.w(nextTimeStamp, this);
|
414
|
-
};
|
415
|
-
|
416
|
-
_proto.subtract = function subtract(number, string) {
|
417
|
-
return this.add(number * -1, string);
|
418
|
-
};
|
419
|
-
|
420
|
-
_proto.format = function format(formatStr) {
|
421
|
-
var _this3 = this;
|
422
|
-
|
423
|
-
var locale = this.$locale();
|
424
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
425
|
-
var str = formatStr || FORMAT_DEFAULT;
|
426
|
-
var zoneStr = Utils.z(this);
|
427
|
-
var $H = this.$H,
|
428
|
-
$m = this.$m,
|
429
|
-
$M = this.$M;
|
430
|
-
var weekdays = locale.weekdays,
|
431
|
-
months = locale.months,
|
432
|
-
meridiem = locale.meridiem;
|
433
|
-
|
434
|
-
var getShort = function getShort(arr, index, full, length) {
|
435
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
436
|
-
};
|
437
|
-
|
438
|
-
var get$H = function get$H(num) {
|
439
|
-
return Utils.s($H % 12 || 12, num, '0');
|
440
|
-
};
|
441
|
-
|
442
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
443
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
444
|
-
return isLowercase ? m.toLowerCase() : m;
|
445
|
-
};
|
446
|
-
|
447
|
-
var matches = function matches(match) {
|
448
|
-
switch (match) {
|
449
|
-
case 'YY':
|
450
|
-
return String(_this3.$y).slice(-2);
|
451
|
-
|
452
|
-
case 'YYYY':
|
453
|
-
return Utils.s(_this3.$y, 4, '0');
|
454
|
-
|
455
|
-
case 'M':
|
456
|
-
return $M + 1;
|
457
|
-
|
458
|
-
case 'MM':
|
459
|
-
return Utils.s($M + 1, 2, '0');
|
460
|
-
|
461
|
-
case 'MMM':
|
462
|
-
return getShort(locale.monthsShort, $M, months, 3);
|
463
|
-
|
464
|
-
case 'MMMM':
|
465
|
-
return getShort(months, $M);
|
466
|
-
|
467
|
-
case 'D':
|
468
|
-
return _this3.$D;
|
469
|
-
|
470
|
-
case 'DD':
|
471
|
-
return Utils.s(_this3.$D, 2, '0');
|
472
|
-
|
473
|
-
case 'd':
|
474
|
-
return String(_this3.$W);
|
475
|
-
|
476
|
-
case 'dd':
|
477
|
-
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
478
|
-
|
479
|
-
case 'ddd':
|
480
|
-
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
481
|
-
|
482
|
-
case 'dddd':
|
483
|
-
return weekdays[_this3.$W];
|
484
|
-
|
485
|
-
case 'H':
|
486
|
-
return String($H);
|
487
|
-
|
488
|
-
case 'HH':
|
489
|
-
return Utils.s($H, 2, '0');
|
490
|
-
|
491
|
-
case 'h':
|
492
|
-
return get$H(1);
|
493
|
-
|
494
|
-
case 'hh':
|
495
|
-
return get$H(2);
|
496
|
-
|
497
|
-
case 'a':
|
498
|
-
return meridiemFunc($H, $m, true);
|
499
|
-
|
500
|
-
case 'A':
|
501
|
-
return meridiemFunc($H, $m, false);
|
502
|
-
|
503
|
-
case 'm':
|
504
|
-
return String($m);
|
505
|
-
|
506
|
-
case 'mm':
|
507
|
-
return Utils.s($m, 2, '0');
|
508
|
-
|
509
|
-
case 's':
|
510
|
-
return String(_this3.$s);
|
511
|
-
|
512
|
-
case 'ss':
|
513
|
-
return Utils.s(_this3.$s, 2, '0');
|
514
|
-
|
515
|
-
case 'SSS':
|
516
|
-
return Utils.s(_this3.$ms, 3, '0');
|
517
|
-
|
518
|
-
case 'Z':
|
519
|
-
return zoneStr;
|
520
|
-
}
|
521
|
-
|
522
|
-
return null;
|
523
|
-
};
|
524
|
-
|
525
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
526
|
-
return $1 || matches(match) || zoneStr.replace(':', '');
|
527
|
-
}); // 'ZZ'
|
528
|
-
};
|
529
|
-
|
530
|
-
_proto.utcOffset = function utcOffset() {
|
531
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
532
|
-
// https://github.com/moment/moment/pull/1871
|
533
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
534
|
-
};
|
535
|
-
|
536
|
-
_proto.diff = function diff(input, units, _float) {
|
537
|
-
var _this4 = this;
|
538
|
-
|
539
|
-
var unit = Utils.p(units);
|
540
|
-
var that = dayjs(input);
|
541
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
542
|
-
var diff = this - that;
|
543
|
-
|
544
|
-
var getMonth = function getMonth() {
|
545
|
-
return Utils.m(_this4, that);
|
546
|
-
};
|
547
|
-
|
548
|
-
var result;
|
549
|
-
|
550
|
-
switch (unit) {
|
551
|
-
case Y:
|
552
|
-
result = getMonth() / 12;
|
553
|
-
break;
|
554
|
-
|
555
|
-
case M:
|
556
|
-
result = getMonth();
|
557
|
-
break;
|
558
|
-
|
559
|
-
case Q:
|
560
|
-
result = getMonth() / 3;
|
561
|
-
break;
|
562
|
-
|
563
|
-
case W:
|
564
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
565
|
-
break;
|
566
|
-
|
567
|
-
case D:
|
568
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
569
|
-
break;
|
570
|
-
|
571
|
-
case H:
|
572
|
-
result = diff / MILLISECONDS_A_HOUR;
|
573
|
-
break;
|
574
|
-
|
575
|
-
case MIN:
|
576
|
-
result = diff / MILLISECONDS_A_MINUTE;
|
577
|
-
break;
|
578
|
-
|
579
|
-
case S:
|
580
|
-
result = diff / MILLISECONDS_A_SECOND;
|
581
|
-
break;
|
582
|
-
|
583
|
-
default:
|
584
|
-
result = diff; // milliseconds
|
585
|
-
|
586
|
-
break;
|
587
|
-
}
|
588
|
-
|
589
|
-
return _float ? result : Utils.a(result);
|
590
|
-
};
|
591
|
-
|
592
|
-
_proto.daysInMonth = function daysInMonth() {
|
593
|
-
return this.endOf(M).$D;
|
594
|
-
};
|
595
|
-
|
596
|
-
_proto.$locale = function $locale() {
|
597
|
-
// get locale object
|
598
|
-
return Ls[this.$L];
|
599
|
-
};
|
600
|
-
|
601
|
-
_proto.locale = function locale(preset, object) {
|
602
|
-
if (!preset) return this.$L;
|
603
|
-
var that = this.clone();
|
604
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
605
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
606
|
-
return that;
|
607
|
-
};
|
608
|
-
|
609
|
-
_proto.clone = function clone() {
|
610
|
-
return Utils.w(this.$d, this);
|
611
|
-
};
|
612
|
-
|
613
|
-
_proto.toDate = function toDate() {
|
614
|
-
return new Date(this.valueOf());
|
615
|
-
};
|
616
|
-
|
617
|
-
_proto.toJSON = function toJSON() {
|
618
|
-
return this.isValid() ? this.toISOString() : null;
|
619
|
-
};
|
620
|
-
|
621
|
-
_proto.toISOString = function toISOString() {
|
622
|
-
// ie 8 return
|
623
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
624
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
625
|
-
return this.$d.toISOString();
|
626
|
-
};
|
627
|
-
|
628
|
-
_proto.toString = function toString() {
|
629
|
-
return this.$d.toUTCString();
|
630
|
-
};
|
631
|
-
|
632
|
-
return Dayjs;
|
633
|
-
}();
|
634
|
-
|
635
|
-
var proto = Dayjs.prototype;
|
636
|
-
dayjs.prototype = proto;
|
637
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
638
|
-
proto[g[1]] = function (input) {
|
639
|
-
return this.$g(input, g[0], g[1]);
|
640
|
-
};
|
641
|
-
});
|
642
|
-
|
643
|
-
dayjs.extend = function (plugin, option) {
|
644
|
-
if (!plugin.$i) {
|
645
|
-
// install plugin only once
|
646
|
-
plugin(option, Dayjs, dayjs);
|
647
|
-
plugin.$i = true;
|
648
|
-
}
|
649
|
-
|
650
|
-
return dayjs;
|
651
|
-
};
|
652
|
-
|
653
|
-
dayjs.locale = parseLocale;
|
654
|
-
dayjs.isDayjs = isDayjs;
|
655
|
-
|
656
|
-
dayjs.unix = function (timestamp) {
|
657
|
-
return dayjs(timestamp * 1e3);
|
658
|
-
};
|
659
|
-
|
660
|
-
dayjs.en = Ls[L];
|
661
|
-
dayjs.Ls = Ls;
|
662
|
-
dayjs.p = {};
|
663
|
-
|
664
|
-
// eslint-disable-next-line import/prefer-default-export
|
665
|
-
var t = function t(format) {
|
666
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
667
|
-
return a || b.slice(1);
|
668
|
-
});
|
669
|
-
};
|
670
|
-
var englishFormats = {
|
671
|
-
LTS: 'h:mm:ss A',
|
672
|
-
LT: 'h:mm A',
|
673
|
-
L: 'MM/DD/YYYY',
|
674
|
-
LL: 'MMMM D, YYYY',
|
675
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
676
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
677
|
-
};
|
678
|
-
var u = function u(formatStr, formats) {
|
679
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
680
|
-
var B = b && b.toUpperCase();
|
681
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
682
|
-
});
|
683
|
-
};
|
684
|
-
|
685
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
686
|
-
var match1 = /\d/; // 0 - 9
|
687
|
-
|
688
|
-
var match2 = /\d\d/; // 00 - 99
|
689
|
-
|
690
|
-
var match3 = /\d{3}/; // 000 - 999
|
691
|
-
|
692
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
693
|
-
|
694
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
695
|
-
|
696
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
697
|
-
|
698
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
699
|
-
|
700
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
701
|
-
|
702
|
-
var locale = {};
|
703
|
-
|
704
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
705
|
-
input = +input;
|
706
|
-
return input + (input > 68 ? 1900 : 2000);
|
707
|
-
};
|
708
|
-
|
709
|
-
function offsetFromString(string) {
|
710
|
-
if (!string) return 0;
|
711
|
-
if (string === 'Z') return 0;
|
712
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
713
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
714
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
715
|
-
}
|
716
|
-
|
717
|
-
var addInput = function addInput(property) {
|
718
|
-
return function (input) {
|
719
|
-
this[property] = +input;
|
720
|
-
};
|
721
|
-
};
|
722
|
-
|
723
|
-
var zoneExpressions = [matchOffset, function (input) {
|
724
|
-
var zone = this.zone || (this.zone = {});
|
725
|
-
zone.offset = offsetFromString(input);
|
726
|
-
}];
|
727
|
-
|
728
|
-
var getLocalePart = function getLocalePart(name) {
|
729
|
-
var part = locale[name];
|
730
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
731
|
-
};
|
732
|
-
|
733
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
734
|
-
var isAfternoon;
|
735
|
-
var _locale = locale,
|
736
|
-
meridiem = _locale.meridiem;
|
737
|
-
|
738
|
-
if (!meridiem) {
|
739
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
740
|
-
} else {
|
741
|
-
for (var i = 1; i <= 24; i += 1) {
|
742
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
743
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
744
|
-
isAfternoon = i > 12;
|
745
|
-
break;
|
746
|
-
}
|
747
|
-
}
|
748
|
-
}
|
749
|
-
|
750
|
-
return isAfternoon;
|
751
|
-
};
|
752
|
-
|
753
|
-
var expressions = {
|
754
|
-
A: [matchWord, function (input) {
|
755
|
-
this.afternoon = meridiemMatch(input, false);
|
756
|
-
}],
|
757
|
-
a: [matchWord, function (input) {
|
758
|
-
this.afternoon = meridiemMatch(input, true);
|
759
|
-
}],
|
760
|
-
S: [match1, function (input) {
|
761
|
-
this.milliseconds = +input * 100;
|
762
|
-
}],
|
763
|
-
SS: [match2, function (input) {
|
764
|
-
this.milliseconds = +input * 10;
|
765
|
-
}],
|
766
|
-
SSS: [match3, function (input) {
|
767
|
-
this.milliseconds = +input;
|
768
|
-
}],
|
769
|
-
s: [match1to2, addInput('seconds')],
|
770
|
-
ss: [match1to2, addInput('seconds')],
|
771
|
-
m: [match1to2, addInput('minutes')],
|
772
|
-
mm: [match1to2, addInput('minutes')],
|
773
|
-
H: [match1to2, addInput('hours')],
|
774
|
-
h: [match1to2, addInput('hours')],
|
775
|
-
HH: [match1to2, addInput('hours')],
|
776
|
-
hh: [match1to2, addInput('hours')],
|
777
|
-
D: [match1to2, addInput('day')],
|
778
|
-
DD: [match2, addInput('day')],
|
779
|
-
Do: [matchWord, function (input) {
|
780
|
-
var _locale2 = locale,
|
781
|
-
ordinal = _locale2.ordinal;
|
782
|
-
|
783
|
-
var _input$match = input.match(/\d+/);
|
784
|
-
|
785
|
-
this.day = _input$match[0];
|
786
|
-
if (!ordinal) return;
|
787
|
-
|
788
|
-
for (var i = 1; i <= 31; i += 1) {
|
789
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
790
|
-
this.day = i;
|
791
|
-
}
|
792
|
-
}
|
793
|
-
}],
|
794
|
-
M: [match1to2, addInput('month')],
|
795
|
-
MM: [match2, addInput('month')],
|
796
|
-
MMM: [matchWord, function (input) {
|
797
|
-
var months = getLocalePart('months');
|
798
|
-
var monthsShort = getLocalePart('monthsShort');
|
799
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
800
|
-
return _.slice(0, 3);
|
801
|
-
})).indexOf(input) + 1;
|
802
|
-
|
803
|
-
if (matchIndex < 1) {
|
804
|
-
throw new Error();
|
805
|
-
}
|
806
|
-
|
807
|
-
this.month = matchIndex % 12 || matchIndex;
|
808
|
-
}],
|
809
|
-
MMMM: [matchWord, function (input) {
|
810
|
-
var months = getLocalePart('months');
|
811
|
-
var matchIndex = months.indexOf(input) + 1;
|
812
|
-
|
813
|
-
if (matchIndex < 1) {
|
814
|
-
throw new Error();
|
815
|
-
}
|
816
|
-
|
817
|
-
this.month = matchIndex % 12 || matchIndex;
|
818
|
-
}],
|
819
|
-
Y: [matchSigned, addInput('year')],
|
820
|
-
YY: [match2, function (input) {
|
821
|
-
this.year = parseTwoDigitYear(input);
|
822
|
-
}],
|
823
|
-
YYYY: [match4, addInput('year')],
|
824
|
-
Z: zoneExpressions,
|
825
|
-
ZZ: zoneExpressions
|
826
|
-
};
|
827
|
-
|
828
|
-
function correctHours(time) {
|
829
|
-
var afternoon = time.afternoon;
|
830
|
-
|
831
|
-
if (afternoon !== undefined) {
|
832
|
-
var hours = time.hours;
|
833
|
-
|
834
|
-
if (afternoon) {
|
835
|
-
if (hours < 12) {
|
836
|
-
time.hours += 12;
|
837
|
-
}
|
838
|
-
} else if (hours === 12) {
|
839
|
-
time.hours = 0;
|
840
|
-
}
|
841
|
-
|
842
|
-
delete time.afternoon;
|
843
|
-
}
|
844
|
-
}
|
845
|
-
|
846
|
-
function makeParser(format) {
|
847
|
-
format = u(format, locale && locale.formats);
|
848
|
-
var array = format.match(formattingTokens);
|
849
|
-
var length = array.length;
|
850
|
-
|
851
|
-
for (var i = 0; i < length; i += 1) {
|
852
|
-
var token = array[i];
|
853
|
-
var parseTo = expressions[token];
|
854
|
-
var regex = parseTo && parseTo[0];
|
855
|
-
var parser = parseTo && parseTo[1];
|
856
|
-
|
857
|
-
if (parser) {
|
858
|
-
array[i] = {
|
859
|
-
regex: regex,
|
860
|
-
parser: parser
|
861
|
-
};
|
862
|
-
} else {
|
863
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
864
|
-
}
|
865
|
-
}
|
866
|
-
|
867
|
-
return function (input) {
|
868
|
-
var time = {};
|
869
|
-
|
870
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
871
|
-
var _token = array[_i];
|
872
|
-
|
873
|
-
if (typeof _token === 'string') {
|
874
|
-
start += _token.length;
|
875
|
-
} else {
|
876
|
-
var _regex = _token.regex,
|
877
|
-
_parser = _token.parser;
|
878
|
-
var part = input.slice(start);
|
879
|
-
|
880
|
-
var match = _regex.exec(part);
|
881
|
-
|
882
|
-
var value = match[0];
|
883
|
-
|
884
|
-
_parser.call(time, value);
|
885
|
-
|
886
|
-
input = input.replace(value, '');
|
887
|
-
}
|
888
|
-
}
|
889
|
-
|
890
|
-
correctHours(time);
|
891
|
-
return time;
|
892
|
-
};
|
893
|
-
}
|
894
|
-
|
895
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
896
|
-
try {
|
897
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
898
|
-
var parser = makeParser(format);
|
899
|
-
|
900
|
-
var _parser2 = parser(input),
|
901
|
-
year = _parser2.year,
|
902
|
-
month = _parser2.month,
|
903
|
-
day = _parser2.day,
|
904
|
-
hours = _parser2.hours,
|
905
|
-
minutes = _parser2.minutes,
|
906
|
-
seconds = _parser2.seconds,
|
907
|
-
milliseconds = _parser2.milliseconds,
|
908
|
-
zone = _parser2.zone;
|
909
|
-
|
910
|
-
var now = new Date();
|
911
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
912
|
-
var y = year || now.getFullYear();
|
913
|
-
var M = 0;
|
914
|
-
|
915
|
-
if (!(year && !month)) {
|
916
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
917
|
-
}
|
918
|
-
|
919
|
-
var h = hours || 0;
|
920
|
-
var m = minutes || 0;
|
921
|
-
var s = seconds || 0;
|
922
|
-
var ms = milliseconds || 0;
|
923
|
-
|
924
|
-
if (zone) {
|
925
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
926
|
-
}
|
927
|
-
|
928
|
-
if (utc) {
|
929
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
930
|
-
}
|
931
|
-
|
932
|
-
return new Date(y, M, d, h, m, s, ms);
|
933
|
-
} catch (e) {
|
934
|
-
return new Date(''); // Invalid Date
|
935
|
-
}
|
936
|
-
};
|
937
|
-
|
938
|
-
const customParseFormat = (function (o, C, d) {
|
939
|
-
d.p.customParseFormat = true;
|
940
|
-
|
941
|
-
if (o && o.parseTwoDigitYear) {
|
942
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
943
|
-
}
|
944
|
-
|
945
|
-
var proto = C.prototype;
|
946
|
-
var oldParse = proto.parse;
|
947
|
-
|
948
|
-
proto.parse = function (cfg) {
|
949
|
-
var date = cfg.date,
|
950
|
-
utc = cfg.utc,
|
951
|
-
args = cfg.args;
|
952
|
-
this.$u = utc;
|
953
|
-
var format = args[1];
|
954
|
-
|
955
|
-
if (typeof format === 'string') {
|
956
|
-
var isStrictWithoutLocale = args[2] === true;
|
957
|
-
var isStrictWithLocale = args[3] === true;
|
958
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
959
|
-
var pl = args[2];
|
960
|
-
|
961
|
-
if (isStrictWithLocale) {
|
962
|
-
pl = args[2];
|
963
|
-
}
|
964
|
-
|
965
|
-
locale = this.$locale();
|
966
|
-
|
967
|
-
if (!isStrictWithoutLocale && pl) {
|
968
|
-
locale = d.Ls[pl];
|
969
|
-
}
|
970
|
-
|
971
|
-
this.$d = parseFormattedInput(date, format, utc);
|
972
|
-
this.init();
|
973
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
974
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
975
|
-
// eslint-disable-next-line eqeqeq
|
976
|
-
|
977
|
-
if (isStrict && date != this.format(format)) {
|
978
|
-
this.$d = new Date('');
|
979
|
-
} // reset global locale to make parallel unit test
|
980
|
-
|
981
|
-
|
982
|
-
locale = {};
|
983
|
-
} else if (format instanceof Array) {
|
984
|
-
var len = format.length;
|
985
|
-
|
986
|
-
for (var i = 1; i <= len; i += 1) {
|
987
|
-
args[1] = format[i - 1];
|
988
|
-
var result = d.apply(this, args);
|
989
|
-
|
990
|
-
if (result.isValid()) {
|
991
|
-
this.$d = result.$d;
|
992
|
-
this.$L = result.$L;
|
993
|
-
this.init();
|
994
|
-
break;
|
995
|
-
}
|
996
|
-
|
997
|
-
if (i === len) this.$d = new Date('');
|
998
|
-
}
|
999
|
-
} else {
|
1000
|
-
oldParse.call(this, cfg);
|
1001
|
-
}
|
1002
|
-
};
|
1003
|
-
});
|
1004
|
-
|
1005
|
-
const localeData = (function (o, c, dayjs) {
|
1006
|
-
// locale needed later
|
1007
|
-
var proto = c.prototype;
|
1008
|
-
|
1009
|
-
var getLocalePart = function getLocalePart(part) {
|
1010
|
-
return part && (part.indexOf ? part : part.s);
|
1011
|
-
};
|
1012
|
-
|
1013
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
1014
|
-
var locale = ins.name ? ins : ins.$locale();
|
1015
|
-
var targetLocale = getLocalePart(locale[target]);
|
1016
|
-
var fullLocale = getLocalePart(locale[full]);
|
1017
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
1018
|
-
return f.slice(0, num);
|
1019
|
-
});
|
1020
|
-
if (!localeOrder) return result;
|
1021
|
-
var weekStart = locale.weekStart;
|
1022
|
-
return result.map(function (_, index) {
|
1023
|
-
return result[(index + (weekStart || 0)) % 7];
|
1024
|
-
});
|
1025
|
-
};
|
1026
|
-
|
1027
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
1028
|
-
return dayjs.Ls[dayjs.locale()];
|
1029
|
-
};
|
1030
|
-
|
1031
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
1032
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
1033
|
-
};
|
1034
|
-
|
1035
|
-
var localeData = function localeData() {
|
1036
|
-
var _this = this;
|
1037
|
-
|
1038
|
-
return {
|
1039
|
-
months: function months(instance) {
|
1040
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
1041
|
-
},
|
1042
|
-
monthsShort: function monthsShort(instance) {
|
1043
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
1044
|
-
},
|
1045
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
1046
|
-
return _this.$locale().weekStart || 0;
|
1047
|
-
},
|
1048
|
-
weekdays: function weekdays(instance) {
|
1049
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
1050
|
-
},
|
1051
|
-
weekdaysMin: function weekdaysMin(instance) {
|
1052
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
1053
|
-
},
|
1054
|
-
weekdaysShort: function weekdaysShort(instance) {
|
1055
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
1056
|
-
},
|
1057
|
-
longDateFormat: function longDateFormat(format) {
|
1058
|
-
return getLongDateFormat(_this.$locale(), format);
|
1059
|
-
},
|
1060
|
-
meridiem: this.$locale().meridiem,
|
1061
|
-
ordinal: this.$locale().ordinal
|
1062
|
-
};
|
1063
|
-
};
|
1064
|
-
|
1065
|
-
proto.localeData = function () {
|
1066
|
-
return localeData.bind(this)();
|
1067
|
-
};
|
1068
|
-
|
1069
|
-
dayjs.localeData = function () {
|
1070
|
-
var localeObject = getDayjsLocaleObject();
|
1071
|
-
return {
|
1072
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
1073
|
-
return localeObject.weekStart || 0;
|
1074
|
-
},
|
1075
|
-
weekdays: function weekdays() {
|
1076
|
-
return dayjs.weekdays();
|
1077
|
-
},
|
1078
|
-
weekdaysShort: function weekdaysShort() {
|
1079
|
-
return dayjs.weekdaysShort();
|
1080
|
-
},
|
1081
|
-
weekdaysMin: function weekdaysMin() {
|
1082
|
-
return dayjs.weekdaysMin();
|
1083
|
-
},
|
1084
|
-
months: function months() {
|
1085
|
-
return dayjs.months();
|
1086
|
-
},
|
1087
|
-
monthsShort: function monthsShort() {
|
1088
|
-
return dayjs.monthsShort();
|
1089
|
-
},
|
1090
|
-
longDateFormat: function longDateFormat(format) {
|
1091
|
-
return getLongDateFormat(localeObject, format);
|
1092
|
-
},
|
1093
|
-
meridiem: localeObject.meridiem,
|
1094
|
-
ordinal: localeObject.ordinal
|
1095
|
-
};
|
1096
|
-
};
|
1097
|
-
|
1098
|
-
dayjs.months = function () {
|
1099
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
1100
|
-
};
|
1101
|
-
|
1102
|
-
dayjs.monthsShort = function () {
|
1103
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1104
|
-
};
|
1105
|
-
|
1106
|
-
dayjs.weekdays = function (localeOrder) {
|
1107
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1108
|
-
};
|
1109
|
-
|
1110
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
1111
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1112
|
-
};
|
1113
|
-
|
1114
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
1115
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1116
|
-
};
|
1117
|
-
});
|
1118
|
-
|
1119
|
-
const localizedFormat = (function (o, c, d) {
|
1120
|
-
var proto = c.prototype;
|
1121
|
-
var oldFormat = proto.format;
|
1122
|
-
d.en.formats = englishFormats;
|
1123
|
-
|
1124
|
-
proto.format = function (formatStr) {
|
1125
|
-
if (formatStr === void 0) {
|
1126
|
-
formatStr = FORMAT_DEFAULT;
|
1127
|
-
}
|
1128
|
-
|
1129
|
-
var _this$$locale = this.$locale(),
|
1130
|
-
_this$$locale$formats = _this$$locale.formats,
|
1131
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1132
|
-
|
1133
|
-
var result = u(formatStr, formats);
|
1134
|
-
return oldFormat.call(this, result);
|
1135
|
-
};
|
1136
|
-
});
|
1137
|
-
|
1138
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1139
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
1140
|
-
var oldParse = dayjsClass.prototype.parse;
|
1141
|
-
|
1142
|
-
dayjsClass.prototype.parse = function (cfg) {
|
1143
|
-
if (typeof cfg.date === 'string') {
|
1144
|
-
var locale = this.$locale();
|
1145
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1146
|
-
} // original parse result
|
1147
|
-
|
1148
|
-
|
1149
|
-
return oldParse.bind(this)(cfg);
|
1150
|
-
}; // // overriding existing API
|
1151
|
-
// // e.g. extend dayjs().format()
|
1152
|
-
|
1153
|
-
|
1154
|
-
var oldFormat = dayjsClass.prototype.format;
|
1155
|
-
|
1156
|
-
dayjsClass.prototype.format = function () {
|
1157
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1158
|
-
args[_key] = arguments[_key];
|
1159
|
-
}
|
1160
|
-
|
1161
|
-
// original format result
|
1162
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1163
|
-
|
1164
|
-
var locale = this.$locale();
|
1165
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
1166
|
-
};
|
1167
|
-
|
1168
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1169
|
-
|
1170
|
-
if (oldFromTo) {
|
1171
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1172
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
1173
|
-
|
1174
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1175
|
-
};
|
1176
|
-
}
|
1177
|
-
});
|
1178
|
-
|
1179
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
1180
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
1181
|
-
var localeList = dayjs.Ls;
|
1182
|
-
var localeConfig = localeList[locale];
|
1183
|
-
if (!localeConfig) return;
|
1184
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1185
|
-
customConfigKeys.forEach(function (c) {
|
1186
|
-
localeConfig[c] = customConfig[c];
|
1187
|
-
});
|
1188
|
-
return localeConfig; // eslint-disable-line consistent-return
|
1189
|
-
};
|
1190
|
-
});
|
1191
|
-
|
1192
|
-
const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([hidden]){display:none}[hidden]{display:none}";
|
1193
|
-
|
1194
|
-
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1195
|
-
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
1196
|
-
["ar", () => import('./ar-6024936e.js')],
|
1197
|
-
["bg", () => import('./bg-0aaf375e.js')],
|
1198
|
-
["bs", () => import('./bs-a29d4263.js')],
|
1199
|
-
["ca", () => import('./ca-7025e8bd.js')],
|
1200
|
-
["cs", () => import('./cs-e75d4f0f.js')],
|
1201
|
-
["da", () => import('./da-7ef2ef83.js')],
|
1202
|
-
["de", () => import('./de-8c937192.js')],
|
1203
|
-
["de-at", () => import('./de-at-2d6f27fb.js')],
|
1204
|
-
["de-ch", () => import('./de-ch-94e48c2e.js')],
|
1205
|
-
["el", () => import('./el-a2fbe5ed.js')],
|
1206
|
-
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1207
|
-
["en-au", () => import('./en-au-e41b88d1.js')],
|
1208
|
-
["en-ca", () => import('./en-ca-87be65a9.js')],
|
1209
|
-
["en-gb", () => import('./en-gb-83952182.js')],
|
1210
|
-
["es", () => import('./es-141e8350.js')],
|
1211
|
-
["es-mx", () => import('./es-mx-b6a7e8b9.js')],
|
1212
|
-
["et", () => import('./et-938a5466.js')],
|
1213
|
-
["fi", () => import('./fi-b2c86fbe.js')],
|
1214
|
-
["fr", () => import('./fr-38f2377b.js')],
|
1215
|
-
["fr-ch", () => import('./fr-ch-f0aa93c8.js')],
|
1216
|
-
["he", () => import('./he-c4b286cd.js')],
|
1217
|
-
["hi", () => import('./hi-78cb42a0.js')],
|
1218
|
-
["hr", () => import('./hr-a4637cfd.js')],
|
1219
|
-
["hu", () => import('./hu-54c88160.js')],
|
1220
|
-
["id", () => import('./id-059e47c6.js')],
|
1221
|
-
["it", () => import('./it-015c5cc3.js')],
|
1222
|
-
["it-ch", () => import('./it-ch-f345a8fe.js')],
|
1223
|
-
["ja", () => import('./ja-f6c91a37.js')],
|
1224
|
-
["ko", () => import('./ko-7b0bfdfa.js')],
|
1225
|
-
["lt", () => import('./lt-ebe0d73b.js')],
|
1226
|
-
["lv", () => import('./lv-f7cb8ecf.js')],
|
1227
|
-
["mk", () => import('./mk-fdcc6d81.js')],
|
1228
|
-
["nl", () => import('./nl-72a97244.js')],
|
1229
|
-
["nb", () => import('./nb-44fa5d1f.js')],
|
1230
|
-
["pl", () => import('./pl-6594cf3b.js')],
|
1231
|
-
["pt", () => import('./pt-a7407eb8.js')],
|
1232
|
-
["pt-br", () => import('./pt-br-83e7fa27.js')],
|
1233
|
-
["ro", () => import('./ro-455d4855.js')],
|
1234
|
-
["ru", () => import('./ru-afedf1c0.js')],
|
1235
|
-
["sk", () => import('./sk-593b7042.js')],
|
1236
|
-
["sl", () => import('./sl-738e75ca.js')],
|
1237
|
-
["sr", () => import('./sr-46d78867.js')],
|
1238
|
-
["sv", () => import('./sv-a5afd0c2.js')],
|
1239
|
-
["th", () => import('./th-0e794832.js')],
|
1240
|
-
["tr", () => import('./tr-c520e117.js')],
|
1241
|
-
["uk", () => import('./uk-98d8c935.js')],
|
1242
|
-
["vi", () => import('./vi-d6022534.js')],
|
1243
|
-
["zh-cn", () => import('./zh-cn-c112d022.js')],
|
1244
|
-
["zh-hk", () => import('./zh-hk-2d857989.js')],
|
1245
|
-
["zh-tw", () => import('./zh-tw-196abcd0.js')],
|
1246
|
-
]);
|
1247
|
-
dayjs.extend(customParseFormat);
|
1248
|
-
dayjs.extend(localeData);
|
1249
|
-
dayjs.extend(localizedFormat);
|
1250
|
-
dayjs.extend(preParsePostFormat);
|
1251
|
-
dayjs.extend(updateLocale);
|
1252
|
-
const InputTimePicker = class {
|
1253
|
-
constructor(hostRef) {
|
1254
|
-
registerInstance(this, hostRef);
|
1255
|
-
this.calciteInputTimePickerBeforeClose = createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
1256
|
-
this.calciteInputTimePickerBeforeOpen = createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
1257
|
-
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
1258
|
-
this.calciteInputTimePickerClose = createEvent(this, "calciteInputTimePickerClose", 6);
|
1259
|
-
this.calciteInputTimePickerOpen = createEvent(this, "calciteInputTimePickerOpen", 6);
|
1260
|
-
this.focusOnOpen = false;
|
1261
|
-
this.dialogId = `time-picker-dialog--${guid()}`;
|
1262
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
1263
|
-
this.userChangedValue = false;
|
1264
|
-
this.referenceElementId = `input-time-picker-${guid()}`;
|
1265
|
-
this.openTransitionProp = "opacity";
|
1266
|
-
//--------------------------------------------------------------------------
|
1267
|
-
//
|
1268
|
-
// Event Listeners
|
1269
|
-
//
|
1270
|
-
//--------------------------------------------------------------------------
|
1271
|
-
this.hostBlurHandler = () => {
|
1272
|
-
const inputValue = this.calciteInputEl.value;
|
1273
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1274
|
-
if (!delocalizedInputValue) {
|
1275
|
-
this.setValue("");
|
1276
|
-
return;
|
1277
|
-
}
|
1278
|
-
if (delocalizedInputValue !== this.value) {
|
1279
|
-
this.setValue(delocalizedInputValue);
|
1280
|
-
}
|
1281
|
-
const localizedTimeString = localizeTimeString({
|
1282
|
-
value: this.value,
|
1283
|
-
locale: this.effectiveLocale,
|
1284
|
-
numberingSystem: this.numberingSystem,
|
1285
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1286
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1287
|
-
});
|
1288
|
-
if (localizedTimeString !== inputValue) {
|
1289
|
-
this.setInputValue(localizedTimeString);
|
1290
|
-
}
|
1291
|
-
this.deactivate();
|
1292
|
-
};
|
1293
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
1294
|
-
if (!this.readOnly) {
|
1295
|
-
event.stopPropagation();
|
1296
|
-
}
|
1297
|
-
};
|
1298
|
-
this.calciteInternalInputInputHandler = (event) => {
|
1299
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
1300
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
1301
|
-
const target = event.target;
|
1302
|
-
numberStringFormatter.numberFormatOptions = {
|
1303
|
-
locale,
|
1304
|
-
numberingSystem,
|
1305
|
-
useGrouping: false,
|
1306
|
-
};
|
1307
|
-
const valueInNumberingSystem = numberStringFormatter
|
1308
|
-
.delocalize(target.value)
|
1309
|
-
.split("")
|
1310
|
-
.map((char) => numberKeys.includes(char)
|
1311
|
-
? numberStringFormatter.numberFormatter.format(Number(char))
|
1312
|
-
: char)
|
1313
|
-
.join("");
|
1314
|
-
this.setInputValue(valueInNumberingSystem);
|
1315
|
-
}
|
1316
|
-
};
|
1317
|
-
this.timePickerChangeHandler = (event) => {
|
1318
|
-
event.stopPropagation();
|
1319
|
-
const target = event.target;
|
1320
|
-
const value = target.value;
|
1321
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1322
|
-
this.setValue(toISOTimeString(value, includeSeconds));
|
1323
|
-
this.setInputValue(localizeTimeString({
|
1324
|
-
value,
|
1325
|
-
locale: this.effectiveLocale,
|
1326
|
-
numberingSystem: this.numberingSystem,
|
1327
|
-
includeSeconds,
|
1328
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1329
|
-
}));
|
1330
|
-
};
|
1331
|
-
this.popoverCloseHandler = () => {
|
1332
|
-
deactivateFocusTrap(this, {
|
1333
|
-
onDeactivate: () => {
|
1334
|
-
this.calciteInputEl.setFocus();
|
1335
|
-
this.focusOnOpen = false;
|
1336
|
-
},
|
1337
|
-
});
|
1338
|
-
this.open = false;
|
1339
|
-
};
|
1340
|
-
this.popoverOpenHandler = () => {
|
1341
|
-
activateFocusTrap(this, {
|
1342
|
-
onActivate: () => {
|
1343
|
-
if (this.focusOnOpen) {
|
1344
|
-
this.calciteTimePickerEl.setFocus();
|
1345
|
-
this.focusOnOpen = false;
|
1346
|
-
}
|
1347
|
-
},
|
1348
|
-
});
|
1349
|
-
};
|
1350
|
-
this.keyDownHandler = (event) => {
|
1351
|
-
const { defaultPrevented, key } = event;
|
1352
|
-
if (defaultPrevented) {
|
1353
|
-
return;
|
1354
|
-
}
|
1355
|
-
if (key === "Enter") {
|
1356
|
-
if (submitForm(this)) {
|
1357
|
-
event.preventDefault();
|
1358
|
-
this.calciteInputEl.setFocus();
|
1359
|
-
}
|
1360
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1361
|
-
return;
|
1362
|
-
}
|
1363
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1364
|
-
if (isValidTime(newValue)) {
|
1365
|
-
this.setValue(newValue);
|
1366
|
-
const localizedTimeString = localizeTimeString({
|
1367
|
-
value: this.value,
|
1368
|
-
locale: this.effectiveLocale,
|
1369
|
-
numberingSystem: this.numberingSystem,
|
1370
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1371
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1372
|
-
});
|
1373
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1374
|
-
this.setInputValue(localizedTimeString);
|
1375
|
-
}
|
1376
|
-
}
|
1377
|
-
}
|
1378
|
-
else if (key === "ArrowDown") {
|
1379
|
-
this.open = true;
|
1380
|
-
this.focusOnOpen = true;
|
1381
|
-
event.preventDefault();
|
1382
|
-
}
|
1383
|
-
else if (key === "Escape" && this.open) {
|
1384
|
-
this.open = false;
|
1385
|
-
event.preventDefault();
|
1386
|
-
this.calciteInputEl.setFocus();
|
1387
|
-
}
|
1388
|
-
};
|
1389
|
-
this.setCalcitePopoverEl = (el) => {
|
1390
|
-
this.popoverEl = el;
|
1391
|
-
};
|
1392
|
-
this.setInputAndTransitionEl = (el) => {
|
1393
|
-
this.calciteInputEl = el;
|
1394
|
-
this.transitionEl = el;
|
1395
|
-
};
|
1396
|
-
this.setCalciteTimePickerEl = (el) => {
|
1397
|
-
this.calciteTimePickerEl = el;
|
1398
|
-
connectFocusTrap(this, {
|
1399
|
-
focusTrapEl: el,
|
1400
|
-
focusTrapOptions: {
|
1401
|
-
initialFocus: false,
|
1402
|
-
setReturnFocus: false,
|
1403
|
-
},
|
1404
|
-
});
|
1405
|
-
};
|
1406
|
-
this.setInputValue = (newInputValue) => {
|
1407
|
-
if (!this.calciteInputEl) {
|
1408
|
-
return;
|
1409
|
-
}
|
1410
|
-
this.calciteInputEl.value = newInputValue;
|
1411
|
-
};
|
1412
|
-
/**
|
1413
|
-
* Sets the value and emits a change event.
|
1414
|
-
* This is used to update the value as a result of user interaction.
|
1415
|
-
*
|
1416
|
-
* @param value
|
1417
|
-
*/
|
1418
|
-
this.setValue = (value) => {
|
1419
|
-
const oldValue = this.value;
|
1420
|
-
const newValue = formatTimeString(value) || "";
|
1421
|
-
if (newValue === oldValue) {
|
1422
|
-
return;
|
1423
|
-
}
|
1424
|
-
this.userChangedValue = true;
|
1425
|
-
this.value = newValue || "";
|
1426
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1427
|
-
if (changeEvent.defaultPrevented) {
|
1428
|
-
this.userChangedValue = false;
|
1429
|
-
this.value = oldValue;
|
1430
|
-
this.setInputValue(localizeTimeString({
|
1431
|
-
value: oldValue,
|
1432
|
-
locale: this.effectiveLocale,
|
1433
|
-
numberingSystem: this.numberingSystem,
|
1434
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1435
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1436
|
-
}));
|
1437
|
-
}
|
1438
|
-
};
|
1439
|
-
/**
|
1440
|
-
* Sets the value directly without emitting a change event.
|
1441
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1442
|
-
*
|
1443
|
-
* @param value
|
1444
|
-
*/
|
1445
|
-
this.setValueDirectly = (value) => {
|
1446
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1447
|
-
this.value = toISOTimeString(value, includeSeconds);
|
1448
|
-
this.setInputValue(this.value
|
1449
|
-
? localizeTimeString({
|
1450
|
-
value: this.value,
|
1451
|
-
includeSeconds,
|
1452
|
-
locale: this.effectiveLocale,
|
1453
|
-
numberingSystem: this.numberingSystem,
|
1454
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1455
|
-
})
|
1456
|
-
: "");
|
1457
|
-
};
|
1458
|
-
this.onInputWrapperClick = () => {
|
1459
|
-
this.open = !this.open;
|
1460
|
-
};
|
1461
|
-
this.deactivate = () => {
|
1462
|
-
this.open = false;
|
1463
|
-
};
|
1464
|
-
this.open = false;
|
1465
|
-
this.disabled = false;
|
1466
|
-
this.focusTrapDisabled = false;
|
1467
|
-
this.form = undefined;
|
1468
|
-
this.readOnly = false;
|
1469
|
-
this.messageOverrides = undefined;
|
1470
|
-
this.messages = undefined;
|
1471
|
-
this.name = undefined;
|
1472
|
-
this.numberingSystem = undefined;
|
1473
|
-
this.required = false;
|
1474
|
-
this.scale = "m";
|
1475
|
-
this.status = "idle";
|
1476
|
-
this.overlayPositioning = "absolute";
|
1477
|
-
this.placement = "auto";
|
1478
|
-
this.step = 60;
|
1479
|
-
this.value = null;
|
1480
|
-
this.defaultMessages = undefined;
|
1481
|
-
this.effectiveLocale = "";
|
1482
|
-
}
|
1483
|
-
openHandler(open) {
|
1484
|
-
onToggleOpenCloseComponent(this);
|
1485
|
-
if (this.disabled || this.readOnly) {
|
1486
|
-
this.open = false;
|
1487
|
-
return;
|
1488
|
-
}
|
1489
|
-
if (open) {
|
1490
|
-
this.reposition(true);
|
1491
|
-
}
|
1492
|
-
}
|
1493
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
1494
|
-
if (!this.open) {
|
1495
|
-
return;
|
1496
|
-
}
|
1497
|
-
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
1498
|
-
}
|
1499
|
-
handleDisabledAndReadOnlyChange(value) {
|
1500
|
-
if (!value) {
|
1501
|
-
this.open = false;
|
1502
|
-
}
|
1503
|
-
}
|
1504
|
-
onMessagesChange() {
|
1505
|
-
/* wired up by t9n util */
|
1506
|
-
}
|
1507
|
-
numberingSystemWatcher(numberingSystem) {
|
1508
|
-
this.setInputValue(localizeTimeString({
|
1509
|
-
value: this.value,
|
1510
|
-
locale: this.effectiveLocale,
|
1511
|
-
numberingSystem,
|
1512
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1513
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1514
|
-
}));
|
1515
|
-
}
|
1516
|
-
stepWatcher(newStep, oldStep) {
|
1517
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1518
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1519
|
-
this.setValueDirectly(this.value);
|
1520
|
-
}
|
1521
|
-
}
|
1522
|
-
valueWatcher(newValue) {
|
1523
|
-
if (!this.userChangedValue) {
|
1524
|
-
this.setValueDirectly(newValue);
|
1525
|
-
}
|
1526
|
-
this.userChangedValue = false;
|
1527
|
-
}
|
1528
|
-
async effectiveLocaleWatcher(locale) {
|
1529
|
-
await this.loadDateTimeLocaleData();
|
1530
|
-
this.setInputValue(localizeTimeString({
|
1531
|
-
value: this.value,
|
1532
|
-
locale,
|
1533
|
-
numberingSystem: this.numberingSystem,
|
1534
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1535
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1536
|
-
}));
|
1537
|
-
}
|
1538
|
-
// --------------------------------------------------------------------------
|
1539
|
-
//
|
1540
|
-
// Public Methods
|
1541
|
-
//
|
1542
|
-
// --------------------------------------------------------------------------
|
1543
|
-
/** Sets focus on the component. */
|
1544
|
-
async setFocus() {
|
1545
|
-
await componentFocusable(this);
|
1546
|
-
this.el.focus();
|
1547
|
-
}
|
1548
|
-
/**
|
1549
|
-
* Updates the position of the component.
|
1550
|
-
*
|
1551
|
-
* @param delayed
|
1552
|
-
*/
|
1553
|
-
async reposition(delayed = false) {
|
1554
|
-
var _a;
|
1555
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1556
|
-
}
|
1557
|
-
// --------------------------------------------------------------------------
|
1558
|
-
//
|
1559
|
-
// Private Methods
|
1560
|
-
//
|
1561
|
-
// --------------------------------------------------------------------------
|
1562
|
-
onBeforeOpen() {
|
1563
|
-
this.calciteInputTimePickerBeforeOpen.emit();
|
1564
|
-
}
|
1565
|
-
onOpen() {
|
1566
|
-
this.calciteInputTimePickerOpen.emit();
|
1567
|
-
}
|
1568
|
-
onBeforeClose() {
|
1569
|
-
this.calciteInputTimePickerBeforeClose.emit();
|
1570
|
-
}
|
1571
|
-
onClose() {
|
1572
|
-
this.calciteInputTimePickerClose.emit();
|
1573
|
-
}
|
1574
|
-
delocalizeTimeString(value) {
|
1575
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1576
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1577
|
-
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
1578
|
-
let delocalizedTimeString;
|
1579
|
-
if (this.shouldIncludeFractionalSeconds()) {
|
1580
|
-
const stepPrecision = decimalPlaces(this.step);
|
1581
|
-
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
1582
|
-
if (stepPrecision === 1) {
|
1583
|
-
delocalizedTimeString =
|
1584
|
-
centisecondParts.millisecond !== 0
|
1585
|
-
? this.getTimeStringFromParts(centisecondParts)
|
1586
|
-
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
1587
|
-
}
|
1588
|
-
else {
|
1589
|
-
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
1590
|
-
if (stepPrecision === 2) {
|
1591
|
-
if (decisecondParts.millisecond !== 0) {
|
1592
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1593
|
-
}
|
1594
|
-
else if (centisecondParts.millisecond !== 0) {
|
1595
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1596
|
-
}
|
1597
|
-
else {
|
1598
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1599
|
-
}
|
1600
|
-
}
|
1601
|
-
else if (stepPrecision >= 3) {
|
1602
|
-
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
1603
|
-
if (millisecondParts.millisecond !== 0) {
|
1604
|
-
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
1605
|
-
}
|
1606
|
-
else if (decisecondParts.millisecond !== 0) {
|
1607
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1608
|
-
}
|
1609
|
-
else if (centisecondParts.millisecond !== 0) {
|
1610
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1611
|
-
}
|
1612
|
-
else {
|
1613
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1614
|
-
}
|
1615
|
-
}
|
1616
|
-
}
|
1617
|
-
}
|
1618
|
-
else {
|
1619
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1620
|
-
}
|
1621
|
-
return delocalizedTimeString;
|
1622
|
-
}
|
1623
|
-
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
1624
|
-
var _a, _b;
|
1625
|
-
const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
|
1626
|
-
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
1627
|
-
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
1628
|
-
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
1629
|
-
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
1630
|
-
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
1631
|
-
: ltsFormatString.replace("ss", secondFormatToken);
|
1632
|
-
}
|
1633
|
-
else if (fractionalSecondTokenMatch) {
|
1634
|
-
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
1635
|
-
}
|
1636
|
-
dayjs.updateLocale(this.getSupportedDayjsLocale(getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
1637
|
-
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
1638
|
-
if (dayjsParseResult.isValid()) {
|
1639
|
-
return {
|
1640
|
-
hour: dayjsParseResult.get("hour"),
|
1641
|
-
minute: dayjsParseResult.get("minute"),
|
1642
|
-
second: dayjsParseResult.get("second"),
|
1643
|
-
millisecond: dayjsParseResult.get("millisecond"),
|
1644
|
-
};
|
1645
|
-
}
|
1646
|
-
return {
|
1647
|
-
hour: null,
|
1648
|
-
minute: null,
|
1649
|
-
second: null,
|
1650
|
-
millisecond: null,
|
1651
|
-
};
|
1652
|
-
}
|
1653
|
-
getTimeStringFromParts(parts) {
|
1654
|
-
let timeString = "";
|
1655
|
-
if (!parts) {
|
1656
|
-
return timeString;
|
1657
|
-
}
|
1658
|
-
if (parts.hour !== null && parts.minute !== null) {
|
1659
|
-
timeString = `${formatTimePart(parts.hour)}:${formatTimePart(parts.minute)}`;
|
1660
|
-
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
1661
|
-
timeString += `:${formatTimePart(parts.second)}`;
|
1662
|
-
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
1663
|
-
const second = (parts.millisecond * 0.001).toFixed(decimalPlaces(this.step));
|
1664
|
-
timeString += `.${second.toString().replace("0.", "")}`;
|
1665
|
-
}
|
1666
|
-
}
|
1667
|
-
}
|
1668
|
-
return timeString;
|
1669
|
-
}
|
1670
|
-
getSupportedDayjsLocale(locale) {
|
1671
|
-
const dayjsLocale = locale.toLowerCase();
|
1672
|
-
if (dayjsLocale === "no") {
|
1673
|
-
return "nb";
|
1674
|
-
}
|
1675
|
-
if (dayjsLocale === "pt-pt") {
|
1676
|
-
return "pt";
|
1677
|
-
}
|
1678
|
-
return dayjsLocale;
|
1679
|
-
}
|
1680
|
-
async loadDateTimeLocaleData() {
|
1681
|
-
let supportedLocale = getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1682
|
-
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
1683
|
-
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1684
|
-
this.localeConfig = localeConfig;
|
1685
|
-
dayjs.locale(this.localeConfig, null, true);
|
1686
|
-
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1687
|
-
}
|
1688
|
-
getExtendedLocaleConfig(locale) {
|
1689
|
-
if (locale === "ar") {
|
1690
|
-
return {
|
1691
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1692
|
-
formats: {
|
1693
|
-
LT: "HH:mm A",
|
1694
|
-
LTS: "HH:mm:ss A",
|
1695
|
-
L: "DD/MM/YYYY",
|
1696
|
-
LL: "D MMMM YYYY",
|
1697
|
-
LLL: "D MMMM YYYY HH:mm A",
|
1698
|
-
LLLL: "dddd D MMMM YYYY HH:mm A",
|
1699
|
-
},
|
1700
|
-
};
|
1701
|
-
}
|
1702
|
-
if (locale === "en-au") {
|
1703
|
-
return {
|
1704
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1705
|
-
};
|
1706
|
-
}
|
1707
|
-
if (locale === "en-ca") {
|
1708
|
-
return {
|
1709
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
1710
|
-
};
|
1711
|
-
}
|
1712
|
-
if (locale === "el") {
|
1713
|
-
return {
|
1714
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
1715
|
-
};
|
1716
|
-
}
|
1717
|
-
if (locale === "hi") {
|
1718
|
-
return {
|
1719
|
-
formats: {
|
1720
|
-
LT: "h:mm A",
|
1721
|
-
LTS: "h:mm:ss A",
|
1722
|
-
L: "DD/MM/YYYY",
|
1723
|
-
LL: "D MMMM YYYY",
|
1724
|
-
LLL: "D MMMM YYYY, h:mm A",
|
1725
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
1726
|
-
},
|
1727
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1728
|
-
};
|
1729
|
-
}
|
1730
|
-
if (locale === "ko") {
|
1731
|
-
return {
|
1732
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
1733
|
-
};
|
1734
|
-
}
|
1735
|
-
if (locale === "zh-tw") {
|
1736
|
-
return {
|
1737
|
-
formats: {
|
1738
|
-
LT: "AHH:mm",
|
1739
|
-
LTS: "AHH:mm:ss",
|
1740
|
-
},
|
1741
|
-
};
|
1742
|
-
}
|
1743
|
-
if (locale === "zh-hk") {
|
1744
|
-
return {
|
1745
|
-
formats: {
|
1746
|
-
LT: "AHH:mm",
|
1747
|
-
LTS: "AHH:mm:ss",
|
1748
|
-
},
|
1749
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
1750
|
-
};
|
1751
|
-
}
|
1752
|
-
}
|
1753
|
-
onLabelClick() {
|
1754
|
-
this.setFocus();
|
1755
|
-
}
|
1756
|
-
shouldIncludeSeconds() {
|
1757
|
-
return this.step < 60;
|
1758
|
-
}
|
1759
|
-
shouldIncludeFractionalSeconds() {
|
1760
|
-
return decimalPlaces(this.step) > 0;
|
1761
|
-
}
|
1762
|
-
//--------------------------------------------------------------------------
|
1763
|
-
//
|
1764
|
-
// Lifecycle
|
1765
|
-
//
|
1766
|
-
//--------------------------------------------------------------------------
|
1767
|
-
connectedCallback() {
|
1768
|
-
connectInteractive(this);
|
1769
|
-
connectLocalized(this);
|
1770
|
-
if (isValidTime(this.value)) {
|
1771
|
-
this.setValueDirectly(this.value);
|
1772
|
-
}
|
1773
|
-
else {
|
1774
|
-
this.value = undefined;
|
1775
|
-
}
|
1776
|
-
connectLabel(this);
|
1777
|
-
connectForm(this);
|
1778
|
-
connectMessages(this);
|
1779
|
-
}
|
1780
|
-
async componentWillLoad() {
|
1781
|
-
setUpLoadableComponent(this);
|
1782
|
-
await Promise.all([setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1783
|
-
if (this.open) {
|
1784
|
-
onToggleOpenCloseComponent(this);
|
1785
|
-
}
|
1786
|
-
}
|
1787
|
-
componentDidLoad() {
|
1788
|
-
setComponentLoaded(this);
|
1789
|
-
if (isValidTime(this.value)) {
|
1790
|
-
this.setInputValue(localizeTimeString({
|
1791
|
-
value: this.value,
|
1792
|
-
locale: this.effectiveLocale,
|
1793
|
-
numberingSystem: this.numberingSystem,
|
1794
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1795
|
-
fractionalSecondDigits: decimalPlaces(this.step),
|
1796
|
-
}));
|
1797
|
-
}
|
1798
|
-
}
|
1799
|
-
disconnectedCallback() {
|
1800
|
-
disconnectInteractive(this);
|
1801
|
-
disconnectLabel(this);
|
1802
|
-
disconnectForm(this);
|
1803
|
-
disconnectLocalized(this);
|
1804
|
-
deactivateFocusTrap(this);
|
1805
|
-
disconnectMessages(this);
|
1806
|
-
}
|
1807
|
-
componentDidRender() {
|
1808
|
-
updateHostInteraction(this);
|
1809
|
-
}
|
1810
|
-
// --------------------------------------------------------------------------
|
1811
|
-
//
|
1812
|
-
// Render Methods
|
1813
|
-
//
|
1814
|
-
// --------------------------------------------------------------------------
|
1815
|
-
render() {
|
1816
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
1817
|
-
return (h(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status, step: this.step,
|
1818
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1819
|
-
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
1820
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1821
|
-
ref: this.setCalcitePopoverEl }, h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
1822
|
-
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1823
|
-
ref: this.setCalciteTimePickerEl })), h(HiddenFormInputSlot, { component: this })));
|
1824
|
-
}
|
1825
|
-
renderToggleIcon(open) {
|
1826
|
-
return (h("span", { class: CSS.toggleIcon }, h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
1827
|
-
}
|
1828
|
-
static get delegatesFocus() { return true; }
|
1829
|
-
static get assetsDirs() { return ["assets"]; }
|
1830
|
-
get el() { return getElement(this); }
|
1831
|
-
static get watchers() { return {
|
1832
|
-
"open": ["openHandler"],
|
1833
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1834
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1835
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1836
|
-
"messageOverrides": ["onMessagesChange"],
|
1837
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
1838
|
-
"step": ["stepWatcher"],
|
1839
|
-
"value": ["valueWatcher"],
|
1840
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1841
|
-
}; }
|
1842
|
-
};
|
1843
|
-
InputTimePicker.style = inputTimePickerCss;
|
1844
|
-
|
1845
|
-
export { InputTimePicker as I, dayjs as d };
|