@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
@@ -0,0 +1,1849 @@
|
|
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
|
+
'use strict';
|
7
|
+
|
8
|
+
const index = require('./index-2d5760f2.js');
|
9
|
+
const form = require('./form-81cf84d1.js');
|
10
|
+
const guid = require('./guid-c95a49d2.js');
|
11
|
+
const interactive = require('./interactive-85d0402d.js');
|
12
|
+
const key = require('./key-cdf99d14.js');
|
13
|
+
const label = require('./label-8a389916.js');
|
14
|
+
const loadable = require('./loadable-3358bfc7.js');
|
15
|
+
const locale$1 = require('./locale-44d38e1a.js');
|
16
|
+
const focusTrapComponent = require('./focusTrapComponent-21d85ddf.js');
|
17
|
+
const time = require('./time-bfaa8f38.js');
|
18
|
+
const t9n = require('./t9n-02f62c58.js');
|
19
|
+
const openCloseComponent = require('./openCloseComponent-7afeb520.js');
|
20
|
+
const math = require('./math-950b6ada.js');
|
21
|
+
const component = require('./component-98c27d5f.js');
|
22
|
+
|
23
|
+
/*!
|
24
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
25
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
26
|
+
* v1.11.0
|
27
|
+
*/
|
28
|
+
const CSS = {
|
29
|
+
toggleIcon: "toggle-icon",
|
30
|
+
};
|
31
|
+
|
32
|
+
var SECONDS_A_MINUTE = 60;
|
33
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
34
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
35
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
36
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
37
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
38
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
39
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
40
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
41
|
+
|
42
|
+
var MS = 'millisecond';
|
43
|
+
var S = 'second';
|
44
|
+
var MIN = 'minute';
|
45
|
+
var H = 'hour';
|
46
|
+
var D = 'day';
|
47
|
+
var W = 'week';
|
48
|
+
var M = 'month';
|
49
|
+
var Q = 'quarter';
|
50
|
+
var Y = 'year';
|
51
|
+
var DATE = 'date';
|
52
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
53
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
54
|
+
|
55
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
56
|
+
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;
|
57
|
+
|
58
|
+
// English [en]
|
59
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
60
|
+
const en = {
|
61
|
+
name: 'en',
|
62
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
63
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
64
|
+
ordinal: function ordinal(n) {
|
65
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
66
|
+
var v = n % 100;
|
67
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
68
|
+
}
|
69
|
+
};
|
70
|
+
|
71
|
+
const en$1 = /*#__PURE__*/Object.freeze({
|
72
|
+
__proto__: null,
|
73
|
+
'default': en
|
74
|
+
});
|
75
|
+
|
76
|
+
var padStart = function padStart(string, length, pad) {
|
77
|
+
var s = String(string);
|
78
|
+
if (!s || s.length >= length) return string;
|
79
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
80
|
+
};
|
81
|
+
|
82
|
+
var padZoneStr = function padZoneStr(instance) {
|
83
|
+
var negMinutes = -instance.utcOffset();
|
84
|
+
var minutes = Math.abs(negMinutes);
|
85
|
+
var hourOffset = Math.floor(minutes / 60);
|
86
|
+
var minuteOffset = minutes % 60;
|
87
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
88
|
+
};
|
89
|
+
|
90
|
+
var monthDiff = function monthDiff(a, b) {
|
91
|
+
// function from moment.js in order to keep the same result
|
92
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
93
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
94
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
95
|
+
var c = b - anchor < 0;
|
96
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
97
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
98
|
+
};
|
99
|
+
|
100
|
+
var absFloor = function absFloor(n) {
|
101
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
102
|
+
};
|
103
|
+
|
104
|
+
var prettyUnit = function prettyUnit(u) {
|
105
|
+
var special = {
|
106
|
+
M: M,
|
107
|
+
y: Y,
|
108
|
+
w: W,
|
109
|
+
d: D,
|
110
|
+
D: DATE,
|
111
|
+
h: H,
|
112
|
+
m: MIN,
|
113
|
+
s: S,
|
114
|
+
ms: MS,
|
115
|
+
Q: Q
|
116
|
+
};
|
117
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
118
|
+
};
|
119
|
+
|
120
|
+
var isUndefined = function isUndefined(s) {
|
121
|
+
return s === undefined;
|
122
|
+
};
|
123
|
+
|
124
|
+
const U = {
|
125
|
+
s: padStart,
|
126
|
+
z: padZoneStr,
|
127
|
+
m: monthDiff,
|
128
|
+
a: absFloor,
|
129
|
+
p: prettyUnit,
|
130
|
+
u: isUndefined
|
131
|
+
};
|
132
|
+
|
133
|
+
var L = 'en'; // global locale
|
134
|
+
|
135
|
+
var Ls = {}; // global loaded locale
|
136
|
+
|
137
|
+
Ls[L] = en;
|
138
|
+
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
139
|
+
|
140
|
+
var isDayjs = function isDayjs(d) {
|
141
|
+
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
142
|
+
};
|
143
|
+
|
144
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
145
|
+
var l;
|
146
|
+
if (!preset) return L;
|
147
|
+
|
148
|
+
if (typeof preset === 'string') {
|
149
|
+
var presetLower = preset.toLowerCase();
|
150
|
+
|
151
|
+
if (Ls[presetLower]) {
|
152
|
+
l = presetLower;
|
153
|
+
}
|
154
|
+
|
155
|
+
if (object) {
|
156
|
+
Ls[presetLower] = object;
|
157
|
+
l = presetLower;
|
158
|
+
}
|
159
|
+
|
160
|
+
var presetSplit = preset.split('-');
|
161
|
+
|
162
|
+
if (!l && presetSplit.length > 1) {
|
163
|
+
return parseLocale(presetSplit[0]);
|
164
|
+
}
|
165
|
+
} else {
|
166
|
+
var name = preset.name;
|
167
|
+
Ls[name] = preset;
|
168
|
+
l = name;
|
169
|
+
}
|
170
|
+
|
171
|
+
if (!isLocal && l) L = l;
|
172
|
+
return l || !isLocal && L;
|
173
|
+
};
|
174
|
+
|
175
|
+
var dayjs = function dayjs(date, c) {
|
176
|
+
if (isDayjs(date)) {
|
177
|
+
return date.clone();
|
178
|
+
} // eslint-disable-next-line no-nested-ternary
|
179
|
+
|
180
|
+
|
181
|
+
var cfg = typeof c === 'object' ? c : {};
|
182
|
+
cfg.date = date;
|
183
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
184
|
+
|
185
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
186
|
+
};
|
187
|
+
|
188
|
+
var wrapper = function wrapper(date, instance) {
|
189
|
+
return dayjs(date, {
|
190
|
+
locale: instance.$L,
|
191
|
+
utc: instance.$u,
|
192
|
+
x: instance.$x,
|
193
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
194
|
+
|
195
|
+
});
|
196
|
+
};
|
197
|
+
|
198
|
+
var Utils = U; // for plugin use
|
199
|
+
|
200
|
+
Utils.l = parseLocale;
|
201
|
+
Utils.i = isDayjs;
|
202
|
+
Utils.w = wrapper;
|
203
|
+
|
204
|
+
var parseDate = function parseDate(cfg) {
|
205
|
+
var date = cfg.date,
|
206
|
+
utc = cfg.utc;
|
207
|
+
if (date === null) return new Date(NaN); // null is invalid
|
208
|
+
|
209
|
+
if (Utils.u(date)) return new Date(); // today
|
210
|
+
|
211
|
+
if (date instanceof Date) return new Date(date);
|
212
|
+
|
213
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
214
|
+
var d = date.match(REGEX_PARSE);
|
215
|
+
|
216
|
+
if (d) {
|
217
|
+
var m = d[2] - 1 || 0;
|
218
|
+
var ms = (d[7] || '0').substring(0, 3);
|
219
|
+
|
220
|
+
if (utc) {
|
221
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
222
|
+
}
|
223
|
+
|
224
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
return new Date(date); // everything else
|
229
|
+
};
|
230
|
+
|
231
|
+
var Dayjs = /*#__PURE__*/function () {
|
232
|
+
function Dayjs(cfg) {
|
233
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
234
|
+
this.parse(cfg); // for plugin
|
235
|
+
|
236
|
+
this.$x = this.$x || cfg.x || {};
|
237
|
+
this[IS_DAYJS] = true;
|
238
|
+
}
|
239
|
+
|
240
|
+
var _proto = Dayjs.prototype;
|
241
|
+
|
242
|
+
_proto.parse = function parse(cfg) {
|
243
|
+
this.$d = parseDate(cfg);
|
244
|
+
this.init();
|
245
|
+
};
|
246
|
+
|
247
|
+
_proto.init = function init() {
|
248
|
+
var $d = this.$d;
|
249
|
+
this.$y = $d.getFullYear();
|
250
|
+
this.$M = $d.getMonth();
|
251
|
+
this.$D = $d.getDate();
|
252
|
+
this.$W = $d.getDay();
|
253
|
+
this.$H = $d.getHours();
|
254
|
+
this.$m = $d.getMinutes();
|
255
|
+
this.$s = $d.getSeconds();
|
256
|
+
this.$ms = $d.getMilliseconds();
|
257
|
+
} // eslint-disable-next-line class-methods-use-this
|
258
|
+
;
|
259
|
+
|
260
|
+
_proto.$utils = function $utils() {
|
261
|
+
return Utils;
|
262
|
+
};
|
263
|
+
|
264
|
+
_proto.isValid = function isValid() {
|
265
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
266
|
+
};
|
267
|
+
|
268
|
+
_proto.isSame = function isSame(that, units) {
|
269
|
+
var other = dayjs(that);
|
270
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
271
|
+
};
|
272
|
+
|
273
|
+
_proto.isAfter = function isAfter(that, units) {
|
274
|
+
return dayjs(that) < this.startOf(units);
|
275
|
+
};
|
276
|
+
|
277
|
+
_proto.isBefore = function isBefore(that, units) {
|
278
|
+
return this.endOf(units) < dayjs(that);
|
279
|
+
};
|
280
|
+
|
281
|
+
_proto.$g = function $g(input, get, set) {
|
282
|
+
if (Utils.u(input)) return this[get];
|
283
|
+
return this.set(set, input);
|
284
|
+
};
|
285
|
+
|
286
|
+
_proto.unix = function unix() {
|
287
|
+
return Math.floor(this.valueOf() / 1000);
|
288
|
+
};
|
289
|
+
|
290
|
+
_proto.valueOf = function valueOf() {
|
291
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
292
|
+
return this.$d.getTime();
|
293
|
+
};
|
294
|
+
|
295
|
+
_proto.startOf = function startOf(units, _startOf) {
|
296
|
+
var _this = this;
|
297
|
+
|
298
|
+
// startOf -> endOf
|
299
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
300
|
+
var unit = Utils.p(units);
|
301
|
+
|
302
|
+
var instanceFactory = function instanceFactory(d, m) {
|
303
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
304
|
+
return isStartOf ? ins : ins.endOf(D);
|
305
|
+
};
|
306
|
+
|
307
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
308
|
+
var argumentStart = [0, 0, 0, 0];
|
309
|
+
var argumentEnd = [23, 59, 59, 999];
|
310
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
311
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
312
|
+
};
|
313
|
+
|
314
|
+
var $W = this.$W,
|
315
|
+
$M = this.$M,
|
316
|
+
$D = this.$D;
|
317
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
318
|
+
|
319
|
+
switch (unit) {
|
320
|
+
case Y:
|
321
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
322
|
+
|
323
|
+
case M:
|
324
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
325
|
+
|
326
|
+
case W:
|
327
|
+
{
|
328
|
+
var weekStart = this.$locale().weekStart || 0;
|
329
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
330
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
331
|
+
}
|
332
|
+
|
333
|
+
case D:
|
334
|
+
case DATE:
|
335
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
336
|
+
|
337
|
+
case H:
|
338
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
339
|
+
|
340
|
+
case MIN:
|
341
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
342
|
+
|
343
|
+
case S:
|
344
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
345
|
+
|
346
|
+
default:
|
347
|
+
return this.clone();
|
348
|
+
}
|
349
|
+
};
|
350
|
+
|
351
|
+
_proto.endOf = function endOf(arg) {
|
352
|
+
return this.startOf(arg, false);
|
353
|
+
};
|
354
|
+
|
355
|
+
_proto.$set = function $set(units, _int) {
|
356
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
357
|
+
|
358
|
+
// private set
|
359
|
+
var unit = Utils.p(units);
|
360
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
361
|
+
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];
|
362
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
363
|
+
|
364
|
+
if (unit === M || unit === Y) {
|
365
|
+
// clone is for badMutable plugin
|
366
|
+
var date = this.clone().set(DATE, 1);
|
367
|
+
date.$d[name](arg);
|
368
|
+
date.init();
|
369
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
370
|
+
} else if (name) this.$d[name](arg);
|
371
|
+
|
372
|
+
this.init();
|
373
|
+
return this;
|
374
|
+
};
|
375
|
+
|
376
|
+
_proto.set = function set(string, _int2) {
|
377
|
+
return this.clone().$set(string, _int2);
|
378
|
+
};
|
379
|
+
|
380
|
+
_proto.get = function get(unit) {
|
381
|
+
return this[Utils.p(unit)]();
|
382
|
+
};
|
383
|
+
|
384
|
+
_proto.add = function add(number, units) {
|
385
|
+
var _this2 = this,
|
386
|
+
_C$MIN$C$H$C$S$unit;
|
387
|
+
|
388
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
389
|
+
|
390
|
+
var unit = Utils.p(units);
|
391
|
+
|
392
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
393
|
+
var d = dayjs(_this2);
|
394
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
395
|
+
};
|
396
|
+
|
397
|
+
if (unit === M) {
|
398
|
+
return this.set(M, this.$M + number);
|
399
|
+
}
|
400
|
+
|
401
|
+
if (unit === Y) {
|
402
|
+
return this.set(Y, this.$y + number);
|
403
|
+
}
|
404
|
+
|
405
|
+
if (unit === D) {
|
406
|
+
return instanceFactorySet(1);
|
407
|
+
}
|
408
|
+
|
409
|
+
if (unit === W) {
|
410
|
+
return instanceFactorySet(7);
|
411
|
+
}
|
412
|
+
|
413
|
+
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
|
414
|
+
|
415
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
416
|
+
return Utils.w(nextTimeStamp, this);
|
417
|
+
};
|
418
|
+
|
419
|
+
_proto.subtract = function subtract(number, string) {
|
420
|
+
return this.add(number * -1, string);
|
421
|
+
};
|
422
|
+
|
423
|
+
_proto.format = function format(formatStr) {
|
424
|
+
var _this3 = this;
|
425
|
+
|
426
|
+
var locale = this.$locale();
|
427
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
428
|
+
var str = formatStr || FORMAT_DEFAULT;
|
429
|
+
var zoneStr = Utils.z(this);
|
430
|
+
var $H = this.$H,
|
431
|
+
$m = this.$m,
|
432
|
+
$M = this.$M;
|
433
|
+
var weekdays = locale.weekdays,
|
434
|
+
months = locale.months,
|
435
|
+
meridiem = locale.meridiem;
|
436
|
+
|
437
|
+
var getShort = function getShort(arr, index, full, length) {
|
438
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
439
|
+
};
|
440
|
+
|
441
|
+
var get$H = function get$H(num) {
|
442
|
+
return Utils.s($H % 12 || 12, num, '0');
|
443
|
+
};
|
444
|
+
|
445
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
446
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
447
|
+
return isLowercase ? m.toLowerCase() : m;
|
448
|
+
};
|
449
|
+
|
450
|
+
var matches = function matches(match) {
|
451
|
+
switch (match) {
|
452
|
+
case 'YY':
|
453
|
+
return String(_this3.$y).slice(-2);
|
454
|
+
|
455
|
+
case 'YYYY':
|
456
|
+
return Utils.s(_this3.$y, 4, '0');
|
457
|
+
|
458
|
+
case 'M':
|
459
|
+
return $M + 1;
|
460
|
+
|
461
|
+
case 'MM':
|
462
|
+
return Utils.s($M + 1, 2, '0');
|
463
|
+
|
464
|
+
case 'MMM':
|
465
|
+
return getShort(locale.monthsShort, $M, months, 3);
|
466
|
+
|
467
|
+
case 'MMMM':
|
468
|
+
return getShort(months, $M);
|
469
|
+
|
470
|
+
case 'D':
|
471
|
+
return _this3.$D;
|
472
|
+
|
473
|
+
case 'DD':
|
474
|
+
return Utils.s(_this3.$D, 2, '0');
|
475
|
+
|
476
|
+
case 'd':
|
477
|
+
return String(_this3.$W);
|
478
|
+
|
479
|
+
case 'dd':
|
480
|
+
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
481
|
+
|
482
|
+
case 'ddd':
|
483
|
+
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
484
|
+
|
485
|
+
case 'dddd':
|
486
|
+
return weekdays[_this3.$W];
|
487
|
+
|
488
|
+
case 'H':
|
489
|
+
return String($H);
|
490
|
+
|
491
|
+
case 'HH':
|
492
|
+
return Utils.s($H, 2, '0');
|
493
|
+
|
494
|
+
case 'h':
|
495
|
+
return get$H(1);
|
496
|
+
|
497
|
+
case 'hh':
|
498
|
+
return get$H(2);
|
499
|
+
|
500
|
+
case 'a':
|
501
|
+
return meridiemFunc($H, $m, true);
|
502
|
+
|
503
|
+
case 'A':
|
504
|
+
return meridiemFunc($H, $m, false);
|
505
|
+
|
506
|
+
case 'm':
|
507
|
+
return String($m);
|
508
|
+
|
509
|
+
case 'mm':
|
510
|
+
return Utils.s($m, 2, '0');
|
511
|
+
|
512
|
+
case 's':
|
513
|
+
return String(_this3.$s);
|
514
|
+
|
515
|
+
case 'ss':
|
516
|
+
return Utils.s(_this3.$s, 2, '0');
|
517
|
+
|
518
|
+
case 'SSS':
|
519
|
+
return Utils.s(_this3.$ms, 3, '0');
|
520
|
+
|
521
|
+
case 'Z':
|
522
|
+
return zoneStr;
|
523
|
+
}
|
524
|
+
|
525
|
+
return null;
|
526
|
+
};
|
527
|
+
|
528
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
529
|
+
return $1 || matches(match) || zoneStr.replace(':', '');
|
530
|
+
}); // 'ZZ'
|
531
|
+
};
|
532
|
+
|
533
|
+
_proto.utcOffset = function utcOffset() {
|
534
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
535
|
+
// https://github.com/moment/moment/pull/1871
|
536
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
537
|
+
};
|
538
|
+
|
539
|
+
_proto.diff = function diff(input, units, _float) {
|
540
|
+
var _this4 = this;
|
541
|
+
|
542
|
+
var unit = Utils.p(units);
|
543
|
+
var that = dayjs(input);
|
544
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
545
|
+
var diff = this - that;
|
546
|
+
|
547
|
+
var getMonth = function getMonth() {
|
548
|
+
return Utils.m(_this4, that);
|
549
|
+
};
|
550
|
+
|
551
|
+
var result;
|
552
|
+
|
553
|
+
switch (unit) {
|
554
|
+
case Y:
|
555
|
+
result = getMonth() / 12;
|
556
|
+
break;
|
557
|
+
|
558
|
+
case M:
|
559
|
+
result = getMonth();
|
560
|
+
break;
|
561
|
+
|
562
|
+
case Q:
|
563
|
+
result = getMonth() / 3;
|
564
|
+
break;
|
565
|
+
|
566
|
+
case W:
|
567
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
568
|
+
break;
|
569
|
+
|
570
|
+
case D:
|
571
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
572
|
+
break;
|
573
|
+
|
574
|
+
case H:
|
575
|
+
result = diff / MILLISECONDS_A_HOUR;
|
576
|
+
break;
|
577
|
+
|
578
|
+
case MIN:
|
579
|
+
result = diff / MILLISECONDS_A_MINUTE;
|
580
|
+
break;
|
581
|
+
|
582
|
+
case S:
|
583
|
+
result = diff / MILLISECONDS_A_SECOND;
|
584
|
+
break;
|
585
|
+
|
586
|
+
default:
|
587
|
+
result = diff; // milliseconds
|
588
|
+
|
589
|
+
break;
|
590
|
+
}
|
591
|
+
|
592
|
+
return _float ? result : Utils.a(result);
|
593
|
+
};
|
594
|
+
|
595
|
+
_proto.daysInMonth = function daysInMonth() {
|
596
|
+
return this.endOf(M).$D;
|
597
|
+
};
|
598
|
+
|
599
|
+
_proto.$locale = function $locale() {
|
600
|
+
// get locale object
|
601
|
+
return Ls[this.$L];
|
602
|
+
};
|
603
|
+
|
604
|
+
_proto.locale = function locale(preset, object) {
|
605
|
+
if (!preset) return this.$L;
|
606
|
+
var that = this.clone();
|
607
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
608
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
609
|
+
return that;
|
610
|
+
};
|
611
|
+
|
612
|
+
_proto.clone = function clone() {
|
613
|
+
return Utils.w(this.$d, this);
|
614
|
+
};
|
615
|
+
|
616
|
+
_proto.toDate = function toDate() {
|
617
|
+
return new Date(this.valueOf());
|
618
|
+
};
|
619
|
+
|
620
|
+
_proto.toJSON = function toJSON() {
|
621
|
+
return this.isValid() ? this.toISOString() : null;
|
622
|
+
};
|
623
|
+
|
624
|
+
_proto.toISOString = function toISOString() {
|
625
|
+
// ie 8 return
|
626
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
627
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
628
|
+
return this.$d.toISOString();
|
629
|
+
};
|
630
|
+
|
631
|
+
_proto.toString = function toString() {
|
632
|
+
return this.$d.toUTCString();
|
633
|
+
};
|
634
|
+
|
635
|
+
return Dayjs;
|
636
|
+
}();
|
637
|
+
|
638
|
+
var proto = Dayjs.prototype;
|
639
|
+
dayjs.prototype = proto;
|
640
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
641
|
+
proto[g[1]] = function (input) {
|
642
|
+
return this.$g(input, g[0], g[1]);
|
643
|
+
};
|
644
|
+
});
|
645
|
+
|
646
|
+
dayjs.extend = function (plugin, option) {
|
647
|
+
if (!plugin.$i) {
|
648
|
+
// install plugin only once
|
649
|
+
plugin(option, Dayjs, dayjs);
|
650
|
+
plugin.$i = true;
|
651
|
+
}
|
652
|
+
|
653
|
+
return dayjs;
|
654
|
+
};
|
655
|
+
|
656
|
+
dayjs.locale = parseLocale;
|
657
|
+
dayjs.isDayjs = isDayjs;
|
658
|
+
|
659
|
+
dayjs.unix = function (timestamp) {
|
660
|
+
return dayjs(timestamp * 1e3);
|
661
|
+
};
|
662
|
+
|
663
|
+
dayjs.en = Ls[L];
|
664
|
+
dayjs.Ls = Ls;
|
665
|
+
dayjs.p = {};
|
666
|
+
|
667
|
+
// eslint-disable-next-line import/prefer-default-export
|
668
|
+
var t = function t(format) {
|
669
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
670
|
+
return a || b.slice(1);
|
671
|
+
});
|
672
|
+
};
|
673
|
+
var englishFormats = {
|
674
|
+
LTS: 'h:mm:ss A',
|
675
|
+
LT: 'h:mm A',
|
676
|
+
L: 'MM/DD/YYYY',
|
677
|
+
LL: 'MMMM D, YYYY',
|
678
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
679
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
680
|
+
};
|
681
|
+
var u = function u(formatStr, formats) {
|
682
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
683
|
+
var B = b && b.toUpperCase();
|
684
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
685
|
+
});
|
686
|
+
};
|
687
|
+
|
688
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
689
|
+
var match1 = /\d/; // 0 - 9
|
690
|
+
|
691
|
+
var match2 = /\d\d/; // 00 - 99
|
692
|
+
|
693
|
+
var match3 = /\d{3}/; // 000 - 999
|
694
|
+
|
695
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
696
|
+
|
697
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
698
|
+
|
699
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
700
|
+
|
701
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
702
|
+
|
703
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
704
|
+
|
705
|
+
var locale = {};
|
706
|
+
|
707
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
708
|
+
input = +input;
|
709
|
+
return input + (input > 68 ? 1900 : 2000);
|
710
|
+
};
|
711
|
+
|
712
|
+
function offsetFromString(string) {
|
713
|
+
if (!string) return 0;
|
714
|
+
if (string === 'Z') return 0;
|
715
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
716
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
717
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
718
|
+
}
|
719
|
+
|
720
|
+
var addInput = function addInput(property) {
|
721
|
+
return function (input) {
|
722
|
+
this[property] = +input;
|
723
|
+
};
|
724
|
+
};
|
725
|
+
|
726
|
+
var zoneExpressions = [matchOffset, function (input) {
|
727
|
+
var zone = this.zone || (this.zone = {});
|
728
|
+
zone.offset = offsetFromString(input);
|
729
|
+
}];
|
730
|
+
|
731
|
+
var getLocalePart = function getLocalePart(name) {
|
732
|
+
var part = locale[name];
|
733
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
734
|
+
};
|
735
|
+
|
736
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
737
|
+
var isAfternoon;
|
738
|
+
var _locale = locale,
|
739
|
+
meridiem = _locale.meridiem;
|
740
|
+
|
741
|
+
if (!meridiem) {
|
742
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
743
|
+
} else {
|
744
|
+
for (var i = 1; i <= 24; i += 1) {
|
745
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
746
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
747
|
+
isAfternoon = i > 12;
|
748
|
+
break;
|
749
|
+
}
|
750
|
+
}
|
751
|
+
}
|
752
|
+
|
753
|
+
return isAfternoon;
|
754
|
+
};
|
755
|
+
|
756
|
+
var expressions = {
|
757
|
+
A: [matchWord, function (input) {
|
758
|
+
this.afternoon = meridiemMatch(input, false);
|
759
|
+
}],
|
760
|
+
a: [matchWord, function (input) {
|
761
|
+
this.afternoon = meridiemMatch(input, true);
|
762
|
+
}],
|
763
|
+
S: [match1, function (input) {
|
764
|
+
this.milliseconds = +input * 100;
|
765
|
+
}],
|
766
|
+
SS: [match2, function (input) {
|
767
|
+
this.milliseconds = +input * 10;
|
768
|
+
}],
|
769
|
+
SSS: [match3, function (input) {
|
770
|
+
this.milliseconds = +input;
|
771
|
+
}],
|
772
|
+
s: [match1to2, addInput('seconds')],
|
773
|
+
ss: [match1to2, addInput('seconds')],
|
774
|
+
m: [match1to2, addInput('minutes')],
|
775
|
+
mm: [match1to2, addInput('minutes')],
|
776
|
+
H: [match1to2, addInput('hours')],
|
777
|
+
h: [match1to2, addInput('hours')],
|
778
|
+
HH: [match1to2, addInput('hours')],
|
779
|
+
hh: [match1to2, addInput('hours')],
|
780
|
+
D: [match1to2, addInput('day')],
|
781
|
+
DD: [match2, addInput('day')],
|
782
|
+
Do: [matchWord, function (input) {
|
783
|
+
var _locale2 = locale,
|
784
|
+
ordinal = _locale2.ordinal;
|
785
|
+
|
786
|
+
var _input$match = input.match(/\d+/);
|
787
|
+
|
788
|
+
this.day = _input$match[0];
|
789
|
+
if (!ordinal) return;
|
790
|
+
|
791
|
+
for (var i = 1; i <= 31; i += 1) {
|
792
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
793
|
+
this.day = i;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
}],
|
797
|
+
M: [match1to2, addInput('month')],
|
798
|
+
MM: [match2, addInput('month')],
|
799
|
+
MMM: [matchWord, function (input) {
|
800
|
+
var months = getLocalePart('months');
|
801
|
+
var monthsShort = getLocalePart('monthsShort');
|
802
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
803
|
+
return _.slice(0, 3);
|
804
|
+
})).indexOf(input) + 1;
|
805
|
+
|
806
|
+
if (matchIndex < 1) {
|
807
|
+
throw new Error();
|
808
|
+
}
|
809
|
+
|
810
|
+
this.month = matchIndex % 12 || matchIndex;
|
811
|
+
}],
|
812
|
+
MMMM: [matchWord, function (input) {
|
813
|
+
var months = getLocalePart('months');
|
814
|
+
var matchIndex = months.indexOf(input) + 1;
|
815
|
+
|
816
|
+
if (matchIndex < 1) {
|
817
|
+
throw new Error();
|
818
|
+
}
|
819
|
+
|
820
|
+
this.month = matchIndex % 12 || matchIndex;
|
821
|
+
}],
|
822
|
+
Y: [matchSigned, addInput('year')],
|
823
|
+
YY: [match2, function (input) {
|
824
|
+
this.year = parseTwoDigitYear(input);
|
825
|
+
}],
|
826
|
+
YYYY: [match4, addInput('year')],
|
827
|
+
Z: zoneExpressions,
|
828
|
+
ZZ: zoneExpressions
|
829
|
+
};
|
830
|
+
|
831
|
+
function correctHours(time) {
|
832
|
+
var afternoon = time.afternoon;
|
833
|
+
|
834
|
+
if (afternoon !== undefined) {
|
835
|
+
var hours = time.hours;
|
836
|
+
|
837
|
+
if (afternoon) {
|
838
|
+
if (hours < 12) {
|
839
|
+
time.hours += 12;
|
840
|
+
}
|
841
|
+
} else if (hours === 12) {
|
842
|
+
time.hours = 0;
|
843
|
+
}
|
844
|
+
|
845
|
+
delete time.afternoon;
|
846
|
+
}
|
847
|
+
}
|
848
|
+
|
849
|
+
function makeParser(format) {
|
850
|
+
format = u(format, locale && locale.formats);
|
851
|
+
var array = format.match(formattingTokens);
|
852
|
+
var length = array.length;
|
853
|
+
|
854
|
+
for (var i = 0; i < length; i += 1) {
|
855
|
+
var token = array[i];
|
856
|
+
var parseTo = expressions[token];
|
857
|
+
var regex = parseTo && parseTo[0];
|
858
|
+
var parser = parseTo && parseTo[1];
|
859
|
+
|
860
|
+
if (parser) {
|
861
|
+
array[i] = {
|
862
|
+
regex: regex,
|
863
|
+
parser: parser
|
864
|
+
};
|
865
|
+
} else {
|
866
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
867
|
+
}
|
868
|
+
}
|
869
|
+
|
870
|
+
return function (input) {
|
871
|
+
var time = {};
|
872
|
+
|
873
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
874
|
+
var _token = array[_i];
|
875
|
+
|
876
|
+
if (typeof _token === 'string') {
|
877
|
+
start += _token.length;
|
878
|
+
} else {
|
879
|
+
var _regex = _token.regex,
|
880
|
+
_parser = _token.parser;
|
881
|
+
var part = input.slice(start);
|
882
|
+
|
883
|
+
var match = _regex.exec(part);
|
884
|
+
|
885
|
+
var value = match[0];
|
886
|
+
|
887
|
+
_parser.call(time, value);
|
888
|
+
|
889
|
+
input = input.replace(value, '');
|
890
|
+
}
|
891
|
+
}
|
892
|
+
|
893
|
+
correctHours(time);
|
894
|
+
return time;
|
895
|
+
};
|
896
|
+
}
|
897
|
+
|
898
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
899
|
+
try {
|
900
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
901
|
+
var parser = makeParser(format);
|
902
|
+
|
903
|
+
var _parser2 = parser(input),
|
904
|
+
year = _parser2.year,
|
905
|
+
month = _parser2.month,
|
906
|
+
day = _parser2.day,
|
907
|
+
hours = _parser2.hours,
|
908
|
+
minutes = _parser2.minutes,
|
909
|
+
seconds = _parser2.seconds,
|
910
|
+
milliseconds = _parser2.milliseconds,
|
911
|
+
zone = _parser2.zone;
|
912
|
+
|
913
|
+
var now = new Date();
|
914
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
915
|
+
var y = year || now.getFullYear();
|
916
|
+
var M = 0;
|
917
|
+
|
918
|
+
if (!(year && !month)) {
|
919
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
920
|
+
}
|
921
|
+
|
922
|
+
var h = hours || 0;
|
923
|
+
var m = minutes || 0;
|
924
|
+
var s = seconds || 0;
|
925
|
+
var ms = milliseconds || 0;
|
926
|
+
|
927
|
+
if (zone) {
|
928
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
929
|
+
}
|
930
|
+
|
931
|
+
if (utc) {
|
932
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
933
|
+
}
|
934
|
+
|
935
|
+
return new Date(y, M, d, h, m, s, ms);
|
936
|
+
} catch (e) {
|
937
|
+
return new Date(''); // Invalid Date
|
938
|
+
}
|
939
|
+
};
|
940
|
+
|
941
|
+
const customParseFormat = (function (o, C, d) {
|
942
|
+
d.p.customParseFormat = true;
|
943
|
+
|
944
|
+
if (o && o.parseTwoDigitYear) {
|
945
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
946
|
+
}
|
947
|
+
|
948
|
+
var proto = C.prototype;
|
949
|
+
var oldParse = proto.parse;
|
950
|
+
|
951
|
+
proto.parse = function (cfg) {
|
952
|
+
var date = cfg.date,
|
953
|
+
utc = cfg.utc,
|
954
|
+
args = cfg.args;
|
955
|
+
this.$u = utc;
|
956
|
+
var format = args[1];
|
957
|
+
|
958
|
+
if (typeof format === 'string') {
|
959
|
+
var isStrictWithoutLocale = args[2] === true;
|
960
|
+
var isStrictWithLocale = args[3] === true;
|
961
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
962
|
+
var pl = args[2];
|
963
|
+
|
964
|
+
if (isStrictWithLocale) {
|
965
|
+
pl = args[2];
|
966
|
+
}
|
967
|
+
|
968
|
+
locale = this.$locale();
|
969
|
+
|
970
|
+
if (!isStrictWithoutLocale && pl) {
|
971
|
+
locale = d.Ls[pl];
|
972
|
+
}
|
973
|
+
|
974
|
+
this.$d = parseFormattedInput(date, format, utc);
|
975
|
+
this.init();
|
976
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
977
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
978
|
+
// eslint-disable-next-line eqeqeq
|
979
|
+
|
980
|
+
if (isStrict && date != this.format(format)) {
|
981
|
+
this.$d = new Date('');
|
982
|
+
} // reset global locale to make parallel unit test
|
983
|
+
|
984
|
+
|
985
|
+
locale = {};
|
986
|
+
} else if (format instanceof Array) {
|
987
|
+
var len = format.length;
|
988
|
+
|
989
|
+
for (var i = 1; i <= len; i += 1) {
|
990
|
+
args[1] = format[i - 1];
|
991
|
+
var result = d.apply(this, args);
|
992
|
+
|
993
|
+
if (result.isValid()) {
|
994
|
+
this.$d = result.$d;
|
995
|
+
this.$L = result.$L;
|
996
|
+
this.init();
|
997
|
+
break;
|
998
|
+
}
|
999
|
+
|
1000
|
+
if (i === len) this.$d = new Date('');
|
1001
|
+
}
|
1002
|
+
} else {
|
1003
|
+
oldParse.call(this, cfg);
|
1004
|
+
}
|
1005
|
+
};
|
1006
|
+
});
|
1007
|
+
|
1008
|
+
const localeData = (function (o, c, dayjs) {
|
1009
|
+
// locale needed later
|
1010
|
+
var proto = c.prototype;
|
1011
|
+
|
1012
|
+
var getLocalePart = function getLocalePart(part) {
|
1013
|
+
return part && (part.indexOf ? part : part.s);
|
1014
|
+
};
|
1015
|
+
|
1016
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
1017
|
+
var locale = ins.name ? ins : ins.$locale();
|
1018
|
+
var targetLocale = getLocalePart(locale[target]);
|
1019
|
+
var fullLocale = getLocalePart(locale[full]);
|
1020
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
1021
|
+
return f.slice(0, num);
|
1022
|
+
});
|
1023
|
+
if (!localeOrder) return result;
|
1024
|
+
var weekStart = locale.weekStart;
|
1025
|
+
return result.map(function (_, index) {
|
1026
|
+
return result[(index + (weekStart || 0)) % 7];
|
1027
|
+
});
|
1028
|
+
};
|
1029
|
+
|
1030
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
1031
|
+
return dayjs.Ls[dayjs.locale()];
|
1032
|
+
};
|
1033
|
+
|
1034
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
1035
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
1036
|
+
};
|
1037
|
+
|
1038
|
+
var localeData = function localeData() {
|
1039
|
+
var _this = this;
|
1040
|
+
|
1041
|
+
return {
|
1042
|
+
months: function months(instance) {
|
1043
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
1044
|
+
},
|
1045
|
+
monthsShort: function monthsShort(instance) {
|
1046
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
1047
|
+
},
|
1048
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1049
|
+
return _this.$locale().weekStart || 0;
|
1050
|
+
},
|
1051
|
+
weekdays: function weekdays(instance) {
|
1052
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
1053
|
+
},
|
1054
|
+
weekdaysMin: function weekdaysMin(instance) {
|
1055
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
1056
|
+
},
|
1057
|
+
weekdaysShort: function weekdaysShort(instance) {
|
1058
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
1059
|
+
},
|
1060
|
+
longDateFormat: function longDateFormat(format) {
|
1061
|
+
return getLongDateFormat(_this.$locale(), format);
|
1062
|
+
},
|
1063
|
+
meridiem: this.$locale().meridiem,
|
1064
|
+
ordinal: this.$locale().ordinal
|
1065
|
+
};
|
1066
|
+
};
|
1067
|
+
|
1068
|
+
proto.localeData = function () {
|
1069
|
+
return localeData.bind(this)();
|
1070
|
+
};
|
1071
|
+
|
1072
|
+
dayjs.localeData = function () {
|
1073
|
+
var localeObject = getDayjsLocaleObject();
|
1074
|
+
return {
|
1075
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1076
|
+
return localeObject.weekStart || 0;
|
1077
|
+
},
|
1078
|
+
weekdays: function weekdays() {
|
1079
|
+
return dayjs.weekdays();
|
1080
|
+
},
|
1081
|
+
weekdaysShort: function weekdaysShort() {
|
1082
|
+
return dayjs.weekdaysShort();
|
1083
|
+
},
|
1084
|
+
weekdaysMin: function weekdaysMin() {
|
1085
|
+
return dayjs.weekdaysMin();
|
1086
|
+
},
|
1087
|
+
months: function months() {
|
1088
|
+
return dayjs.months();
|
1089
|
+
},
|
1090
|
+
monthsShort: function monthsShort() {
|
1091
|
+
return dayjs.monthsShort();
|
1092
|
+
},
|
1093
|
+
longDateFormat: function longDateFormat(format) {
|
1094
|
+
return getLongDateFormat(localeObject, format);
|
1095
|
+
},
|
1096
|
+
meridiem: localeObject.meridiem,
|
1097
|
+
ordinal: localeObject.ordinal
|
1098
|
+
};
|
1099
|
+
};
|
1100
|
+
|
1101
|
+
dayjs.months = function () {
|
1102
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
1103
|
+
};
|
1104
|
+
|
1105
|
+
dayjs.monthsShort = function () {
|
1106
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1107
|
+
};
|
1108
|
+
|
1109
|
+
dayjs.weekdays = function (localeOrder) {
|
1110
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1111
|
+
};
|
1112
|
+
|
1113
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
1114
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1115
|
+
};
|
1116
|
+
|
1117
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
1118
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1119
|
+
};
|
1120
|
+
});
|
1121
|
+
|
1122
|
+
const localizedFormat = (function (o, c, d) {
|
1123
|
+
var proto = c.prototype;
|
1124
|
+
var oldFormat = proto.format;
|
1125
|
+
d.en.formats = englishFormats;
|
1126
|
+
|
1127
|
+
proto.format = function (formatStr) {
|
1128
|
+
if (formatStr === void 0) {
|
1129
|
+
formatStr = FORMAT_DEFAULT;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
var _this$$locale = this.$locale(),
|
1133
|
+
_this$$locale$formats = _this$$locale.formats,
|
1134
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1135
|
+
|
1136
|
+
var result = u(formatStr, formats);
|
1137
|
+
return oldFormat.call(this, result);
|
1138
|
+
};
|
1139
|
+
});
|
1140
|
+
|
1141
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1142
|
+
const preParsePostFormat = (function (option, dayjsClass) {
|
1143
|
+
var oldParse = dayjsClass.prototype.parse;
|
1144
|
+
|
1145
|
+
dayjsClass.prototype.parse = function (cfg) {
|
1146
|
+
if (typeof cfg.date === 'string') {
|
1147
|
+
var locale = this.$locale();
|
1148
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1149
|
+
} // original parse result
|
1150
|
+
|
1151
|
+
|
1152
|
+
return oldParse.bind(this)(cfg);
|
1153
|
+
}; // // overriding existing API
|
1154
|
+
// // e.g. extend dayjs().format()
|
1155
|
+
|
1156
|
+
|
1157
|
+
var oldFormat = dayjsClass.prototype.format;
|
1158
|
+
|
1159
|
+
dayjsClass.prototype.format = function () {
|
1160
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1161
|
+
args[_key] = arguments[_key];
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
// original format result
|
1165
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1166
|
+
|
1167
|
+
var locale = this.$locale();
|
1168
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
1169
|
+
};
|
1170
|
+
|
1171
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1172
|
+
|
1173
|
+
if (oldFromTo) {
|
1174
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1175
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
1176
|
+
|
1177
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1178
|
+
};
|
1179
|
+
}
|
1180
|
+
});
|
1181
|
+
|
1182
|
+
const updateLocale = (function (option, Dayjs, dayjs) {
|
1183
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
1184
|
+
var localeList = dayjs.Ls;
|
1185
|
+
var localeConfig = localeList[locale];
|
1186
|
+
if (!localeConfig) return;
|
1187
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1188
|
+
customConfigKeys.forEach(function (c) {
|
1189
|
+
localeConfig[c] = customConfig[c];
|
1190
|
+
});
|
1191
|
+
return localeConfig; // eslint-disable-line consistent-return
|
1192
|
+
};
|
1193
|
+
});
|
1194
|
+
|
1195
|
+
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;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;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}";
|
1196
|
+
|
1197
|
+
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1198
|
+
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
1199
|
+
["ar", () => Promise.resolve().then(function () { return require('./ar-4ea5cf50.js'); })],
|
1200
|
+
["bg", () => Promise.resolve().then(function () { return require('./bg-bbb11dad.js'); })],
|
1201
|
+
["bs", () => Promise.resolve().then(function () { return require('./bs-0c7323f3.js'); })],
|
1202
|
+
["ca", () => Promise.resolve().then(function () { return require('./ca-8c132b5c.js'); })],
|
1203
|
+
["cs", () => Promise.resolve().then(function () { return require('./cs-beb23778.js'); })],
|
1204
|
+
["da", () => Promise.resolve().then(function () { return require('./da-d2413a66.js'); })],
|
1205
|
+
["de", () => Promise.resolve().then(function () { return require('./de-73c09fa5.js'); })],
|
1206
|
+
["de-at", () => Promise.resolve().then(function () { return require('./de-at-c80ba65c.js'); })],
|
1207
|
+
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-07611a55.js'); })],
|
1208
|
+
["el", () => Promise.resolve().then(function () { return require('./el-85562376.js'); })],
|
1209
|
+
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1210
|
+
["en-au", () => Promise.resolve().then(function () { return require('./en-au-46f6054b.js'); })],
|
1211
|
+
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-0c0a3c9b.js'); })],
|
1212
|
+
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-60b63416.js'); })],
|
1213
|
+
["es", () => Promise.resolve().then(function () { return require('./es-699e9ab7.js'); })],
|
1214
|
+
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-0a692d1b.js'); })],
|
1215
|
+
["et", () => Promise.resolve().then(function () { return require('./et-7120f20c.js'); })],
|
1216
|
+
["fi", () => Promise.resolve().then(function () { return require('./fi-48d50457.js'); })],
|
1217
|
+
["fr", () => Promise.resolve().then(function () { return require('./fr-181ff7ad.js'); })],
|
1218
|
+
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-be3e8d46.js'); })],
|
1219
|
+
["he", () => Promise.resolve().then(function () { return require('./he-e3d579f4.js'); })],
|
1220
|
+
["hi", () => Promise.resolve().then(function () { return require('./hi-330caf2c.js'); })],
|
1221
|
+
["hr", () => Promise.resolve().then(function () { return require('./hr-dc91d7f6.js'); })],
|
1222
|
+
["hu", () => Promise.resolve().then(function () { return require('./hu-20d2f283.js'); })],
|
1223
|
+
["id", () => Promise.resolve().then(function () { return require('./id-621968dc.js'); })],
|
1224
|
+
["it", () => Promise.resolve().then(function () { return require('./it-68cc02eb.js'); })],
|
1225
|
+
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-125ed733.js'); })],
|
1226
|
+
["ja", () => Promise.resolve().then(function () { return require('./ja-42400345.js'); })],
|
1227
|
+
["ko", () => Promise.resolve().then(function () { return require('./ko-af71930f.js'); })],
|
1228
|
+
["lt", () => Promise.resolve().then(function () { return require('./lt-7fed7d9b.js'); })],
|
1229
|
+
["lv", () => Promise.resolve().then(function () { return require('./lv-69552dce.js'); })],
|
1230
|
+
["mk", () => Promise.resolve().then(function () { return require('./mk-d7e02da4.js'); })],
|
1231
|
+
["nl", () => Promise.resolve().then(function () { return require('./nl-cd98d891.js'); })],
|
1232
|
+
["nb", () => Promise.resolve().then(function () { return require('./nb-bd55eaf3.js'); })],
|
1233
|
+
["pl", () => Promise.resolve().then(function () { return require('./pl-2d3c3597.js'); })],
|
1234
|
+
["pt", () => Promise.resolve().then(function () { return require('./pt-93b5d4f4.js'); })],
|
1235
|
+
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-839d5879.js'); })],
|
1236
|
+
["ro", () => Promise.resolve().then(function () { return require('./ro-faf4d226.js'); })],
|
1237
|
+
["ru", () => Promise.resolve().then(function () { return require('./ru-52c88060.js'); })],
|
1238
|
+
["sk", () => Promise.resolve().then(function () { return require('./sk-3d496fd7.js'); })],
|
1239
|
+
["sl", () => Promise.resolve().then(function () { return require('./sl-5422921c.js'); })],
|
1240
|
+
["sr", () => Promise.resolve().then(function () { return require('./sr-23a8f847.js'); })],
|
1241
|
+
["sv", () => Promise.resolve().then(function () { return require('./sv-22b72d3a.js'); })],
|
1242
|
+
["th", () => Promise.resolve().then(function () { return require('./th-73ce9bbd.js'); })],
|
1243
|
+
["tr", () => Promise.resolve().then(function () { return require('./tr-f4530a05.js'); })],
|
1244
|
+
["uk", () => Promise.resolve().then(function () { return require('./uk-117902c4.js'); })],
|
1245
|
+
["vi", () => Promise.resolve().then(function () { return require('./vi-6ef0f273.js'); })],
|
1246
|
+
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-e801dfdd.js'); })],
|
1247
|
+
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-b4793c58.js'); })],
|
1248
|
+
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-f7e62c05.js'); })],
|
1249
|
+
]);
|
1250
|
+
dayjs.extend(customParseFormat);
|
1251
|
+
dayjs.extend(localeData);
|
1252
|
+
dayjs.extend(localizedFormat);
|
1253
|
+
dayjs.extend(preParsePostFormat);
|
1254
|
+
dayjs.extend(updateLocale);
|
1255
|
+
const InputTimePicker = class {
|
1256
|
+
constructor(hostRef) {
|
1257
|
+
index.registerInstance(this, hostRef);
|
1258
|
+
this.calciteInputTimePickerBeforeClose = index.createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
1259
|
+
this.calciteInputTimePickerBeforeOpen = index.createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
1260
|
+
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
1261
|
+
this.calciteInputTimePickerClose = index.createEvent(this, "calciteInputTimePickerClose", 6);
|
1262
|
+
this.calciteInputTimePickerOpen = index.createEvent(this, "calciteInputTimePickerOpen", 6);
|
1263
|
+
this.focusOnOpen = false;
|
1264
|
+
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
1265
|
+
/** whether the value of the input was changed as a result of user typing or not */
|
1266
|
+
this.userChangedValue = false;
|
1267
|
+
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
1268
|
+
this.openTransitionProp = "opacity";
|
1269
|
+
//--------------------------------------------------------------------------
|
1270
|
+
//
|
1271
|
+
// Event Listeners
|
1272
|
+
//
|
1273
|
+
//--------------------------------------------------------------------------
|
1274
|
+
this.hostBlurHandler = () => {
|
1275
|
+
const inputValue = this.calciteInputEl.value;
|
1276
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1277
|
+
if (!delocalizedInputValue) {
|
1278
|
+
this.setValue("");
|
1279
|
+
return;
|
1280
|
+
}
|
1281
|
+
if (delocalizedInputValue !== this.value) {
|
1282
|
+
this.setValue(delocalizedInputValue);
|
1283
|
+
}
|
1284
|
+
const localizedTimeString = time.localizeTimeString({
|
1285
|
+
value: this.value,
|
1286
|
+
locale: this.effectiveLocale,
|
1287
|
+
numberingSystem: this.numberingSystem,
|
1288
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1289
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1290
|
+
});
|
1291
|
+
if (localizedTimeString !== inputValue) {
|
1292
|
+
this.setInputValue(localizedTimeString);
|
1293
|
+
}
|
1294
|
+
this.deactivate();
|
1295
|
+
};
|
1296
|
+
this.calciteInternalInputFocusHandler = (event) => {
|
1297
|
+
if (!this.readOnly) {
|
1298
|
+
event.stopPropagation();
|
1299
|
+
}
|
1300
|
+
};
|
1301
|
+
this.calciteInternalInputInputHandler = (event) => {
|
1302
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
1303
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
1304
|
+
const target = event.target;
|
1305
|
+
locale$1.numberStringFormatter.numberFormatOptions = {
|
1306
|
+
locale,
|
1307
|
+
numberingSystem,
|
1308
|
+
useGrouping: false,
|
1309
|
+
};
|
1310
|
+
const valueInNumberingSystem = locale$1.numberStringFormatter
|
1311
|
+
.delocalize(target.value)
|
1312
|
+
.split("")
|
1313
|
+
.map((char) => key.numberKeys.includes(char)
|
1314
|
+
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
1315
|
+
: char)
|
1316
|
+
.join("");
|
1317
|
+
this.setInputValue(valueInNumberingSystem);
|
1318
|
+
}
|
1319
|
+
};
|
1320
|
+
this.timePickerChangeHandler = (event) => {
|
1321
|
+
event.stopPropagation();
|
1322
|
+
const target = event.target;
|
1323
|
+
const value = target.value;
|
1324
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1325
|
+
this.setValue(time.toISOTimeString(value, includeSeconds));
|
1326
|
+
this.setInputValue(time.localizeTimeString({
|
1327
|
+
value,
|
1328
|
+
locale: this.effectiveLocale,
|
1329
|
+
numberingSystem: this.numberingSystem,
|
1330
|
+
includeSeconds,
|
1331
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1332
|
+
}));
|
1333
|
+
};
|
1334
|
+
this.popoverCloseHandler = () => {
|
1335
|
+
focusTrapComponent.deactivateFocusTrap(this, {
|
1336
|
+
onDeactivate: () => {
|
1337
|
+
this.calciteInputEl.setFocus();
|
1338
|
+
this.focusOnOpen = false;
|
1339
|
+
},
|
1340
|
+
});
|
1341
|
+
this.open = false;
|
1342
|
+
};
|
1343
|
+
this.popoverOpenHandler = () => {
|
1344
|
+
focusTrapComponent.activateFocusTrap(this, {
|
1345
|
+
onActivate: () => {
|
1346
|
+
if (this.focusOnOpen) {
|
1347
|
+
this.calciteTimePickerEl.setFocus();
|
1348
|
+
this.focusOnOpen = false;
|
1349
|
+
}
|
1350
|
+
},
|
1351
|
+
});
|
1352
|
+
};
|
1353
|
+
this.keyDownHandler = (event) => {
|
1354
|
+
const { defaultPrevented, key } = event;
|
1355
|
+
if (defaultPrevented) {
|
1356
|
+
return;
|
1357
|
+
}
|
1358
|
+
if (key === "Enter") {
|
1359
|
+
if (form.submitForm(this)) {
|
1360
|
+
event.preventDefault();
|
1361
|
+
this.calciteInputEl.setFocus();
|
1362
|
+
}
|
1363
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1364
|
+
return;
|
1365
|
+
}
|
1366
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1367
|
+
if (time.isValidTime(newValue)) {
|
1368
|
+
this.setValue(newValue);
|
1369
|
+
const localizedTimeString = time.localizeTimeString({
|
1370
|
+
value: this.value,
|
1371
|
+
locale: this.effectiveLocale,
|
1372
|
+
numberingSystem: this.numberingSystem,
|
1373
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1374
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1375
|
+
});
|
1376
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1377
|
+
this.setInputValue(localizedTimeString);
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
}
|
1381
|
+
else if (key === "ArrowDown") {
|
1382
|
+
this.open = true;
|
1383
|
+
this.focusOnOpen = true;
|
1384
|
+
event.preventDefault();
|
1385
|
+
}
|
1386
|
+
else if (key === "Escape" && this.open) {
|
1387
|
+
this.open = false;
|
1388
|
+
event.preventDefault();
|
1389
|
+
this.calciteInputEl.setFocus();
|
1390
|
+
}
|
1391
|
+
};
|
1392
|
+
this.setCalcitePopoverEl = (el) => {
|
1393
|
+
this.popoverEl = el;
|
1394
|
+
};
|
1395
|
+
this.setInputAndTransitionEl = (el) => {
|
1396
|
+
this.calciteInputEl = el;
|
1397
|
+
this.transitionEl = el;
|
1398
|
+
};
|
1399
|
+
this.setCalciteTimePickerEl = (el) => {
|
1400
|
+
this.calciteTimePickerEl = el;
|
1401
|
+
focusTrapComponent.connectFocusTrap(this, {
|
1402
|
+
focusTrapEl: el,
|
1403
|
+
focusTrapOptions: {
|
1404
|
+
initialFocus: false,
|
1405
|
+
setReturnFocus: false,
|
1406
|
+
},
|
1407
|
+
});
|
1408
|
+
};
|
1409
|
+
this.setInputValue = (newInputValue) => {
|
1410
|
+
if (!this.calciteInputEl) {
|
1411
|
+
return;
|
1412
|
+
}
|
1413
|
+
this.calciteInputEl.value = newInputValue;
|
1414
|
+
};
|
1415
|
+
/**
|
1416
|
+
* Sets the value and emits a change event.
|
1417
|
+
* This is used to update the value as a result of user interaction.
|
1418
|
+
*
|
1419
|
+
* @param value
|
1420
|
+
*/
|
1421
|
+
this.setValue = (value) => {
|
1422
|
+
const oldValue = this.value;
|
1423
|
+
const newValue = time.formatTimeString(value) || "";
|
1424
|
+
if (newValue === oldValue) {
|
1425
|
+
return;
|
1426
|
+
}
|
1427
|
+
this.userChangedValue = true;
|
1428
|
+
this.value = newValue || "";
|
1429
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1430
|
+
if (changeEvent.defaultPrevented) {
|
1431
|
+
this.userChangedValue = false;
|
1432
|
+
this.value = oldValue;
|
1433
|
+
this.setInputValue(time.localizeTimeString({
|
1434
|
+
value: oldValue,
|
1435
|
+
locale: this.effectiveLocale,
|
1436
|
+
numberingSystem: this.numberingSystem,
|
1437
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1438
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1439
|
+
}));
|
1440
|
+
}
|
1441
|
+
};
|
1442
|
+
/**
|
1443
|
+
* Sets the value directly without emitting a change event.
|
1444
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1445
|
+
*
|
1446
|
+
* @param value
|
1447
|
+
*/
|
1448
|
+
this.setValueDirectly = (value) => {
|
1449
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1450
|
+
this.value = time.toISOTimeString(value, includeSeconds);
|
1451
|
+
this.setInputValue(this.value
|
1452
|
+
? time.localizeTimeString({
|
1453
|
+
value: this.value,
|
1454
|
+
includeSeconds,
|
1455
|
+
locale: this.effectiveLocale,
|
1456
|
+
numberingSystem: this.numberingSystem,
|
1457
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1458
|
+
})
|
1459
|
+
: "");
|
1460
|
+
};
|
1461
|
+
this.onInputWrapperClick = () => {
|
1462
|
+
this.open = !this.open;
|
1463
|
+
};
|
1464
|
+
this.deactivate = () => {
|
1465
|
+
this.open = false;
|
1466
|
+
};
|
1467
|
+
this.open = false;
|
1468
|
+
this.disabled = false;
|
1469
|
+
this.focusTrapDisabled = false;
|
1470
|
+
this.form = undefined;
|
1471
|
+
this.readOnly = false;
|
1472
|
+
this.messageOverrides = undefined;
|
1473
|
+
this.messages = undefined;
|
1474
|
+
this.name = undefined;
|
1475
|
+
this.numberingSystem = undefined;
|
1476
|
+
this.required = false;
|
1477
|
+
this.scale = "m";
|
1478
|
+
this.status = "idle";
|
1479
|
+
this.overlayPositioning = "absolute";
|
1480
|
+
this.placement = "auto";
|
1481
|
+
this.step = 60;
|
1482
|
+
this.value = null;
|
1483
|
+
this.defaultMessages = undefined;
|
1484
|
+
this.effectiveLocale = "";
|
1485
|
+
}
|
1486
|
+
openHandler(open) {
|
1487
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1488
|
+
if (this.disabled || this.readOnly) {
|
1489
|
+
this.open = false;
|
1490
|
+
return;
|
1491
|
+
}
|
1492
|
+
if (open) {
|
1493
|
+
this.reposition(true);
|
1494
|
+
}
|
1495
|
+
}
|
1496
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
1497
|
+
if (!this.open) {
|
1498
|
+
return;
|
1499
|
+
}
|
1500
|
+
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1501
|
+
}
|
1502
|
+
handleDisabledAndReadOnlyChange(value) {
|
1503
|
+
if (!value) {
|
1504
|
+
this.open = false;
|
1505
|
+
}
|
1506
|
+
}
|
1507
|
+
onMessagesChange() {
|
1508
|
+
/* wired up by t9n util */
|
1509
|
+
}
|
1510
|
+
numberingSystemWatcher(numberingSystem) {
|
1511
|
+
this.setInputValue(time.localizeTimeString({
|
1512
|
+
value: this.value,
|
1513
|
+
locale: this.effectiveLocale,
|
1514
|
+
numberingSystem,
|
1515
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1516
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1517
|
+
}));
|
1518
|
+
}
|
1519
|
+
stepWatcher(newStep, oldStep) {
|
1520
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1521
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1522
|
+
this.setValueDirectly(this.value);
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
valueWatcher(newValue) {
|
1526
|
+
if (!this.userChangedValue) {
|
1527
|
+
this.setValueDirectly(newValue);
|
1528
|
+
}
|
1529
|
+
this.userChangedValue = false;
|
1530
|
+
}
|
1531
|
+
async effectiveLocaleWatcher(locale) {
|
1532
|
+
await this.loadDateTimeLocaleData();
|
1533
|
+
this.setInputValue(time.localizeTimeString({
|
1534
|
+
value: this.value,
|
1535
|
+
locale,
|
1536
|
+
numberingSystem: this.numberingSystem,
|
1537
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1538
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1539
|
+
}));
|
1540
|
+
}
|
1541
|
+
// --------------------------------------------------------------------------
|
1542
|
+
//
|
1543
|
+
// Public Methods
|
1544
|
+
//
|
1545
|
+
// --------------------------------------------------------------------------
|
1546
|
+
/** Sets focus on the component. */
|
1547
|
+
async setFocus() {
|
1548
|
+
await loadable.componentFocusable(this);
|
1549
|
+
this.el.focus();
|
1550
|
+
}
|
1551
|
+
/**
|
1552
|
+
* Updates the position of the component.
|
1553
|
+
*
|
1554
|
+
* @param delayed
|
1555
|
+
*/
|
1556
|
+
async reposition(delayed = false) {
|
1557
|
+
var _a;
|
1558
|
+
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1559
|
+
}
|
1560
|
+
// --------------------------------------------------------------------------
|
1561
|
+
//
|
1562
|
+
// Private Methods
|
1563
|
+
//
|
1564
|
+
// --------------------------------------------------------------------------
|
1565
|
+
onBeforeOpen() {
|
1566
|
+
this.calciteInputTimePickerBeforeOpen.emit();
|
1567
|
+
}
|
1568
|
+
onOpen() {
|
1569
|
+
this.calciteInputTimePickerOpen.emit();
|
1570
|
+
}
|
1571
|
+
onBeforeClose() {
|
1572
|
+
this.calciteInputTimePickerBeforeClose.emit();
|
1573
|
+
}
|
1574
|
+
onClose() {
|
1575
|
+
this.calciteInputTimePickerClose.emit();
|
1576
|
+
}
|
1577
|
+
delocalizeTimeString(value) {
|
1578
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1579
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1580
|
+
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
1581
|
+
let delocalizedTimeString;
|
1582
|
+
if (this.shouldIncludeFractionalSeconds()) {
|
1583
|
+
const stepPrecision = math.decimalPlaces(this.step);
|
1584
|
+
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
1585
|
+
if (stepPrecision === 1) {
|
1586
|
+
delocalizedTimeString =
|
1587
|
+
centisecondParts.millisecond !== 0
|
1588
|
+
? this.getTimeStringFromParts(centisecondParts)
|
1589
|
+
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
1590
|
+
}
|
1591
|
+
else {
|
1592
|
+
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
1593
|
+
if (stepPrecision === 2) {
|
1594
|
+
if (decisecondParts.millisecond !== 0) {
|
1595
|
+
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1596
|
+
}
|
1597
|
+
else if (centisecondParts.millisecond !== 0) {
|
1598
|
+
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1599
|
+
}
|
1600
|
+
else {
|
1601
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1602
|
+
}
|
1603
|
+
}
|
1604
|
+
else if (stepPrecision >= 3) {
|
1605
|
+
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
1606
|
+
if (millisecondParts.millisecond !== 0) {
|
1607
|
+
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
1608
|
+
}
|
1609
|
+
else if (decisecondParts.millisecond !== 0) {
|
1610
|
+
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1611
|
+
}
|
1612
|
+
else if (centisecondParts.millisecond !== 0) {
|
1613
|
+
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1614
|
+
}
|
1615
|
+
else {
|
1616
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1617
|
+
}
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
}
|
1621
|
+
else {
|
1622
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1623
|
+
}
|
1624
|
+
return delocalizedTimeString;
|
1625
|
+
}
|
1626
|
+
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
1627
|
+
var _a, _b;
|
1628
|
+
const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
|
1629
|
+
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
1630
|
+
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
1631
|
+
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
1632
|
+
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
1633
|
+
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
1634
|
+
: ltsFormatString.replace("ss", secondFormatToken);
|
1635
|
+
}
|
1636
|
+
else if (fractionalSecondTokenMatch) {
|
1637
|
+
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
1638
|
+
}
|
1639
|
+
dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
1640
|
+
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
1641
|
+
if (dayjsParseResult.isValid()) {
|
1642
|
+
return {
|
1643
|
+
hour: dayjsParseResult.get("hour"),
|
1644
|
+
minute: dayjsParseResult.get("minute"),
|
1645
|
+
second: dayjsParseResult.get("second"),
|
1646
|
+
millisecond: dayjsParseResult.get("millisecond"),
|
1647
|
+
};
|
1648
|
+
}
|
1649
|
+
return {
|
1650
|
+
hour: null,
|
1651
|
+
minute: null,
|
1652
|
+
second: null,
|
1653
|
+
millisecond: null,
|
1654
|
+
};
|
1655
|
+
}
|
1656
|
+
getTimeStringFromParts(parts) {
|
1657
|
+
let timeString = "";
|
1658
|
+
if (!parts) {
|
1659
|
+
return timeString;
|
1660
|
+
}
|
1661
|
+
if (parts.hour !== null && parts.minute !== null) {
|
1662
|
+
timeString = `${time.formatTimePart(parts.hour)}:${time.formatTimePart(parts.minute)}`;
|
1663
|
+
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
1664
|
+
timeString += `:${time.formatTimePart(parts.second)}`;
|
1665
|
+
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
1666
|
+
const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
|
1667
|
+
timeString += `.${second.toString().replace("0.", "")}`;
|
1668
|
+
}
|
1669
|
+
}
|
1670
|
+
}
|
1671
|
+
return timeString;
|
1672
|
+
}
|
1673
|
+
getSupportedDayjsLocale(locale) {
|
1674
|
+
const dayjsLocale = locale.toLowerCase();
|
1675
|
+
if (dayjsLocale === "no") {
|
1676
|
+
return "nb";
|
1677
|
+
}
|
1678
|
+
if (dayjsLocale === "pt-pt") {
|
1679
|
+
return "pt";
|
1680
|
+
}
|
1681
|
+
return dayjsLocale;
|
1682
|
+
}
|
1683
|
+
async loadDateTimeLocaleData() {
|
1684
|
+
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1685
|
+
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
1686
|
+
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1687
|
+
this.localeConfig = localeConfig;
|
1688
|
+
dayjs.locale(this.localeConfig, null, true);
|
1689
|
+
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1690
|
+
}
|
1691
|
+
getExtendedLocaleConfig(locale) {
|
1692
|
+
if (locale === "ar") {
|
1693
|
+
return {
|
1694
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1695
|
+
formats: {
|
1696
|
+
LT: "HH:mm A",
|
1697
|
+
LTS: "HH:mm:ss A",
|
1698
|
+
L: "DD/MM/YYYY",
|
1699
|
+
LL: "D MMMM YYYY",
|
1700
|
+
LLL: "D MMMM YYYY HH:mm A",
|
1701
|
+
LLLL: "dddd D MMMM YYYY HH:mm A",
|
1702
|
+
},
|
1703
|
+
};
|
1704
|
+
}
|
1705
|
+
if (locale === "en-au") {
|
1706
|
+
return {
|
1707
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1708
|
+
};
|
1709
|
+
}
|
1710
|
+
if (locale === "en-ca") {
|
1711
|
+
return {
|
1712
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
1713
|
+
};
|
1714
|
+
}
|
1715
|
+
if (locale === "el") {
|
1716
|
+
return {
|
1717
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
1718
|
+
};
|
1719
|
+
}
|
1720
|
+
if (locale === "hi") {
|
1721
|
+
return {
|
1722
|
+
formats: {
|
1723
|
+
LT: "h:mm A",
|
1724
|
+
LTS: "h:mm:ss A",
|
1725
|
+
L: "DD/MM/YYYY",
|
1726
|
+
LL: "D MMMM YYYY",
|
1727
|
+
LLL: "D MMMM YYYY, h:mm A",
|
1728
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
1729
|
+
},
|
1730
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1731
|
+
};
|
1732
|
+
}
|
1733
|
+
if (locale === "ko") {
|
1734
|
+
return {
|
1735
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
1736
|
+
};
|
1737
|
+
}
|
1738
|
+
if (locale === "zh-tw") {
|
1739
|
+
return {
|
1740
|
+
formats: {
|
1741
|
+
LT: "AHH:mm",
|
1742
|
+
LTS: "AHH:mm:ss",
|
1743
|
+
},
|
1744
|
+
};
|
1745
|
+
}
|
1746
|
+
if (locale === "zh-hk") {
|
1747
|
+
return {
|
1748
|
+
formats: {
|
1749
|
+
LT: "AHH:mm",
|
1750
|
+
LTS: "AHH:mm:ss",
|
1751
|
+
},
|
1752
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
1753
|
+
};
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
onLabelClick() {
|
1757
|
+
this.setFocus();
|
1758
|
+
}
|
1759
|
+
shouldIncludeSeconds() {
|
1760
|
+
return this.step < 60;
|
1761
|
+
}
|
1762
|
+
shouldIncludeFractionalSeconds() {
|
1763
|
+
return math.decimalPlaces(this.step) > 0;
|
1764
|
+
}
|
1765
|
+
//--------------------------------------------------------------------------
|
1766
|
+
//
|
1767
|
+
// Lifecycle
|
1768
|
+
//
|
1769
|
+
//--------------------------------------------------------------------------
|
1770
|
+
connectedCallback() {
|
1771
|
+
interactive.connectInteractive(this);
|
1772
|
+
locale$1.connectLocalized(this);
|
1773
|
+
if (time.isValidTime(this.value)) {
|
1774
|
+
this.setValueDirectly(this.value);
|
1775
|
+
}
|
1776
|
+
else {
|
1777
|
+
this.value = undefined;
|
1778
|
+
}
|
1779
|
+
label.connectLabel(this);
|
1780
|
+
form.connectForm(this);
|
1781
|
+
t9n.connectMessages(this);
|
1782
|
+
}
|
1783
|
+
async componentWillLoad() {
|
1784
|
+
loadable.setUpLoadableComponent(this);
|
1785
|
+
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1786
|
+
if (this.open) {
|
1787
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
componentDidLoad() {
|
1791
|
+
loadable.setComponentLoaded(this);
|
1792
|
+
if (time.isValidTime(this.value)) {
|
1793
|
+
this.setInputValue(time.localizeTimeString({
|
1794
|
+
value: this.value,
|
1795
|
+
locale: this.effectiveLocale,
|
1796
|
+
numberingSystem: this.numberingSystem,
|
1797
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1798
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1799
|
+
}));
|
1800
|
+
}
|
1801
|
+
}
|
1802
|
+
disconnectedCallback() {
|
1803
|
+
interactive.disconnectInteractive(this);
|
1804
|
+
label.disconnectLabel(this);
|
1805
|
+
form.disconnectForm(this);
|
1806
|
+
locale$1.disconnectLocalized(this);
|
1807
|
+
focusTrapComponent.deactivateFocusTrap(this);
|
1808
|
+
t9n.disconnectMessages(this);
|
1809
|
+
}
|
1810
|
+
componentDidRender() {
|
1811
|
+
interactive.updateHostInteraction(this);
|
1812
|
+
}
|
1813
|
+
// --------------------------------------------------------------------------
|
1814
|
+
//
|
1815
|
+
// Render Methods
|
1816
|
+
//
|
1817
|
+
// --------------------------------------------------------------------------
|
1818
|
+
render() {
|
1819
|
+
const { disabled, messages, readOnly, dialogId } = this;
|
1820
|
+
return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input-text", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
1821
|
+
// 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)
|
1822
|
+
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.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,
|
1823
|
+
// 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)
|
1824
|
+
ref: this.setCalcitePopoverEl }, index.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,
|
1825
|
+
// 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)
|
1826
|
+
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
|
1827
|
+
}
|
1828
|
+
renderToggleIcon(open) {
|
1829
|
+
return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
|
1830
|
+
}
|
1831
|
+
static get delegatesFocus() { return true; }
|
1832
|
+
static get assetsDirs() { return ["assets"]; }
|
1833
|
+
get el() { return index.getElement(this); }
|
1834
|
+
static get watchers() { return {
|
1835
|
+
"open": ["openHandler"],
|
1836
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1837
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1838
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1839
|
+
"messageOverrides": ["onMessagesChange"],
|
1840
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
1841
|
+
"step": ["stepWatcher"],
|
1842
|
+
"value": ["valueWatcher"],
|
1843
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1844
|
+
}; }
|
1845
|
+
};
|
1846
|
+
InputTimePicker.style = inputTimePickerCss;
|
1847
|
+
|
1848
|
+
exports.InputTimePicker = InputTimePicker;
|
1849
|
+
exports.dayjs = dayjs;
|