@esri/solutions-components 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-8aa3f03d.js +118 -0
- package/dist/cjs/FloatingArrow-a3a78fca.js +50 -0
- package/dist/cjs/Heading-a6308c38.js +25 -0
- package/dist/cjs/ar-8bcca75e.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +4 -3
- package/dist/cjs/bg-dd2c317a.js +82 -0
- package/dist/cjs/breakpoints-fcd0f2a0.js +17 -0
- package/dist/cjs/bs-2e880b80.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +661 -0
- package/dist/cjs/ca-5cf9d5a1.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +296 -0
- package/dist/cjs/calcite-action_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-alert_3.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block.cjs.entry.js +6 -6
- package/dist/cjs/calcite-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -9
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +100 -0
- package/dist/cjs/calcite-date-picker_3.cjs.entry.js +990 -0
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter_2.cjs.entry.js +237 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +1098 -0
- package/dist/cjs/calcite-handle.cjs.entry.js +170 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-text.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker-a1e90ec2.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +167 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +269 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell.cjs.entry.js +157 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper.cjs.entry.js +2 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +3 -3
- package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tooltip.cjs.entry.js +438 -0
- package/dist/cjs/card-manager_3.cjs.entry.js +35 -9
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-d68de819.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-f072592b.js +147 -0
- package/dist/cjs/da-6af0e31c.js +66 -0
- package/dist/cjs/de-8d7e940e.js +91 -0
- package/dist/cjs/de-at-d864ad65.js +90 -0
- package/dist/cjs/de-ch-23108e0e.js +90 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/downloadUtils-95e4a5b2.js +3124 -0
- package/dist/cjs/el-e6a28b0d.js +66 -0
- package/dist/cjs/en-au-9e23d436.js +66 -0
- package/dist/cjs/en-ca-34a501cb.js +65 -0
- package/dist/cjs/en-gb-33340e8a.js +69 -0
- package/dist/cjs/es-8adf47b0.js +66 -0
- package/dist/cjs/es-mx-44ad44a0.js +65 -0
- package/dist/cjs/esri-loader-a91c0ec1.js +303 -0
- package/dist/cjs/et-c9f248fa.js +92 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-e5ac8a6b.js +115 -0
- package/dist/cjs/form-1c637002.js +260 -0
- package/dist/cjs/fr-2ada2468.js +68 -0
- package/dist/cjs/fr-ch-645d30ad.js +66 -0
- package/dist/cjs/he-b6a59c60.js +105 -0
- package/dist/cjs/helpers-ff831524.js +903 -0
- package/dist/cjs/hi-6da5ed74.js +65 -0
- package/dist/cjs/hr-6f0e2b6e.js +80 -0
- package/dist/cjs/hu-f73982a9.js +88 -0
- package/dist/cjs/id-5e09da12.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index-f64944ad.js +2107 -0
- package/dist/cjs/index.es-a88403f8.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +501 -0
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +98 -0
- package/dist/cjs/instant-apps-export.cjs.entry.js +652 -0
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +997 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +126 -0
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +1582 -0
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +141 -0
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +56 -0
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +766 -0
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +115 -0
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +143 -0
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +104 -0
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +177 -0
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +250 -0
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +70 -0
- package/dist/cjs/instant-apps-popover.cjs.entry.js +79 -0
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +92 -0
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +467 -0
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +502 -0
- package/dist/cjs/instant-apps-splash.cjs.entry.js +143 -0
- package/dist/cjs/it-94070661.js +66 -0
- package/dist/cjs/it-ch-8f628d09.js +66 -0
- package/dist/cjs/ja-b3dc5ef9.js +72 -0
- package/dist/cjs/ko-6ba17eb2.js +72 -0
- package/dist/cjs/languageSwitcher-cae609d9.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-1d0f0316.js +23 -0
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadable-e209caa9.js +94 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-56c3447b.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-2354e625.js +97 -0
- package/dist/cjs/lv-cc37b69c.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +10 -8
- package/dist/cjs/mk-ac4a31aa.js +66 -0
- package/dist/cjs/mode-d6c12b38.js +19 -0
- package/dist/cjs/nb-abd9538a.js +67 -0
- package/dist/cjs/nl-c624c786.js +67 -0
- package/dist/cjs/openCloseComponent-cf70bddd.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-04f956d5.js +114 -0
- package/dist/cjs/pt-aabed5c9.js +67 -0
- package/dist/cjs/pt-br-ea295f22.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +10 -8
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-0a9832f9.js +66 -0
- package/dist/cjs/ru-9fe91395.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-b73b4b3d.js +364 -0
- package/dist/cjs/sk-0f14807f.js +148 -0
- package/dist/cjs/sl-91ca20d1.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +8 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +9 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +6 -4
- package/dist/cjs/sr-bf45936b.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-e20bd76f.js +71 -0
- package/dist/cjs/t9n-8460f178.js +100 -0
- package/dist/cjs/th-2a65e2af.js +65 -0
- package/dist/cjs/tr-55642c14.js +66 -0
- package/dist/cjs/uk-cee39dac.js +104 -0
- package/dist/cjs/utils-41eb3a01.js +120 -0
- package/dist/cjs/utils-bf5f34d7.js +64 -0
- package/dist/cjs/vi-264d924f.js +70 -0
- package/dist/cjs/zh-cn-31b500d4.js +94 -0
- package/dist/cjs/zh-hk-03ee3a8e.js +71 -0
- package/dist/cjs/zh-tw-13f729f1.js +92 -0
- package/dist/collection/collection-manifest.json +33 -0
- package/dist/collection/components/layer-table/layer-table.css +11 -1
- package/dist/collection/components/layer-table/layer-table.js +27 -16
- package/dist/components/action-pad.js +229 -0
- package/dist/components/block.js +281 -0
- package/dist/components/breakpoints.js +15 -0
- package/dist/components/calcite-action-pad.js +1 -222
- package/dist/components/calcite-block.js +1 -274
- package/dist/components/calcite-input-date-picker.js +1 -808
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/crowdsource-manager.js +76 -70
- package/dist/components/downloadUtils.js +1 -0
- package/dist/components/helpers.js +800 -0
- package/dist/components/index3.js +2068 -162
- package/dist/components/index4.js +179 -184
- package/dist/components/index5.js +188 -55
- package/dist/components/index6.js +71 -0
- package/dist/components/input-date-picker.js +815 -0
- package/dist/components/instant-apps-ckeditor-wrapper.js +11 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +142 -0
- package/dist/components/instant-apps-control-panel.js +114 -0
- package/dist/components/instant-apps-export.js +750 -0
- package/dist/components/instant-apps-filter-list.js +1170 -0
- package/dist/components/instant-apps-header.js +11 -0
- package/dist/components/instant-apps-header2.js +175 -0
- package/dist/components/instant-apps-interactive-legend-classic.js +11 -0
- package/dist/components/instant-apps-interactive-legend-classic2.js +1674 -0
- package/dist/components/instant-apps-interactive-legend-count.js +11 -0
- package/dist/components/instant-apps-interactive-legend-count2.js +121 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +97 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +99 -0
- package/dist/components/instant-apps-interactive-legend-layer-element-caption.js +11 -0
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +92 -0
- package/dist/components/instant-apps-interactive-legend-layer-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +100 -0
- package/dist/components/instant-apps-interactive-legend-legend-element-caption.js +11 -0
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +152 -0
- package/dist/components/instant-apps-interactive-legend-legend-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +122 -0
- package/dist/components/instant-apps-interactive-legend-relationship.js +11 -0
- package/dist/components/instant-apps-interactive-legend-relationship2.js +565 -0
- package/dist/components/instant-apps-interactive-legend.js +217 -0
- package/dist/components/instant-apps-keyboard-shortcuts.js +211 -0
- package/dist/components/instant-apps-landing-page.js +150 -0
- package/dist/components/instant-apps-language-switcher.js +311 -0
- package/dist/components/instant-apps-language-translator-item.js +11 -0
- package/dist/components/instant-apps-language-translator-item2.js +353 -0
- package/dist/components/instant-apps-language-translator-search.js +11 -0
- package/dist/components/instant-apps-language-translator-search2.js +131 -0
- package/dist/components/instant-apps-language-translator.js +11 -0
- package/dist/components/instant-apps-language-translator2.js +412 -0
- package/dist/components/instant-apps-measurement-tool.js +11 -0
- package/dist/components/instant-apps-measurement-tool2.js +154 -0
- package/dist/components/instant-apps-measurement.js +154 -0
- package/dist/components/instant-apps-popover.js +136 -0
- package/dist/components/instant-apps-popovers.js +115 -0
- package/dist/components/instant-apps-scoreboard.js +522 -0
- package/dist/components/instant-apps-social-share.js +11 -0
- package/dist/components/instant-apps-social-share2.js +566 -0
- package/dist/components/instant-apps-splash.js +206 -0
- package/dist/components/languageUtil.js +66 -0
- package/dist/components/layer-table2.js +77 -47
- package/dist/components/loadModules2.js +21 -0
- package/dist/components/locale3.js +77 -0
- package/dist/components/mode.js +17 -0
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/restHelpersGet.js +1 -0
- package/dist/components/solution-configuration.js +1 -0
- package/dist/components/solution-resource-item2.js +1 -0
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-store.js +2 -1
- package/dist/components/spatial-ref2.js +1 -0
- package/dist/components/store.js +86 -0
- package/dist/components/utils4.js +111 -0
- package/dist/esm/ExpandToggle-52a39281.js +110 -0
- package/dist/esm/FloatingArrow-337e6e2c.js +48 -0
- package/dist/esm/Heading-f6569cca.js +22 -0
- package/dist/esm/ar-f77800f7.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +4 -3
- package/dist/esm/bg-db2ef59b.js +80 -0
- package/dist/esm/breakpoints-f0f1417d.js +15 -0
- package/dist/esm/bs-f93b1f4d.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +655 -0
- package/dist/esm/ca-2b18b8fd.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +2 -2
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +6 -6
- package/dist/esm/calcite-action-group_2.entry.js +5 -5
- package/dist/esm/calcite-action-pad_2.entry.js +291 -0
- package/dist/esm/calcite-action_2.entry.js +4 -4
- package/dist/esm/calcite-alert_3.entry.js +8 -7
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +4 -4
- package/dist/esm/calcite-block.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +4 -4
- package/dist/esm/calcite-checkbox_3.entry.js +4 -4
- package/dist/esm/calcite-chip-group.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +5 -5
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +4 -4
- package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +11 -10
- package/dist/esm/calcite-date-picker-day.entry.js +96 -0
- package/dist/esm/calcite-date-picker_3.entry.js +984 -0
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter_2.entry.js +232 -0
- package/dist/esm/calcite-flow-item.entry.js +4 -4
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +1093 -0
- package/dist/esm/calcite-handle.entry.js +166 -0
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-date-picker.entry.js +8 -8
- package/dist/esm/calcite-input-number.entry.js +5 -5
- package/dist/esm/calcite-input-text.entry.js +5 -5
- package/dist/esm/calcite-input-time-picker-9906784a.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +2 -2
- package/dist/esm/calcite-list-item-group.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +4 -4
- package/dist/esm/calcite-menu.entry.js +4 -4
- package/dist/esm/calcite-meter.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +163 -0
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +4 -4
- package/dist/esm/calcite-panel.entry.js +265 -0
- package/dist/esm/calcite-pick-list-group.entry.js +3 -3
- package/dist/esm/calcite-pick-list-item.entry.js +5 -5
- package/dist/esm/calcite-pick-list.entry.js +3 -3
- package/dist/esm/calcite-popover.entry.js +7 -7
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +13 -11
- package/dist/esm/calcite-shell.entry.js +153 -0
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +4 -4
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-table-cell_2.entry.js +4 -4
- package/dist/esm/calcite-table-row.entry.js +1 -1
- package/dist/esm/calcite-table.entry.js +4 -4
- package/dist/esm/calcite-text-area.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-time-picker.entry.js +5 -5
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +4 -4
- package/dist/esm/calcite-tip.entry.js +5 -5
- package/dist/esm/calcite-tooltip.entry.js +434 -0
- package/dist/esm/card-manager_3.entry.js +35 -9
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-a714d511.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-deb5a8b8.js +145 -0
- package/dist/esm/da-200f1715.js +64 -0
- package/dist/esm/date-b6645c2f.js +245 -0
- package/dist/esm/de-2a1519db.js +89 -0
- package/dist/esm/de-at-f6b9f5e9.js +88 -0
- package/dist/esm/de-ch-57100172.js +88 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/downloadUtils-83dd2143.js +3118 -0
- package/dist/esm/el-d8748e54.js +64 -0
- package/dist/esm/en-au-c4fb48e2.js +64 -0
- package/dist/esm/en-ca-e7c89089.js +63 -0
- package/dist/esm/en-gb-a9b09a37.js +67 -0
- package/dist/esm/es-b9849b68.js +64 -0
- package/dist/esm/es-mx-a6683427.js +63 -0
- package/dist/esm/esri-loader-eda07632.js +301 -0
- package/dist/esm/et-5977f99c.js +90 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-7c833852.js +113 -0
- package/dist/esm/form-20beb147.js +252 -0
- package/dist/esm/fr-666c6e38.js +66 -0
- package/dist/esm/fr-ch-c31a993e.js +64 -0
- package/dist/esm/he-0f33cd21.js +103 -0
- package/dist/esm/helpers-e8282221.js +877 -0
- package/dist/esm/hi-7c013995.js +63 -0
- package/dist/esm/hr-0beace22.js +78 -0
- package/dist/esm/hu-b9e83513.js +86 -0
- package/dist/esm/id-e79416a2.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index-a1e91462.js +2105 -0
- package/dist/esm/index.es-0c98e2f3.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +495 -0
- package/dist/esm/instant-apps-control-panel.entry.js +94 -0
- package/dist/esm/instant-apps-export.entry.js +648 -0
- package/dist/esm/instant-apps-filter-list.entry.js +993 -0
- package/dist/esm/instant-apps-header.entry.js +122 -0
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +1578 -0
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +136 -0
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +52 -0
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +758 -0
- package/dist/esm/instant-apps-interactive-legend.entry.js +111 -0
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +139 -0
- package/dist/esm/instant-apps-landing-page.entry.js +100 -0
- package/dist/esm/instant-apps-language-switcher.entry.js +173 -0
- package/dist/esm/instant-apps-language-translator.entry.js +246 -0
- package/dist/esm/instant-apps-measurement.entry.js +66 -0
- package/dist/esm/instant-apps-popover.entry.js +75 -0
- package/dist/esm/instant-apps-popovers.entry.js +88 -0
- package/dist/esm/instant-apps-scoreboard.entry.js +463 -0
- package/dist/esm/instant-apps-social-share.entry.js +498 -0
- package/dist/esm/instant-apps-splash.entry.js +139 -0
- package/dist/esm/it-37653e1d.js +64 -0
- package/dist/esm/it-ch-23524bd0.js +64 -0
- package/dist/esm/ja-7e8f1da7.js +70 -0
- package/dist/esm/ko-f251bcd0.js +70 -0
- package/dist/esm/languageSwitcher-75765d90.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-037feea8.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-4ea020fa.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-53d724b5.js +77 -0
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-f08c5b10.js +594 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-cdddaadd.js +95 -0
- package/dist/esm/lv-2cc9a2c6.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +10 -8
- package/dist/esm/mk-b8e24f01.js +64 -0
- package/dist/esm/mode-66911cb5.js +17 -0
- package/dist/esm/nb-f1105c34.js +65 -0
- package/dist/esm/nl-2e6ded8f.js +65 -0
- package/dist/esm/openCloseComponent-d85ff5f3.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-433c515d.js +112 -0
- package/dist/esm/pt-br-7e11f4a3.js +63 -0
- package/dist/esm/pt-d448bc92.js +65 -0
- package/dist/esm/public-notification.entry.js +10 -8
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-1392a615.js +64 -0
- package/dist/esm/ru-ffcd1533.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-3f6a670f.js +342 -0
- package/dist/esm/sk-28b09fd6.js +146 -0
- package/dist/esm/sl-a85a243f.js +166 -0
- package/dist/esm/solution-configuration.entry.js +8 -6
- package/dist/esm/solution-contents_3.entry.js +9 -7
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +6 -4
- package/dist/esm/sr-fcd3b800.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-10bb847b.js +69 -0
- package/dist/esm/t9n-ff209b55.js +95 -0
- package/dist/esm/th-60df6ca9.js +63 -0
- package/dist/esm/time-8fc11a36.js +274 -0
- package/dist/esm/tr-d2a9de1a.js +64 -0
- package/dist/esm/uk-f65b52d5.js +102 -0
- package/dist/esm/utils-06bace50.js +111 -0
- package/dist/esm/utils-5fbb928b.js +61 -0
- package/dist/esm/vi-a661d397.js +68 -0
- package/dist/esm/zh-cn-a71a90fa.js +92 -0
- package/dist/esm/zh-hk-352c4f2e.js +69 -0
- package/dist/esm/zh-tw-de9cb649.js +90 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +67 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +68 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +52 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/p-00639754.js +6 -0
- package/dist/solutions-components/p-0103dee1.entry.js +6 -0
- package/dist/solutions-components/p-019f0baa.entry.js +6 -0
- package/dist/solutions-components/p-03466ab3.js +6 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-066ceb3b.entry.js +11 -0
- package/dist/solutions-components/p-077dd2ca.js +6 -0
- package/dist/solutions-components/p-089dc6bf.entry.js +6 -0
- package/dist/solutions-components/p-0959f0ba.entry.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0ad0b29a.js +6 -0
- package/dist/solutions-components/p-0e64cb34.entry.js +11 -0
- package/dist/solutions-components/p-0f5defc9.entry.js +11 -0
- package/dist/solutions-components/p-0ff2ce41.js +6 -0
- package/dist/solutions-components/p-10c627d2.entry.js +6 -0
- package/dist/solutions-components/p-149d80ad.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-18245133.js +6 -0
- package/dist/solutions-components/p-188483e2.entry.js +6 -0
- package/dist/solutions-components/p-19f5577d.js +6 -0
- package/dist/solutions-components/p-1b267b47.entry.js +29 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23f5989b.js +6 -0
- package/dist/solutions-components/p-23fa75e8.entry.js +11 -0
- package/dist/solutions-components/p-2540efd5.entry.js +17 -0
- package/dist/solutions-components/p-28a5d3d0.js +6 -0
- package/dist/solutions-components/p-2f496e4c.entry.js +6 -0
- package/dist/solutions-components/p-3186b4b6.entry.js +11 -0
- package/dist/solutions-components/p-319c5251.entry.js +11 -0
- package/dist/solutions-components/p-3272b303.entry.js +11 -0
- package/dist/solutions-components/p-33cab25b.entry.js +11 -0
- package/dist/solutions-components/p-35f6e2e8.entry.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3ac10964.js +6 -0
- package/dist/solutions-components/p-3c3c2587.entry.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3e30d94c.entry.js +6 -0
- package/dist/solutions-components/p-3f80aa6c.entry.js +11 -0
- package/dist/solutions-components/p-4052ab77.entry.js +6 -0
- package/dist/solutions-components/p-4193c543.entry.js +47 -0
- package/dist/solutions-components/p-423ba032.entry.js +11 -0
- package/dist/solutions-components/p-4349583f.js +6 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e05fb4.entry.js +11 -0
- package/dist/solutions-components/p-442f8a22.js +6 -0
- package/dist/solutions-components/p-44e4e81d.entry.js +11 -0
- package/dist/solutions-components/p-4507fcfc.entry.js +11 -0
- package/dist/solutions-components/p-450bb7fb.js +6 -0
- package/dist/solutions-components/p-4671a5b6.entry.js +6 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-49d11f7b.entry.js +17 -0
- package/dist/solutions-components/p-4a7dfcc3.entry.js +12 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-52afba17.entry.js +6 -0
- package/dist/solutions-components/p-54197bfa.entry.js +11 -0
- package/dist/solutions-components/p-5463e1aa.js +6 -0
- package/dist/solutions-components/p-58aa5973.js +6 -0
- package/dist/solutions-components/p-59337ddc.js +6 -0
- package/dist/solutions-components/p-59407d94.entry.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-59837e81.js +6 -0
- package/dist/solutions-components/p-5a60178d.js +11 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5f79d121.entry.js +6 -0
- package/dist/solutions-components/p-60cdbf65.js +6 -0
- package/dist/solutions-components/p-6175d614.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-6384cfd0.entry.js +11 -0
- package/dist/solutions-components/p-63f76755.entry.js +11 -0
- package/dist/solutions-components/p-66f20ed3.js +6 -0
- package/dist/solutions-components/p-6a0777f1.entry.js +11 -0
- package/dist/solutions-components/p-6a9a9589.entry.js +11 -0
- package/dist/solutions-components/p-6b494d23.entry.js +18 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6bba7223.entry.js +11 -0
- package/dist/solutions-components/p-6eeebb54.entry.js +11 -0
- package/dist/solutions-components/p-6fff23ce.js +6 -0
- package/dist/solutions-components/p-7283bfe4.entry.js +6 -0
- package/dist/solutions-components/p-72920bd9.entry.js +11 -0
- package/dist/solutions-components/p-74a89c71.entry.js +6 -0
- package/dist/solutions-components/p-77fe67bc.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-796ce3a2.entry.js +6 -0
- package/dist/solutions-components/p-7b2c0232.js +6 -0
- package/dist/solutions-components/p-7ba359e7.js +6 -0
- package/dist/solutions-components/p-7d5d4770.entry.js +17 -0
- package/dist/solutions-components/p-7d635859.entry.js +17 -0
- package/dist/solutions-components/p-7eec285c.entry.js +6 -0
- package/dist/solutions-components/p-7f8b34ec.entry.js +17 -0
- package/dist/solutions-components/p-80bc8ff8.js +6 -0
- package/dist/solutions-components/p-811313d1.entry.js +6 -0
- package/dist/solutions-components/p-81c5c5f2.entry.js +6 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-83cf2842.js +6 -0
- package/dist/solutions-components/p-84034340.js +6 -0
- package/dist/solutions-components/p-840bf17d.entry.js +11 -0
- package/dist/solutions-components/p-847193e7.entry.js +6 -0
- package/dist/solutions-components/p-8479b57c.entry.js +6 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-88d4aca3.js +11 -0
- package/dist/solutions-components/p-89dbc9bb.entry.js +11 -0
- package/dist/solutions-components/p-8a80c2c0.js +11 -0
- package/dist/solutions-components/p-8b45a9f3.js +6 -0
- package/dist/solutions-components/p-8b626490.js +11 -0
- package/dist/solutions-components/p-8b6dd664.entry.js +11 -0
- package/dist/solutions-components/p-8b8b2f3a.entry.js +6 -0
- package/dist/solutions-components/p-8dfdd18e.js +6 -0
- package/dist/solutions-components/p-8e552755.js +11 -0
- package/dist/solutions-components/p-9063316f.entry.js +11 -0
- package/dist/solutions-components/p-9190f5a9.entry.js +6 -0
- package/dist/solutions-components/p-91af3a8c.entry.js +6 -0
- package/dist/solutions-components/p-92c5117e.js +6 -0
- package/dist/solutions-components/p-93510a8c.entry.js +11 -0
- package/dist/solutions-components/p-93cfd220.entry.js +17 -0
- package/dist/solutions-components/p-946214a3.entry.js +11 -0
- package/dist/solutions-components/p-951a5673.entry.js +6 -0
- package/dist/solutions-components/p-96ac6d8a.entry.js +16 -0
- package/dist/solutions-components/p-9806d57b.js +6 -0
- package/dist/solutions-components/p-994a2cd8.entry.js +11 -0
- package/dist/solutions-components/p-998940b9.js +6 -0
- package/dist/solutions-components/p-9b84f526.entry.js +11 -0
- package/dist/solutions-components/p-9b9962f8.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9bcbc357.js +11 -0
- package/dist/solutions-components/p-9c0818c4.js +6 -0
- package/dist/solutions-components/p-9e92fd19.entry.js +6 -0
- package/dist/solutions-components/p-9f742819.entry.js +11 -0
- package/dist/solutions-components/p-a01d0e29.entry.js +11 -0
- package/dist/solutions-components/p-a05de942.entry.js +11 -0
- package/dist/solutions-components/p-a0aca601.js +6 -0
- package/dist/solutions-components/p-a14fb8df.entry.js +11 -0
- package/dist/solutions-components/p-a15b73bb.entry.js +11 -0
- package/dist/solutions-components/p-a230b270.js +16 -0
- package/dist/solutions-components/p-a43e4f84.entry.js +11 -0
- package/dist/solutions-components/p-a44f1e85.entry.js +6 -0
- package/dist/solutions-components/p-a46dbf0a.js +6 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a79147a2.entry.js +11 -0
- package/dist/solutions-components/p-a7957f1b.entry.js +11 -0
- package/dist/solutions-components/p-a7a06d6a.js +6 -0
- package/dist/solutions-components/p-ab6a2ecf.entry.js +6 -0
- package/dist/solutions-components/p-abab359e.entry.js +6 -0
- package/dist/solutions-components/p-abea8ef5.js +6 -0
- package/dist/solutions-components/p-ad5f374e.entry.js +6 -0
- package/dist/solutions-components/p-ad83172d.entry.js +11 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-afd9d486.entry.js +6 -0
- package/dist/solutions-components/p-b030a151.js +61 -0
- package/dist/solutions-components/p-b1abf793.js +6 -0
- package/dist/solutions-components/p-b2a9bae3.entry.js +6 -0
- package/dist/solutions-components/p-b5f2bb07.entry.js +11 -0
- package/dist/solutions-components/p-b71c0cdc.js +6 -0
- package/dist/solutions-components/p-b7d448d5.entry.js +11 -0
- package/dist/solutions-components/p-b858abf3.js +6 -0
- package/dist/solutions-components/p-b8d4573d.entry.js +12 -0
- package/dist/solutions-components/p-b8feb6b8.entry.js +22 -0
- package/dist/solutions-components/p-b959efd3.js +16 -0
- package/dist/solutions-components/p-ba14f8c3.js +6 -0
- package/dist/solutions-components/p-bab0aa05.js +6 -0
- package/dist/solutions-components/p-bacb4e2f.entry.js +6 -0
- package/dist/solutions-components/p-bc6a9b9c.js +6 -0
- package/dist/solutions-components/p-bd3f4aa6.entry.js +6 -0
- package/dist/solutions-components/p-bff9e04f.entry.js +11 -0
- package/dist/solutions-components/p-c279b9ed.js +6 -0
- package/dist/solutions-components/p-c50a4911.js +11 -0
- package/dist/solutions-components/p-c853e879.js +11 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c96eb2db.js +6 -0
- package/dist/solutions-components/p-cbd48f1f.entry.js +6 -0
- package/dist/solutions-components/p-cdb87252.entry.js +17 -0
- package/dist/solutions-components/p-cfe7292c.js +6 -0
- package/dist/solutions-components/p-d1b034ac.js +6 -0
- package/dist/solutions-components/p-d2ccbb6c.js +6 -0
- package/dist/solutions-components/p-d438df5d.js +6 -0
- package/dist/solutions-components/p-d48def3a.js +6 -0
- package/dist/solutions-components/p-d6050d57.js +489 -0
- package/dist/solutions-components/p-d65116b6.entry.js +6 -0
- package/dist/solutions-components/p-d68dc436.js +6 -0
- package/dist/solutions-components/p-d7d895df.entry.js +11 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d918ec36.js +6 -0
- package/dist/solutions-components/p-d9d9d7d1.entry.js +6 -0
- package/dist/solutions-components/p-da205222.js +11 -0
- package/dist/solutions-components/p-dfb33c83.entry.js +6 -0
- package/dist/solutions-components/p-e06f5cfe.js +6 -0
- package/dist/solutions-components/p-e0a11013.js +6 -0
- package/dist/solutions-components/p-e0e5d270.entry.js +11 -0
- package/dist/solutions-components/p-e2ea23c7.js +11 -0
- package/dist/solutions-components/p-e6010f64.entry.js +11 -0
- package/dist/solutions-components/p-e79106f9.js +11 -0
- package/dist/solutions-components/p-e91175f6.entry.js +11 -0
- package/dist/solutions-components/p-e95eb58c.entry.js +6 -0
- package/dist/solutions-components/p-e987323a.entry.js +16 -0
- package/dist/solutions-components/p-ed254530.entry.js +6 -0
- package/dist/solutions-components/p-edbe4059.js +16 -0
- package/dist/solutions-components/p-f3110ead.js +11 -0
- package/dist/solutions-components/p-f4742b64.entry.js +6 -0
- package/dist/solutions-components/p-f66f6617.entry.js +11 -0
- package/dist/solutions-components/p-f98b014f.entry.js +11 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fbb9a303.js +6 -0
- package/dist/solutions-components/p-ff172121.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/layer-table/layer-table.d.ts +9 -4
- package/dist/types/components.d.ts +0 -5
- package/dist/types/preact.d.ts +88 -2
- package/package.json +6 -2
- package/dist/cjs/ExpandToggle-590d91ec.js +0 -118
- package/dist/cjs/FloatingArrow-51090818.js +0 -50
- package/dist/cjs/Heading-09046b7d.js +0 -25
- package/dist/cjs/ar-840ce104.js +0 -104
- package/dist/cjs/bg-fc50248c.js +0 -82
- package/dist/cjs/bs-70a07294.js +0 -51
- package/dist/cjs/buffer-tools_4.cjs.entry.js +0 -1531
- package/dist/cjs/ca-b8b7db3a.js +0 -71
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -168
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -633
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -457
- package/dist/cjs/calcite-filter_3.cjs.entry.js +0 -388
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-input-time-picker-28bfb374.js +0 -1849
- package/dist/cjs/calcite-notice_2.cjs.entry.js +0 -590
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -411
- package/dist/cjs/common-3ef5d746.js +0 -37
- package/dist/cjs/conditionalSlot-7231dd93.js +0 -63
- package/dist/cjs/cs-d6262e24.js +0 -147
- package/dist/cjs/da-dd9a7705.js +0 -66
- package/dist/cjs/de-9f5b8820.js +0 -91
- package/dist/cjs/de-at-ed69f6a8.js +0 -90
- package/dist/cjs/de-ch-ebbe1a80.js +0 -90
- package/dist/cjs/downloadUtils-99067c29.js +0 -3123
- package/dist/cjs/el-a9188f61.js +0 -66
- package/dist/cjs/en-au-589b4eee.js +0 -66
- package/dist/cjs/en-ca-c2230b11.js +0 -65
- package/dist/cjs/en-gb-1f3a4bdd.js +0 -69
- package/dist/cjs/es-8270fcb2.js +0 -66
- package/dist/cjs/es-mx-fc3d2e8d.js +0 -65
- package/dist/cjs/et-48adb96e.js +0 -92
- package/dist/cjs/fi-47082a4a.js +0 -115
- package/dist/cjs/form-d72f69ef.js +0 -260
- package/dist/cjs/fr-ch-8f6be683.js +0 -66
- package/dist/cjs/fr-d5b30711.js +0 -68
- package/dist/cjs/he-5d6981f0.js +0 -105
- package/dist/cjs/hi-c8118b2b.js +0 -65
- package/dist/cjs/hr-5818f9ba.js +0 -80
- package/dist/cjs/hu-bc3f3f6d.js +0 -88
- package/dist/cjs/id-b5bf2386.js +0 -66
- package/dist/cjs/index-4f9f29fb.js +0 -201
- package/dist/cjs/index-7f076fd8.js +0 -2071
- package/dist/cjs/index.es-dec08d23.js +0 -10810
- package/dist/cjs/it-c256d30d.js +0 -66
- package/dist/cjs/it-ch-b395918d.js +0 -66
- package/dist/cjs/ja-82ffd2ce.js +0 -72
- package/dist/cjs/ko-4d303cb9.js +0 -72
- package/dist/cjs/loadModules-f4d81906.js +0 -30
- package/dist/cjs/loadable-2facb46d.js +0 -94
- package/dist/cjs/locale-57fa4b01.js +0 -416
- package/dist/cjs/lt-0b973f03.js +0 -97
- package/dist/cjs/lv-a7a5b9cd.js +0 -66
- package/dist/cjs/mk-83081689.js +0 -66
- package/dist/cjs/nb-556279b3.js +0 -67
- package/dist/cjs/nl-d32372d3.js +0 -67
- package/dist/cjs/openCloseComponent-9fe17555.js +0 -92
- package/dist/cjs/pl-4cfcbb3f.js +0 -114
- package/dist/cjs/pt-7614cb7b.js +0 -67
- package/dist/cjs/pt-br-ada28353.js +0 -65
- package/dist/cjs/publicNotificationStore-3463dc42.js +0 -47
- package/dist/cjs/restHelpersGet-c94617cf.js +0 -971
- package/dist/cjs/ro-00f7d69a.js +0 -66
- package/dist/cjs/ru-9020ec13.js +0 -126
- package/dist/cjs/shared-list-render-fd947d6c.js +0 -364
- package/dist/cjs/sk-4794fc4d.js +0 -148
- package/dist/cjs/sl-4f2b082d.js +0 -168
- package/dist/cjs/solution-resource-f9e3b289.js +0 -1839
- package/dist/cjs/solution-store-604f36b0.js +0 -1343
- package/dist/cjs/sr-86f4b55a.js +0 -101
- package/dist/cjs/sv-496c5934.js +0 -71
- package/dist/cjs/t9n-c3ceb777.js +0 -100
- package/dist/cjs/th-a614ee69.js +0 -65
- package/dist/cjs/tr-3f7e515e.js +0 -66
- package/dist/cjs/uk-0f7ba988.js +0 -104
- package/dist/cjs/utils-8b6142cb.js +0 -64
- package/dist/cjs/vi-4d5035bb.js +0 -70
- package/dist/cjs/zh-cn-b62e5470.js +0 -94
- package/dist/cjs/zh-hk-8869565e.js +0 -71
- package/dist/cjs/zh-tw-22117181.js +0 -92
- package/dist/esm/ExpandToggle-d7406f36.js +0 -110
- package/dist/esm/FloatingArrow-bf1b95bc.js +0 -48
- package/dist/esm/Heading-43bad629.js +0 -22
- package/dist/esm/ar-578388ab.js +0 -102
- package/dist/esm/bg-a1ce2f5e.js +0 -80
- package/dist/esm/bs-33d8c483.js +0 -49
- package/dist/esm/buffer-tools_4.entry.js +0 -1524
- package/dist/esm/ca-9d68dd8a.js +0 -69
- package/dist/esm/calcite-action-pad.entry.js +0 -164
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -627
- package/dist/esm/calcite-date-picker.entry.js +0 -453
- package/dist/esm/calcite-filter_3.entry.js +0 -382
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-input-time-picker-c2833a3d.js +0 -1846
- package/dist/esm/calcite-notice_2.entry.js +0 -585
- package/dist/esm/calcite-panel_2.entry.js +0 -406
- package/dist/esm/common-5b421473.js +0 -35
- package/dist/esm/conditionalSlot-c0cf1f40.js +0 -60
- package/dist/esm/cs-dd703acb.js +0 -145
- package/dist/esm/da-2df01be0.js +0 -64
- package/dist/esm/date-4e28a3f5.js +0 -245
- package/dist/esm/de-472989ff.js +0 -89
- package/dist/esm/de-at-24c74c6f.js +0 -88
- package/dist/esm/de-ch-acdfbde0.js +0 -88
- package/dist/esm/downloadUtils-fc4259dd.js +0 -3117
- package/dist/esm/el-7a7658b2.js +0 -64
- package/dist/esm/en-au-a6621c75.js +0 -64
- package/dist/esm/en-ca-4e0a3d3b.js +0 -63
- package/dist/esm/en-gb-20f35c78.js +0 -67
- package/dist/esm/es-e2f4615a.js +0 -64
- package/dist/esm/es-mx-4257acd9.js +0 -63
- package/dist/esm/et-76f7bebb.js +0 -90
- package/dist/esm/fi-2448b641.js +0 -113
- package/dist/esm/form-cd3cad39.js +0 -252
- package/dist/esm/fr-a1950ce0.js +0 -66
- package/dist/esm/fr-ch-af2f108d.js +0 -64
- package/dist/esm/he-0ca759a1.js +0 -103
- package/dist/esm/hi-a61da82b.js +0 -63
- package/dist/esm/hr-34475682.js +0 -78
- package/dist/esm/hu-c9276c51.js +0 -86
- package/dist/esm/id-9eacb39e.js +0 -64
- package/dist/esm/index-3d4861da.js +0 -2037
- package/dist/esm/index-81456206.js +0 -199
- package/dist/esm/index.es-641d9f77.js +0 -10724
- package/dist/esm/it-55a02958.js +0 -64
- package/dist/esm/it-ch-14baf1fb.js +0 -64
- package/dist/esm/ja-7be4e315.js +0 -70
- package/dist/esm/ko-c4a3aeee.js +0 -70
- package/dist/esm/loadModules-4d9c5c9e.js +0 -28
- package/dist/esm/loadable-8dcddf78.js +0 -89
- package/dist/esm/locale-28107221.js +0 -412
- package/dist/esm/locale-71561992.js +0 -594
- package/dist/esm/lt-7762670b.js +0 -95
- package/dist/esm/lv-877e6a41.js +0 -64
- package/dist/esm/mk-ff0ae17f.js +0 -64
- package/dist/esm/nb-eb6b7a98.js +0 -65
- package/dist/esm/nl-26537297.js +0 -65
- package/dist/esm/openCloseComponent-980e90ae.js +0 -90
- package/dist/esm/pl-3ee1f545.js +0 -112
- package/dist/esm/pt-2dc3b792.js +0 -65
- package/dist/esm/pt-br-3ea2d13e.js +0 -63
- package/dist/esm/publicNotificationStore-16dff6da.js +0 -45
- package/dist/esm/restHelpersGet-a5ec2192.js +0 -958
- package/dist/esm/ro-b6f30eae.js +0 -64
- package/dist/esm/ru-77b04635.js +0 -124
- package/dist/esm/shared-list-render-ec482b94.js +0 -342
- package/dist/esm/sk-722e2621.js +0 -146
- package/dist/esm/sl-82c5462f.js +0 -166
- package/dist/esm/solution-resource-be35d35b.js +0 -1836
- package/dist/esm/solution-store-0fb525c5.js +0 -1341
- package/dist/esm/sr-db930513.js +0 -99
- package/dist/esm/sv-a4b9b3cc.js +0 -69
- package/dist/esm/t9n-cd58e9e1.js +0 -95
- package/dist/esm/th-0393996b.js +0 -63
- package/dist/esm/time-c4285372.js +0 -274
- package/dist/esm/tr-f3409dc8.js +0 -64
- package/dist/esm/uk-76eb5450.js +0 -102
- package/dist/esm/utils-b62d9d1d.js +0 -61
- package/dist/esm/vi-6217d42c.js +0 -68
- package/dist/esm/zh-cn-f8c92419.js +0 -92
- package/dist/esm/zh-hk-f51d7c64.js +0 -69
- package/dist/esm/zh-tw-030179bf.js +0 -90
- package/dist/solutions-components/p-00555f5f.js +0 -6
- package/dist/solutions-components/p-00b48e24.entry.js +0 -11
- package/dist/solutions-components/p-0415e505.entry.js +0 -6
- package/dist/solutions-components/p-04aded86.entry.js +0 -6
- package/dist/solutions-components/p-056ad62d.entry.js +0 -17
- package/dist/solutions-components/p-05a70865.entry.js +0 -6
- package/dist/solutions-components/p-060ed70b.entry.js +0 -6
- package/dist/solutions-components/p-0805f66a.js +0 -6
- package/dist/solutions-components/p-088e0e9b.entry.js +0 -47
- package/dist/solutions-components/p-0b6d5dae.entry.js +0 -11
- package/dist/solutions-components/p-0e4c70dc.entry.js +0 -6
- package/dist/solutions-components/p-0fb513ae.js +0 -11
- package/dist/solutions-components/p-0ffdd068.entry.js +0 -11
- package/dist/solutions-components/p-10533799.js +0 -21
- package/dist/solutions-components/p-10f750ca.entry.js +0 -17
- package/dist/solutions-components/p-111cb6f0.js +0 -6
- package/dist/solutions-components/p-11742557.js +0 -6
- package/dist/solutions-components/p-1434f7e2.entry.js +0 -11
- package/dist/solutions-components/p-153f5e80.entry.js +0 -12
- package/dist/solutions-components/p-17acc3e8.entry.js +0 -11
- package/dist/solutions-components/p-1b3e4ca7.js +0 -11
- package/dist/solutions-components/p-205487ff.entry.js +0 -11
- package/dist/solutions-components/p-20da9024.js +0 -6
- package/dist/solutions-components/p-23a5417c.entry.js +0 -18
- package/dist/solutions-components/p-23e699cc.entry.js +0 -6
- package/dist/solutions-components/p-261297c5.entry.js +0 -16
- package/dist/solutions-components/p-266612c2.js +0 -11
- package/dist/solutions-components/p-2679f63d.entry.js +0 -11
- package/dist/solutions-components/p-27d4c344.entry.js +0 -11
- package/dist/solutions-components/p-28357f66.entry.js +0 -6
- package/dist/solutions-components/p-29013fa3.js +0 -489
- package/dist/solutions-components/p-294a47c5.js +0 -11
- package/dist/solutions-components/p-2a4cccfa.js +0 -21
- package/dist/solutions-components/p-2c135b9a.entry.js +0 -6
- package/dist/solutions-components/p-2c7d71af.entry.js +0 -6
- package/dist/solutions-components/p-2d062258.js +0 -16
- package/dist/solutions-components/p-2d70d05e.entry.js +0 -6
- package/dist/solutions-components/p-2db39368.entry.js +0 -12
- package/dist/solutions-components/p-2dbfab3d.entry.js +0 -11
- package/dist/solutions-components/p-303992bb.entry.js +0 -11
- package/dist/solutions-components/p-31843189.entry.js +0 -6
- package/dist/solutions-components/p-31d5db9f.entry.js +0 -6
- package/dist/solutions-components/p-32e7b5b1.js +0 -6
- package/dist/solutions-components/p-337249b0.entry.js +0 -17
- package/dist/solutions-components/p-379c5a0b.entry.js +0 -6
- package/dist/solutions-components/p-395ef66f.entry.js +0 -17
- package/dist/solutions-components/p-3b93c66d.entry.js +0 -18
- package/dist/solutions-components/p-3c62c3b0.js +0 -6
- package/dist/solutions-components/p-42e128dd.entry.js +0 -11
- package/dist/solutions-components/p-439ecc25.js +0 -6
- package/dist/solutions-components/p-454fb30f.js +0 -6
- package/dist/solutions-components/p-457f08b2.entry.js +0 -6
- package/dist/solutions-components/p-45a1d711.js +0 -6
- package/dist/solutions-components/p-469b499f.entry.js +0 -6
- package/dist/solutions-components/p-481b913d.js +0 -6
- package/dist/solutions-components/p-4847dd10.entry.js +0 -6
- package/dist/solutions-components/p-48bb468e.entry.js +0 -11
- package/dist/solutions-components/p-4b96bb65.js +0 -6
- package/dist/solutions-components/p-4c0b96e2.entry.js +0 -11
- package/dist/solutions-components/p-4cc0e558.entry.js +0 -6
- package/dist/solutions-components/p-4ecbb9fd.entry.js +0 -11
- package/dist/solutions-components/p-54a84333.entry.js +0 -11
- package/dist/solutions-components/p-57912631.js +0 -6
- package/dist/solutions-components/p-57c36b35.js +0 -6
- package/dist/solutions-components/p-5856dc4f.js +0 -66
- package/dist/solutions-components/p-5a53709e.js +0 -6
- package/dist/solutions-components/p-5c4ac23f.entry.js +0 -6
- package/dist/solutions-components/p-5d9cc33f.entry.js +0 -21
- package/dist/solutions-components/p-5fa70b85.js +0 -7
- package/dist/solutions-components/p-63d26de4.js +0 -6
- package/dist/solutions-components/p-646ba6d2.entry.js +0 -11
- package/dist/solutions-components/p-655c3005.js +0 -6
- package/dist/solutions-components/p-680bc22f.entry.js +0 -6
- package/dist/solutions-components/p-68df6af9.entry.js +0 -6
- package/dist/solutions-components/p-693f7356.js +0 -6
- package/dist/solutions-components/p-6a2664e3.entry.js +0 -11
- package/dist/solutions-components/p-6a62f337.entry.js +0 -11
- package/dist/solutions-components/p-6ac5e954.js +0 -11
- package/dist/solutions-components/p-6ae0366e.js +0 -6
- package/dist/solutions-components/p-6b5ac9cc.js +0 -6
- package/dist/solutions-components/p-6e38395f.js +0 -6
- package/dist/solutions-components/p-6ed3b2fc.entry.js +0 -6
- package/dist/solutions-components/p-70567e13.js +0 -6
- package/dist/solutions-components/p-70f5b93f.entry.js +0 -6
- package/dist/solutions-components/p-72df03eb.entry.js +0 -11
- package/dist/solutions-components/p-730308be.js +0 -6
- package/dist/solutions-components/p-7fc1adbe.entry.js +0 -11
- package/dist/solutions-components/p-82f11c81.entry.js +0 -11
- package/dist/solutions-components/p-8386418f.entry.js +0 -11
- package/dist/solutions-components/p-83e6cfde.entry.js +0 -6
- package/dist/solutions-components/p-8476cecd.entry.js +0 -28
- package/dist/solutions-components/p-8480063f.entry.js +0 -6
- package/dist/solutions-components/p-84b840a1.js +0 -6
- package/dist/solutions-components/p-855f66d0.js +0 -11
- package/dist/solutions-components/p-861f5f1e.entry.js +0 -11
- package/dist/solutions-components/p-8735a284.js +0 -6
- package/dist/solutions-components/p-87c0e774.entry.js +0 -11
- package/dist/solutions-components/p-896124b8.entry.js +0 -11
- package/dist/solutions-components/p-89f41c66.entry.js +0 -6
- package/dist/solutions-components/p-8a438724.entry.js +0 -11
- package/dist/solutions-components/p-8a5dab43.entry.js +0 -6
- package/dist/solutions-components/p-8ae27c40.js +0 -6
- package/dist/solutions-components/p-8db84b94.entry.js +0 -11
- package/dist/solutions-components/p-8dc780a7.entry.js +0 -11
- package/dist/solutions-components/p-8f862c72.js +0 -16
- package/dist/solutions-components/p-902f9da4.entry.js +0 -11
- package/dist/solutions-components/p-91370f88.js +0 -6
- package/dist/solutions-components/p-938575f2.js +0 -21
- package/dist/solutions-components/p-938ab9ca.entry.js +0 -6
- package/dist/solutions-components/p-9551fb38.entry.js +0 -6
- package/dist/solutions-components/p-95cde393.js +0 -11
- package/dist/solutions-components/p-96fbe1cc.entry.js +0 -11
- package/dist/solutions-components/p-98d8c605.entry.js +0 -11
- package/dist/solutions-components/p-9ef41c63.entry.js +0 -11
- package/dist/solutions-components/p-9f3cda4a.js +0 -6
- package/dist/solutions-components/p-a0f8fbc3.entry.js +0 -6
- package/dist/solutions-components/p-a3643c99.js +0 -6
- package/dist/solutions-components/p-a38330de.entry.js +0 -11
- package/dist/solutions-components/p-a642b88b.js +0 -6
- package/dist/solutions-components/p-a8b42091.entry.js +0 -11
- package/dist/solutions-components/p-aa340bbc.js +0 -6
- package/dist/solutions-components/p-aaae349b.js +0 -6
- package/dist/solutions-components/p-abe371c4.js +0 -6
- package/dist/solutions-components/p-ac34f4d3.entry.js +0 -11
- package/dist/solutions-components/p-aef47d8d.js +0 -11
- package/dist/solutions-components/p-b02e167a.entry.js +0 -6
- package/dist/solutions-components/p-b40040aa.js +0 -6
- package/dist/solutions-components/p-b44395d5.entry.js +0 -11
- package/dist/solutions-components/p-b536dee1.entry.js +0 -11
- package/dist/solutions-components/p-b6e54660.entry.js +0 -29
- package/dist/solutions-components/p-b71fa0ac.entry.js +0 -6
- package/dist/solutions-components/p-b7c695bf.entry.js +0 -11
- package/dist/solutions-components/p-b7e0263b.entry.js +0 -11
- package/dist/solutions-components/p-b7e86f80.entry.js +0 -11
- package/dist/solutions-components/p-ba44f20a.js +0 -6
- package/dist/solutions-components/p-bb62bb27.js +0 -11
- package/dist/solutions-components/p-bc63c516.js +0 -6
- package/dist/solutions-components/p-bc6b53c9.entry.js +0 -17
- package/dist/solutions-components/p-bda0389f.js +0 -6
- package/dist/solutions-components/p-bea24407.entry.js +0 -17
- package/dist/solutions-components/p-bf97ed97.js +0 -6
- package/dist/solutions-components/p-c006e714.entry.js +0 -6
- package/dist/solutions-components/p-c2833d75.js +0 -6
- package/dist/solutions-components/p-c341666a.js +0 -6
- package/dist/solutions-components/p-c5bca92c.entry.js +0 -6
- package/dist/solutions-components/p-c7184511.js +0 -6
- package/dist/solutions-components/p-c72af4fa.js +0 -61
- package/dist/solutions-components/p-c82ff887.js +0 -11
- package/dist/solutions-components/p-c887d89c.js +0 -6
- package/dist/solutions-components/p-c8d122b9.js +0 -6
- package/dist/solutions-components/p-ca539743.entry.js +0 -6
- package/dist/solutions-components/p-cb062857.entry.js +0 -6
- package/dist/solutions-components/p-d704e6f9.js +0 -6
- package/dist/solutions-components/p-d8333d60.entry.js +0 -11
- package/dist/solutions-components/p-d84fd29b.js +0 -6
- package/dist/solutions-components/p-d90151c5.js +0 -6
- package/dist/solutions-components/p-d9d50c7d.js +0 -6
- package/dist/solutions-components/p-dc01676d.js +0 -6
- package/dist/solutions-components/p-df9a5059.js +0 -11
- package/dist/solutions-components/p-e44158b8.js +0 -145
- package/dist/solutions-components/p-e698c901.entry.js +0 -6
- package/dist/solutions-components/p-e782c41c.entry.js +0 -36
- package/dist/solutions-components/p-e92df803.entry.js +0 -11
- package/dist/solutions-components/p-ea08017f.js +0 -6
- package/dist/solutions-components/p-f0b8d013.js +0 -11
- package/dist/solutions-components/p-f176afee.entry.js +0 -16
- package/dist/solutions-components/p-f588750f.js +0 -21
- package/dist/solutions-components/p-f6ff7906.entry.js +0 -11
- package/dist/solutions-components/p-f978e707.entry.js +0 -6
- package/dist/solutions-components/p-fa5f90d9.entry.js +0 -11
- package/dist/solutions-components/p-fcc68007.entry.js +0 -12
- package/dist/solutions-components/p-fe1dcd6d.entry.js +0 -11
- package/dist/solutions-components/p-ff0d7712.js +0 -44
- package/dist/solutions-components/p-ff507d35.js +0 -6
@@ -0,0 +1,1849 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const index = require('./index-b8a649fc.js');
|
9
|
+
const form = require('./form-1c637002.js');
|
10
|
+
const guid = require('./guid-51b75e6e.js');
|
11
|
+
const interactive = require('./interactive-4a2f3b2d.js');
|
12
|
+
const key = require('./key-bec53512.js');
|
13
|
+
const label = require('./label-5e5f2c93.js');
|
14
|
+
const loadable = require('./loadable-e209caa9.js');
|
15
|
+
const locale$1 = require('./locale-a8f940f0.js');
|
16
|
+
const focusTrapComponent = require('./focusTrapComponent-cbae2bbb.js');
|
17
|
+
const time = require('./time-9bacd252.js');
|
18
|
+
const t9n = require('./t9n-8460f178.js');
|
19
|
+
const openCloseComponent = require('./openCloseComponent-cf70bddd.js');
|
20
|
+
const math = require('./math-5360cac5.js');
|
21
|
+
const component = require('./component-809e992f.js');
|
22
|
+
|
23
|
+
/*!
|
24
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
25
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
26
|
+
* v1.11.1-next.1
|
27
|
+
*/
|
28
|
+
const CSS = {
|
29
|
+
toggleIcon: "toggle-icon",
|
30
|
+
};
|
31
|
+
|
32
|
+
var SECONDS_A_MINUTE = 60;
|
33
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
34
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
35
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
36
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
37
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
38
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
39
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
40
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
41
|
+
|
42
|
+
var MS = 'millisecond';
|
43
|
+
var S = 'second';
|
44
|
+
var MIN = 'minute';
|
45
|
+
var H = 'hour';
|
46
|
+
var D = 'day';
|
47
|
+
var W = 'week';
|
48
|
+
var M = 'month';
|
49
|
+
var Q = 'quarter';
|
50
|
+
var Y = 'year';
|
51
|
+
var DATE = 'date';
|
52
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
53
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
54
|
+
|
55
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
56
|
+
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
57
|
+
|
58
|
+
// English [en]
|
59
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
60
|
+
const en = {
|
61
|
+
name: 'en',
|
62
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
63
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
64
|
+
ordinal: function ordinal(n) {
|
65
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
66
|
+
var v = n % 100;
|
67
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
68
|
+
}
|
69
|
+
};
|
70
|
+
|
71
|
+
const en$1 = /*#__PURE__*/Object.freeze({
|
72
|
+
__proto__: null,
|
73
|
+
'default': en
|
74
|
+
});
|
75
|
+
|
76
|
+
var padStart = function padStart(string, length, pad) {
|
77
|
+
var s = String(string);
|
78
|
+
if (!s || s.length >= length) return string;
|
79
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
80
|
+
};
|
81
|
+
|
82
|
+
var padZoneStr = function padZoneStr(instance) {
|
83
|
+
var negMinutes = -instance.utcOffset();
|
84
|
+
var minutes = Math.abs(negMinutes);
|
85
|
+
var hourOffset = Math.floor(minutes / 60);
|
86
|
+
var minuteOffset = minutes % 60;
|
87
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
88
|
+
};
|
89
|
+
|
90
|
+
var monthDiff = function monthDiff(a, b) {
|
91
|
+
// function from moment.js in order to keep the same result
|
92
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
93
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
94
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
95
|
+
var c = b - anchor < 0;
|
96
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
97
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
98
|
+
};
|
99
|
+
|
100
|
+
var absFloor = function absFloor(n) {
|
101
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
102
|
+
};
|
103
|
+
|
104
|
+
var prettyUnit = function prettyUnit(u) {
|
105
|
+
var special = {
|
106
|
+
M: M,
|
107
|
+
y: Y,
|
108
|
+
w: W,
|
109
|
+
d: D,
|
110
|
+
D: DATE,
|
111
|
+
h: H,
|
112
|
+
m: MIN,
|
113
|
+
s: S,
|
114
|
+
ms: MS,
|
115
|
+
Q: Q
|
116
|
+
};
|
117
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
118
|
+
};
|
119
|
+
|
120
|
+
var isUndefined = function isUndefined(s) {
|
121
|
+
return s === undefined;
|
122
|
+
};
|
123
|
+
|
124
|
+
const U = {
|
125
|
+
s: padStart,
|
126
|
+
z: padZoneStr,
|
127
|
+
m: monthDiff,
|
128
|
+
a: absFloor,
|
129
|
+
p: prettyUnit,
|
130
|
+
u: isUndefined
|
131
|
+
};
|
132
|
+
|
133
|
+
var L = 'en'; // global locale
|
134
|
+
|
135
|
+
var Ls = {}; // global loaded locale
|
136
|
+
|
137
|
+
Ls[L] = en;
|
138
|
+
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
139
|
+
|
140
|
+
var isDayjs = function isDayjs(d) {
|
141
|
+
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
142
|
+
};
|
143
|
+
|
144
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
145
|
+
var l;
|
146
|
+
if (!preset) return L;
|
147
|
+
|
148
|
+
if (typeof preset === 'string') {
|
149
|
+
var presetLower = preset.toLowerCase();
|
150
|
+
|
151
|
+
if (Ls[presetLower]) {
|
152
|
+
l = presetLower;
|
153
|
+
}
|
154
|
+
|
155
|
+
if (object) {
|
156
|
+
Ls[presetLower] = object;
|
157
|
+
l = presetLower;
|
158
|
+
}
|
159
|
+
|
160
|
+
var presetSplit = preset.split('-');
|
161
|
+
|
162
|
+
if (!l && presetSplit.length > 1) {
|
163
|
+
return parseLocale(presetSplit[0]);
|
164
|
+
}
|
165
|
+
} else {
|
166
|
+
var name = preset.name;
|
167
|
+
Ls[name] = preset;
|
168
|
+
l = name;
|
169
|
+
}
|
170
|
+
|
171
|
+
if (!isLocal && l) L = l;
|
172
|
+
return l || !isLocal && L;
|
173
|
+
};
|
174
|
+
|
175
|
+
var dayjs = function dayjs(date, c) {
|
176
|
+
if (isDayjs(date)) {
|
177
|
+
return date.clone();
|
178
|
+
} // eslint-disable-next-line no-nested-ternary
|
179
|
+
|
180
|
+
|
181
|
+
var cfg = typeof c === 'object' ? c : {};
|
182
|
+
cfg.date = date;
|
183
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
184
|
+
|
185
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
186
|
+
};
|
187
|
+
|
188
|
+
var wrapper = function wrapper(date, instance) {
|
189
|
+
return dayjs(date, {
|
190
|
+
locale: instance.$L,
|
191
|
+
utc: instance.$u,
|
192
|
+
x: instance.$x,
|
193
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
194
|
+
|
195
|
+
});
|
196
|
+
};
|
197
|
+
|
198
|
+
var Utils = U; // for plugin use
|
199
|
+
|
200
|
+
Utils.l = parseLocale;
|
201
|
+
Utils.i = isDayjs;
|
202
|
+
Utils.w = wrapper;
|
203
|
+
|
204
|
+
var parseDate = function parseDate(cfg) {
|
205
|
+
var date = cfg.date,
|
206
|
+
utc = cfg.utc;
|
207
|
+
if (date === null) return new Date(NaN); // null is invalid
|
208
|
+
|
209
|
+
if (Utils.u(date)) return new Date(); // today
|
210
|
+
|
211
|
+
if (date instanceof Date) return new Date(date);
|
212
|
+
|
213
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
214
|
+
var d = date.match(REGEX_PARSE);
|
215
|
+
|
216
|
+
if (d) {
|
217
|
+
var m = d[2] - 1 || 0;
|
218
|
+
var ms = (d[7] || '0').substring(0, 3);
|
219
|
+
|
220
|
+
if (utc) {
|
221
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
222
|
+
}
|
223
|
+
|
224
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
return new Date(date); // everything else
|
229
|
+
};
|
230
|
+
|
231
|
+
var Dayjs = /*#__PURE__*/function () {
|
232
|
+
function Dayjs(cfg) {
|
233
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
234
|
+
this.parse(cfg); // for plugin
|
235
|
+
|
236
|
+
this.$x = this.$x || cfg.x || {};
|
237
|
+
this[IS_DAYJS] = true;
|
238
|
+
}
|
239
|
+
|
240
|
+
var _proto = Dayjs.prototype;
|
241
|
+
|
242
|
+
_proto.parse = function parse(cfg) {
|
243
|
+
this.$d = parseDate(cfg);
|
244
|
+
this.init();
|
245
|
+
};
|
246
|
+
|
247
|
+
_proto.init = function init() {
|
248
|
+
var $d = this.$d;
|
249
|
+
this.$y = $d.getFullYear();
|
250
|
+
this.$M = $d.getMonth();
|
251
|
+
this.$D = $d.getDate();
|
252
|
+
this.$W = $d.getDay();
|
253
|
+
this.$H = $d.getHours();
|
254
|
+
this.$m = $d.getMinutes();
|
255
|
+
this.$s = $d.getSeconds();
|
256
|
+
this.$ms = $d.getMilliseconds();
|
257
|
+
} // eslint-disable-next-line class-methods-use-this
|
258
|
+
;
|
259
|
+
|
260
|
+
_proto.$utils = function $utils() {
|
261
|
+
return Utils;
|
262
|
+
};
|
263
|
+
|
264
|
+
_proto.isValid = function isValid() {
|
265
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
266
|
+
};
|
267
|
+
|
268
|
+
_proto.isSame = function isSame(that, units) {
|
269
|
+
var other = dayjs(that);
|
270
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
271
|
+
};
|
272
|
+
|
273
|
+
_proto.isAfter = function isAfter(that, units) {
|
274
|
+
return dayjs(that) < this.startOf(units);
|
275
|
+
};
|
276
|
+
|
277
|
+
_proto.isBefore = function isBefore(that, units) {
|
278
|
+
return this.endOf(units) < dayjs(that);
|
279
|
+
};
|
280
|
+
|
281
|
+
_proto.$g = function $g(input, get, set) {
|
282
|
+
if (Utils.u(input)) return this[get];
|
283
|
+
return this.set(set, input);
|
284
|
+
};
|
285
|
+
|
286
|
+
_proto.unix = function unix() {
|
287
|
+
return Math.floor(this.valueOf() / 1000);
|
288
|
+
};
|
289
|
+
|
290
|
+
_proto.valueOf = function valueOf() {
|
291
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
292
|
+
return this.$d.getTime();
|
293
|
+
};
|
294
|
+
|
295
|
+
_proto.startOf = function startOf(units, _startOf) {
|
296
|
+
var _this = this;
|
297
|
+
|
298
|
+
// startOf -> endOf
|
299
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
300
|
+
var unit = Utils.p(units);
|
301
|
+
|
302
|
+
var instanceFactory = function instanceFactory(d, m) {
|
303
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
304
|
+
return isStartOf ? ins : ins.endOf(D);
|
305
|
+
};
|
306
|
+
|
307
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
308
|
+
var argumentStart = [0, 0, 0, 0];
|
309
|
+
var argumentEnd = [23, 59, 59, 999];
|
310
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
311
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
312
|
+
};
|
313
|
+
|
314
|
+
var $W = this.$W,
|
315
|
+
$M = this.$M,
|
316
|
+
$D = this.$D;
|
317
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
318
|
+
|
319
|
+
switch (unit) {
|
320
|
+
case Y:
|
321
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
322
|
+
|
323
|
+
case M:
|
324
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
325
|
+
|
326
|
+
case W:
|
327
|
+
{
|
328
|
+
var weekStart = this.$locale().weekStart || 0;
|
329
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
330
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
331
|
+
}
|
332
|
+
|
333
|
+
case D:
|
334
|
+
case DATE:
|
335
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
336
|
+
|
337
|
+
case H:
|
338
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
339
|
+
|
340
|
+
case MIN:
|
341
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
342
|
+
|
343
|
+
case S:
|
344
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
345
|
+
|
346
|
+
default:
|
347
|
+
return this.clone();
|
348
|
+
}
|
349
|
+
};
|
350
|
+
|
351
|
+
_proto.endOf = function endOf(arg) {
|
352
|
+
return this.startOf(arg, false);
|
353
|
+
};
|
354
|
+
|
355
|
+
_proto.$set = function $set(units, _int) {
|
356
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
357
|
+
|
358
|
+
// private set
|
359
|
+
var unit = Utils.p(units);
|
360
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
361
|
+
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
362
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
363
|
+
|
364
|
+
if (unit === M || unit === Y) {
|
365
|
+
// clone is for badMutable plugin
|
366
|
+
var date = this.clone().set(DATE, 1);
|
367
|
+
date.$d[name](arg);
|
368
|
+
date.init();
|
369
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
370
|
+
} else if (name) this.$d[name](arg);
|
371
|
+
|
372
|
+
this.init();
|
373
|
+
return this;
|
374
|
+
};
|
375
|
+
|
376
|
+
_proto.set = function set(string, _int2) {
|
377
|
+
return this.clone().$set(string, _int2);
|
378
|
+
};
|
379
|
+
|
380
|
+
_proto.get = function get(unit) {
|
381
|
+
return this[Utils.p(unit)]();
|
382
|
+
};
|
383
|
+
|
384
|
+
_proto.add = function add(number, units) {
|
385
|
+
var _this2 = this,
|
386
|
+
_C$MIN$C$H$C$S$unit;
|
387
|
+
|
388
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
389
|
+
|
390
|
+
var unit = Utils.p(units);
|
391
|
+
|
392
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
393
|
+
var d = dayjs(_this2);
|
394
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
395
|
+
};
|
396
|
+
|
397
|
+
if (unit === M) {
|
398
|
+
return this.set(M, this.$M + number);
|
399
|
+
}
|
400
|
+
|
401
|
+
if (unit === Y) {
|
402
|
+
return this.set(Y, this.$y + number);
|
403
|
+
}
|
404
|
+
|
405
|
+
if (unit === D) {
|
406
|
+
return instanceFactorySet(1);
|
407
|
+
}
|
408
|
+
|
409
|
+
if (unit === W) {
|
410
|
+
return instanceFactorySet(7);
|
411
|
+
}
|
412
|
+
|
413
|
+
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
414
|
+
|
415
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
416
|
+
return Utils.w(nextTimeStamp, this);
|
417
|
+
};
|
418
|
+
|
419
|
+
_proto.subtract = function subtract(number, string) {
|
420
|
+
return this.add(number * -1, string);
|
421
|
+
};
|
422
|
+
|
423
|
+
_proto.format = function format(formatStr) {
|
424
|
+
var _this3 = this;
|
425
|
+
|
426
|
+
var locale = this.$locale();
|
427
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
428
|
+
var str = formatStr || FORMAT_DEFAULT;
|
429
|
+
var zoneStr = Utils.z(this);
|
430
|
+
var $H = this.$H,
|
431
|
+
$m = this.$m,
|
432
|
+
$M = this.$M;
|
433
|
+
var weekdays = locale.weekdays,
|
434
|
+
months = locale.months,
|
435
|
+
meridiem = locale.meridiem;
|
436
|
+
|
437
|
+
var getShort = function getShort(arr, index, full, length) {
|
438
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
439
|
+
};
|
440
|
+
|
441
|
+
var get$H = function get$H(num) {
|
442
|
+
return Utils.s($H % 12 || 12, num, '0');
|
443
|
+
};
|
444
|
+
|
445
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
446
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
447
|
+
return isLowercase ? m.toLowerCase() : m;
|
448
|
+
};
|
449
|
+
|
450
|
+
var matches = function matches(match) {
|
451
|
+
switch (match) {
|
452
|
+
case 'YY':
|
453
|
+
return String(_this3.$y).slice(-2);
|
454
|
+
|
455
|
+
case 'YYYY':
|
456
|
+
return Utils.s(_this3.$y, 4, '0');
|
457
|
+
|
458
|
+
case 'M':
|
459
|
+
return $M + 1;
|
460
|
+
|
461
|
+
case 'MM':
|
462
|
+
return Utils.s($M + 1, 2, '0');
|
463
|
+
|
464
|
+
case 'MMM':
|
465
|
+
return getShort(locale.monthsShort, $M, months, 3);
|
466
|
+
|
467
|
+
case 'MMMM':
|
468
|
+
return getShort(months, $M);
|
469
|
+
|
470
|
+
case 'D':
|
471
|
+
return _this3.$D;
|
472
|
+
|
473
|
+
case 'DD':
|
474
|
+
return Utils.s(_this3.$D, 2, '0');
|
475
|
+
|
476
|
+
case 'd':
|
477
|
+
return String(_this3.$W);
|
478
|
+
|
479
|
+
case 'dd':
|
480
|
+
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
481
|
+
|
482
|
+
case 'ddd':
|
483
|
+
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
484
|
+
|
485
|
+
case 'dddd':
|
486
|
+
return weekdays[_this3.$W];
|
487
|
+
|
488
|
+
case 'H':
|
489
|
+
return String($H);
|
490
|
+
|
491
|
+
case 'HH':
|
492
|
+
return Utils.s($H, 2, '0');
|
493
|
+
|
494
|
+
case 'h':
|
495
|
+
return get$H(1);
|
496
|
+
|
497
|
+
case 'hh':
|
498
|
+
return get$H(2);
|
499
|
+
|
500
|
+
case 'a':
|
501
|
+
return meridiemFunc($H, $m, true);
|
502
|
+
|
503
|
+
case 'A':
|
504
|
+
return meridiemFunc($H, $m, false);
|
505
|
+
|
506
|
+
case 'm':
|
507
|
+
return String($m);
|
508
|
+
|
509
|
+
case 'mm':
|
510
|
+
return Utils.s($m, 2, '0');
|
511
|
+
|
512
|
+
case 's':
|
513
|
+
return String(_this3.$s);
|
514
|
+
|
515
|
+
case 'ss':
|
516
|
+
return Utils.s(_this3.$s, 2, '0');
|
517
|
+
|
518
|
+
case 'SSS':
|
519
|
+
return Utils.s(_this3.$ms, 3, '0');
|
520
|
+
|
521
|
+
case 'Z':
|
522
|
+
return zoneStr;
|
523
|
+
}
|
524
|
+
|
525
|
+
return null;
|
526
|
+
};
|
527
|
+
|
528
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
529
|
+
return $1 || matches(match) || zoneStr.replace(':', '');
|
530
|
+
}); // 'ZZ'
|
531
|
+
};
|
532
|
+
|
533
|
+
_proto.utcOffset = function utcOffset() {
|
534
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
535
|
+
// https://github.com/moment/moment/pull/1871
|
536
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
537
|
+
};
|
538
|
+
|
539
|
+
_proto.diff = function diff(input, units, _float) {
|
540
|
+
var _this4 = this;
|
541
|
+
|
542
|
+
var unit = Utils.p(units);
|
543
|
+
var that = dayjs(input);
|
544
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
545
|
+
var diff = this - that;
|
546
|
+
|
547
|
+
var getMonth = function getMonth() {
|
548
|
+
return Utils.m(_this4, that);
|
549
|
+
};
|
550
|
+
|
551
|
+
var result;
|
552
|
+
|
553
|
+
switch (unit) {
|
554
|
+
case Y:
|
555
|
+
result = getMonth() / 12;
|
556
|
+
break;
|
557
|
+
|
558
|
+
case M:
|
559
|
+
result = getMonth();
|
560
|
+
break;
|
561
|
+
|
562
|
+
case Q:
|
563
|
+
result = getMonth() / 3;
|
564
|
+
break;
|
565
|
+
|
566
|
+
case W:
|
567
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
568
|
+
break;
|
569
|
+
|
570
|
+
case D:
|
571
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
572
|
+
break;
|
573
|
+
|
574
|
+
case H:
|
575
|
+
result = diff / MILLISECONDS_A_HOUR;
|
576
|
+
break;
|
577
|
+
|
578
|
+
case MIN:
|
579
|
+
result = diff / MILLISECONDS_A_MINUTE;
|
580
|
+
break;
|
581
|
+
|
582
|
+
case S:
|
583
|
+
result = diff / MILLISECONDS_A_SECOND;
|
584
|
+
break;
|
585
|
+
|
586
|
+
default:
|
587
|
+
result = diff; // milliseconds
|
588
|
+
|
589
|
+
break;
|
590
|
+
}
|
591
|
+
|
592
|
+
return _float ? result : Utils.a(result);
|
593
|
+
};
|
594
|
+
|
595
|
+
_proto.daysInMonth = function daysInMonth() {
|
596
|
+
return this.endOf(M).$D;
|
597
|
+
};
|
598
|
+
|
599
|
+
_proto.$locale = function $locale() {
|
600
|
+
// get locale object
|
601
|
+
return Ls[this.$L];
|
602
|
+
};
|
603
|
+
|
604
|
+
_proto.locale = function locale(preset, object) {
|
605
|
+
if (!preset) return this.$L;
|
606
|
+
var that = this.clone();
|
607
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
608
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
609
|
+
return that;
|
610
|
+
};
|
611
|
+
|
612
|
+
_proto.clone = function clone() {
|
613
|
+
return Utils.w(this.$d, this);
|
614
|
+
};
|
615
|
+
|
616
|
+
_proto.toDate = function toDate() {
|
617
|
+
return new Date(this.valueOf());
|
618
|
+
};
|
619
|
+
|
620
|
+
_proto.toJSON = function toJSON() {
|
621
|
+
return this.isValid() ? this.toISOString() : null;
|
622
|
+
};
|
623
|
+
|
624
|
+
_proto.toISOString = function toISOString() {
|
625
|
+
// ie 8 return
|
626
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
627
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
628
|
+
return this.$d.toISOString();
|
629
|
+
};
|
630
|
+
|
631
|
+
_proto.toString = function toString() {
|
632
|
+
return this.$d.toUTCString();
|
633
|
+
};
|
634
|
+
|
635
|
+
return Dayjs;
|
636
|
+
}();
|
637
|
+
|
638
|
+
var proto = Dayjs.prototype;
|
639
|
+
dayjs.prototype = proto;
|
640
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
641
|
+
proto[g[1]] = function (input) {
|
642
|
+
return this.$g(input, g[0], g[1]);
|
643
|
+
};
|
644
|
+
});
|
645
|
+
|
646
|
+
dayjs.extend = function (plugin, option) {
|
647
|
+
if (!plugin.$i) {
|
648
|
+
// install plugin only once
|
649
|
+
plugin(option, Dayjs, dayjs);
|
650
|
+
plugin.$i = true;
|
651
|
+
}
|
652
|
+
|
653
|
+
return dayjs;
|
654
|
+
};
|
655
|
+
|
656
|
+
dayjs.locale = parseLocale;
|
657
|
+
dayjs.isDayjs = isDayjs;
|
658
|
+
|
659
|
+
dayjs.unix = function (timestamp) {
|
660
|
+
return dayjs(timestamp * 1e3);
|
661
|
+
};
|
662
|
+
|
663
|
+
dayjs.en = Ls[L];
|
664
|
+
dayjs.Ls = Ls;
|
665
|
+
dayjs.p = {};
|
666
|
+
|
667
|
+
// eslint-disable-next-line import/prefer-default-export
|
668
|
+
var t = function t(format) {
|
669
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
670
|
+
return a || b.slice(1);
|
671
|
+
});
|
672
|
+
};
|
673
|
+
var englishFormats = {
|
674
|
+
LTS: 'h:mm:ss A',
|
675
|
+
LT: 'h:mm A',
|
676
|
+
L: 'MM/DD/YYYY',
|
677
|
+
LL: 'MMMM D, YYYY',
|
678
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
679
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
680
|
+
};
|
681
|
+
var u = function u(formatStr, formats) {
|
682
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
683
|
+
var B = b && b.toUpperCase();
|
684
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
685
|
+
});
|
686
|
+
};
|
687
|
+
|
688
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
689
|
+
var match1 = /\d/; // 0 - 9
|
690
|
+
|
691
|
+
var match2 = /\d\d/; // 00 - 99
|
692
|
+
|
693
|
+
var match3 = /\d{3}/; // 000 - 999
|
694
|
+
|
695
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
696
|
+
|
697
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
698
|
+
|
699
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
700
|
+
|
701
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
702
|
+
|
703
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
704
|
+
|
705
|
+
var locale = {};
|
706
|
+
|
707
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
708
|
+
input = +input;
|
709
|
+
return input + (input > 68 ? 1900 : 2000);
|
710
|
+
};
|
711
|
+
|
712
|
+
function offsetFromString(string) {
|
713
|
+
if (!string) return 0;
|
714
|
+
if (string === 'Z') return 0;
|
715
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
716
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
717
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
718
|
+
}
|
719
|
+
|
720
|
+
var addInput = function addInput(property) {
|
721
|
+
return function (input) {
|
722
|
+
this[property] = +input;
|
723
|
+
};
|
724
|
+
};
|
725
|
+
|
726
|
+
var zoneExpressions = [matchOffset, function (input) {
|
727
|
+
var zone = this.zone || (this.zone = {});
|
728
|
+
zone.offset = offsetFromString(input);
|
729
|
+
}];
|
730
|
+
|
731
|
+
var getLocalePart = function getLocalePart(name) {
|
732
|
+
var part = locale[name];
|
733
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
734
|
+
};
|
735
|
+
|
736
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
737
|
+
var isAfternoon;
|
738
|
+
var _locale = locale,
|
739
|
+
meridiem = _locale.meridiem;
|
740
|
+
|
741
|
+
if (!meridiem) {
|
742
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
743
|
+
} else {
|
744
|
+
for (var i = 1; i <= 24; i += 1) {
|
745
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
746
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
747
|
+
isAfternoon = i > 12;
|
748
|
+
break;
|
749
|
+
}
|
750
|
+
}
|
751
|
+
}
|
752
|
+
|
753
|
+
return isAfternoon;
|
754
|
+
};
|
755
|
+
|
756
|
+
var expressions = {
|
757
|
+
A: [matchWord, function (input) {
|
758
|
+
this.afternoon = meridiemMatch(input, false);
|
759
|
+
}],
|
760
|
+
a: [matchWord, function (input) {
|
761
|
+
this.afternoon = meridiemMatch(input, true);
|
762
|
+
}],
|
763
|
+
S: [match1, function (input) {
|
764
|
+
this.milliseconds = +input * 100;
|
765
|
+
}],
|
766
|
+
SS: [match2, function (input) {
|
767
|
+
this.milliseconds = +input * 10;
|
768
|
+
}],
|
769
|
+
SSS: [match3, function (input) {
|
770
|
+
this.milliseconds = +input;
|
771
|
+
}],
|
772
|
+
s: [match1to2, addInput('seconds')],
|
773
|
+
ss: [match1to2, addInput('seconds')],
|
774
|
+
m: [match1to2, addInput('minutes')],
|
775
|
+
mm: [match1to2, addInput('minutes')],
|
776
|
+
H: [match1to2, addInput('hours')],
|
777
|
+
h: [match1to2, addInput('hours')],
|
778
|
+
HH: [match1to2, addInput('hours')],
|
779
|
+
hh: [match1to2, addInput('hours')],
|
780
|
+
D: [match1to2, addInput('day')],
|
781
|
+
DD: [match2, addInput('day')],
|
782
|
+
Do: [matchWord, function (input) {
|
783
|
+
var _locale2 = locale,
|
784
|
+
ordinal = _locale2.ordinal;
|
785
|
+
|
786
|
+
var _input$match = input.match(/\d+/);
|
787
|
+
|
788
|
+
this.day = _input$match[0];
|
789
|
+
if (!ordinal) return;
|
790
|
+
|
791
|
+
for (var i = 1; i <= 31; i += 1) {
|
792
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
793
|
+
this.day = i;
|
794
|
+
}
|
795
|
+
}
|
796
|
+
}],
|
797
|
+
M: [match1to2, addInput('month')],
|
798
|
+
MM: [match2, addInput('month')],
|
799
|
+
MMM: [matchWord, function (input) {
|
800
|
+
var months = getLocalePart('months');
|
801
|
+
var monthsShort = getLocalePart('monthsShort');
|
802
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
803
|
+
return _.slice(0, 3);
|
804
|
+
})).indexOf(input) + 1;
|
805
|
+
|
806
|
+
if (matchIndex < 1) {
|
807
|
+
throw new Error();
|
808
|
+
}
|
809
|
+
|
810
|
+
this.month = matchIndex % 12 || matchIndex;
|
811
|
+
}],
|
812
|
+
MMMM: [matchWord, function (input) {
|
813
|
+
var months = getLocalePart('months');
|
814
|
+
var matchIndex = months.indexOf(input) + 1;
|
815
|
+
|
816
|
+
if (matchIndex < 1) {
|
817
|
+
throw new Error();
|
818
|
+
}
|
819
|
+
|
820
|
+
this.month = matchIndex % 12 || matchIndex;
|
821
|
+
}],
|
822
|
+
Y: [matchSigned, addInput('year')],
|
823
|
+
YY: [match2, function (input) {
|
824
|
+
this.year = parseTwoDigitYear(input);
|
825
|
+
}],
|
826
|
+
YYYY: [match4, addInput('year')],
|
827
|
+
Z: zoneExpressions,
|
828
|
+
ZZ: zoneExpressions
|
829
|
+
};
|
830
|
+
|
831
|
+
function correctHours(time) {
|
832
|
+
var afternoon = time.afternoon;
|
833
|
+
|
834
|
+
if (afternoon !== undefined) {
|
835
|
+
var hours = time.hours;
|
836
|
+
|
837
|
+
if (afternoon) {
|
838
|
+
if (hours < 12) {
|
839
|
+
time.hours += 12;
|
840
|
+
}
|
841
|
+
} else if (hours === 12) {
|
842
|
+
time.hours = 0;
|
843
|
+
}
|
844
|
+
|
845
|
+
delete time.afternoon;
|
846
|
+
}
|
847
|
+
}
|
848
|
+
|
849
|
+
function makeParser(format) {
|
850
|
+
format = u(format, locale && locale.formats);
|
851
|
+
var array = format.match(formattingTokens);
|
852
|
+
var length = array.length;
|
853
|
+
|
854
|
+
for (var i = 0; i < length; i += 1) {
|
855
|
+
var token = array[i];
|
856
|
+
var parseTo = expressions[token];
|
857
|
+
var regex = parseTo && parseTo[0];
|
858
|
+
var parser = parseTo && parseTo[1];
|
859
|
+
|
860
|
+
if (parser) {
|
861
|
+
array[i] = {
|
862
|
+
regex: regex,
|
863
|
+
parser: parser
|
864
|
+
};
|
865
|
+
} else {
|
866
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
867
|
+
}
|
868
|
+
}
|
869
|
+
|
870
|
+
return function (input) {
|
871
|
+
var time = {};
|
872
|
+
|
873
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
874
|
+
var _token = array[_i];
|
875
|
+
|
876
|
+
if (typeof _token === 'string') {
|
877
|
+
start += _token.length;
|
878
|
+
} else {
|
879
|
+
var _regex = _token.regex,
|
880
|
+
_parser = _token.parser;
|
881
|
+
var part = input.slice(start);
|
882
|
+
|
883
|
+
var match = _regex.exec(part);
|
884
|
+
|
885
|
+
var value = match[0];
|
886
|
+
|
887
|
+
_parser.call(time, value);
|
888
|
+
|
889
|
+
input = input.replace(value, '');
|
890
|
+
}
|
891
|
+
}
|
892
|
+
|
893
|
+
correctHours(time);
|
894
|
+
return time;
|
895
|
+
};
|
896
|
+
}
|
897
|
+
|
898
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
899
|
+
try {
|
900
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
901
|
+
var parser = makeParser(format);
|
902
|
+
|
903
|
+
var _parser2 = parser(input),
|
904
|
+
year = _parser2.year,
|
905
|
+
month = _parser2.month,
|
906
|
+
day = _parser2.day,
|
907
|
+
hours = _parser2.hours,
|
908
|
+
minutes = _parser2.minutes,
|
909
|
+
seconds = _parser2.seconds,
|
910
|
+
milliseconds = _parser2.milliseconds,
|
911
|
+
zone = _parser2.zone;
|
912
|
+
|
913
|
+
var now = new Date();
|
914
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
915
|
+
var y = year || now.getFullYear();
|
916
|
+
var M = 0;
|
917
|
+
|
918
|
+
if (!(year && !month)) {
|
919
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
920
|
+
}
|
921
|
+
|
922
|
+
var h = hours || 0;
|
923
|
+
var m = minutes || 0;
|
924
|
+
var s = seconds || 0;
|
925
|
+
var ms = milliseconds || 0;
|
926
|
+
|
927
|
+
if (zone) {
|
928
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
929
|
+
}
|
930
|
+
|
931
|
+
if (utc) {
|
932
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
933
|
+
}
|
934
|
+
|
935
|
+
return new Date(y, M, d, h, m, s, ms);
|
936
|
+
} catch (e) {
|
937
|
+
return new Date(''); // Invalid Date
|
938
|
+
}
|
939
|
+
};
|
940
|
+
|
941
|
+
const customParseFormat = (function (o, C, d) {
|
942
|
+
d.p.customParseFormat = true;
|
943
|
+
|
944
|
+
if (o && o.parseTwoDigitYear) {
|
945
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
946
|
+
}
|
947
|
+
|
948
|
+
var proto = C.prototype;
|
949
|
+
var oldParse = proto.parse;
|
950
|
+
|
951
|
+
proto.parse = function (cfg) {
|
952
|
+
var date = cfg.date,
|
953
|
+
utc = cfg.utc,
|
954
|
+
args = cfg.args;
|
955
|
+
this.$u = utc;
|
956
|
+
var format = args[1];
|
957
|
+
|
958
|
+
if (typeof format === 'string') {
|
959
|
+
var isStrictWithoutLocale = args[2] === true;
|
960
|
+
var isStrictWithLocale = args[3] === true;
|
961
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
962
|
+
var pl = args[2];
|
963
|
+
|
964
|
+
if (isStrictWithLocale) {
|
965
|
+
pl = args[2];
|
966
|
+
}
|
967
|
+
|
968
|
+
locale = this.$locale();
|
969
|
+
|
970
|
+
if (!isStrictWithoutLocale && pl) {
|
971
|
+
locale = d.Ls[pl];
|
972
|
+
}
|
973
|
+
|
974
|
+
this.$d = parseFormattedInput(date, format, utc);
|
975
|
+
this.init();
|
976
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
977
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
978
|
+
// eslint-disable-next-line eqeqeq
|
979
|
+
|
980
|
+
if (isStrict && date != this.format(format)) {
|
981
|
+
this.$d = new Date('');
|
982
|
+
} // reset global locale to make parallel unit test
|
983
|
+
|
984
|
+
|
985
|
+
locale = {};
|
986
|
+
} else if (format instanceof Array) {
|
987
|
+
var len = format.length;
|
988
|
+
|
989
|
+
for (var i = 1; i <= len; i += 1) {
|
990
|
+
args[1] = format[i - 1];
|
991
|
+
var result = d.apply(this, args);
|
992
|
+
|
993
|
+
if (result.isValid()) {
|
994
|
+
this.$d = result.$d;
|
995
|
+
this.$L = result.$L;
|
996
|
+
this.init();
|
997
|
+
break;
|
998
|
+
}
|
999
|
+
|
1000
|
+
if (i === len) this.$d = new Date('');
|
1001
|
+
}
|
1002
|
+
} else {
|
1003
|
+
oldParse.call(this, cfg);
|
1004
|
+
}
|
1005
|
+
};
|
1006
|
+
});
|
1007
|
+
|
1008
|
+
const localeData = (function (o, c, dayjs) {
|
1009
|
+
// locale needed later
|
1010
|
+
var proto = c.prototype;
|
1011
|
+
|
1012
|
+
var getLocalePart = function getLocalePart(part) {
|
1013
|
+
return part && (part.indexOf ? part : part.s);
|
1014
|
+
};
|
1015
|
+
|
1016
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
1017
|
+
var locale = ins.name ? ins : ins.$locale();
|
1018
|
+
var targetLocale = getLocalePart(locale[target]);
|
1019
|
+
var fullLocale = getLocalePart(locale[full]);
|
1020
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
1021
|
+
return f.slice(0, num);
|
1022
|
+
});
|
1023
|
+
if (!localeOrder) return result;
|
1024
|
+
var weekStart = locale.weekStart;
|
1025
|
+
return result.map(function (_, index) {
|
1026
|
+
return result[(index + (weekStart || 0)) % 7];
|
1027
|
+
});
|
1028
|
+
};
|
1029
|
+
|
1030
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
1031
|
+
return dayjs.Ls[dayjs.locale()];
|
1032
|
+
};
|
1033
|
+
|
1034
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
1035
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
1036
|
+
};
|
1037
|
+
|
1038
|
+
var localeData = function localeData() {
|
1039
|
+
var _this = this;
|
1040
|
+
|
1041
|
+
return {
|
1042
|
+
months: function months(instance) {
|
1043
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
1044
|
+
},
|
1045
|
+
monthsShort: function monthsShort(instance) {
|
1046
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
1047
|
+
},
|
1048
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1049
|
+
return _this.$locale().weekStart || 0;
|
1050
|
+
},
|
1051
|
+
weekdays: function weekdays(instance) {
|
1052
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
1053
|
+
},
|
1054
|
+
weekdaysMin: function weekdaysMin(instance) {
|
1055
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
1056
|
+
},
|
1057
|
+
weekdaysShort: function weekdaysShort(instance) {
|
1058
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
1059
|
+
},
|
1060
|
+
longDateFormat: function longDateFormat(format) {
|
1061
|
+
return getLongDateFormat(_this.$locale(), format);
|
1062
|
+
},
|
1063
|
+
meridiem: this.$locale().meridiem,
|
1064
|
+
ordinal: this.$locale().ordinal
|
1065
|
+
};
|
1066
|
+
};
|
1067
|
+
|
1068
|
+
proto.localeData = function () {
|
1069
|
+
return localeData.bind(this)();
|
1070
|
+
};
|
1071
|
+
|
1072
|
+
dayjs.localeData = function () {
|
1073
|
+
var localeObject = getDayjsLocaleObject();
|
1074
|
+
return {
|
1075
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1076
|
+
return localeObject.weekStart || 0;
|
1077
|
+
},
|
1078
|
+
weekdays: function weekdays() {
|
1079
|
+
return dayjs.weekdays();
|
1080
|
+
},
|
1081
|
+
weekdaysShort: function weekdaysShort() {
|
1082
|
+
return dayjs.weekdaysShort();
|
1083
|
+
},
|
1084
|
+
weekdaysMin: function weekdaysMin() {
|
1085
|
+
return dayjs.weekdaysMin();
|
1086
|
+
},
|
1087
|
+
months: function months() {
|
1088
|
+
return dayjs.months();
|
1089
|
+
},
|
1090
|
+
monthsShort: function monthsShort() {
|
1091
|
+
return dayjs.monthsShort();
|
1092
|
+
},
|
1093
|
+
longDateFormat: function longDateFormat(format) {
|
1094
|
+
return getLongDateFormat(localeObject, format);
|
1095
|
+
},
|
1096
|
+
meridiem: localeObject.meridiem,
|
1097
|
+
ordinal: localeObject.ordinal
|
1098
|
+
};
|
1099
|
+
};
|
1100
|
+
|
1101
|
+
dayjs.months = function () {
|
1102
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
1103
|
+
};
|
1104
|
+
|
1105
|
+
dayjs.monthsShort = function () {
|
1106
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1107
|
+
};
|
1108
|
+
|
1109
|
+
dayjs.weekdays = function (localeOrder) {
|
1110
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1111
|
+
};
|
1112
|
+
|
1113
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
1114
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1115
|
+
};
|
1116
|
+
|
1117
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
1118
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1119
|
+
};
|
1120
|
+
});
|
1121
|
+
|
1122
|
+
const localizedFormat = (function (o, c, d) {
|
1123
|
+
var proto = c.prototype;
|
1124
|
+
var oldFormat = proto.format;
|
1125
|
+
d.en.formats = englishFormats;
|
1126
|
+
|
1127
|
+
proto.format = function (formatStr) {
|
1128
|
+
if (formatStr === void 0) {
|
1129
|
+
formatStr = FORMAT_DEFAULT;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
var _this$$locale = this.$locale(),
|
1133
|
+
_this$$locale$formats = _this$$locale.formats,
|
1134
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1135
|
+
|
1136
|
+
var result = u(formatStr, formats);
|
1137
|
+
return oldFormat.call(this, result);
|
1138
|
+
};
|
1139
|
+
});
|
1140
|
+
|
1141
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1142
|
+
const preParsePostFormat = (function (option, dayjsClass) {
|
1143
|
+
var oldParse = dayjsClass.prototype.parse;
|
1144
|
+
|
1145
|
+
dayjsClass.prototype.parse = function (cfg) {
|
1146
|
+
if (typeof cfg.date === 'string') {
|
1147
|
+
var locale = this.$locale();
|
1148
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1149
|
+
} // original parse result
|
1150
|
+
|
1151
|
+
|
1152
|
+
return oldParse.bind(this)(cfg);
|
1153
|
+
}; // // overriding existing API
|
1154
|
+
// // e.g. extend dayjs().format()
|
1155
|
+
|
1156
|
+
|
1157
|
+
var oldFormat = dayjsClass.prototype.format;
|
1158
|
+
|
1159
|
+
dayjsClass.prototype.format = function () {
|
1160
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1161
|
+
args[_key] = arguments[_key];
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
// original format result
|
1165
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1166
|
+
|
1167
|
+
var locale = this.$locale();
|
1168
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
1169
|
+
};
|
1170
|
+
|
1171
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1172
|
+
|
1173
|
+
if (oldFromTo) {
|
1174
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1175
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
1176
|
+
|
1177
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1178
|
+
};
|
1179
|
+
}
|
1180
|
+
});
|
1181
|
+
|
1182
|
+
const updateLocale = (function (option, Dayjs, dayjs) {
|
1183
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
1184
|
+
var localeList = dayjs.Ls;
|
1185
|
+
var localeConfig = localeList[locale];
|
1186
|
+
if (!localeConfig) return;
|
1187
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1188
|
+
customConfigKeys.forEach(function (c) {
|
1189
|
+
localeConfig[c] = customConfig[c];
|
1190
|
+
});
|
1191
|
+
return localeConfig; // eslint-disable-line consistent-return
|
1192
|
+
};
|
1193
|
+
});
|
1194
|
+
|
1195
|
+
const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([hidden]){display:none}[hidden]{display:none}";
|
1196
|
+
|
1197
|
+
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1198
|
+
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
1199
|
+
["ar", () => Promise.resolve().then(function () { return require('./ar-8bcca75e.js'); })],
|
1200
|
+
["bg", () => Promise.resolve().then(function () { return require('./bg-dd2c317a.js'); })],
|
1201
|
+
["bs", () => Promise.resolve().then(function () { return require('./bs-2e880b80.js'); })],
|
1202
|
+
["ca", () => Promise.resolve().then(function () { return require('./ca-5cf9d5a1.js'); })],
|
1203
|
+
["cs", () => Promise.resolve().then(function () { return require('./cs-f072592b.js'); })],
|
1204
|
+
["da", () => Promise.resolve().then(function () { return require('./da-6af0e31c.js'); })],
|
1205
|
+
["de", () => Promise.resolve().then(function () { return require('./de-8d7e940e.js'); })],
|
1206
|
+
["de-at", () => Promise.resolve().then(function () { return require('./de-at-d864ad65.js'); })],
|
1207
|
+
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-23108e0e.js'); })],
|
1208
|
+
["el", () => Promise.resolve().then(function () { return require('./el-e6a28b0d.js'); })],
|
1209
|
+
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1210
|
+
["en-au", () => Promise.resolve().then(function () { return require('./en-au-9e23d436.js'); })],
|
1211
|
+
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-34a501cb.js'); })],
|
1212
|
+
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-33340e8a.js'); })],
|
1213
|
+
["es", () => Promise.resolve().then(function () { return require('./es-8adf47b0.js'); })],
|
1214
|
+
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-44ad44a0.js'); })],
|
1215
|
+
["et", () => Promise.resolve().then(function () { return require('./et-c9f248fa.js'); })],
|
1216
|
+
["fi", () => Promise.resolve().then(function () { return require('./fi-e5ac8a6b.js'); })],
|
1217
|
+
["fr", () => Promise.resolve().then(function () { return require('./fr-2ada2468.js'); })],
|
1218
|
+
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-645d30ad.js'); })],
|
1219
|
+
["he", () => Promise.resolve().then(function () { return require('./he-b6a59c60.js'); })],
|
1220
|
+
["hi", () => Promise.resolve().then(function () { return require('./hi-6da5ed74.js'); })],
|
1221
|
+
["hr", () => Promise.resolve().then(function () { return require('./hr-6f0e2b6e.js'); })],
|
1222
|
+
["hu", () => Promise.resolve().then(function () { return require('./hu-f73982a9.js'); })],
|
1223
|
+
["id", () => Promise.resolve().then(function () { return require('./id-5e09da12.js'); })],
|
1224
|
+
["it", () => Promise.resolve().then(function () { return require('./it-94070661.js'); })],
|
1225
|
+
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-8f628d09.js'); })],
|
1226
|
+
["ja", () => Promise.resolve().then(function () { return require('./ja-b3dc5ef9.js'); })],
|
1227
|
+
["ko", () => Promise.resolve().then(function () { return require('./ko-6ba17eb2.js'); })],
|
1228
|
+
["lt", () => Promise.resolve().then(function () { return require('./lt-2354e625.js'); })],
|
1229
|
+
["lv", () => Promise.resolve().then(function () { return require('./lv-cc37b69c.js'); })],
|
1230
|
+
["mk", () => Promise.resolve().then(function () { return require('./mk-ac4a31aa.js'); })],
|
1231
|
+
["nl", () => Promise.resolve().then(function () { return require('./nl-c624c786.js'); })],
|
1232
|
+
["nb", () => Promise.resolve().then(function () { return require('./nb-abd9538a.js'); })],
|
1233
|
+
["pl", () => Promise.resolve().then(function () { return require('./pl-04f956d5.js'); })],
|
1234
|
+
["pt", () => Promise.resolve().then(function () { return require('./pt-aabed5c9.js'); })],
|
1235
|
+
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-ea295f22.js'); })],
|
1236
|
+
["ro", () => Promise.resolve().then(function () { return require('./ro-0a9832f9.js'); })],
|
1237
|
+
["ru", () => Promise.resolve().then(function () { return require('./ru-9fe91395.js'); })],
|
1238
|
+
["sk", () => Promise.resolve().then(function () { return require('./sk-0f14807f.js'); })],
|
1239
|
+
["sl", () => Promise.resolve().then(function () { return require('./sl-91ca20d1.js'); })],
|
1240
|
+
["sr", () => Promise.resolve().then(function () { return require('./sr-bf45936b.js'); })],
|
1241
|
+
["sv", () => Promise.resolve().then(function () { return require('./sv-e20bd76f.js'); })],
|
1242
|
+
["th", () => Promise.resolve().then(function () { return require('./th-2a65e2af.js'); })],
|
1243
|
+
["tr", () => Promise.resolve().then(function () { return require('./tr-55642c14.js'); })],
|
1244
|
+
["uk", () => Promise.resolve().then(function () { return require('./uk-cee39dac.js'); })],
|
1245
|
+
["vi", () => Promise.resolve().then(function () { return require('./vi-264d924f.js'); })],
|
1246
|
+
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-31b500d4.js'); })],
|
1247
|
+
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-03ee3a8e.js'); })],
|
1248
|
+
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-13f729f1.js'); })],
|
1249
|
+
]);
|
1250
|
+
dayjs.extend(customParseFormat);
|
1251
|
+
dayjs.extend(localeData);
|
1252
|
+
dayjs.extend(localizedFormat);
|
1253
|
+
dayjs.extend(preParsePostFormat);
|
1254
|
+
dayjs.extend(updateLocale);
|
1255
|
+
const InputTimePicker = class {
|
1256
|
+
constructor(hostRef) {
|
1257
|
+
index.registerInstance(this, hostRef);
|
1258
|
+
this.calciteInputTimePickerBeforeClose = index.createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
1259
|
+
this.calciteInputTimePickerBeforeOpen = index.createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
1260
|
+
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
1261
|
+
this.calciteInputTimePickerClose = index.createEvent(this, "calciteInputTimePickerClose", 6);
|
1262
|
+
this.calciteInputTimePickerOpen = index.createEvent(this, "calciteInputTimePickerOpen", 6);
|
1263
|
+
this.focusOnOpen = false;
|
1264
|
+
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
1265
|
+
/** whether the value of the input was changed as a result of user typing or not */
|
1266
|
+
this.userChangedValue = false;
|
1267
|
+
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
1268
|
+
this.openTransitionProp = "opacity";
|
1269
|
+
//--------------------------------------------------------------------------
|
1270
|
+
//
|
1271
|
+
// Event Listeners
|
1272
|
+
//
|
1273
|
+
//--------------------------------------------------------------------------
|
1274
|
+
this.hostBlurHandler = () => {
|
1275
|
+
const inputValue = this.calciteInputEl.value;
|
1276
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1277
|
+
if (!delocalizedInputValue) {
|
1278
|
+
this.setValue("");
|
1279
|
+
return;
|
1280
|
+
}
|
1281
|
+
if (delocalizedInputValue !== this.value) {
|
1282
|
+
this.setValue(delocalizedInputValue);
|
1283
|
+
}
|
1284
|
+
const localizedTimeString = time.localizeTimeString({
|
1285
|
+
value: this.value,
|
1286
|
+
locale: this.effectiveLocale,
|
1287
|
+
numberingSystem: this.numberingSystem,
|
1288
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1289
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1290
|
+
});
|
1291
|
+
if (localizedTimeString !== inputValue) {
|
1292
|
+
this.setInputValue(localizedTimeString);
|
1293
|
+
}
|
1294
|
+
this.deactivate();
|
1295
|
+
};
|
1296
|
+
this.calciteInternalInputFocusHandler = (event) => {
|
1297
|
+
if (!this.readOnly) {
|
1298
|
+
event.stopPropagation();
|
1299
|
+
}
|
1300
|
+
};
|
1301
|
+
this.calciteInternalInputInputHandler = (event) => {
|
1302
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
1303
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
1304
|
+
const target = event.target;
|
1305
|
+
locale$1.numberStringFormatter.numberFormatOptions = {
|
1306
|
+
locale,
|
1307
|
+
numberingSystem,
|
1308
|
+
useGrouping: false,
|
1309
|
+
};
|
1310
|
+
const valueInNumberingSystem = locale$1.numberStringFormatter
|
1311
|
+
.delocalize(target.value)
|
1312
|
+
.split("")
|
1313
|
+
.map((char) => key.numberKeys.includes(char)
|
1314
|
+
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
1315
|
+
: char)
|
1316
|
+
.join("");
|
1317
|
+
this.setInputValue(valueInNumberingSystem);
|
1318
|
+
}
|
1319
|
+
};
|
1320
|
+
this.timePickerChangeHandler = (event) => {
|
1321
|
+
event.stopPropagation();
|
1322
|
+
const target = event.target;
|
1323
|
+
const value = target.value;
|
1324
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1325
|
+
this.setValue(time.toISOTimeString(value, includeSeconds));
|
1326
|
+
this.setInputValue(time.localizeTimeString({
|
1327
|
+
value,
|
1328
|
+
locale: this.effectiveLocale,
|
1329
|
+
numberingSystem: this.numberingSystem,
|
1330
|
+
includeSeconds,
|
1331
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1332
|
+
}));
|
1333
|
+
};
|
1334
|
+
this.popoverCloseHandler = () => {
|
1335
|
+
focusTrapComponent.deactivateFocusTrap(this, {
|
1336
|
+
onDeactivate: () => {
|
1337
|
+
this.calciteInputEl.setFocus();
|
1338
|
+
this.focusOnOpen = false;
|
1339
|
+
},
|
1340
|
+
});
|
1341
|
+
this.open = false;
|
1342
|
+
};
|
1343
|
+
this.popoverOpenHandler = () => {
|
1344
|
+
focusTrapComponent.activateFocusTrap(this, {
|
1345
|
+
onActivate: () => {
|
1346
|
+
if (this.focusOnOpen) {
|
1347
|
+
this.calciteTimePickerEl.setFocus();
|
1348
|
+
this.focusOnOpen = false;
|
1349
|
+
}
|
1350
|
+
},
|
1351
|
+
});
|
1352
|
+
};
|
1353
|
+
this.keyDownHandler = (event) => {
|
1354
|
+
const { defaultPrevented, key } = event;
|
1355
|
+
if (defaultPrevented) {
|
1356
|
+
return;
|
1357
|
+
}
|
1358
|
+
if (key === "Enter") {
|
1359
|
+
if (form.submitForm(this)) {
|
1360
|
+
event.preventDefault();
|
1361
|
+
this.calciteInputEl.setFocus();
|
1362
|
+
}
|
1363
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1364
|
+
return;
|
1365
|
+
}
|
1366
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1367
|
+
if (time.isValidTime(newValue)) {
|
1368
|
+
this.setValue(newValue);
|
1369
|
+
const localizedTimeString = time.localizeTimeString({
|
1370
|
+
value: this.value,
|
1371
|
+
locale: this.effectiveLocale,
|
1372
|
+
numberingSystem: this.numberingSystem,
|
1373
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1374
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1375
|
+
});
|
1376
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1377
|
+
this.setInputValue(localizedTimeString);
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
}
|
1381
|
+
else if (key === "ArrowDown") {
|
1382
|
+
this.open = true;
|
1383
|
+
this.focusOnOpen = true;
|
1384
|
+
event.preventDefault();
|
1385
|
+
}
|
1386
|
+
else if (key === "Escape" && this.open) {
|
1387
|
+
this.open = false;
|
1388
|
+
event.preventDefault();
|
1389
|
+
this.calciteInputEl.setFocus();
|
1390
|
+
}
|
1391
|
+
};
|
1392
|
+
this.setCalcitePopoverEl = (el) => {
|
1393
|
+
this.popoverEl = el;
|
1394
|
+
};
|
1395
|
+
this.setInputAndTransitionEl = (el) => {
|
1396
|
+
this.calciteInputEl = el;
|
1397
|
+
this.transitionEl = el;
|
1398
|
+
};
|
1399
|
+
this.setCalciteTimePickerEl = (el) => {
|
1400
|
+
this.calciteTimePickerEl = el;
|
1401
|
+
focusTrapComponent.connectFocusTrap(this, {
|
1402
|
+
focusTrapEl: el,
|
1403
|
+
focusTrapOptions: {
|
1404
|
+
initialFocus: false,
|
1405
|
+
setReturnFocus: false,
|
1406
|
+
},
|
1407
|
+
});
|
1408
|
+
};
|
1409
|
+
this.setInputValue = (newInputValue) => {
|
1410
|
+
if (!this.calciteInputEl) {
|
1411
|
+
return;
|
1412
|
+
}
|
1413
|
+
this.calciteInputEl.value = newInputValue;
|
1414
|
+
};
|
1415
|
+
/**
|
1416
|
+
* Sets the value and emits a change event.
|
1417
|
+
* This is used to update the value as a result of user interaction.
|
1418
|
+
*
|
1419
|
+
* @param value
|
1420
|
+
*/
|
1421
|
+
this.setValue = (value) => {
|
1422
|
+
const oldValue = this.value;
|
1423
|
+
const newValue = time.formatTimeString(value) || "";
|
1424
|
+
if (newValue === oldValue) {
|
1425
|
+
return;
|
1426
|
+
}
|
1427
|
+
this.userChangedValue = true;
|
1428
|
+
this.value = newValue || "";
|
1429
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1430
|
+
if (changeEvent.defaultPrevented) {
|
1431
|
+
this.userChangedValue = false;
|
1432
|
+
this.value = oldValue;
|
1433
|
+
this.setInputValue(time.localizeTimeString({
|
1434
|
+
value: oldValue,
|
1435
|
+
locale: this.effectiveLocale,
|
1436
|
+
numberingSystem: this.numberingSystem,
|
1437
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1438
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1439
|
+
}));
|
1440
|
+
}
|
1441
|
+
};
|
1442
|
+
/**
|
1443
|
+
* Sets the value directly without emitting a change event.
|
1444
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1445
|
+
*
|
1446
|
+
* @param value
|
1447
|
+
*/
|
1448
|
+
this.setValueDirectly = (value) => {
|
1449
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1450
|
+
this.value = time.toISOTimeString(value, includeSeconds);
|
1451
|
+
this.setInputValue(this.value
|
1452
|
+
? time.localizeTimeString({
|
1453
|
+
value: this.value,
|
1454
|
+
includeSeconds,
|
1455
|
+
locale: this.effectiveLocale,
|
1456
|
+
numberingSystem: this.numberingSystem,
|
1457
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1458
|
+
})
|
1459
|
+
: "");
|
1460
|
+
};
|
1461
|
+
this.onInputWrapperClick = () => {
|
1462
|
+
this.open = !this.open;
|
1463
|
+
};
|
1464
|
+
this.deactivate = () => {
|
1465
|
+
this.open = false;
|
1466
|
+
};
|
1467
|
+
this.open = false;
|
1468
|
+
this.disabled = false;
|
1469
|
+
this.focusTrapDisabled = false;
|
1470
|
+
this.form = undefined;
|
1471
|
+
this.readOnly = false;
|
1472
|
+
this.messageOverrides = undefined;
|
1473
|
+
this.messages = undefined;
|
1474
|
+
this.name = undefined;
|
1475
|
+
this.numberingSystem = undefined;
|
1476
|
+
this.required = false;
|
1477
|
+
this.scale = "m";
|
1478
|
+
this.status = "idle";
|
1479
|
+
this.overlayPositioning = "absolute";
|
1480
|
+
this.placement = "auto";
|
1481
|
+
this.step = 60;
|
1482
|
+
this.value = null;
|
1483
|
+
this.defaultMessages = undefined;
|
1484
|
+
this.effectiveLocale = "";
|
1485
|
+
}
|
1486
|
+
openHandler(open) {
|
1487
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1488
|
+
if (this.disabled || this.readOnly) {
|
1489
|
+
this.open = false;
|
1490
|
+
return;
|
1491
|
+
}
|
1492
|
+
if (open) {
|
1493
|
+
this.reposition(true);
|
1494
|
+
}
|
1495
|
+
}
|
1496
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
1497
|
+
if (!this.open) {
|
1498
|
+
return;
|
1499
|
+
}
|
1500
|
+
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1501
|
+
}
|
1502
|
+
handleDisabledAndReadOnlyChange(value) {
|
1503
|
+
if (!value) {
|
1504
|
+
this.open = false;
|
1505
|
+
}
|
1506
|
+
}
|
1507
|
+
onMessagesChange() {
|
1508
|
+
/* wired up by t9n util */
|
1509
|
+
}
|
1510
|
+
numberingSystemWatcher(numberingSystem) {
|
1511
|
+
this.setInputValue(time.localizeTimeString({
|
1512
|
+
value: this.value,
|
1513
|
+
locale: this.effectiveLocale,
|
1514
|
+
numberingSystem,
|
1515
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1516
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1517
|
+
}));
|
1518
|
+
}
|
1519
|
+
stepWatcher(newStep, oldStep) {
|
1520
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1521
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1522
|
+
this.setValueDirectly(this.value);
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
valueWatcher(newValue) {
|
1526
|
+
if (!this.userChangedValue) {
|
1527
|
+
this.setValueDirectly(newValue);
|
1528
|
+
}
|
1529
|
+
this.userChangedValue = false;
|
1530
|
+
}
|
1531
|
+
async effectiveLocaleWatcher(locale) {
|
1532
|
+
await this.loadDateTimeLocaleData();
|
1533
|
+
this.setInputValue(time.localizeTimeString({
|
1534
|
+
value: this.value,
|
1535
|
+
locale,
|
1536
|
+
numberingSystem: this.numberingSystem,
|
1537
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1538
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1539
|
+
}));
|
1540
|
+
}
|
1541
|
+
// --------------------------------------------------------------------------
|
1542
|
+
//
|
1543
|
+
// Public Methods
|
1544
|
+
//
|
1545
|
+
// --------------------------------------------------------------------------
|
1546
|
+
/** Sets focus on the component. */
|
1547
|
+
async setFocus() {
|
1548
|
+
await loadable.componentFocusable(this);
|
1549
|
+
this.el.focus();
|
1550
|
+
}
|
1551
|
+
/**
|
1552
|
+
* Updates the position of the component.
|
1553
|
+
*
|
1554
|
+
* @param delayed
|
1555
|
+
*/
|
1556
|
+
async reposition(delayed = false) {
|
1557
|
+
var _a;
|
1558
|
+
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1559
|
+
}
|
1560
|
+
// --------------------------------------------------------------------------
|
1561
|
+
//
|
1562
|
+
// Private Methods
|
1563
|
+
//
|
1564
|
+
// --------------------------------------------------------------------------
|
1565
|
+
onBeforeOpen() {
|
1566
|
+
this.calciteInputTimePickerBeforeOpen.emit();
|
1567
|
+
}
|
1568
|
+
onOpen() {
|
1569
|
+
this.calciteInputTimePickerOpen.emit();
|
1570
|
+
}
|
1571
|
+
onBeforeClose() {
|
1572
|
+
this.calciteInputTimePickerBeforeClose.emit();
|
1573
|
+
}
|
1574
|
+
onClose() {
|
1575
|
+
this.calciteInputTimePickerClose.emit();
|
1576
|
+
}
|
1577
|
+
delocalizeTimeString(value) {
|
1578
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1579
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1580
|
+
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
1581
|
+
let delocalizedTimeString;
|
1582
|
+
if (this.shouldIncludeFractionalSeconds()) {
|
1583
|
+
const stepPrecision = math.decimalPlaces(this.step);
|
1584
|
+
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
1585
|
+
if (stepPrecision === 1) {
|
1586
|
+
delocalizedTimeString =
|
1587
|
+
centisecondParts.millisecond !== 0
|
1588
|
+
? this.getTimeStringFromParts(centisecondParts)
|
1589
|
+
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
1590
|
+
}
|
1591
|
+
else {
|
1592
|
+
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
1593
|
+
if (stepPrecision === 2) {
|
1594
|
+
if (decisecondParts.millisecond !== 0) {
|
1595
|
+
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1596
|
+
}
|
1597
|
+
else if (centisecondParts.millisecond !== 0) {
|
1598
|
+
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1599
|
+
}
|
1600
|
+
else {
|
1601
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1602
|
+
}
|
1603
|
+
}
|
1604
|
+
else if (stepPrecision >= 3) {
|
1605
|
+
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
1606
|
+
if (millisecondParts.millisecond !== 0) {
|
1607
|
+
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
1608
|
+
}
|
1609
|
+
else if (decisecondParts.millisecond !== 0) {
|
1610
|
+
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1611
|
+
}
|
1612
|
+
else if (centisecondParts.millisecond !== 0) {
|
1613
|
+
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1614
|
+
}
|
1615
|
+
else {
|
1616
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1617
|
+
}
|
1618
|
+
}
|
1619
|
+
}
|
1620
|
+
}
|
1621
|
+
else {
|
1622
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1623
|
+
}
|
1624
|
+
return delocalizedTimeString;
|
1625
|
+
}
|
1626
|
+
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
1627
|
+
var _a, _b;
|
1628
|
+
const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
|
1629
|
+
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
1630
|
+
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
1631
|
+
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
1632
|
+
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
1633
|
+
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
1634
|
+
: ltsFormatString.replace("ss", secondFormatToken);
|
1635
|
+
}
|
1636
|
+
else if (fractionalSecondTokenMatch) {
|
1637
|
+
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
1638
|
+
}
|
1639
|
+
dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
1640
|
+
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
1641
|
+
if (dayjsParseResult.isValid()) {
|
1642
|
+
return {
|
1643
|
+
hour: dayjsParseResult.get("hour"),
|
1644
|
+
minute: dayjsParseResult.get("minute"),
|
1645
|
+
second: dayjsParseResult.get("second"),
|
1646
|
+
millisecond: dayjsParseResult.get("millisecond"),
|
1647
|
+
};
|
1648
|
+
}
|
1649
|
+
return {
|
1650
|
+
hour: null,
|
1651
|
+
minute: null,
|
1652
|
+
second: null,
|
1653
|
+
millisecond: null,
|
1654
|
+
};
|
1655
|
+
}
|
1656
|
+
getTimeStringFromParts(parts) {
|
1657
|
+
let timeString = "";
|
1658
|
+
if (!parts) {
|
1659
|
+
return timeString;
|
1660
|
+
}
|
1661
|
+
if (parts.hour !== null && parts.minute !== null) {
|
1662
|
+
timeString = `${time.formatTimePart(parts.hour)}:${time.formatTimePart(parts.minute)}`;
|
1663
|
+
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
1664
|
+
timeString += `:${time.formatTimePart(parts.second)}`;
|
1665
|
+
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
1666
|
+
const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
|
1667
|
+
timeString += `.${second.toString().replace("0.", "")}`;
|
1668
|
+
}
|
1669
|
+
}
|
1670
|
+
}
|
1671
|
+
return timeString;
|
1672
|
+
}
|
1673
|
+
getSupportedDayjsLocale(locale) {
|
1674
|
+
const dayjsLocale = locale.toLowerCase();
|
1675
|
+
if (dayjsLocale === "no") {
|
1676
|
+
return "nb";
|
1677
|
+
}
|
1678
|
+
if (dayjsLocale === "pt-pt") {
|
1679
|
+
return "pt";
|
1680
|
+
}
|
1681
|
+
return dayjsLocale;
|
1682
|
+
}
|
1683
|
+
async loadDateTimeLocaleData() {
|
1684
|
+
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1685
|
+
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
1686
|
+
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1687
|
+
this.localeConfig = localeConfig;
|
1688
|
+
dayjs.locale(this.localeConfig, null, true);
|
1689
|
+
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1690
|
+
}
|
1691
|
+
getExtendedLocaleConfig(locale) {
|
1692
|
+
if (locale === "ar") {
|
1693
|
+
return {
|
1694
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1695
|
+
formats: {
|
1696
|
+
LT: "HH:mm A",
|
1697
|
+
LTS: "HH:mm:ss A",
|
1698
|
+
L: "DD/MM/YYYY",
|
1699
|
+
LL: "D MMMM YYYY",
|
1700
|
+
LLL: "D MMMM YYYY HH:mm A",
|
1701
|
+
LLLL: "dddd D MMMM YYYY HH:mm A",
|
1702
|
+
},
|
1703
|
+
};
|
1704
|
+
}
|
1705
|
+
if (locale === "en-au") {
|
1706
|
+
return {
|
1707
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1708
|
+
};
|
1709
|
+
}
|
1710
|
+
if (locale === "en-ca") {
|
1711
|
+
return {
|
1712
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
1713
|
+
};
|
1714
|
+
}
|
1715
|
+
if (locale === "el") {
|
1716
|
+
return {
|
1717
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
1718
|
+
};
|
1719
|
+
}
|
1720
|
+
if (locale === "hi") {
|
1721
|
+
return {
|
1722
|
+
formats: {
|
1723
|
+
LT: "h:mm A",
|
1724
|
+
LTS: "h:mm:ss A",
|
1725
|
+
L: "DD/MM/YYYY",
|
1726
|
+
LL: "D MMMM YYYY",
|
1727
|
+
LLL: "D MMMM YYYY, h:mm A",
|
1728
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
1729
|
+
},
|
1730
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1731
|
+
};
|
1732
|
+
}
|
1733
|
+
if (locale === "ko") {
|
1734
|
+
return {
|
1735
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
1736
|
+
};
|
1737
|
+
}
|
1738
|
+
if (locale === "zh-tw") {
|
1739
|
+
return {
|
1740
|
+
formats: {
|
1741
|
+
LT: "AHH:mm",
|
1742
|
+
LTS: "AHH:mm:ss",
|
1743
|
+
},
|
1744
|
+
};
|
1745
|
+
}
|
1746
|
+
if (locale === "zh-hk") {
|
1747
|
+
return {
|
1748
|
+
formats: {
|
1749
|
+
LT: "AHH:mm",
|
1750
|
+
LTS: "AHH:mm:ss",
|
1751
|
+
},
|
1752
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
1753
|
+
};
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
onLabelClick() {
|
1757
|
+
this.setFocus();
|
1758
|
+
}
|
1759
|
+
shouldIncludeSeconds() {
|
1760
|
+
return this.step < 60;
|
1761
|
+
}
|
1762
|
+
shouldIncludeFractionalSeconds() {
|
1763
|
+
return math.decimalPlaces(this.step) > 0;
|
1764
|
+
}
|
1765
|
+
//--------------------------------------------------------------------------
|
1766
|
+
//
|
1767
|
+
// Lifecycle
|
1768
|
+
//
|
1769
|
+
//--------------------------------------------------------------------------
|
1770
|
+
connectedCallback() {
|
1771
|
+
interactive.connectInteractive(this);
|
1772
|
+
locale$1.connectLocalized(this);
|
1773
|
+
if (time.isValidTime(this.value)) {
|
1774
|
+
this.setValueDirectly(this.value);
|
1775
|
+
}
|
1776
|
+
else {
|
1777
|
+
this.value = undefined;
|
1778
|
+
}
|
1779
|
+
label.connectLabel(this);
|
1780
|
+
form.connectForm(this);
|
1781
|
+
t9n.connectMessages(this);
|
1782
|
+
}
|
1783
|
+
async componentWillLoad() {
|
1784
|
+
loadable.setUpLoadableComponent(this);
|
1785
|
+
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1786
|
+
if (this.open) {
|
1787
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
componentDidLoad() {
|
1791
|
+
loadable.setComponentLoaded(this);
|
1792
|
+
if (time.isValidTime(this.value)) {
|
1793
|
+
this.setInputValue(time.localizeTimeString({
|
1794
|
+
value: this.value,
|
1795
|
+
locale: this.effectiveLocale,
|
1796
|
+
numberingSystem: this.numberingSystem,
|
1797
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1798
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1799
|
+
}));
|
1800
|
+
}
|
1801
|
+
}
|
1802
|
+
disconnectedCallback() {
|
1803
|
+
interactive.disconnectInteractive(this);
|
1804
|
+
label.disconnectLabel(this);
|
1805
|
+
form.disconnectForm(this);
|
1806
|
+
locale$1.disconnectLocalized(this);
|
1807
|
+
focusTrapComponent.deactivateFocusTrap(this);
|
1808
|
+
t9n.disconnectMessages(this);
|
1809
|
+
}
|
1810
|
+
componentDidRender() {
|
1811
|
+
interactive.updateHostInteraction(this);
|
1812
|
+
}
|
1813
|
+
// --------------------------------------------------------------------------
|
1814
|
+
//
|
1815
|
+
// Render Methods
|
1816
|
+
//
|
1817
|
+
// --------------------------------------------------------------------------
|
1818
|
+
render() {
|
1819
|
+
const { disabled, messages, readOnly, dialogId } = this;
|
1820
|
+
return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input-text", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
1821
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1822
|
+
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
1823
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1824
|
+
ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
1825
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
1826
|
+
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
|
1827
|
+
}
|
1828
|
+
renderToggleIcon(open) {
|
1829
|
+
return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
|
1830
|
+
}
|
1831
|
+
static get delegatesFocus() { return true; }
|
1832
|
+
static get assetsDirs() { return ["assets"]; }
|
1833
|
+
get el() { return index.getElement(this); }
|
1834
|
+
static get watchers() { return {
|
1835
|
+
"open": ["openHandler"],
|
1836
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1837
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1838
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1839
|
+
"messageOverrides": ["onMessagesChange"],
|
1840
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
1841
|
+
"step": ["stepWatcher"],
|
1842
|
+
"value": ["valueWatcher"],
|
1843
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1844
|
+
}; }
|
1845
|
+
};
|
1846
|
+
InputTimePicker.style = inputTimePickerCss;
|
1847
|
+
|
1848
|
+
exports.InputTimePicker = InputTimePicker;
|
1849
|
+
exports.dayjs = dayjs;
|