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