@esri/solutions-components 0.8.37 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
- package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_da.json +1 -1
- package/dist/assets/t9n/layer-list/resources_de.json +1 -1
- package/dist/assets/t9n/layer-list/resources_el.json +1 -1
- package/dist/assets/t9n/layer-list/resources_es.json +1 -1
- package/dist/assets/t9n/layer-list/resources_et.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_he.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
- package/dist/assets/t9n/layer-list/resources_id.json +1 -1
- package/dist/assets/t9n/layer-list/resources_it.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_th.json +1 -1
- package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
- package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
- package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
- package/dist/cjs/Heading-f1f9e2dd.js +25 -0
- package/dist/cjs/Validation-425b2de4.js +20 -0
- package/dist/cjs/ar-a2f57db2.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-cb903045.js +83 -0
- package/dist/cjs/breakpoints-7d21666f.js +17 -0
- package/dist/cjs/browser-d12b6cd5.js +25 -0
- package/dist/cjs/bs-3690f22d.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/ca-fec18921.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/common-03600219.js +38 -0
- package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
- package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-b061b441.js +148 -0
- package/dist/cjs/da-e3c379ae.js +67 -0
- package/dist/cjs/date-874bf94e.js +261 -0
- package/dist/cjs/de-65d2876f.js +92 -0
- package/dist/cjs/de-at-16b7b50e.js +91 -0
- package/dist/cjs/de-ch-11dcd113.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-839a1425.js +3165 -0
- package/dist/cjs/el-321d43b5.js +67 -0
- package/dist/cjs/en-au-c48e6b73.js +67 -0
- package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
- package/dist/cjs/en-gb-8ced841b.js +70 -0
- package/dist/cjs/es-aca5e6b4.js +67 -0
- package/dist/cjs/es-mx-b69f0ebb.js +66 -0
- package/dist/cjs/et-7e29340d.js +93 -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/feature-list.cjs.entry.js +7 -7
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-f215f4d1.js +116 -0
- package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
- package/dist/cjs/form-71a108a7.js +381 -0
- package/dist/cjs/fr-0daba4be.js +69 -0
- package/dist/cjs/fr-ch-76f752e9.js +67 -0
- package/dist/cjs/he-32860a76.js +106 -0
- package/dist/cjs/helpers-7cee3150.js +940 -0
- package/dist/cjs/hi-c5639f76.js +66 -0
- package/dist/cjs/hr-eb700fd5.js +81 -0
- package/dist/cjs/hu-e30e3d3a.js +89 -0
- package/dist/cjs/id-a3e96e5b.js +67 -0
- package/dist/cjs/index-97020c9d.js +201 -0
- package/dist/cjs/index-ff18be0d.js +1739 -0
- package/dist/cjs/index.es-dd4d4842.js +11317 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
- package/dist/cjs/interactive-7e5c7df4.js +154 -0
- package/dist/cjs/it-acd3cf54.js +67 -0
- package/dist/cjs/it-ch-c78435e7.js +67 -0
- package/dist/cjs/ja-ede2132a.js +73 -0
- package/dist/cjs/ko-fcd96551.js +73 -0
- package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
- package/dist/cjs/languageUtil-d23251cd.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-4189814e.js +23 -0
- package/dist/cjs/loadable-5d538ba2.js +94 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-62f4cef2.js +91 -0
- package/dist/cjs/locale-6973733d.js +161 -0
- package/dist/cjs/locale-d2a1066a.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-a30330ef.js +98 -0
- package/dist/cjs/lv-ac3b6560.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
- package/dist/cjs/mapViewUtils-78b14528.js +510 -0
- package/dist/cjs/mk-a3053dea.js +67 -0
- package/dist/cjs/mode-3478ba36.js +19 -0
- package/dist/cjs/nb-7ab0bac1.js +68 -0
- package/dist/cjs/nl-7fa437ef.js +68 -0
- package/dist/cjs/observers-2a59d471.js +55 -0
- package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pciUtils-f1adcf64.js +847 -0
- package/dist/cjs/pl-ea95b104.js +115 -0
- package/dist/cjs/popupUtils-bae7f923.js +111 -0
- package/dist/cjs/pt-472083c2.js +68 -0
- package/dist/cjs/pt-br-5f18543e.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +28 -16
- package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-afc74285.js +919 -0
- package/dist/cjs/ro-e8b3d65c.js +67 -0
- package/dist/cjs/ru-becefd01.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-6491aae1.js +365 -0
- package/dist/cjs/sk-2f5fd4e0.js +149 -0
- package/dist/cjs/sl-3ae17da6.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-ffe3c333.js +145 -0
- package/dist/cjs/solution-store-c8bada29.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/sr-7d6b8d1b.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/styles-ef2b1e04.js +13 -0
- package/dist/cjs/sv-9c51da5c.js +72 -0
- package/dist/cjs/t9n-ef615628.js +100 -0
- package/dist/cjs/th-fec0a074.js +66 -0
- package/dist/cjs/time-089ab043.js +289 -0
- package/dist/cjs/tr-8d7c18a1.js +67 -0
- package/dist/cjs/uk-46a61312.js +105 -0
- package/dist/cjs/utils-1de4eaa0.js +130 -0
- package/dist/cjs/utils-d237cb85.js +65 -0
- package/dist/cjs/vi-4114aa90.js +71 -0
- package/dist/cjs/zh-cn-30aca6fe.js +95 -0
- package/dist/cjs/zh-hk-5971eb67.js +72 -0
- package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +1 -0
- package/dist/collection/components/feature-details/feature-details.js +10 -15
- package/dist/collection/components/public-notification/public-notification.js +20 -8
- package/dist/collection/utils/mapViewUtils.js +2 -0
- package/dist/collection/utils/mapViewUtils.ts +2 -0
- package/dist/collection/utils/pciUtils.js +1 -1
- package/dist/collection/utils/pciUtils.ts +2 -2
- package/dist/components/breakpoints.js +5 -5
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/consent-manager.js +7 -1029
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/feature-details2.js +10 -15
- package/dist/components/helpers.js +723 -691
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-create.js +47 -45
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +24 -24
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +10 -10
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +44 -44
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +3 -3
- package/dist/components/instant-apps-social-share2.js +12 -11
- package/dist/components/instant-apps-splash.js +7 -7
- package/dist/components/languageUtil.js +43 -43
- package/dist/components/loadModules2.js +3 -3
- package/dist/components/locale3.js +58 -58
- package/dist/components/mapViewUtils.js +2 -0
- package/dist/components/mode.js +6 -6
- package/dist/components/public-notification.js +20 -8
- package/dist/components/restHelpersGet.js +329 -382
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-store.js +482 -482
- package/dist/components/store.js +66 -66
- package/dist/components/styles.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/utils4.js +80 -80
- package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
- package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
- package/dist/esm/Heading-63031c74.js +22 -0
- package/dist/esm/Validation-6712b322.js +18 -0
- package/dist/esm/ar-19d4f5c7.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/bg-63235b1a.js +81 -0
- package/dist/esm/breakpoints-3afa0fd9.js +15 -0
- package/dist/esm/browser-e76c94f7.js +23 -0
- package/dist/esm/bs-a1b74ac8.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-b29c38ed.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +4 -4
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +7 -7
- package/dist/esm/calcite-action-group.entry.js +6 -6
- package/dist/esm/calcite-action-menu_3.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +11 -11
- package/dist/esm/calcite-action_2.entry.js +7 -7
- package/dist/esm/calcite-alert_4.entry.js +13 -13
- package/dist/esm/calcite-avatar_2.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block_5.entry.js +55 -54
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel-item.entry.js +1 -1
- package/dist/esm/calcite-carousel.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_6.entry.js +20 -25
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
- package/dist/esm/calcite-input-time-picker.entry.js +12 -12
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-meter.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +9 -9
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +8 -8
- package/dist/esm/calcite-pick-list.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +4 -4
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +7 -7
- package/dist/esm/common-8697fccd.js +36 -0
- package/dist/esm/conditionalSlot-56bdb202.js +51 -0
- package/dist/esm/consent-manager.entry.js +10 -1031
- package/dist/esm/crowdsource-manager.entry.js +4 -4
- package/dist/esm/crowdsource-reporter.entry.js +4 -4
- package/dist/esm/cs-da7231d6.js +146 -0
- package/dist/esm/da-7e105037.js +65 -0
- package/dist/esm/date-93ae46b9.js +245 -0
- package/dist/esm/de-at-1d9434bb.js +89 -0
- package/dist/esm/de-b5646b5d.js +90 -0
- package/dist/esm/de-ch-7beada93.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/downloadUtils-97acca92.js +3158 -0
- package/dist/esm/el-0f4bf89b.js +65 -0
- package/dist/esm/en-au-5c144cef.js +65 -0
- package/dist/esm/en-ca-1160089a.js +64 -0
- package/dist/esm/en-gb-ae98fc58.js +68 -0
- package/dist/esm/es-88e1743a.js +65 -0
- package/dist/esm/es-mx-020dfaaa.js +64 -0
- package/dist/esm/esri-loader-3080dcc0.js +311 -0
- package/dist/esm/et-84f63ef8.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +8 -8
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-1016ee6e.js +114 -0
- package/dist/esm/floating-ui-f086572c.js +2287 -0
- package/dist/esm/form-8fd73cbd.js +372 -0
- package/dist/esm/fr-0e7ffd73.js +67 -0
- package/dist/esm/fr-ch-e18bae2c.js +65 -0
- package/dist/esm/he-0cebe004.js +104 -0
- package/dist/esm/helpers-7c88b974.js +913 -0
- package/dist/esm/hi-cded031d.js +64 -0
- package/dist/esm/hr-5643b2ab.js +79 -0
- package/dist/esm/html2canvas-fd387d87.js +7845 -0
- package/dist/esm/hu-6d605858.js +87 -0
- package/dist/esm/id-7d804c46.js +65 -0
- package/dist/esm/index-83b693bc.js +1705 -0
- package/dist/esm/index-d97f4f15.js +199 -0
- package/dist/esm/index.es-ee5497bc.js +11230 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-create.entry.js +53 -51
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +12 -12
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +2 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -8
- package/dist/esm/instant-apps-splash.entry.js +12 -12
- package/dist/esm/interactive-3b9600a6.js +149 -0
- package/dist/esm/it-849be361.js +65 -0
- package/dist/esm/it-ch-453fa26d.js +65 -0
- package/dist/esm/ja-edff1441.js +71 -0
- package/dist/esm/ko-dc103450.js +71 -0
- package/dist/esm/languageSwitcher-0f693a04.js +57 -0
- package/dist/esm/languageUtil-de206286.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-43119ac8.js +21 -0
- package/dist/esm/loadable-b765a6f6.js +89 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-42369411.js +156 -0
- package/dist/esm/locale-70630b7c.js +86 -0
- package/dist/esm/locale-a4cbae12.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-270cc811.js +96 -0
- package/dist/esm/lv-c877043c.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +9 -9
- package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
- package/dist/esm/mk-a816a702.js +65 -0
- package/dist/esm/mode-8c5f5dc9.js +17 -0
- package/dist/esm/nb-e9c09b70.js +66 -0
- package/dist/esm/nl-56e70f3b.js +66 -0
- package/dist/esm/observers-fcb1c07b.js +53 -0
- package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pciUtils-986ddad9.js +844 -0
- package/dist/esm/pl-687b559a.js +113 -0
- package/dist/esm/popupUtils-98ad70f3.js +109 -0
- package/dist/esm/pt-8b05fed2.js +66 -0
- package/dist/esm/pt-br-85bdf812.js +64 -0
- package/dist/esm/public-notification.entry.js +29 -17
- package/dist/esm/publicNotificationStore-08faccff.js +45 -0
- package/dist/esm/purify-caded4cd.js +1714 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-dab84057.js +906 -0
- package/dist/esm/ro-0975d6bb.js +65 -0
- package/dist/esm/ru-24b83704.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-07a20fc5.js +343 -0
- package/dist/esm/sk-8179af4d.js +147 -0
- package/dist/esm/sl-e6922692.js +167 -0
- package/dist/esm/solution-configuration.entry.js +7 -7
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-a2fff3bf.js +142 -0
- package/dist/esm/solution-store-30a19a45.js +1342 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +5 -5
- package/dist/esm/sr-1d30e69e.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/styles-b3492d9f.js +11 -0
- package/dist/esm/sv-ea3c4b80.js +70 -0
- package/dist/esm/t9n-dd2a98fc.js +95 -0
- package/dist/esm/th-0f1b35bc.js +64 -0
- package/dist/esm/time-bc97792f.js +274 -0
- package/dist/esm/tr-eb4e860e.js +65 -0
- package/dist/esm/uk-f3ebd952.js +103 -0
- package/dist/esm/utils-9bb48951.js +121 -0
- package/dist/esm/utils-bf012a3f.js +54 -0
- package/dist/esm/vi-872e449d.js +69 -0
- package/dist/esm/zh-cn-8c5a3222.js +93 -0
- package/dist/esm/zh-hk-247683c2.js +70 -0
- package/dist/esm/zh-tw-76a429e9.js +91 -0
- package/dist/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
- package/dist/solutions-components/p-01ba6099.js +6 -0
- package/dist/solutions-components/p-03178c37.js +6 -0
- package/dist/solutions-components/p-046acd6b.entry.js +6 -0
- package/dist/solutions-components/p-0a053ed7.js +6 -0
- package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
- package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
- package/dist/solutions-components/p-11094d76.entry.js +29 -0
- package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
- package/dist/solutions-components/p-123fcb43.entry.js +6 -0
- package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
- package/dist/solutions-components/p-132b1138.entry.js +21 -0
- package/dist/solutions-components/p-13b513ed.entry.js +11 -0
- package/dist/solutions-components/p-15e08453.js +6 -0
- package/dist/solutions-components/p-17feaae0.entry.js +17 -0
- package/dist/solutions-components/p-1983d6e8.js +6 -0
- package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
- package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
- package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
- package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
- package/dist/solutions-components/p-1d369231.js +21 -0
- package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
- package/dist/solutions-components/p-20a567b0.entry.js +6 -0
- package/dist/solutions-components/p-21965dcd.entry.js +11 -0
- package/dist/solutions-components/p-2305749d.entry.js +17 -0
- package/dist/solutions-components/p-24634430.entry.js +11 -0
- package/dist/solutions-components/p-2599399f.entry.js +6 -0
- package/dist/solutions-components/p-27c68097.js +11 -0
- package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
- package/dist/solutions-components/p-28fd26ed.js +6 -0
- package/dist/solutions-components/p-293d376c.js +6 -0
- package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
- package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
- package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
- package/dist/solutions-components/p-2a990146.entry.js +6 -0
- package/dist/solutions-components/p-2b4e50ed.js +6 -0
- package/dist/solutions-components/p-2d99bd61.js +6 -0
- package/dist/solutions-components/p-2e401f51.js +6 -0
- package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
- package/dist/solutions-components/p-3102119d.entry.js +11 -0
- package/dist/solutions-components/p-3137377f.entry.js +11 -0
- package/dist/solutions-components/p-34722455.entry.js +6 -0
- package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
- package/dist/solutions-components/p-37e2754a.js +6 -0
- package/dist/solutions-components/p-398ff315.js +11 -0
- package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
- package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
- package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
- package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
- package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
- package/dist/solutions-components/p-3eb49703.js +489 -0
- package/dist/solutions-components/p-42ea2581.js +6 -0
- package/dist/solutions-components/p-44043ef6.entry.js +11 -0
- package/dist/solutions-components/p-44bfa87d.js +11 -0
- package/dist/solutions-components/p-45db29e2.js +6 -0
- package/dist/solutions-components/p-465fbfc2.js +6 -0
- package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
- package/dist/solutions-components/p-49250010.js +6 -0
- package/dist/solutions-components/p-4b80b699.entry.js +6 -0
- package/dist/solutions-components/p-4b85c3dc.js +6 -0
- package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
- package/dist/solutions-components/p-4fbd1a02.js +6 -0
- package/dist/solutions-components/p-50aa0e5a.js +6 -0
- package/dist/solutions-components/p-52bcd209.entry.js +6 -0
- package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
- package/dist/solutions-components/p-5443995c.entry.js +11 -0
- package/dist/solutions-components/p-55730588.js +6 -0
- package/dist/solutions-components/p-57961ae0.entry.js +6 -0
- package/dist/solutions-components/p-57a03a95.js +17 -0
- package/dist/solutions-components/p-59f016a1.js +61 -0
- package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
- package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
- package/dist/solutions-components/p-5db64297.entry.js +11 -0
- package/dist/solutions-components/p-5eb6219c.js +11 -0
- package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
- package/dist/solutions-components/p-5ed825c4.js +6 -0
- package/dist/solutions-components/p-5f1fdaf9.js +11 -0
- package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
- package/dist/solutions-components/p-61dcdc62.js +6 -0
- package/dist/solutions-components/p-622f33ee.entry.js +6 -0
- package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
- package/dist/solutions-components/p-652140aa.entry.js +6 -0
- package/dist/solutions-components/p-6809e050.entry.js +11 -0
- package/dist/solutions-components/p-69cfc738.entry.js +6 -0
- package/dist/solutions-components/p-69db1e2c.js +6 -0
- package/dist/solutions-components/p-6acf6c8f.js +7 -0
- package/dist/solutions-components/p-6bf91f6e.js +6 -0
- package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
- package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
- package/dist/solutions-components/p-6d51c6bf.js +6 -0
- package/dist/solutions-components/p-6df9b158.entry.js +11 -0
- package/dist/solutions-components/p-716a0878.js +11 -0
- package/dist/solutions-components/p-71c212e6.entry.js +12 -0
- package/dist/solutions-components/p-71ed8170.entry.js +11 -0
- package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
- package/dist/solutions-components/p-7388563d.js +6 -0
- package/dist/solutions-components/p-747d4b59.js +21 -0
- package/dist/solutions-components/p-74dbad36.js +6 -0
- package/dist/solutions-components/p-7638ce3d.js +6 -0
- package/dist/solutions-components/p-76f51550.entry.js +11 -0
- package/dist/solutions-components/p-7773d8ea.js +6 -0
- package/dist/solutions-components/p-7822e93b.js +16 -0
- package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
- package/dist/solutions-components/p-7996f123.js +50 -0
- package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
- package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
- package/dist/solutions-components/p-7a646a97.js +6 -0
- package/dist/solutions-components/p-7afca6b4.js +26 -0
- package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
- package/dist/solutions-components/p-7efcfb47.js +6 -0
- package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
- package/dist/solutions-components/p-7fe77355.js +6 -0
- package/dist/solutions-components/p-7fea6d8a.js +6 -0
- package/dist/solutions-components/p-8008449b.entry.js +16 -0
- package/dist/solutions-components/p-813d004f.js +16 -0
- package/dist/solutions-components/p-8241b179.entry.js +17 -0
- package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
- package/dist/solutions-components/p-853d952d.entry.js +6 -0
- package/dist/solutions-components/p-89f6ff72.js +6 -0
- package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
- package/dist/solutions-components/p-8babc507.entry.js +6 -0
- package/dist/solutions-components/p-8c6d9b5a.js +6 -0
- package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
- package/dist/solutions-components/p-8ed6ce4d.js +11 -0
- package/dist/solutions-components/p-9088fa3a.js +6 -0
- package/dist/solutions-components/p-90e3ce7f.js +6 -0
- package/dist/solutions-components/p-9271710d.js +6 -0
- package/dist/solutions-components/p-9377260c.js +6 -0
- package/dist/solutions-components/p-941e55f0.entry.js +6 -0
- package/dist/solutions-components/p-946ee345.js +145 -0
- package/dist/solutions-components/p-97421bb9.js +6 -0
- package/dist/solutions-components/p-9808250d.entry.js +6 -0
- package/dist/solutions-components/p-9a7e00b8.js +6 -0
- package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
- package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
- package/dist/solutions-components/p-9c6c056a.js +12 -0
- package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
- package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
- package/dist/solutions-components/p-9e77f5c7.js +11 -0
- package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
- package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
- package/dist/solutions-components/p-a204dcff.entry.js +11 -0
- package/dist/solutions-components/p-a2390bee.entry.js +6 -0
- package/dist/solutions-components/p-a805c11f.entry.js +6 -0
- package/dist/solutions-components/p-a89e61f4.js +11 -0
- package/dist/solutions-components/p-aa967a48.entry.js +6 -0
- package/dist/solutions-components/p-ab8039f5.js +6 -0
- package/dist/solutions-components/p-acef743f.entry.js +11 -0
- package/dist/solutions-components/p-ada34f83.js +6 -0
- package/dist/solutions-components/p-af1c9389.entry.js +6 -0
- package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
- package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
- package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
- package/dist/solutions-components/p-b25e8339.js +6 -0
- package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
- package/dist/solutions-components/p-b2f11718.entry.js +11 -0
- package/dist/solutions-components/p-b4230022.entry.js +11 -0
- package/dist/solutions-components/p-b442aa02.entry.js +17 -0
- package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
- package/dist/solutions-components/p-b5c88983.js +6 -0
- package/dist/solutions-components/p-b64cc55e.js +11 -0
- package/dist/solutions-components/p-b77b6c26.js +6 -0
- package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
- package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
- package/dist/solutions-components/p-ba569f8b.js +11 -0
- package/dist/solutions-components/p-bac8a4cd.js +6 -0
- package/dist/solutions-components/p-bd459df3.entry.js +11 -0
- package/dist/solutions-components/p-bf27cd5f.js +6 -0
- package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
- package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
- package/dist/solutions-components/p-c4160bf7.js +6 -0
- package/dist/solutions-components/p-c4ddb206.js +21 -0
- package/dist/solutions-components/p-c554abce.entry.js +11 -0
- package/dist/solutions-components/p-c63a8225.entry.js +6 -0
- package/dist/solutions-components/p-c8935707.entry.js +11 -0
- package/dist/solutions-components/p-c96bde1d.js +6 -0
- package/dist/solutions-components/p-c9b22653.js +36 -0
- package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
- package/dist/solutions-components/p-cc07069d.entry.js +11 -0
- package/dist/solutions-components/p-cc388a08.js +11 -0
- package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
- package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
- package/dist/solutions-components/p-d029b513.js +6 -0
- package/dist/solutions-components/p-d11d941c.js +6 -0
- package/dist/solutions-components/p-d27ab863.js +37 -0
- package/dist/solutions-components/p-d31a139f.entry.js +11 -0
- package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
- package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
- package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
- package/dist/solutions-components/p-da75df88.entry.js +6 -0
- package/dist/solutions-components/p-de279d51.entry.js +6 -0
- package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
- package/dist/solutions-components/p-df0a1d4b.js +11 -0
- package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
- package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
- package/dist/solutions-components/p-e11a4728.entry.js +6 -0
- package/dist/solutions-components/p-e528c321.js +6 -0
- package/dist/solutions-components/p-e6c9e6af.js +11 -0
- package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
- package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
- package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
- package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
- package/dist/solutions-components/p-ee309d0b.js +6 -0
- package/dist/solutions-components/p-ee7f7c24.js +6 -0
- package/dist/solutions-components/p-ef54f211.js +6 -0
- package/dist/solutions-components/p-ef930f76.entry.js +11 -0
- package/dist/solutions-components/p-f163a137.js +6 -0
- package/dist/solutions-components/p-f1ae51dc.js +21 -0
- package/dist/solutions-components/p-f480b275.js +6 -0
- package/dist/solutions-components/p-f539a342.entry.js +11 -0
- package/dist/solutions-components/p-f8c45269.entry.js +6 -0
- package/dist/solutions-components/p-fa1ceaf9.js +7 -0
- package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
- package/dist/solutions-components/p-fc9a49db.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
- package/dist/solutions-components/utils/pciUtils.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/package.json +41 -40
- package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
- package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
- package/dist/cjs/Heading-1f831135.js +0 -25
- package/dist/cjs/Validation-eb9afded.js +0 -20
- package/dist/cjs/ar-1013e0a6.js +0 -105
- package/dist/cjs/bg-7013971e.js +0 -83
- package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
- package/dist/cjs/browser-a96d0614.js +0 -25
- package/dist/cjs/bs-97bd61eb.js +0 -52
- package/dist/cjs/ca-2a76034c.js +0 -72
- package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
- package/dist/cjs/common-6d2c14c6.js +0 -38
- package/dist/cjs/conditionalSlot-93779916.js +0 -54
- package/dist/cjs/cs-b189af7b.js +0 -148
- package/dist/cjs/da-ebb3b688.js +0 -67
- package/dist/cjs/date-456675b2.js +0 -261
- package/dist/cjs/de-01ac3f09.js +0 -92
- package/dist/cjs/de-at-1437180c.js +0 -91
- package/dist/cjs/de-ch-b9a068a3.js +0 -91
- package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
- package/dist/cjs/el-7ce5c99d.js +0 -67
- package/dist/cjs/en-au-c3ca3a9f.js +0 -67
- package/dist/cjs/en-ca-34007cde.js +0 -66
- package/dist/cjs/en-gb-2db136a2.js +0 -70
- package/dist/cjs/es-f00ce3f0.js +0 -67
- package/dist/cjs/es-mx-503b9e1a.js +0 -66
- package/dist/cjs/et-556f49fd.js +0 -93
- package/dist/cjs/fi-47ef7686.js +0 -116
- package/dist/cjs/floating-ui-06d961ad.js +0 -2295
- package/dist/cjs/form-a27f759c.js +0 -381
- package/dist/cjs/fr-5ba5763a.js +0 -69
- package/dist/cjs/fr-ch-9b02cb30.js +0 -67
- package/dist/cjs/he-07cce409.js +0 -106
- package/dist/cjs/helpers-618a3f7d.js +0 -907
- package/dist/cjs/hi-7b691fb6.js +0 -66
- package/dist/cjs/hr-ebd3ae66.js +0 -81
- package/dist/cjs/hu-b177f75e.js +0 -89
- package/dist/cjs/id-ffab63fb.js +0 -67
- package/dist/cjs/index-79b35510.js +0 -1682
- package/dist/cjs/index-c078ea5f.js +0 -201
- package/dist/cjs/index.es-4e523f8b.js +0 -11317
- package/dist/cjs/interactive-f08f0369.js +0 -154
- package/dist/cjs/it-8646ff2a.js +0 -67
- package/dist/cjs/it-ch-6c949267.js +0 -67
- package/dist/cjs/ja-cf48eff1.js +0 -73
- package/dist/cjs/ko-294e5fae.js +0 -73
- package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
- package/dist/cjs/languageUtil-da436671.js +0 -69
- package/dist/cjs/loadModules-b28900c2.js +0 -23
- package/dist/cjs/loadable-b374ef4b.js +0 -94
- package/dist/cjs/locale-3fd260e3.js +0 -91
- package/dist/cjs/locale-48d76c59.js +0 -161
- package/dist/cjs/locale-5efdf085.js +0 -584
- package/dist/cjs/lt-a592829c.js +0 -98
- package/dist/cjs/lv-39a6d278.js +0 -67
- package/dist/cjs/mapViewUtils-911698e5.js +0 -508
- package/dist/cjs/mk-afea13c6.js +0 -67
- package/dist/cjs/mode-d6c12b38.js +0 -19
- package/dist/cjs/nb-b7cf648c.js +0 -68
- package/dist/cjs/nl-72021978.js +0 -68
- package/dist/cjs/observers-4fa351d9.js +0 -55
- package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
- package/dist/cjs/pciUtils-a238f3a1.js +0 -847
- package/dist/cjs/pl-82312f6a.js +0 -115
- package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
- package/dist/cjs/pt-42d95816.js +0 -68
- package/dist/cjs/pt-br-b0b546fc.js +0 -66
- package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
- package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
- package/dist/cjs/ro-e7948270.js +0 -67
- package/dist/cjs/ru-3526e86f.js +0 -127
- package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
- package/dist/cjs/sk-0f35900e.js +0 -149
- package/dist/cjs/sl-abc6455f.js +0 -169
- package/dist/cjs/solution-resource-a577e84f.js +0 -145
- package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
- package/dist/cjs/sr-fe2d4b5b.js +0 -102
- package/dist/cjs/styles-c9e1375a.js +0 -13
- package/dist/cjs/sv-6503d7e1.js +0 -72
- package/dist/cjs/t9n-9d199056.js +0 -100
- package/dist/cjs/th-9600cb11.js +0 -66
- package/dist/cjs/time-d250cbf5.js +0 -289
- package/dist/cjs/tr-faae7cc6.js +0 -67
- package/dist/cjs/uk-5e626d2b.js +0 -105
- package/dist/cjs/utils-e3996e43.js +0 -65
- package/dist/cjs/utils-f3710824.js +0 -130
- package/dist/cjs/vi-74653398.js +0 -71
- package/dist/cjs/zh-cn-b53af030.js +0 -95
- package/dist/cjs/zh-hk-96b751d5.js +0 -72
- package/dist/cjs/zh-tw-50d1a248.js +0 -93
- package/dist/esm/ExpandToggle-73432b0a.js +0 -110
- package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
- package/dist/esm/Heading-03b41bf8.js +0 -22
- package/dist/esm/Validation-59757032.js +0 -18
- package/dist/esm/ar-a0f8473e.js +0 -103
- package/dist/esm/bg-4a8059f0.js +0 -81
- package/dist/esm/breakpoints-f0f1417d.js +0 -15
- package/dist/esm/browser-9897260d.js +0 -23
- package/dist/esm/bs-3d9fa4b7.js +0 -50
- package/dist/esm/ca-a74ba459.js +0 -70
- package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
- package/dist/esm/common-7f72122b.js +0 -36
- package/dist/esm/conditionalSlot-16953b0d.js +0 -51
- package/dist/esm/cs-cd3323d4.js +0 -146
- package/dist/esm/da-eccb7ace.js +0 -65
- package/dist/esm/date-562b6fba.js +0 -245
- package/dist/esm/de-269c8d62.js +0 -90
- package/dist/esm/de-at-742cc453.js +0 -89
- package/dist/esm/de-ch-b4ff8ebb.js +0 -89
- package/dist/esm/downloadUtils-571a502d.js +0 -3158
- package/dist/esm/el-e7e0181b.js +0 -65
- package/dist/esm/en-au-0f12d4ae.js +0 -65
- package/dist/esm/en-ca-d692f9a4.js +0 -64
- package/dist/esm/en-gb-e91744e9.js +0 -68
- package/dist/esm/es-867bace7.js +0 -65
- package/dist/esm/es-mx-cde6ed6f.js +0 -64
- package/dist/esm/esri-loader-2bf735ed.js +0 -311
- package/dist/esm/et-a2613f53.js +0 -91
- package/dist/esm/fi-07875b7a.js +0 -114
- package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
- package/dist/esm/form-6d38f4ee.js +0 -372
- package/dist/esm/fr-669ba3b9.js +0 -67
- package/dist/esm/fr-ch-da569be6.js +0 -65
- package/dist/esm/he-6cbfe53b.js +0 -104
- package/dist/esm/helpers-61b05164.js +0 -881
- package/dist/esm/hi-913d1595.js +0 -64
- package/dist/esm/hr-8f581dc9.js +0 -79
- package/dist/esm/html2canvas-28c7de60.js +0 -7845
- package/dist/esm/hu-02bb4a04.js +0 -87
- package/dist/esm/id-306dcc93.js +0 -65
- package/dist/esm/index-ba5da2b0.js +0 -1648
- package/dist/esm/index-c06194fa.js +0 -199
- package/dist/esm/index.es-2f9f04c5.js +0 -11230
- package/dist/esm/interactive-52276a00.js +0 -149
- package/dist/esm/it-3f0c20a1.js +0 -65
- package/dist/esm/it-ch-fe18a6c5.js +0 -65
- package/dist/esm/ja-41455a15.js +0 -71
- package/dist/esm/ko-88a4fc75.js +0 -71
- package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
- package/dist/esm/languageUtil-36f8f4ef.js +0 -66
- package/dist/esm/loadModules-496086ee.js +0 -21
- package/dist/esm/loadable-cca582a3.js +0 -89
- package/dist/esm/locale-353c1c36.js +0 -571
- package/dist/esm/locale-69333b8e.js +0 -86
- package/dist/esm/locale-a490c4f6.js +0 -156
- package/dist/esm/lt-5c1c3aa4.js +0 -96
- package/dist/esm/lv-acb76551.js +0 -65
- package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
- package/dist/esm/mk-b12a886b.js +0 -65
- package/dist/esm/mode-66911cb5.js +0 -17
- package/dist/esm/nb-50bbf4fa.js +0 -66
- package/dist/esm/nl-6dd1488e.js +0 -66
- package/dist/esm/observers-19e5cb73.js +0 -53
- package/dist/esm/openCloseComponent-04234cea.js +0 -90
- package/dist/esm/pciUtils-73d4b6b4.js +0 -844
- package/dist/esm/pl-f0ccb3a4.js +0 -113
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popupUtils-8efd3cde.js +0 -109
- package/dist/esm/pt-3adf4f5e.js +0 -66
- package/dist/esm/pt-br-5ad78776.js +0 -64
- package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
- package/dist/esm/purify-dbd0968e.js +0 -1714
- package/dist/esm/restHelpersGet-1bd54274.js +0 -959
- package/dist/esm/ro-ba24a126.js +0 -65
- package/dist/esm/ru-2feffc99.js +0 -125
- package/dist/esm/shared-list-render-aaa69039.js +0 -343
- package/dist/esm/sk-097e96ba.js +0 -147
- package/dist/esm/sl-27721fe2.js +0 -167
- package/dist/esm/solution-resource-0d0eb597.js +0 -142
- package/dist/esm/solution-store-997e0cb8.js +0 -1342
- package/dist/esm/sr-b421770e.js +0 -100
- package/dist/esm/styles-367380b5.js +0 -11
- package/dist/esm/sv-3bad8e53.js +0 -70
- package/dist/esm/t9n-165900a5.js +0 -95
- package/dist/esm/th-7cc88e5d.js +0 -64
- package/dist/esm/time-d605c462.js +0 -274
- package/dist/esm/tr-0a2743e1.js +0 -65
- package/dist/esm/uk-6d2572d0.js +0 -103
- package/dist/esm/utils-26baa5d3.js +0 -54
- package/dist/esm/utils-bd72a603.js +0 -121
- package/dist/esm/vi-e8feb97f.js +0 -69
- package/dist/esm/zh-cn-fdec5be5.js +0 -93
- package/dist/esm/zh-hk-07c60ac2.js +0 -70
- package/dist/esm/zh-tw-b1e4174b.js +0 -91
- package/dist/solutions-components/p-011892f2.entry.js +0 -11
- package/dist/solutions-components/p-022edd7a.entry.js +0 -11
- package/dist/solutions-components/p-02651dd3.entry.js +0 -11
- package/dist/solutions-components/p-04af53a2.js +0 -6
- package/dist/solutions-components/p-053be79f.entry.js +0 -12
- package/dist/solutions-components/p-0669c156.entry.js +0 -17
- package/dist/solutions-components/p-06748b7a.entry.js +0 -6
- package/dist/solutions-components/p-070b98cd.entry.js +0 -17
- package/dist/solutions-components/p-0894d584.js +0 -6
- package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
- package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
- package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
- package/dist/solutions-components/p-0c523112.js +0 -6
- package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
- package/dist/solutions-components/p-0d17246a.entry.js +0 -6
- package/dist/solutions-components/p-0fba267c.entry.js +0 -12
- package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
- package/dist/solutions-components/p-105d8256.js +0 -6
- package/dist/solutions-components/p-11881a54.js +0 -6
- package/dist/solutions-components/p-11e873c7.entry.js +0 -6
- package/dist/solutions-components/p-12c80030.js +0 -11
- package/dist/solutions-components/p-1506751c.entry.js +0 -11
- package/dist/solutions-components/p-17674f66.js +0 -6
- package/dist/solutions-components/p-177a139d.entry.js +0 -11
- package/dist/solutions-components/p-18b27561.entry.js +0 -11
- package/dist/solutions-components/p-19dbfe71.js +0 -6
- package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
- package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
- package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
- package/dist/solutions-components/p-1e915546.entry.js +0 -47
- package/dist/solutions-components/p-229ec6a3.js +0 -11
- package/dist/solutions-components/p-238d8710.entry.js +0 -11
- package/dist/solutions-components/p-23d35d76.js +0 -6
- package/dist/solutions-components/p-2445cf51.js +0 -7
- package/dist/solutions-components/p-2455bcb0.js +0 -21
- package/dist/solutions-components/p-246b1648.entry.js +0 -12
- package/dist/solutions-components/p-261880f7.entry.js +0 -11
- package/dist/solutions-components/p-2665663a.entry.js +0 -6
- package/dist/solutions-components/p-26eb1225.entry.js +0 -6
- package/dist/solutions-components/p-2775f82b.js +0 -6
- package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
- package/dist/solutions-components/p-287d2d49.entry.js +0 -11
- package/dist/solutions-components/p-28d2ab1a.js +0 -6
- package/dist/solutions-components/p-28e582b0.entry.js +0 -11
- package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
- package/dist/solutions-components/p-2e625f11.js +0 -11
- package/dist/solutions-components/p-302fccc1.entry.js +0 -6
- package/dist/solutions-components/p-314dc933.entry.js +0 -6
- package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
- package/dist/solutions-components/p-328fbf6d.js +0 -11
- package/dist/solutions-components/p-334e6394.js +0 -37
- package/dist/solutions-components/p-3365a6de.entry.js +0 -11
- package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
- package/dist/solutions-components/p-370283a4.js +0 -6
- package/dist/solutions-components/p-392be4a7.js +0 -6
- package/dist/solutions-components/p-3b7e0d5a.js +0 -26
- package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
- package/dist/solutions-components/p-3ce690d9.js +0 -6
- package/dist/solutions-components/p-3da83eee.entry.js +0 -22
- package/dist/solutions-components/p-3e33078e.entry.js +0 -11
- package/dist/solutions-components/p-400a584e.js +0 -6
- package/dist/solutions-components/p-415d519f.entry.js +0 -6
- package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
- package/dist/solutions-components/p-4370de50.js +0 -6
- package/dist/solutions-components/p-43d1b0bd.js +0 -11
- package/dist/solutions-components/p-4870be89.entry.js +0 -6
- package/dist/solutions-components/p-489be360.entry.js +0 -11
- package/dist/solutions-components/p-490e4875.entry.js +0 -11
- package/dist/solutions-components/p-4ac019d3.js +0 -6
- package/dist/solutions-components/p-4ba6f8f0.js +0 -6
- package/dist/solutions-components/p-4ca83bea.js +0 -6
- package/dist/solutions-components/p-4e07c030.entry.js +0 -11
- package/dist/solutions-components/p-502172da.entry.js +0 -17
- package/dist/solutions-components/p-50741707.entry.js +0 -6
- package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
- package/dist/solutions-components/p-51d5532f.entry.js +0 -6
- package/dist/solutions-components/p-52dba022.js +0 -489
- package/dist/solutions-components/p-530b73ce.js +0 -66
- package/dist/solutions-components/p-533a9cca.entry.js +0 -11
- package/dist/solutions-components/p-570a3777.js +0 -6
- package/dist/solutions-components/p-57eeed77.js +0 -61
- package/dist/solutions-components/p-5862de8d.entry.js +0 -6
- package/dist/solutions-components/p-591175a6.js +0 -6
- package/dist/solutions-components/p-5974ba05.js +0 -16
- package/dist/solutions-components/p-5b654493.entry.js +0 -6
- package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
- package/dist/solutions-components/p-5f873153.js +0 -6
- package/dist/solutions-components/p-6085ab9c.js +0 -11
- package/dist/solutions-components/p-614ebce7.js +0 -6
- package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
- package/dist/solutions-components/p-628874a6.entry.js +0 -6
- package/dist/solutions-components/p-62c34f96.entry.js +0 -11
- package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
- package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
- package/dist/solutions-components/p-680a43bb.entry.js +0 -6
- package/dist/solutions-components/p-6bdafe3f.js +0 -6
- package/dist/solutions-components/p-6d753a3d.js +0 -7
- package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
- package/dist/solutions-components/p-7348c869.entry.js +0 -6
- package/dist/solutions-components/p-74a283fb.entry.js +0 -11
- package/dist/solutions-components/p-76d70d3e.js +0 -6
- package/dist/solutions-components/p-77cd573b.entry.js +0 -6
- package/dist/solutions-components/p-7883b885.entry.js +0 -17
- package/dist/solutions-components/p-790ab21b.js +0 -6
- package/dist/solutions-components/p-798d20c2.entry.js +0 -11
- package/dist/solutions-components/p-79e2e203.entry.js +0 -6
- package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
- package/dist/solutions-components/p-7b17e929.entry.js +0 -6
- package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
- package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
- package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
- package/dist/solutions-components/p-814ad17b.js +0 -6
- package/dist/solutions-components/p-820d8935.js +0 -11
- package/dist/solutions-components/p-8294d644.js +0 -21
- package/dist/solutions-components/p-82e085d0.js +0 -6
- package/dist/solutions-components/p-84913712.js +0 -6
- package/dist/solutions-components/p-865a9a2b.js +0 -6
- package/dist/solutions-components/p-8674e740.js +0 -11
- package/dist/solutions-components/p-86a8cf0e.js +0 -11
- package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
- package/dist/solutions-components/p-896c9644.js +0 -36
- package/dist/solutions-components/p-89a0889f.js +0 -21
- package/dist/solutions-components/p-8f760a96.js +0 -11
- package/dist/solutions-components/p-8fd36ce2.js +0 -6
- package/dist/solutions-components/p-92eadd14.entry.js +0 -6
- package/dist/solutions-components/p-937f5a14.js +0 -6
- package/dist/solutions-components/p-96c901b4.entry.js +0 -6
- package/dist/solutions-components/p-96e9c88b.js +0 -6
- package/dist/solutions-components/p-972fd6e2.js +0 -11
- package/dist/solutions-components/p-996a9b86.js +0 -6
- package/dist/solutions-components/p-997ed04c.js +0 -6
- package/dist/solutions-components/p-9c05337d.entry.js +0 -6
- package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
- package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
- package/dist/solutions-components/p-9db9645e.js +0 -12
- package/dist/solutions-components/p-9f11bcc0.js +0 -6
- package/dist/solutions-components/p-9f27fdfb.js +0 -6
- package/dist/solutions-components/p-9f635891.js +0 -17
- package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
- package/dist/solutions-components/p-a008937e.entry.js +0 -6
- package/dist/solutions-components/p-a24e5541.js +0 -6
- package/dist/solutions-components/p-a25bbcc1.js +0 -11
- package/dist/solutions-components/p-a520fedd.js +0 -6
- package/dist/solutions-components/p-a5f1bbe9.js +0 -6
- package/dist/solutions-components/p-a87405cb.entry.js +0 -11
- package/dist/solutions-components/p-ab2c8a60.entry.js +0 -6
- package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
- package/dist/solutions-components/p-ac77e72f.js +0 -6
- package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
- package/dist/solutions-components/p-b0a4644b.js +0 -6
- package/dist/solutions-components/p-b5bfe190.js +0 -16
- package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
- package/dist/solutions-components/p-b965c059.entry.js +0 -16
- package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
- package/dist/solutions-components/p-bb53e532.js +0 -6
- package/dist/solutions-components/p-bc82830a.js +0 -6
- package/dist/solutions-components/p-bdcf99c0.js +0 -6
- package/dist/solutions-components/p-bfd3d428.js +0 -11
- package/dist/solutions-components/p-c02351ae.entry.js +0 -11
- package/dist/solutions-components/p-c0c5c7a9.js +0 -6
- package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
- package/dist/solutions-components/p-c151a297.entry.js +0 -6
- package/dist/solutions-components/p-c4a44f66.js +0 -6
- package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
- package/dist/solutions-components/p-c5becad1.entry.js +0 -6
- package/dist/solutions-components/p-c6be0487.entry.js +0 -6
- package/dist/solutions-components/p-c757c37b.js +0 -6
- package/dist/solutions-components/p-c791e836.entry.js +0 -6
- package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
- package/dist/solutions-components/p-c8233fcd.entry.js +0 -6
- package/dist/solutions-components/p-c8260cf0.js +0 -145
- package/dist/solutions-components/p-c9653aec.js +0 -6
- package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
- package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
- package/dist/solutions-components/p-cce71e60.entry.js +0 -11
- package/dist/solutions-components/p-cd190ff9.js +0 -6
- package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
- package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
- package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
- package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
- package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
- package/dist/solutions-components/p-d893cddf.entry.js +0 -11
- package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
- package/dist/solutions-components/p-d8da6406.entry.js +0 -6
- package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
- package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
- package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
- package/dist/solutions-components/p-deb3adb8.js +0 -6
- package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
- package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
- package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
- package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
- package/dist/solutions-components/p-e96d0b39.js +0 -6
- package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
- package/dist/solutions-components/p-ec843a3e.js +0 -6
- package/dist/solutions-components/p-eda6994e.entry.js +0 -6
- package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
- package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
- package/dist/solutions-components/p-ee81a7c3.js +0 -6
- package/dist/solutions-components/p-eeaed243.js +0 -11
- package/dist/solutions-components/p-f1822d63.js +0 -6
- package/dist/solutions-components/p-f22a4439.js +0 -21
- package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
- package/dist/solutions-components/p-f4456214.js +0 -6
- package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
- package/dist/solutions-components/p-f9475704.js +0 -6
- package/dist/solutions-components/p-fac36b42.entry.js +0 -6
- package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
- package/dist/solutions-components/p-fc79eaaf.js +0 -6
- package/dist/solutions-components/p-fcb11407.entry.js +0 -11
- package/dist/solutions-components/p-fd28754c.entry.js +0 -6
- package/dist/solutions-components/p-fd6f2ba3.js +0 -6
- package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
- /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
- /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
- /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
- /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -0,0 +1,1864 @@
|
|
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-ff18be0d.js');
|
9
|
+
const form = require('./form-71a108a7.js');
|
10
|
+
const guid = require('./guid-a7528dfa.js');
|
11
|
+
const interactive = require('./interactive-7e5c7df4.js');
|
12
|
+
const key = require('./key-7ed07912.js');
|
13
|
+
const label = require('./label-85cf6821.js');
|
14
|
+
const loadable = require('./loadable-5d538ba2.js');
|
15
|
+
const locale$1 = require('./locale-d2a1066a.js');
|
16
|
+
const focusTrapComponent = require('./focusTrapComponent-0c672330.js');
|
17
|
+
const time = require('./time-089ab043.js');
|
18
|
+
const t9n = require('./t9n-ef615628.js');
|
19
|
+
const openCloseComponent = require('./openCloseComponent-e752f2a5.js');
|
20
|
+
const math = require('./math-11993213.js');
|
21
|
+
const component = require('./component-d48747c9.js');
|
22
|
+
const Validation = require('./Validation-425b2de4.js');
|
23
|
+
|
24
|
+
var SECONDS_A_MINUTE = 60;
|
25
|
+
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
26
|
+
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
27
|
+
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
28
|
+
var MILLISECONDS_A_SECOND = 1e3;
|
29
|
+
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
30
|
+
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
31
|
+
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
32
|
+
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
33
|
+
|
34
|
+
var MS = 'millisecond';
|
35
|
+
var S = 'second';
|
36
|
+
var MIN = 'minute';
|
37
|
+
var H = 'hour';
|
38
|
+
var D = 'day';
|
39
|
+
var W = 'week';
|
40
|
+
var M = 'month';
|
41
|
+
var Q = 'quarter';
|
42
|
+
var Y = 'year';
|
43
|
+
var DATE = 'date';
|
44
|
+
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
45
|
+
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
46
|
+
|
47
|
+
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
48
|
+
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;
|
49
|
+
|
50
|
+
// English [en]
|
51
|
+
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
52
|
+
const en = {
|
53
|
+
name: 'en',
|
54
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
55
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
56
|
+
ordinal: function ordinal(n) {
|
57
|
+
var s = ['th', 'st', 'nd', 'rd'];
|
58
|
+
var v = n % 100;
|
59
|
+
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
60
|
+
}
|
61
|
+
};
|
62
|
+
|
63
|
+
const en$1 = /*#__PURE__*/Object.freeze({
|
64
|
+
__proto__: null,
|
65
|
+
'default': en
|
66
|
+
});
|
67
|
+
|
68
|
+
var padStart = function padStart(string, length, pad) {
|
69
|
+
var s = String(string);
|
70
|
+
if (!s || s.length >= length) return string;
|
71
|
+
return "" + Array(length + 1 - s.length).join(pad) + string;
|
72
|
+
};
|
73
|
+
|
74
|
+
var padZoneStr = function padZoneStr(instance) {
|
75
|
+
var negMinutes = -instance.utcOffset();
|
76
|
+
var minutes = Math.abs(negMinutes);
|
77
|
+
var hourOffset = Math.floor(minutes / 60);
|
78
|
+
var minuteOffset = minutes % 60;
|
79
|
+
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
80
|
+
};
|
81
|
+
|
82
|
+
var monthDiff = function monthDiff(a, b) {
|
83
|
+
// function from moment.js in order to keep the same result
|
84
|
+
if (a.date() < b.date()) return -monthDiff(b, a);
|
85
|
+
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
86
|
+
var anchor = a.clone().add(wholeMonthDiff, M);
|
87
|
+
var c = b - anchor < 0;
|
88
|
+
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
89
|
+
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
90
|
+
};
|
91
|
+
|
92
|
+
var absFloor = function absFloor(n) {
|
93
|
+
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
94
|
+
};
|
95
|
+
|
96
|
+
var prettyUnit = function prettyUnit(u) {
|
97
|
+
var special = {
|
98
|
+
M: M,
|
99
|
+
y: Y,
|
100
|
+
w: W,
|
101
|
+
d: D,
|
102
|
+
D: DATE,
|
103
|
+
h: H,
|
104
|
+
m: MIN,
|
105
|
+
s: S,
|
106
|
+
ms: MS,
|
107
|
+
Q: Q
|
108
|
+
};
|
109
|
+
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
110
|
+
};
|
111
|
+
|
112
|
+
var isUndefined = function isUndefined(s) {
|
113
|
+
return s === undefined;
|
114
|
+
};
|
115
|
+
|
116
|
+
const U = {
|
117
|
+
s: padStart,
|
118
|
+
z: padZoneStr,
|
119
|
+
m: monthDiff,
|
120
|
+
a: absFloor,
|
121
|
+
p: prettyUnit,
|
122
|
+
u: isUndefined
|
123
|
+
};
|
124
|
+
|
125
|
+
var L = 'en'; // global locale
|
126
|
+
|
127
|
+
var Ls = {}; // global loaded locale
|
128
|
+
|
129
|
+
Ls[L] = en;
|
130
|
+
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
131
|
+
|
132
|
+
var isDayjs = function isDayjs(d) {
|
133
|
+
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
134
|
+
};
|
135
|
+
|
136
|
+
var parseLocale = function parseLocale(preset, object, isLocal) {
|
137
|
+
var l;
|
138
|
+
if (!preset) return L;
|
139
|
+
|
140
|
+
if (typeof preset === 'string') {
|
141
|
+
var presetLower = preset.toLowerCase();
|
142
|
+
|
143
|
+
if (Ls[presetLower]) {
|
144
|
+
l = presetLower;
|
145
|
+
}
|
146
|
+
|
147
|
+
if (object) {
|
148
|
+
Ls[presetLower] = object;
|
149
|
+
l = presetLower;
|
150
|
+
}
|
151
|
+
|
152
|
+
var presetSplit = preset.split('-');
|
153
|
+
|
154
|
+
if (!l && presetSplit.length > 1) {
|
155
|
+
return parseLocale(presetSplit[0]);
|
156
|
+
}
|
157
|
+
} else {
|
158
|
+
var name = preset.name;
|
159
|
+
Ls[name] = preset;
|
160
|
+
l = name;
|
161
|
+
}
|
162
|
+
|
163
|
+
if (!isLocal && l) L = l;
|
164
|
+
return l || !isLocal && L;
|
165
|
+
};
|
166
|
+
|
167
|
+
var dayjs = function dayjs(date, c) {
|
168
|
+
if (isDayjs(date)) {
|
169
|
+
return date.clone();
|
170
|
+
} // eslint-disable-next-line no-nested-ternary
|
171
|
+
|
172
|
+
|
173
|
+
var cfg = typeof c === 'object' ? c : {};
|
174
|
+
cfg.date = date;
|
175
|
+
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
176
|
+
|
177
|
+
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
178
|
+
};
|
179
|
+
|
180
|
+
var wrapper = function wrapper(date, instance) {
|
181
|
+
return dayjs(date, {
|
182
|
+
locale: instance.$L,
|
183
|
+
utc: instance.$u,
|
184
|
+
x: instance.$x,
|
185
|
+
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
186
|
+
|
187
|
+
});
|
188
|
+
};
|
189
|
+
|
190
|
+
var Utils = U; // for plugin use
|
191
|
+
|
192
|
+
Utils.l = parseLocale;
|
193
|
+
Utils.i = isDayjs;
|
194
|
+
Utils.w = wrapper;
|
195
|
+
|
196
|
+
var parseDate = function parseDate(cfg) {
|
197
|
+
var date = cfg.date,
|
198
|
+
utc = cfg.utc;
|
199
|
+
if (date === null) return new Date(NaN); // null is invalid
|
200
|
+
|
201
|
+
if (Utils.u(date)) return new Date(); // today
|
202
|
+
|
203
|
+
if (date instanceof Date) return new Date(date);
|
204
|
+
|
205
|
+
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
206
|
+
var d = date.match(REGEX_PARSE);
|
207
|
+
|
208
|
+
if (d) {
|
209
|
+
var m = d[2] - 1 || 0;
|
210
|
+
var ms = (d[7] || '0').substring(0, 3);
|
211
|
+
|
212
|
+
if (utc) {
|
213
|
+
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
214
|
+
}
|
215
|
+
|
216
|
+
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
return new Date(date); // everything else
|
221
|
+
};
|
222
|
+
|
223
|
+
var Dayjs = /*#__PURE__*/function () {
|
224
|
+
function Dayjs(cfg) {
|
225
|
+
this.$L = parseLocale(cfg.locale, null, true);
|
226
|
+
this.parse(cfg); // for plugin
|
227
|
+
|
228
|
+
this.$x = this.$x || cfg.x || {};
|
229
|
+
this[IS_DAYJS] = true;
|
230
|
+
}
|
231
|
+
|
232
|
+
var _proto = Dayjs.prototype;
|
233
|
+
|
234
|
+
_proto.parse = function parse(cfg) {
|
235
|
+
this.$d = parseDate(cfg);
|
236
|
+
this.init();
|
237
|
+
};
|
238
|
+
|
239
|
+
_proto.init = function init() {
|
240
|
+
var $d = this.$d;
|
241
|
+
this.$y = $d.getFullYear();
|
242
|
+
this.$M = $d.getMonth();
|
243
|
+
this.$D = $d.getDate();
|
244
|
+
this.$W = $d.getDay();
|
245
|
+
this.$H = $d.getHours();
|
246
|
+
this.$m = $d.getMinutes();
|
247
|
+
this.$s = $d.getSeconds();
|
248
|
+
this.$ms = $d.getMilliseconds();
|
249
|
+
} // eslint-disable-next-line class-methods-use-this
|
250
|
+
;
|
251
|
+
|
252
|
+
_proto.$utils = function $utils() {
|
253
|
+
return Utils;
|
254
|
+
};
|
255
|
+
|
256
|
+
_proto.isValid = function isValid() {
|
257
|
+
return !(this.$d.toString() === INVALID_DATE_STRING);
|
258
|
+
};
|
259
|
+
|
260
|
+
_proto.isSame = function isSame(that, units) {
|
261
|
+
var other = dayjs(that);
|
262
|
+
return this.startOf(units) <= other && other <= this.endOf(units);
|
263
|
+
};
|
264
|
+
|
265
|
+
_proto.isAfter = function isAfter(that, units) {
|
266
|
+
return dayjs(that) < this.startOf(units);
|
267
|
+
};
|
268
|
+
|
269
|
+
_proto.isBefore = function isBefore(that, units) {
|
270
|
+
return this.endOf(units) < dayjs(that);
|
271
|
+
};
|
272
|
+
|
273
|
+
_proto.$g = function $g(input, get, set) {
|
274
|
+
if (Utils.u(input)) return this[get];
|
275
|
+
return this.set(set, input);
|
276
|
+
};
|
277
|
+
|
278
|
+
_proto.unix = function unix() {
|
279
|
+
return Math.floor(this.valueOf() / 1000);
|
280
|
+
};
|
281
|
+
|
282
|
+
_proto.valueOf = function valueOf() {
|
283
|
+
// timezone(hour) * 60 * 60 * 1000 => ms
|
284
|
+
return this.$d.getTime();
|
285
|
+
};
|
286
|
+
|
287
|
+
_proto.startOf = function startOf(units, _startOf) {
|
288
|
+
var _this = this;
|
289
|
+
|
290
|
+
// startOf -> endOf
|
291
|
+
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
292
|
+
var unit = Utils.p(units);
|
293
|
+
|
294
|
+
var instanceFactory = function instanceFactory(d, m) {
|
295
|
+
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
296
|
+
return isStartOf ? ins : ins.endOf(D);
|
297
|
+
};
|
298
|
+
|
299
|
+
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
300
|
+
var argumentStart = [0, 0, 0, 0];
|
301
|
+
var argumentEnd = [23, 59, 59, 999];
|
302
|
+
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
303
|
+
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
304
|
+
};
|
305
|
+
|
306
|
+
var $W = this.$W,
|
307
|
+
$M = this.$M,
|
308
|
+
$D = this.$D;
|
309
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
310
|
+
|
311
|
+
switch (unit) {
|
312
|
+
case Y:
|
313
|
+
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
314
|
+
|
315
|
+
case M:
|
316
|
+
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
317
|
+
|
318
|
+
case W:
|
319
|
+
{
|
320
|
+
var weekStart = this.$locale().weekStart || 0;
|
321
|
+
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
322
|
+
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
323
|
+
}
|
324
|
+
|
325
|
+
case D:
|
326
|
+
case DATE:
|
327
|
+
return instanceFactorySet(utcPad + "Hours", 0);
|
328
|
+
|
329
|
+
case H:
|
330
|
+
return instanceFactorySet(utcPad + "Minutes", 1);
|
331
|
+
|
332
|
+
case MIN:
|
333
|
+
return instanceFactorySet(utcPad + "Seconds", 2);
|
334
|
+
|
335
|
+
case S:
|
336
|
+
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
337
|
+
|
338
|
+
default:
|
339
|
+
return this.clone();
|
340
|
+
}
|
341
|
+
};
|
342
|
+
|
343
|
+
_proto.endOf = function endOf(arg) {
|
344
|
+
return this.startOf(arg, false);
|
345
|
+
};
|
346
|
+
|
347
|
+
_proto.$set = function $set(units, _int) {
|
348
|
+
var _C$D$C$DATE$C$M$C$Y$C;
|
349
|
+
|
350
|
+
// private set
|
351
|
+
var unit = Utils.p(units);
|
352
|
+
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
353
|
+
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];
|
354
|
+
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
355
|
+
|
356
|
+
if (unit === M || unit === Y) {
|
357
|
+
// clone is for badMutable plugin
|
358
|
+
var date = this.clone().set(DATE, 1);
|
359
|
+
date.$d[name](arg);
|
360
|
+
date.init();
|
361
|
+
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
362
|
+
} else if (name) this.$d[name](arg);
|
363
|
+
|
364
|
+
this.init();
|
365
|
+
return this;
|
366
|
+
};
|
367
|
+
|
368
|
+
_proto.set = function set(string, _int2) {
|
369
|
+
return this.clone().$set(string, _int2);
|
370
|
+
};
|
371
|
+
|
372
|
+
_proto.get = function get(unit) {
|
373
|
+
return this[Utils.p(unit)]();
|
374
|
+
};
|
375
|
+
|
376
|
+
_proto.add = function add(number, units) {
|
377
|
+
var _this2 = this,
|
378
|
+
_C$MIN$C$H$C$S$unit;
|
379
|
+
|
380
|
+
number = Number(number); // eslint-disable-line no-param-reassign
|
381
|
+
|
382
|
+
var unit = Utils.p(units);
|
383
|
+
|
384
|
+
var instanceFactorySet = function instanceFactorySet(n) {
|
385
|
+
var d = dayjs(_this2);
|
386
|
+
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
387
|
+
};
|
388
|
+
|
389
|
+
if (unit === M) {
|
390
|
+
return this.set(M, this.$M + number);
|
391
|
+
}
|
392
|
+
|
393
|
+
if (unit === Y) {
|
394
|
+
return this.set(Y, this.$y + number);
|
395
|
+
}
|
396
|
+
|
397
|
+
if (unit === D) {
|
398
|
+
return instanceFactorySet(1);
|
399
|
+
}
|
400
|
+
|
401
|
+
if (unit === W) {
|
402
|
+
return instanceFactorySet(7);
|
403
|
+
}
|
404
|
+
|
405
|
+
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
|
406
|
+
|
407
|
+
var nextTimeStamp = this.$d.getTime() + number * step;
|
408
|
+
return Utils.w(nextTimeStamp, this);
|
409
|
+
};
|
410
|
+
|
411
|
+
_proto.subtract = function subtract(number, string) {
|
412
|
+
return this.add(number * -1, string);
|
413
|
+
};
|
414
|
+
|
415
|
+
_proto.format = function format(formatStr) {
|
416
|
+
var _this3 = this;
|
417
|
+
|
418
|
+
var locale = this.$locale();
|
419
|
+
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
420
|
+
var str = formatStr || FORMAT_DEFAULT;
|
421
|
+
var zoneStr = Utils.z(this);
|
422
|
+
var $H = this.$H,
|
423
|
+
$m = this.$m,
|
424
|
+
$M = this.$M;
|
425
|
+
var weekdays = locale.weekdays,
|
426
|
+
months = locale.months,
|
427
|
+
meridiem = locale.meridiem;
|
428
|
+
|
429
|
+
var getShort = function getShort(arr, index, full, length) {
|
430
|
+
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
431
|
+
};
|
432
|
+
|
433
|
+
var get$H = function get$H(num) {
|
434
|
+
return Utils.s($H % 12 || 12, num, '0');
|
435
|
+
};
|
436
|
+
|
437
|
+
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
438
|
+
var m = hour < 12 ? 'AM' : 'PM';
|
439
|
+
return isLowercase ? m.toLowerCase() : m;
|
440
|
+
};
|
441
|
+
|
442
|
+
var matches = function matches(match) {
|
443
|
+
switch (match) {
|
444
|
+
case 'YY':
|
445
|
+
return String(_this3.$y).slice(-2);
|
446
|
+
|
447
|
+
case 'YYYY':
|
448
|
+
return Utils.s(_this3.$y, 4, '0');
|
449
|
+
|
450
|
+
case 'M':
|
451
|
+
return $M + 1;
|
452
|
+
|
453
|
+
case 'MM':
|
454
|
+
return Utils.s($M + 1, 2, '0');
|
455
|
+
|
456
|
+
case 'MMM':
|
457
|
+
return getShort(locale.monthsShort, $M, months, 3);
|
458
|
+
|
459
|
+
case 'MMMM':
|
460
|
+
return getShort(months, $M);
|
461
|
+
|
462
|
+
case 'D':
|
463
|
+
return _this3.$D;
|
464
|
+
|
465
|
+
case 'DD':
|
466
|
+
return Utils.s(_this3.$D, 2, '0');
|
467
|
+
|
468
|
+
case 'd':
|
469
|
+
return String(_this3.$W);
|
470
|
+
|
471
|
+
case 'dd':
|
472
|
+
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
473
|
+
|
474
|
+
case 'ddd':
|
475
|
+
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
476
|
+
|
477
|
+
case 'dddd':
|
478
|
+
return weekdays[_this3.$W];
|
479
|
+
|
480
|
+
case 'H':
|
481
|
+
return String($H);
|
482
|
+
|
483
|
+
case 'HH':
|
484
|
+
return Utils.s($H, 2, '0');
|
485
|
+
|
486
|
+
case 'h':
|
487
|
+
return get$H(1);
|
488
|
+
|
489
|
+
case 'hh':
|
490
|
+
return get$H(2);
|
491
|
+
|
492
|
+
case 'a':
|
493
|
+
return meridiemFunc($H, $m, true);
|
494
|
+
|
495
|
+
case 'A':
|
496
|
+
return meridiemFunc($H, $m, false);
|
497
|
+
|
498
|
+
case 'm':
|
499
|
+
return String($m);
|
500
|
+
|
501
|
+
case 'mm':
|
502
|
+
return Utils.s($m, 2, '0');
|
503
|
+
|
504
|
+
case 's':
|
505
|
+
return String(_this3.$s);
|
506
|
+
|
507
|
+
case 'ss':
|
508
|
+
return Utils.s(_this3.$s, 2, '0');
|
509
|
+
|
510
|
+
case 'SSS':
|
511
|
+
return Utils.s(_this3.$ms, 3, '0');
|
512
|
+
|
513
|
+
case 'Z':
|
514
|
+
return zoneStr;
|
515
|
+
}
|
516
|
+
|
517
|
+
return null;
|
518
|
+
};
|
519
|
+
|
520
|
+
return str.replace(REGEX_FORMAT, function (match, $1) {
|
521
|
+
return $1 || matches(match) || zoneStr.replace(':', '');
|
522
|
+
}); // 'ZZ'
|
523
|
+
};
|
524
|
+
|
525
|
+
_proto.utcOffset = function utcOffset() {
|
526
|
+
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
527
|
+
// https://github.com/moment/moment/pull/1871
|
528
|
+
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
529
|
+
};
|
530
|
+
|
531
|
+
_proto.diff = function diff(input, units, _float) {
|
532
|
+
var _this4 = this;
|
533
|
+
|
534
|
+
var unit = Utils.p(units);
|
535
|
+
var that = dayjs(input);
|
536
|
+
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
537
|
+
var diff = this - that;
|
538
|
+
|
539
|
+
var getMonth = function getMonth() {
|
540
|
+
return Utils.m(_this4, that);
|
541
|
+
};
|
542
|
+
|
543
|
+
var result;
|
544
|
+
|
545
|
+
switch (unit) {
|
546
|
+
case Y:
|
547
|
+
result = getMonth() / 12;
|
548
|
+
break;
|
549
|
+
|
550
|
+
case M:
|
551
|
+
result = getMonth();
|
552
|
+
break;
|
553
|
+
|
554
|
+
case Q:
|
555
|
+
result = getMonth() / 3;
|
556
|
+
break;
|
557
|
+
|
558
|
+
case W:
|
559
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
560
|
+
break;
|
561
|
+
|
562
|
+
case D:
|
563
|
+
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
564
|
+
break;
|
565
|
+
|
566
|
+
case H:
|
567
|
+
result = diff / MILLISECONDS_A_HOUR;
|
568
|
+
break;
|
569
|
+
|
570
|
+
case MIN:
|
571
|
+
result = diff / MILLISECONDS_A_MINUTE;
|
572
|
+
break;
|
573
|
+
|
574
|
+
case S:
|
575
|
+
result = diff / MILLISECONDS_A_SECOND;
|
576
|
+
break;
|
577
|
+
|
578
|
+
default:
|
579
|
+
result = diff; // milliseconds
|
580
|
+
|
581
|
+
break;
|
582
|
+
}
|
583
|
+
|
584
|
+
return _float ? result : Utils.a(result);
|
585
|
+
};
|
586
|
+
|
587
|
+
_proto.daysInMonth = function daysInMonth() {
|
588
|
+
return this.endOf(M).$D;
|
589
|
+
};
|
590
|
+
|
591
|
+
_proto.$locale = function $locale() {
|
592
|
+
// get locale object
|
593
|
+
return Ls[this.$L];
|
594
|
+
};
|
595
|
+
|
596
|
+
_proto.locale = function locale(preset, object) {
|
597
|
+
if (!preset) return this.$L;
|
598
|
+
var that = this.clone();
|
599
|
+
var nextLocaleName = parseLocale(preset, object, true);
|
600
|
+
if (nextLocaleName) that.$L = nextLocaleName;
|
601
|
+
return that;
|
602
|
+
};
|
603
|
+
|
604
|
+
_proto.clone = function clone() {
|
605
|
+
return Utils.w(this.$d, this);
|
606
|
+
};
|
607
|
+
|
608
|
+
_proto.toDate = function toDate() {
|
609
|
+
return new Date(this.valueOf());
|
610
|
+
};
|
611
|
+
|
612
|
+
_proto.toJSON = function toJSON() {
|
613
|
+
return this.isValid() ? this.toISOString() : null;
|
614
|
+
};
|
615
|
+
|
616
|
+
_proto.toISOString = function toISOString() {
|
617
|
+
// ie 8 return
|
618
|
+
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
619
|
+
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
620
|
+
return this.$d.toISOString();
|
621
|
+
};
|
622
|
+
|
623
|
+
_proto.toString = function toString() {
|
624
|
+
return this.$d.toUTCString();
|
625
|
+
};
|
626
|
+
|
627
|
+
return Dayjs;
|
628
|
+
}();
|
629
|
+
|
630
|
+
var proto = Dayjs.prototype;
|
631
|
+
dayjs.prototype = proto;
|
632
|
+
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
633
|
+
proto[g[1]] = function (input) {
|
634
|
+
return this.$g(input, g[0], g[1]);
|
635
|
+
};
|
636
|
+
});
|
637
|
+
|
638
|
+
dayjs.extend = function (plugin, option) {
|
639
|
+
if (!plugin.$i) {
|
640
|
+
// install plugin only once
|
641
|
+
plugin(option, Dayjs, dayjs);
|
642
|
+
plugin.$i = true;
|
643
|
+
}
|
644
|
+
|
645
|
+
return dayjs;
|
646
|
+
};
|
647
|
+
|
648
|
+
dayjs.locale = parseLocale;
|
649
|
+
dayjs.isDayjs = isDayjs;
|
650
|
+
|
651
|
+
dayjs.unix = function (timestamp) {
|
652
|
+
return dayjs(timestamp * 1e3);
|
653
|
+
};
|
654
|
+
|
655
|
+
dayjs.en = Ls[L];
|
656
|
+
dayjs.Ls = Ls;
|
657
|
+
dayjs.p = {};
|
658
|
+
|
659
|
+
// eslint-disable-next-line import/prefer-default-export
|
660
|
+
var t = function t(format) {
|
661
|
+
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
662
|
+
return a || b.slice(1);
|
663
|
+
});
|
664
|
+
};
|
665
|
+
var englishFormats = {
|
666
|
+
LTS: 'h:mm:ss A',
|
667
|
+
LT: 'h:mm A',
|
668
|
+
L: 'MM/DD/YYYY',
|
669
|
+
LL: 'MMMM D, YYYY',
|
670
|
+
LLL: 'MMMM D, YYYY h:mm A',
|
671
|
+
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
672
|
+
};
|
673
|
+
var u = function u(formatStr, formats) {
|
674
|
+
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
675
|
+
var B = b && b.toUpperCase();
|
676
|
+
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
677
|
+
});
|
678
|
+
};
|
679
|
+
|
680
|
+
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
681
|
+
var match1 = /\d/; // 0 - 9
|
682
|
+
|
683
|
+
var match2 = /\d\d/; // 00 - 99
|
684
|
+
|
685
|
+
var match3 = /\d{3}/; // 000 - 999
|
686
|
+
|
687
|
+
var match4 = /\d{4}/; // 0000 - 9999
|
688
|
+
|
689
|
+
var match1to2 = /\d\d?/; // 0 - 99
|
690
|
+
|
691
|
+
var matchSigned = /[+-]?\d+/; // -inf - inf
|
692
|
+
|
693
|
+
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
694
|
+
|
695
|
+
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
696
|
+
|
697
|
+
var locale = {};
|
698
|
+
|
699
|
+
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
700
|
+
input = +input;
|
701
|
+
return input + (input > 68 ? 1900 : 2000);
|
702
|
+
};
|
703
|
+
|
704
|
+
function offsetFromString(string) {
|
705
|
+
if (!string) return 0;
|
706
|
+
if (string === 'Z') return 0;
|
707
|
+
var parts = string.match(/([+-]|\d\d)/g);
|
708
|
+
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
709
|
+
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
710
|
+
}
|
711
|
+
|
712
|
+
var addInput = function addInput(property) {
|
713
|
+
return function (input) {
|
714
|
+
this[property] = +input;
|
715
|
+
};
|
716
|
+
};
|
717
|
+
|
718
|
+
var zoneExpressions = [matchOffset, function (input) {
|
719
|
+
var zone = this.zone || (this.zone = {});
|
720
|
+
zone.offset = offsetFromString(input);
|
721
|
+
}];
|
722
|
+
|
723
|
+
var getLocalePart = function getLocalePart(name) {
|
724
|
+
var part = locale[name];
|
725
|
+
return part && (part.indexOf ? part : part.s.concat(part.f));
|
726
|
+
};
|
727
|
+
|
728
|
+
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
729
|
+
var isAfternoon;
|
730
|
+
var _locale = locale,
|
731
|
+
meridiem = _locale.meridiem;
|
732
|
+
|
733
|
+
if (!meridiem) {
|
734
|
+
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
735
|
+
} else {
|
736
|
+
for (var i = 1; i <= 24; i += 1) {
|
737
|
+
// todo: fix input === meridiem(i, 0, isLowerCase)
|
738
|
+
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
739
|
+
isAfternoon = i > 12;
|
740
|
+
break;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
}
|
744
|
+
|
745
|
+
return isAfternoon;
|
746
|
+
};
|
747
|
+
|
748
|
+
var expressions = {
|
749
|
+
A: [matchWord, function (input) {
|
750
|
+
this.afternoon = meridiemMatch(input, false);
|
751
|
+
}],
|
752
|
+
a: [matchWord, function (input) {
|
753
|
+
this.afternoon = meridiemMatch(input, true);
|
754
|
+
}],
|
755
|
+
S: [match1, function (input) {
|
756
|
+
this.milliseconds = +input * 100;
|
757
|
+
}],
|
758
|
+
SS: [match2, function (input) {
|
759
|
+
this.milliseconds = +input * 10;
|
760
|
+
}],
|
761
|
+
SSS: [match3, function (input) {
|
762
|
+
this.milliseconds = +input;
|
763
|
+
}],
|
764
|
+
s: [match1to2, addInput('seconds')],
|
765
|
+
ss: [match1to2, addInput('seconds')],
|
766
|
+
m: [match1to2, addInput('minutes')],
|
767
|
+
mm: [match1to2, addInput('minutes')],
|
768
|
+
H: [match1to2, addInput('hours')],
|
769
|
+
h: [match1to2, addInput('hours')],
|
770
|
+
HH: [match1to2, addInput('hours')],
|
771
|
+
hh: [match1to2, addInput('hours')],
|
772
|
+
D: [match1to2, addInput('day')],
|
773
|
+
DD: [match2, addInput('day')],
|
774
|
+
Do: [matchWord, function (input) {
|
775
|
+
var _locale2 = locale,
|
776
|
+
ordinal = _locale2.ordinal;
|
777
|
+
|
778
|
+
var _input$match = input.match(/\d+/);
|
779
|
+
|
780
|
+
this.day = _input$match[0];
|
781
|
+
if (!ordinal) return;
|
782
|
+
|
783
|
+
for (var i = 1; i <= 31; i += 1) {
|
784
|
+
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
785
|
+
this.day = i;
|
786
|
+
}
|
787
|
+
}
|
788
|
+
}],
|
789
|
+
M: [match1to2, addInput('month')],
|
790
|
+
MM: [match2, addInput('month')],
|
791
|
+
MMM: [matchWord, function (input) {
|
792
|
+
var months = getLocalePart('months');
|
793
|
+
var monthsShort = getLocalePart('monthsShort');
|
794
|
+
var matchIndex = (monthsShort || months.map(function (_) {
|
795
|
+
return _.slice(0, 3);
|
796
|
+
})).indexOf(input) + 1;
|
797
|
+
|
798
|
+
if (matchIndex < 1) {
|
799
|
+
throw new Error();
|
800
|
+
}
|
801
|
+
|
802
|
+
this.month = matchIndex % 12 || matchIndex;
|
803
|
+
}],
|
804
|
+
MMMM: [matchWord, function (input) {
|
805
|
+
var months = getLocalePart('months');
|
806
|
+
var matchIndex = months.indexOf(input) + 1;
|
807
|
+
|
808
|
+
if (matchIndex < 1) {
|
809
|
+
throw new Error();
|
810
|
+
}
|
811
|
+
|
812
|
+
this.month = matchIndex % 12 || matchIndex;
|
813
|
+
}],
|
814
|
+
Y: [matchSigned, addInput('year')],
|
815
|
+
YY: [match2, function (input) {
|
816
|
+
this.year = parseTwoDigitYear(input);
|
817
|
+
}],
|
818
|
+
YYYY: [match4, addInput('year')],
|
819
|
+
Z: zoneExpressions,
|
820
|
+
ZZ: zoneExpressions
|
821
|
+
};
|
822
|
+
|
823
|
+
function correctHours(time) {
|
824
|
+
var afternoon = time.afternoon;
|
825
|
+
|
826
|
+
if (afternoon !== undefined) {
|
827
|
+
var hours = time.hours;
|
828
|
+
|
829
|
+
if (afternoon) {
|
830
|
+
if (hours < 12) {
|
831
|
+
time.hours += 12;
|
832
|
+
}
|
833
|
+
} else if (hours === 12) {
|
834
|
+
time.hours = 0;
|
835
|
+
}
|
836
|
+
|
837
|
+
delete time.afternoon;
|
838
|
+
}
|
839
|
+
}
|
840
|
+
|
841
|
+
function makeParser(format) {
|
842
|
+
format = u(format, locale && locale.formats);
|
843
|
+
var array = format.match(formattingTokens);
|
844
|
+
var length = array.length;
|
845
|
+
|
846
|
+
for (var i = 0; i < length; i += 1) {
|
847
|
+
var token = array[i];
|
848
|
+
var parseTo = expressions[token];
|
849
|
+
var regex = parseTo && parseTo[0];
|
850
|
+
var parser = parseTo && parseTo[1];
|
851
|
+
|
852
|
+
if (parser) {
|
853
|
+
array[i] = {
|
854
|
+
regex: regex,
|
855
|
+
parser: parser
|
856
|
+
};
|
857
|
+
} else {
|
858
|
+
array[i] = token.replace(/^\[|\]$/g, '');
|
859
|
+
}
|
860
|
+
}
|
861
|
+
|
862
|
+
return function (input) {
|
863
|
+
var time = {};
|
864
|
+
|
865
|
+
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
866
|
+
var _token = array[_i];
|
867
|
+
|
868
|
+
if (typeof _token === 'string') {
|
869
|
+
start += _token.length;
|
870
|
+
} else {
|
871
|
+
var _regex = _token.regex,
|
872
|
+
_parser = _token.parser;
|
873
|
+
var part = input.slice(start);
|
874
|
+
|
875
|
+
var match = _regex.exec(part);
|
876
|
+
|
877
|
+
var value = match[0];
|
878
|
+
|
879
|
+
_parser.call(time, value);
|
880
|
+
|
881
|
+
input = input.replace(value, '');
|
882
|
+
}
|
883
|
+
}
|
884
|
+
|
885
|
+
correctHours(time);
|
886
|
+
return time;
|
887
|
+
};
|
888
|
+
}
|
889
|
+
|
890
|
+
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
891
|
+
try {
|
892
|
+
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
893
|
+
var parser = makeParser(format);
|
894
|
+
|
895
|
+
var _parser2 = parser(input),
|
896
|
+
year = _parser2.year,
|
897
|
+
month = _parser2.month,
|
898
|
+
day = _parser2.day,
|
899
|
+
hours = _parser2.hours,
|
900
|
+
minutes = _parser2.minutes,
|
901
|
+
seconds = _parser2.seconds,
|
902
|
+
milliseconds = _parser2.milliseconds,
|
903
|
+
zone = _parser2.zone;
|
904
|
+
|
905
|
+
var now = new Date();
|
906
|
+
var d = day || (!year && !month ? now.getDate() : 1);
|
907
|
+
var y = year || now.getFullYear();
|
908
|
+
var M = 0;
|
909
|
+
|
910
|
+
if (!(year && !month)) {
|
911
|
+
M = month > 0 ? month - 1 : now.getMonth();
|
912
|
+
}
|
913
|
+
|
914
|
+
var h = hours || 0;
|
915
|
+
var m = minutes || 0;
|
916
|
+
var s = seconds || 0;
|
917
|
+
var ms = milliseconds || 0;
|
918
|
+
|
919
|
+
if (zone) {
|
920
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
921
|
+
}
|
922
|
+
|
923
|
+
if (utc) {
|
924
|
+
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
925
|
+
}
|
926
|
+
|
927
|
+
return new Date(y, M, d, h, m, s, ms);
|
928
|
+
} catch (e) {
|
929
|
+
return new Date(''); // Invalid Date
|
930
|
+
}
|
931
|
+
};
|
932
|
+
|
933
|
+
const customParseFormat = (function (o, C, d) {
|
934
|
+
d.p.customParseFormat = true;
|
935
|
+
|
936
|
+
if (o && o.parseTwoDigitYear) {
|
937
|
+
parseTwoDigitYear = o.parseTwoDigitYear;
|
938
|
+
}
|
939
|
+
|
940
|
+
var proto = C.prototype;
|
941
|
+
var oldParse = proto.parse;
|
942
|
+
|
943
|
+
proto.parse = function (cfg) {
|
944
|
+
var date = cfg.date,
|
945
|
+
utc = cfg.utc,
|
946
|
+
args = cfg.args;
|
947
|
+
this.$u = utc;
|
948
|
+
var format = args[1];
|
949
|
+
|
950
|
+
if (typeof format === 'string') {
|
951
|
+
var isStrictWithoutLocale = args[2] === true;
|
952
|
+
var isStrictWithLocale = args[3] === true;
|
953
|
+
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
954
|
+
var pl = args[2];
|
955
|
+
|
956
|
+
if (isStrictWithLocale) {
|
957
|
+
pl = args[2];
|
958
|
+
}
|
959
|
+
|
960
|
+
locale = this.$locale();
|
961
|
+
|
962
|
+
if (!isStrictWithoutLocale && pl) {
|
963
|
+
locale = d.Ls[pl];
|
964
|
+
}
|
965
|
+
|
966
|
+
this.$d = parseFormattedInput(date, format, utc);
|
967
|
+
this.init();
|
968
|
+
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
969
|
+
// input number 1410715640579 and format string '1410715640579' equal
|
970
|
+
// eslint-disable-next-line eqeqeq
|
971
|
+
|
972
|
+
if (isStrict && date != this.format(format)) {
|
973
|
+
this.$d = new Date('');
|
974
|
+
} // reset global locale to make parallel unit test
|
975
|
+
|
976
|
+
|
977
|
+
locale = {};
|
978
|
+
} else if (format instanceof Array) {
|
979
|
+
var len = format.length;
|
980
|
+
|
981
|
+
for (var i = 1; i <= len; i += 1) {
|
982
|
+
args[1] = format[i - 1];
|
983
|
+
var result = d.apply(this, args);
|
984
|
+
|
985
|
+
if (result.isValid()) {
|
986
|
+
this.$d = result.$d;
|
987
|
+
this.$L = result.$L;
|
988
|
+
this.init();
|
989
|
+
break;
|
990
|
+
}
|
991
|
+
|
992
|
+
if (i === len) this.$d = new Date('');
|
993
|
+
}
|
994
|
+
} else {
|
995
|
+
oldParse.call(this, cfg);
|
996
|
+
}
|
997
|
+
};
|
998
|
+
});
|
999
|
+
|
1000
|
+
const localeData = (function (o, c, dayjs) {
|
1001
|
+
// locale needed later
|
1002
|
+
var proto = c.prototype;
|
1003
|
+
|
1004
|
+
var getLocalePart = function getLocalePart(part) {
|
1005
|
+
return part && (part.indexOf ? part : part.s);
|
1006
|
+
};
|
1007
|
+
|
1008
|
+
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
1009
|
+
var locale = ins.name ? ins : ins.$locale();
|
1010
|
+
var targetLocale = getLocalePart(locale[target]);
|
1011
|
+
var fullLocale = getLocalePart(locale[full]);
|
1012
|
+
var result = targetLocale || fullLocale.map(function (f) {
|
1013
|
+
return f.slice(0, num);
|
1014
|
+
});
|
1015
|
+
if (!localeOrder) return result;
|
1016
|
+
var weekStart = locale.weekStart;
|
1017
|
+
return result.map(function (_, index) {
|
1018
|
+
return result[(index + (weekStart || 0)) % 7];
|
1019
|
+
});
|
1020
|
+
};
|
1021
|
+
|
1022
|
+
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
1023
|
+
return dayjs.Ls[dayjs.locale()];
|
1024
|
+
};
|
1025
|
+
|
1026
|
+
var getLongDateFormat = function getLongDateFormat(l, format) {
|
1027
|
+
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
1028
|
+
};
|
1029
|
+
|
1030
|
+
var localeData = function localeData() {
|
1031
|
+
var _this = this;
|
1032
|
+
|
1033
|
+
return {
|
1034
|
+
months: function months(instance) {
|
1035
|
+
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
1036
|
+
},
|
1037
|
+
monthsShort: function monthsShort(instance) {
|
1038
|
+
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
1039
|
+
},
|
1040
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1041
|
+
return _this.$locale().weekStart || 0;
|
1042
|
+
},
|
1043
|
+
weekdays: function weekdays(instance) {
|
1044
|
+
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
1045
|
+
},
|
1046
|
+
weekdaysMin: function weekdaysMin(instance) {
|
1047
|
+
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
1048
|
+
},
|
1049
|
+
weekdaysShort: function weekdaysShort(instance) {
|
1050
|
+
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
1051
|
+
},
|
1052
|
+
longDateFormat: function longDateFormat(format) {
|
1053
|
+
return getLongDateFormat(_this.$locale(), format);
|
1054
|
+
},
|
1055
|
+
meridiem: this.$locale().meridiem,
|
1056
|
+
ordinal: this.$locale().ordinal
|
1057
|
+
};
|
1058
|
+
};
|
1059
|
+
|
1060
|
+
proto.localeData = function () {
|
1061
|
+
return localeData.bind(this)();
|
1062
|
+
};
|
1063
|
+
|
1064
|
+
dayjs.localeData = function () {
|
1065
|
+
var localeObject = getDayjsLocaleObject();
|
1066
|
+
return {
|
1067
|
+
firstDayOfWeek: function firstDayOfWeek() {
|
1068
|
+
return localeObject.weekStart || 0;
|
1069
|
+
},
|
1070
|
+
weekdays: function weekdays() {
|
1071
|
+
return dayjs.weekdays();
|
1072
|
+
},
|
1073
|
+
weekdaysShort: function weekdaysShort() {
|
1074
|
+
return dayjs.weekdaysShort();
|
1075
|
+
},
|
1076
|
+
weekdaysMin: function weekdaysMin() {
|
1077
|
+
return dayjs.weekdaysMin();
|
1078
|
+
},
|
1079
|
+
months: function months() {
|
1080
|
+
return dayjs.months();
|
1081
|
+
},
|
1082
|
+
monthsShort: function monthsShort() {
|
1083
|
+
return dayjs.monthsShort();
|
1084
|
+
},
|
1085
|
+
longDateFormat: function longDateFormat(format) {
|
1086
|
+
return getLongDateFormat(localeObject, format);
|
1087
|
+
},
|
1088
|
+
meridiem: localeObject.meridiem,
|
1089
|
+
ordinal: localeObject.ordinal
|
1090
|
+
};
|
1091
|
+
};
|
1092
|
+
|
1093
|
+
dayjs.months = function () {
|
1094
|
+
return getShort(getDayjsLocaleObject(), 'months');
|
1095
|
+
};
|
1096
|
+
|
1097
|
+
dayjs.monthsShort = function () {
|
1098
|
+
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1099
|
+
};
|
1100
|
+
|
1101
|
+
dayjs.weekdays = function (localeOrder) {
|
1102
|
+
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1103
|
+
};
|
1104
|
+
|
1105
|
+
dayjs.weekdaysShort = function (localeOrder) {
|
1106
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1107
|
+
};
|
1108
|
+
|
1109
|
+
dayjs.weekdaysMin = function (localeOrder) {
|
1110
|
+
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1111
|
+
};
|
1112
|
+
});
|
1113
|
+
|
1114
|
+
const localizedFormat = (function (o, c, d) {
|
1115
|
+
var proto = c.prototype;
|
1116
|
+
var oldFormat = proto.format;
|
1117
|
+
d.en.formats = englishFormats;
|
1118
|
+
|
1119
|
+
proto.format = function (formatStr) {
|
1120
|
+
if (formatStr === void 0) {
|
1121
|
+
formatStr = FORMAT_DEFAULT;
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
var _this$$locale = this.$locale(),
|
1125
|
+
_this$$locale$formats = _this$$locale.formats,
|
1126
|
+
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1127
|
+
|
1128
|
+
var result = u(formatStr, formats);
|
1129
|
+
return oldFormat.call(this, result);
|
1130
|
+
};
|
1131
|
+
});
|
1132
|
+
|
1133
|
+
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1134
|
+
const preParsePostFormat = (function (option, dayjsClass) {
|
1135
|
+
var oldParse = dayjsClass.prototype.parse;
|
1136
|
+
|
1137
|
+
dayjsClass.prototype.parse = function (cfg) {
|
1138
|
+
if (typeof cfg.date === 'string') {
|
1139
|
+
var locale = this.$locale();
|
1140
|
+
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1141
|
+
} // original parse result
|
1142
|
+
|
1143
|
+
|
1144
|
+
return oldParse.bind(this)(cfg);
|
1145
|
+
}; // // overriding existing API
|
1146
|
+
// // e.g. extend dayjs().format()
|
1147
|
+
|
1148
|
+
|
1149
|
+
var oldFormat = dayjsClass.prototype.format;
|
1150
|
+
|
1151
|
+
dayjsClass.prototype.format = function () {
|
1152
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1153
|
+
args[_key] = arguments[_key];
|
1154
|
+
}
|
1155
|
+
|
1156
|
+
// original format result
|
1157
|
+
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1158
|
+
|
1159
|
+
var locale = this.$locale();
|
1160
|
+
return locale && locale.postformat ? locale.postformat(result) : result;
|
1161
|
+
};
|
1162
|
+
|
1163
|
+
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1164
|
+
|
1165
|
+
if (oldFromTo) {
|
1166
|
+
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1167
|
+
var locale = this.$locale() || instance.$locale(); // original format result
|
1168
|
+
|
1169
|
+
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1170
|
+
};
|
1171
|
+
}
|
1172
|
+
});
|
1173
|
+
|
1174
|
+
const updateLocale = (function (option, Dayjs, dayjs) {
|
1175
|
+
dayjs.updateLocale = function (locale, customConfig) {
|
1176
|
+
var localeList = dayjs.Ls;
|
1177
|
+
var localeConfig = localeList[locale];
|
1178
|
+
if (!localeConfig) return;
|
1179
|
+
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1180
|
+
customConfigKeys.forEach(function (c) {
|
1181
|
+
localeConfig[c] = customConfig[c];
|
1182
|
+
});
|
1183
|
+
return localeConfig; // eslint-disable-line consistent-return
|
1184
|
+
};
|
1185
|
+
});
|
1186
|
+
|
1187
|
+
/*!
|
1188
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
1189
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
1190
|
+
* v2.8.2
|
1191
|
+
*/
|
1192
|
+
const CSS = {
|
1193
|
+
toggleIcon: "toggle-icon",
|
1194
|
+
};
|
1195
|
+
|
1196
|
+
const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-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}.interaction-container{display:contents}::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);--calcite-ui-icon-color:var(--calcite-color-text-3)}.input-wrapper:hover .toggle-icon,calcite-input-text:focus+.toggle-icon{--calcite-ui-icon-color:var(--calcite-color-text-1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
1197
|
+
const CalciteInputTimePickerStyle0 = inputTimePickerCss;
|
1198
|
+
|
1199
|
+
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1200
|
+
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
1201
|
+
["ar", () => Promise.resolve().then(function () { return require('./ar-a2f57db2.js'); })],
|
1202
|
+
["bg", () => Promise.resolve().then(function () { return require('./bg-cb903045.js'); })],
|
1203
|
+
["bs", () => Promise.resolve().then(function () { return require('./bs-3690f22d.js'); })],
|
1204
|
+
["ca", () => Promise.resolve().then(function () { return require('./ca-fec18921.js'); })],
|
1205
|
+
["cs", () => Promise.resolve().then(function () { return require('./cs-b061b441.js'); })],
|
1206
|
+
["da", () => Promise.resolve().then(function () { return require('./da-e3c379ae.js'); })],
|
1207
|
+
["de", () => Promise.resolve().then(function () { return require('./de-65d2876f.js'); })],
|
1208
|
+
["de-at", () => Promise.resolve().then(function () { return require('./de-at-16b7b50e.js'); })],
|
1209
|
+
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-11dcd113.js'); })],
|
1210
|
+
["el", () => Promise.resolve().then(function () { return require('./el-321d43b5.js'); })],
|
1211
|
+
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1212
|
+
["en-au", () => Promise.resolve().then(function () { return require('./en-au-c48e6b73.js'); })],
|
1213
|
+
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-9cc0e8f7.js'); })],
|
1214
|
+
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-8ced841b.js'); })],
|
1215
|
+
["es", () => Promise.resolve().then(function () { return require('./es-aca5e6b4.js'); })],
|
1216
|
+
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-b69f0ebb.js'); })],
|
1217
|
+
["et", () => Promise.resolve().then(function () { return require('./et-7e29340d.js'); })],
|
1218
|
+
["fi", () => Promise.resolve().then(function () { return require('./fi-f215f4d1.js'); })],
|
1219
|
+
["fr", () => Promise.resolve().then(function () { return require('./fr-0daba4be.js'); })],
|
1220
|
+
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-76f752e9.js'); })],
|
1221
|
+
["he", () => Promise.resolve().then(function () { return require('./he-32860a76.js'); })],
|
1222
|
+
["hi", () => Promise.resolve().then(function () { return require('./hi-c5639f76.js'); })],
|
1223
|
+
["hr", () => Promise.resolve().then(function () { return require('./hr-eb700fd5.js'); })],
|
1224
|
+
["hu", () => Promise.resolve().then(function () { return require('./hu-e30e3d3a.js'); })],
|
1225
|
+
["id", () => Promise.resolve().then(function () { return require('./id-a3e96e5b.js'); })],
|
1226
|
+
["it", () => Promise.resolve().then(function () { return require('./it-acd3cf54.js'); })],
|
1227
|
+
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-c78435e7.js'); })],
|
1228
|
+
["ja", () => Promise.resolve().then(function () { return require('./ja-ede2132a.js'); })],
|
1229
|
+
["ko", () => Promise.resolve().then(function () { return require('./ko-fcd96551.js'); })],
|
1230
|
+
["lt", () => Promise.resolve().then(function () { return require('./lt-a30330ef.js'); })],
|
1231
|
+
["lv", () => Promise.resolve().then(function () { return require('./lv-ac3b6560.js'); })],
|
1232
|
+
["mk", () => Promise.resolve().then(function () { return require('./mk-a3053dea.js'); })],
|
1233
|
+
["nl", () => Promise.resolve().then(function () { return require('./nl-7fa437ef.js'); })],
|
1234
|
+
["nb", () => Promise.resolve().then(function () { return require('./nb-7ab0bac1.js'); })],
|
1235
|
+
["pl", () => Promise.resolve().then(function () { return require('./pl-ea95b104.js'); })],
|
1236
|
+
["pt", () => Promise.resolve().then(function () { return require('./pt-472083c2.js'); })],
|
1237
|
+
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-5f18543e.js'); })],
|
1238
|
+
["ro", () => Promise.resolve().then(function () { return require('./ro-e8b3d65c.js'); })],
|
1239
|
+
["ru", () => Promise.resolve().then(function () { return require('./ru-becefd01.js'); })],
|
1240
|
+
["sk", () => Promise.resolve().then(function () { return require('./sk-2f5fd4e0.js'); })],
|
1241
|
+
["sl", () => Promise.resolve().then(function () { return require('./sl-3ae17da6.js'); })],
|
1242
|
+
["sr", () => Promise.resolve().then(function () { return require('./sr-7d6b8d1b.js'); })],
|
1243
|
+
["sv", () => Promise.resolve().then(function () { return require('./sv-9c51da5c.js'); })],
|
1244
|
+
["th", () => Promise.resolve().then(function () { return require('./th-fec0a074.js'); })],
|
1245
|
+
["tr", () => Promise.resolve().then(function () { return require('./tr-8d7c18a1.js'); })],
|
1246
|
+
["uk", () => Promise.resolve().then(function () { return require('./uk-46a61312.js'); })],
|
1247
|
+
["vi", () => Promise.resolve().then(function () { return require('./vi-4114aa90.js'); })],
|
1248
|
+
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-30aca6fe.js'); })],
|
1249
|
+
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-5971eb67.js'); })],
|
1250
|
+
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-5fb5e7a9.js'); })],
|
1251
|
+
]);
|
1252
|
+
dayjs.extend(customParseFormat);
|
1253
|
+
dayjs.extend(localeData);
|
1254
|
+
dayjs.extend(localizedFormat);
|
1255
|
+
dayjs.extend(preParsePostFormat);
|
1256
|
+
dayjs.extend(updateLocale);
|
1257
|
+
const InputTimePicker = class {
|
1258
|
+
constructor(hostRef) {
|
1259
|
+
index.registerInstance(this, hostRef);
|
1260
|
+
this.calciteInputTimePickerBeforeClose = index.createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
1261
|
+
this.calciteInputTimePickerBeforeOpen = index.createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
1262
|
+
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
1263
|
+
this.calciteInputTimePickerClose = index.createEvent(this, "calciteInputTimePickerClose", 6);
|
1264
|
+
this.calciteInputTimePickerOpen = index.createEvent(this, "calciteInputTimePickerOpen", 6);
|
1265
|
+
this.focusOnOpen = false;
|
1266
|
+
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
1267
|
+
/** whether the value of the input was changed as a result of user typing or not */
|
1268
|
+
this.userChangedValue = false;
|
1269
|
+
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
1270
|
+
this.openTransitionProp = "opacity";
|
1271
|
+
//--------------------------------------------------------------------------
|
1272
|
+
//
|
1273
|
+
// Event Listeners
|
1274
|
+
//
|
1275
|
+
//--------------------------------------------------------------------------
|
1276
|
+
this.hostBlurHandler = () => {
|
1277
|
+
const inputValue = this.calciteInputEl.value;
|
1278
|
+
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1279
|
+
if (!delocalizedInputValue) {
|
1280
|
+
this.setValue("");
|
1281
|
+
return;
|
1282
|
+
}
|
1283
|
+
if (delocalizedInputValue !== this.value) {
|
1284
|
+
this.setValue(delocalizedInputValue);
|
1285
|
+
}
|
1286
|
+
const localizedTimeString = time.localizeTimeString({
|
1287
|
+
value: this.value,
|
1288
|
+
locale: this.effectiveLocale,
|
1289
|
+
numberingSystem: this.numberingSystem,
|
1290
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1291
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1292
|
+
});
|
1293
|
+
if (localizedTimeString !== inputValue) {
|
1294
|
+
this.setInputValue(localizedTimeString);
|
1295
|
+
}
|
1296
|
+
this.deactivate();
|
1297
|
+
};
|
1298
|
+
this.calciteInternalInputFocusHandler = (event) => {
|
1299
|
+
if (!this.readOnly) {
|
1300
|
+
event.stopPropagation();
|
1301
|
+
}
|
1302
|
+
};
|
1303
|
+
this.calciteInternalInputInputHandler = (event) => {
|
1304
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
1305
|
+
if (numberingSystem && numberingSystem !== "latn") {
|
1306
|
+
const target = event.target;
|
1307
|
+
locale$1.numberStringFormatter.numberFormatOptions = {
|
1308
|
+
locale,
|
1309
|
+
numberingSystem,
|
1310
|
+
useGrouping: false,
|
1311
|
+
};
|
1312
|
+
const valueInNumberingSystem = locale$1.numberStringFormatter
|
1313
|
+
.delocalize(target.value)
|
1314
|
+
.split("")
|
1315
|
+
.map((char) => key.numberKeys.includes(char)
|
1316
|
+
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
1317
|
+
: char)
|
1318
|
+
.join("");
|
1319
|
+
this.setInputValue(valueInNumberingSystem);
|
1320
|
+
}
|
1321
|
+
};
|
1322
|
+
this.timePickerChangeHandler = (event) => {
|
1323
|
+
event.stopPropagation();
|
1324
|
+
const target = event.target;
|
1325
|
+
const value = target.value;
|
1326
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1327
|
+
this.setValue(time.toISOTimeString(value, includeSeconds));
|
1328
|
+
this.setInputValue(time.localizeTimeString({
|
1329
|
+
value,
|
1330
|
+
locale: this.effectiveLocale,
|
1331
|
+
numberingSystem: this.numberingSystem,
|
1332
|
+
includeSeconds,
|
1333
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1334
|
+
}));
|
1335
|
+
};
|
1336
|
+
this.popoverCloseHandler = () => {
|
1337
|
+
focusTrapComponent.deactivateFocusTrap(this, {
|
1338
|
+
onDeactivate: () => {
|
1339
|
+
this.calciteInputEl.setFocus();
|
1340
|
+
this.focusOnOpen = false;
|
1341
|
+
},
|
1342
|
+
});
|
1343
|
+
this.open = false;
|
1344
|
+
};
|
1345
|
+
this.popoverOpenHandler = () => {
|
1346
|
+
focusTrapComponent.activateFocusTrap(this, {
|
1347
|
+
onActivate: () => {
|
1348
|
+
if (this.focusOnOpen) {
|
1349
|
+
this.calciteTimePickerEl.setFocus();
|
1350
|
+
this.focusOnOpen = false;
|
1351
|
+
}
|
1352
|
+
},
|
1353
|
+
});
|
1354
|
+
};
|
1355
|
+
this.keyDownHandler = (event) => {
|
1356
|
+
const { defaultPrevented, key } = event;
|
1357
|
+
if (defaultPrevented) {
|
1358
|
+
return;
|
1359
|
+
}
|
1360
|
+
if (key === "Enter") {
|
1361
|
+
if (form.submitForm(this)) {
|
1362
|
+
event.preventDefault();
|
1363
|
+
this.calciteInputEl.setFocus();
|
1364
|
+
}
|
1365
|
+
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1366
|
+
return;
|
1367
|
+
}
|
1368
|
+
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1369
|
+
if (time.isValidTime(newValue)) {
|
1370
|
+
this.setValue(newValue);
|
1371
|
+
const localizedTimeString = time.localizeTimeString({
|
1372
|
+
value: this.value,
|
1373
|
+
locale: this.effectiveLocale,
|
1374
|
+
numberingSystem: this.numberingSystem,
|
1375
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1376
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1377
|
+
});
|
1378
|
+
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1379
|
+
this.setInputValue(localizedTimeString);
|
1380
|
+
}
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
else if (key === "ArrowDown") {
|
1384
|
+
this.open = true;
|
1385
|
+
this.focusOnOpen = true;
|
1386
|
+
event.preventDefault();
|
1387
|
+
}
|
1388
|
+
else if (key === "Escape" && this.open) {
|
1389
|
+
this.open = false;
|
1390
|
+
event.preventDefault();
|
1391
|
+
this.calciteInputEl.setFocus();
|
1392
|
+
}
|
1393
|
+
};
|
1394
|
+
this.setCalcitePopoverEl = (el) => {
|
1395
|
+
this.popoverEl = el;
|
1396
|
+
};
|
1397
|
+
this.setInputAndTransitionEl = (el) => {
|
1398
|
+
this.calciteInputEl = el;
|
1399
|
+
this.transitionEl = el;
|
1400
|
+
};
|
1401
|
+
this.setCalciteTimePickerEl = (el) => {
|
1402
|
+
this.calciteTimePickerEl = el;
|
1403
|
+
focusTrapComponent.connectFocusTrap(this, {
|
1404
|
+
focusTrapEl: el,
|
1405
|
+
focusTrapOptions: {
|
1406
|
+
initialFocus: false,
|
1407
|
+
setReturnFocus: false,
|
1408
|
+
},
|
1409
|
+
});
|
1410
|
+
};
|
1411
|
+
this.setInputValue = (newInputValue) => {
|
1412
|
+
if (!this.calciteInputEl) {
|
1413
|
+
return;
|
1414
|
+
}
|
1415
|
+
this.calciteInputEl.value = newInputValue;
|
1416
|
+
};
|
1417
|
+
/**
|
1418
|
+
* Sets the value and emits a change event.
|
1419
|
+
* This is used to update the value as a result of user interaction.
|
1420
|
+
*
|
1421
|
+
* @param value
|
1422
|
+
*/
|
1423
|
+
this.setValue = (value) => {
|
1424
|
+
const oldValue = this.value;
|
1425
|
+
const newValue = time.formatTimeString(value) || "";
|
1426
|
+
if (newValue === oldValue) {
|
1427
|
+
return;
|
1428
|
+
}
|
1429
|
+
this.userChangedValue = true;
|
1430
|
+
this.value = newValue || "";
|
1431
|
+
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1432
|
+
if (changeEvent.defaultPrevented) {
|
1433
|
+
this.userChangedValue = false;
|
1434
|
+
this.value = oldValue;
|
1435
|
+
this.setInputValue(time.localizeTimeString({
|
1436
|
+
value: oldValue,
|
1437
|
+
locale: this.effectiveLocale,
|
1438
|
+
numberingSystem: this.numberingSystem,
|
1439
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1440
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1441
|
+
}));
|
1442
|
+
}
|
1443
|
+
};
|
1444
|
+
/**
|
1445
|
+
* Sets the value directly without emitting a change event.
|
1446
|
+
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1447
|
+
*
|
1448
|
+
* @param value
|
1449
|
+
*/
|
1450
|
+
this.setValueDirectly = (value) => {
|
1451
|
+
const includeSeconds = this.shouldIncludeSeconds();
|
1452
|
+
this.value = time.toISOTimeString(value, includeSeconds);
|
1453
|
+
this.setInputValue(this.value
|
1454
|
+
? time.localizeTimeString({
|
1455
|
+
value: this.value,
|
1456
|
+
includeSeconds,
|
1457
|
+
locale: this.effectiveLocale,
|
1458
|
+
numberingSystem: this.numberingSystem,
|
1459
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1460
|
+
})
|
1461
|
+
: "");
|
1462
|
+
};
|
1463
|
+
this.onInputWrapperClick = () => {
|
1464
|
+
this.open = !this.open;
|
1465
|
+
};
|
1466
|
+
this.deactivate = () => {
|
1467
|
+
this.open = false;
|
1468
|
+
};
|
1469
|
+
this.open = false;
|
1470
|
+
this.disabled = false;
|
1471
|
+
this.focusTrapDisabled = false;
|
1472
|
+
this.form = undefined;
|
1473
|
+
this.readOnly = false;
|
1474
|
+
this.messageOverrides = undefined;
|
1475
|
+
this.messages = undefined;
|
1476
|
+
this.validationMessage = undefined;
|
1477
|
+
this.validationIcon = undefined;
|
1478
|
+
this.validity = {
|
1479
|
+
valid: false,
|
1480
|
+
badInput: false,
|
1481
|
+
customError: false,
|
1482
|
+
patternMismatch: false,
|
1483
|
+
rangeOverflow: false,
|
1484
|
+
rangeUnderflow: false,
|
1485
|
+
stepMismatch: false,
|
1486
|
+
tooLong: false,
|
1487
|
+
tooShort: false,
|
1488
|
+
typeMismatch: false,
|
1489
|
+
valueMissing: false,
|
1490
|
+
};
|
1491
|
+
this.name = undefined;
|
1492
|
+
this.numberingSystem = undefined;
|
1493
|
+
this.required = false;
|
1494
|
+
this.scale = "m";
|
1495
|
+
this.status = "idle";
|
1496
|
+
this.overlayPositioning = "absolute";
|
1497
|
+
this.placement = "auto";
|
1498
|
+
this.step = 60;
|
1499
|
+
this.value = null;
|
1500
|
+
this.defaultMessages = undefined;
|
1501
|
+
this.effectiveLocale = "";
|
1502
|
+
}
|
1503
|
+
openHandler() {
|
1504
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1505
|
+
if (this.disabled || this.readOnly) {
|
1506
|
+
this.open = false;
|
1507
|
+
return;
|
1508
|
+
}
|
1509
|
+
this.reposition(true);
|
1510
|
+
}
|
1511
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
1512
|
+
if (!this.open) {
|
1513
|
+
return;
|
1514
|
+
}
|
1515
|
+
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1516
|
+
}
|
1517
|
+
handleDisabledAndReadOnlyChange(value) {
|
1518
|
+
if (!value) {
|
1519
|
+
this.open = false;
|
1520
|
+
}
|
1521
|
+
}
|
1522
|
+
onMessagesChange() {
|
1523
|
+
/* wired up by t9n util */
|
1524
|
+
}
|
1525
|
+
numberingSystemWatcher(numberingSystem) {
|
1526
|
+
this.setInputValue(time.localizeTimeString({
|
1527
|
+
value: this.value,
|
1528
|
+
locale: this.effectiveLocale,
|
1529
|
+
numberingSystem,
|
1530
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1531
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1532
|
+
}));
|
1533
|
+
}
|
1534
|
+
stepWatcher(newStep, oldStep) {
|
1535
|
+
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1536
|
+
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1537
|
+
this.setValueDirectly(this.value);
|
1538
|
+
}
|
1539
|
+
}
|
1540
|
+
valueWatcher(newValue) {
|
1541
|
+
if (!this.userChangedValue) {
|
1542
|
+
this.setValueDirectly(newValue);
|
1543
|
+
}
|
1544
|
+
this.userChangedValue = false;
|
1545
|
+
}
|
1546
|
+
async effectiveLocaleWatcher(locale) {
|
1547
|
+
await this.loadDateTimeLocaleData();
|
1548
|
+
this.setInputValue(time.localizeTimeString({
|
1549
|
+
value: this.value,
|
1550
|
+
locale,
|
1551
|
+
numberingSystem: this.numberingSystem,
|
1552
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1553
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1554
|
+
}));
|
1555
|
+
}
|
1556
|
+
// --------------------------------------------------------------------------
|
1557
|
+
//
|
1558
|
+
// Public Methods
|
1559
|
+
//
|
1560
|
+
// --------------------------------------------------------------------------
|
1561
|
+
/** Sets focus on the component. */
|
1562
|
+
async setFocus() {
|
1563
|
+
await loadable.componentFocusable(this);
|
1564
|
+
this.el.focus();
|
1565
|
+
}
|
1566
|
+
/**
|
1567
|
+
* Updates the position of the component.
|
1568
|
+
*
|
1569
|
+
* @param delayed
|
1570
|
+
*/
|
1571
|
+
async reposition(delayed = false) {
|
1572
|
+
var _a;
|
1573
|
+
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1574
|
+
}
|
1575
|
+
// --------------------------------------------------------------------------
|
1576
|
+
//
|
1577
|
+
// Private Methods
|
1578
|
+
//
|
1579
|
+
// --------------------------------------------------------------------------
|
1580
|
+
onBeforeOpen() {
|
1581
|
+
this.calciteInputTimePickerBeforeOpen.emit();
|
1582
|
+
}
|
1583
|
+
onOpen() {
|
1584
|
+
this.calciteInputTimePickerOpen.emit();
|
1585
|
+
}
|
1586
|
+
onBeforeClose() {
|
1587
|
+
this.calciteInputTimePickerBeforeClose.emit();
|
1588
|
+
}
|
1589
|
+
onClose() {
|
1590
|
+
this.calciteInputTimePickerClose.emit();
|
1591
|
+
}
|
1592
|
+
delocalizeTimeString(value) {
|
1593
|
+
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1594
|
+
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1595
|
+
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
1596
|
+
let delocalizedTimeString;
|
1597
|
+
if (this.shouldIncludeFractionalSeconds()) {
|
1598
|
+
const stepPrecision = math.decimalPlaces(this.step);
|
1599
|
+
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
1600
|
+
if (stepPrecision === 1) {
|
1601
|
+
delocalizedTimeString =
|
1602
|
+
centisecondParts.millisecond !== 0
|
1603
|
+
? this.getTimeStringFromParts(centisecondParts)
|
1604
|
+
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
1605
|
+
}
|
1606
|
+
else {
|
1607
|
+
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
1608
|
+
if (stepPrecision === 2) {
|
1609
|
+
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
|
+
else if (stepPrecision >= 3) {
|
1620
|
+
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
1621
|
+
if (millisecondParts.millisecond !== 0) {
|
1622
|
+
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
1623
|
+
}
|
1624
|
+
else if (decisecondParts.millisecond !== 0) {
|
1625
|
+
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1626
|
+
}
|
1627
|
+
else if (centisecondParts.millisecond !== 0) {
|
1628
|
+
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1629
|
+
}
|
1630
|
+
else {
|
1631
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1632
|
+
}
|
1633
|
+
}
|
1634
|
+
}
|
1635
|
+
}
|
1636
|
+
else {
|
1637
|
+
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1638
|
+
}
|
1639
|
+
return delocalizedTimeString;
|
1640
|
+
}
|
1641
|
+
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
1642
|
+
var _a, _b;
|
1643
|
+
const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
|
1644
|
+
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
1645
|
+
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
1646
|
+
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
1647
|
+
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
1648
|
+
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
1649
|
+
: ltsFormatString.replace("ss", secondFormatToken);
|
1650
|
+
}
|
1651
|
+
else if (fractionalSecondTokenMatch) {
|
1652
|
+
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
1653
|
+
}
|
1654
|
+
dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
1655
|
+
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
1656
|
+
if (dayjsParseResult.isValid()) {
|
1657
|
+
return {
|
1658
|
+
hour: dayjsParseResult.get("hour"),
|
1659
|
+
minute: dayjsParseResult.get("minute"),
|
1660
|
+
second: dayjsParseResult.get("second"),
|
1661
|
+
millisecond: dayjsParseResult.get("millisecond"),
|
1662
|
+
};
|
1663
|
+
}
|
1664
|
+
return {
|
1665
|
+
hour: null,
|
1666
|
+
minute: null,
|
1667
|
+
second: null,
|
1668
|
+
millisecond: null,
|
1669
|
+
};
|
1670
|
+
}
|
1671
|
+
getTimeStringFromParts(parts) {
|
1672
|
+
let timeString = "";
|
1673
|
+
if (!parts) {
|
1674
|
+
return timeString;
|
1675
|
+
}
|
1676
|
+
if (parts.hour !== null && parts.minute !== null) {
|
1677
|
+
timeString = `${time.formatTimePart(parts.hour)}:${time.formatTimePart(parts.minute)}`;
|
1678
|
+
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
1679
|
+
timeString += `:${time.formatTimePart(parts.second)}`;
|
1680
|
+
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
1681
|
+
const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
|
1682
|
+
timeString += `.${second.toString().replace("0.", "")}`;
|
1683
|
+
}
|
1684
|
+
}
|
1685
|
+
}
|
1686
|
+
return timeString;
|
1687
|
+
}
|
1688
|
+
getSupportedDayjsLocale(locale) {
|
1689
|
+
const dayjsLocale = locale.toLowerCase();
|
1690
|
+
if (dayjsLocale === "no") {
|
1691
|
+
return "nb";
|
1692
|
+
}
|
1693
|
+
if (dayjsLocale === "pt-pt") {
|
1694
|
+
return "pt";
|
1695
|
+
}
|
1696
|
+
return dayjsLocale;
|
1697
|
+
}
|
1698
|
+
async loadDateTimeLocaleData() {
|
1699
|
+
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1700
|
+
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
1701
|
+
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1702
|
+
this.localeConfig = localeConfig;
|
1703
|
+
dayjs.locale(this.localeConfig, null, true);
|
1704
|
+
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1705
|
+
}
|
1706
|
+
getExtendedLocaleConfig(locale) {
|
1707
|
+
if (locale === "ar") {
|
1708
|
+
return {
|
1709
|
+
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1710
|
+
formats: {
|
1711
|
+
LT: "HH:mm A",
|
1712
|
+
LTS: "HH:mm:ss A",
|
1713
|
+
L: "DD/MM/YYYY",
|
1714
|
+
LL: "D MMMM YYYY",
|
1715
|
+
LLL: "D MMMM YYYY HH:mm A",
|
1716
|
+
LLLL: "dddd D MMMM YYYY HH:mm A",
|
1717
|
+
},
|
1718
|
+
};
|
1719
|
+
}
|
1720
|
+
if (locale === "en-au") {
|
1721
|
+
return {
|
1722
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1723
|
+
};
|
1724
|
+
}
|
1725
|
+
if (locale === "en-ca") {
|
1726
|
+
return {
|
1727
|
+
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
1728
|
+
};
|
1729
|
+
}
|
1730
|
+
if (locale === "el") {
|
1731
|
+
return {
|
1732
|
+
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
1733
|
+
};
|
1734
|
+
}
|
1735
|
+
if (locale === "hi") {
|
1736
|
+
return {
|
1737
|
+
formats: {
|
1738
|
+
LT: "h:mm A",
|
1739
|
+
LTS: "h:mm:ss A",
|
1740
|
+
L: "DD/MM/YYYY",
|
1741
|
+
LL: "D MMMM YYYY",
|
1742
|
+
LLL: "D MMMM YYYY, h:mm A",
|
1743
|
+
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
1744
|
+
},
|
1745
|
+
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1746
|
+
};
|
1747
|
+
}
|
1748
|
+
if (locale === "ko") {
|
1749
|
+
return {
|
1750
|
+
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
1751
|
+
};
|
1752
|
+
}
|
1753
|
+
if (locale === "zh-tw") {
|
1754
|
+
return {
|
1755
|
+
formats: {
|
1756
|
+
LT: "AHH:mm",
|
1757
|
+
LTS: "AHH:mm:ss",
|
1758
|
+
},
|
1759
|
+
};
|
1760
|
+
}
|
1761
|
+
if (locale === "zh-hk") {
|
1762
|
+
return {
|
1763
|
+
formats: {
|
1764
|
+
LT: "AHH:mm",
|
1765
|
+
LTS: "AHH:mm:ss",
|
1766
|
+
},
|
1767
|
+
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
1768
|
+
};
|
1769
|
+
}
|
1770
|
+
}
|
1771
|
+
onLabelClick() {
|
1772
|
+
this.setFocus();
|
1773
|
+
}
|
1774
|
+
shouldIncludeSeconds() {
|
1775
|
+
return this.step < 60;
|
1776
|
+
}
|
1777
|
+
shouldIncludeFractionalSeconds() {
|
1778
|
+
return math.decimalPlaces(this.step) > 0;
|
1779
|
+
}
|
1780
|
+
//--------------------------------------------------------------------------
|
1781
|
+
//
|
1782
|
+
// Lifecycle
|
1783
|
+
//
|
1784
|
+
//--------------------------------------------------------------------------
|
1785
|
+
connectedCallback() {
|
1786
|
+
interactive.connectInteractive(this);
|
1787
|
+
locale$1.connectLocalized(this);
|
1788
|
+
if (time.isValidTime(this.value)) {
|
1789
|
+
this.setValueDirectly(this.value);
|
1790
|
+
}
|
1791
|
+
else {
|
1792
|
+
this.value = undefined;
|
1793
|
+
}
|
1794
|
+
label.connectLabel(this);
|
1795
|
+
form.connectForm(this);
|
1796
|
+
t9n.connectMessages(this);
|
1797
|
+
}
|
1798
|
+
async componentWillLoad() {
|
1799
|
+
loadable.setUpLoadableComponent(this);
|
1800
|
+
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1801
|
+
if (this.open) {
|
1802
|
+
openCloseComponent.onToggleOpenCloseComponent(this);
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
componentDidLoad() {
|
1806
|
+
loadable.setComponentLoaded(this);
|
1807
|
+
if (time.isValidTime(this.value)) {
|
1808
|
+
this.setInputValue(time.localizeTimeString({
|
1809
|
+
value: this.value,
|
1810
|
+
locale: this.effectiveLocale,
|
1811
|
+
numberingSystem: this.numberingSystem,
|
1812
|
+
includeSeconds: this.shouldIncludeSeconds(),
|
1813
|
+
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1814
|
+
}));
|
1815
|
+
}
|
1816
|
+
}
|
1817
|
+
disconnectedCallback() {
|
1818
|
+
interactive.disconnectInteractive(this);
|
1819
|
+
label.disconnectLabel(this);
|
1820
|
+
form.disconnectForm(this);
|
1821
|
+
locale$1.disconnectLocalized(this);
|
1822
|
+
focusTrapComponent.deactivateFocusTrap(this);
|
1823
|
+
t9n.disconnectMessages(this);
|
1824
|
+
}
|
1825
|
+
componentDidRender() {
|
1826
|
+
interactive.updateHostInteraction(this);
|
1827
|
+
}
|
1828
|
+
// --------------------------------------------------------------------------
|
1829
|
+
//
|
1830
|
+
// Render Methods
|
1831
|
+
//
|
1832
|
+
// --------------------------------------------------------------------------
|
1833
|
+
render() {
|
1834
|
+
const { disabled, messages, readOnly, dialogId } = this;
|
1835
|
+
return (index.h(index.Host, { key: '561e33708dcc90afdba91d4072b7979ff11f79c7', onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h(interactive.InteractiveContainer, { key: '19c3360f4640bce039a46d8cb06a8927855bf13c', disabled: this.disabled }, index.h("div", { key: 'e48f09d0b5179e75e55cc9664f880bd350543d6a', class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input-text", { key: '717afb03fbcf590ebf927fe4bd0005a00e5fe2ec', "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,
|
1836
|
+
// 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)
|
1837
|
+
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("calcite-popover", { key: 'd62bfe8b3ddc24e012d84b61a05061a09e6322dd', 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,
|
1838
|
+
// 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)
|
1839
|
+
ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { key: '6bfcee7272942b5476486a86933376b81aff7b23', 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,
|
1840
|
+
// 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)
|
1841
|
+
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { key: '0ca8c8c04ef40e120530a4666761473b8d1b987f', component: this }), this.validationMessage && this.status === "invalid" ? (index.h(Validation.Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
1842
|
+
}
|
1843
|
+
renderToggleIcon(open) {
|
1844
|
+
return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
|
1845
|
+
}
|
1846
|
+
static get delegatesFocus() { return true; }
|
1847
|
+
static get assetsDirs() { return ["assets"]; }
|
1848
|
+
get el() { return index.getElement(this); }
|
1849
|
+
static get watchers() { return {
|
1850
|
+
"open": ["openHandler"],
|
1851
|
+
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1852
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1853
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1854
|
+
"messageOverrides": ["onMessagesChange"],
|
1855
|
+
"numberingSystem": ["numberingSystemWatcher"],
|
1856
|
+
"step": ["stepWatcher"],
|
1857
|
+
"value": ["valueWatcher"],
|
1858
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1859
|
+
}; }
|
1860
|
+
};
|
1861
|
+
InputTimePicker.style = CalciteInputTimePickerStyle0;
|
1862
|
+
|
1863
|
+
exports.InputTimePicker = InputTimePicker;
|
1864
|
+
exports.dayjs = dayjs;
|