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