@esri/solutions-components 0.8.67 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/arcgis-login.cjs.entry.js +3 -2
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +4 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -9
- package/dist/cjs/calcite-block_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-button.cjs.entry.js +15 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-card.cjs.entry.js +12 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-color-picker.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -12
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -18
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +5 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -11
- package/dist/cjs/calcite-option-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -202
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +25 -24
- package/dist/cjs/calcite-pick-list.cjs.entry.js +12 -11
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -5
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +12 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +9 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
- package/dist/cjs/calcite-table.cjs.entry.js +11 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +10 -16
- package/dist/cjs/calcite-tip.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -8
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/consent-manager.cjs.entry.js +7 -350
- package/dist/cjs/crowdsource-manager.cjs.entry.js +9 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -10
- package/dist/cjs/deduct-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{downloadUtils-737851e4.js → downloadUtils-69c90822.js} +2 -2
- package/dist/cjs/feature-comments.cjs.entry.js +3 -2
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/feature-list.cjs.entry.js +12 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{helpers-758e7ae8.js → helpers-3cad996e.js} +1 -1
- package/dist/cjs/index.cjs.js +0 -15
- package/dist/cjs/{index.es-c00eb740.js → index.es-3bcb5f03.js} +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-create.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +28 -33
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +10 -10
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popover.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +8 -7
- package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +6 -6
- package/dist/cjs/list-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{loadModules-0a42affb.js → loadModules-8567855e.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d3582284.js → locale-1d07e942.js} +2 -2
- package/dist/cjs/{locale-6c657db5.js → locale-33a0038a.js} +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{popupUtils-92b936a2.js → popupUtils-51b6c78d.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +13 -13
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/share-item.cjs.entry.js +3 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1108 -23
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-icon.cjs.entry.js +3 -2
- package/dist/cjs/solutions-components.cjs.js +5 -32
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -8
- package/dist/cjs/store-manager.cjs.entry.js +7 -6
- package/dist/cjs/{utils-057900e0.js → utils-8d9c798c.js} +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/components/ExpandToggle.js +8 -8
- package/dist/components/_commonjsHelpers.js +0 -23
- package/dist/components/action-bar.js +5 -4
- package/dist/components/action-group.js +4 -3
- package/dist/components/action-menu.js +3 -2
- package/dist/components/action-pad.js +3 -2
- package/dist/components/action.js +3 -2
- package/dist/components/alert.js +4 -3
- package/dist/components/arcgis-login.js +3 -2
- package/dist/components/avatar.js +3 -2
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +3 -2
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +3 -2
- package/dist/components/calcite-accordion-item.js +3 -2
- package/dist/components/calcite-accordion.js +3 -2
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card-group.js +3 -2
- package/dist/components/calcite-card.js +3 -2
- package/dist/components/calcite-carousel-item.js +3 -2
- package/dist/components/calcite-carousel.js +3 -2
- package/dist/components/calcite-chip-group.js +3 -2
- package/dist/components/calcite-color-picker.js +20 -19
- package/dist/components/calcite-combobox-item-group.js +3 -2
- package/dist/components/calcite-fab.js +3 -2
- package/dist/components/calcite-inline-editable.js +3 -2
- package/dist/components/calcite-input-time-picker.js +4 -7
- package/dist/components/calcite-input-time-zone.js +4 -3
- package/dist/components/calcite-list-item-group.js +3 -2
- package/dist/components/calcite-menu-item.js +3 -2
- package/dist/components/calcite-meter.js +3 -2
- package/dist/components/calcite-navigation-logo.js +3 -2
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +3 -2
- package/dist/components/calcite-pick-list-group.js +5 -4
- package/dist/components/calcite-pick-list.js +3 -2
- package/dist/components/calcite-radio-button-group.js +3 -2
- package/dist/components/calcite-rating.js +3 -4
- package/dist/components/calcite-sheet.js +3 -2
- package/dist/components/calcite-shell-center-row.js +3 -2
- package/dist/components/calcite-sortable-list.js +3 -2
- package/dist/components/calcite-split-button.js +3 -2
- package/dist/components/calcite-stepper-item.js +3 -2
- package/dist/components/calcite-stepper.js +3 -2
- package/dist/components/calcite-table-row.js +3 -2
- package/dist/components/calcite-table.js +3 -2
- package/dist/components/calcite-text-area.js +4 -3
- package/dist/components/calcite-tile-group.js +3 -2
- package/dist/components/calcite-tile-select-group.js +3 -2
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tile.js +3 -2
- package/dist/components/calcite-tip-group.js +3 -2
- package/dist/components/calcite-tip-manager.js +3 -9
- package/dist/components/calcite-tip.js +4 -3
- package/dist/components/card-manager2.js +3 -2
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +3 -2
- package/dist/components/color-picker-hex-input.js +12 -11
- package/dist/components/color-picker-swatch.js +6 -5
- package/dist/components/combobox-item.js +3 -2
- package/dist/components/combobox.js +5 -4
- package/dist/components/consent-manager.js +4 -346
- package/dist/components/core.js +0 -309
- package/dist/components/create-feature2.js +3 -2
- package/dist/components/create-related-feature2.js +3 -2
- package/dist/components/crowdsource-manager.js +6 -3
- package/dist/components/crowdsource-reporter.js +3 -2
- package/dist/components/date-picker-day.js +3 -2
- package/dist/components/date-picker-month-header.js +3 -2
- package/dist/components/date-picker-month.js +3 -2
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +3 -2
- package/dist/components/delete-button2.js +3 -2
- package/dist/components/dom.js +0 -27
- package/dist/components/downloadUtils.js +96 -1176
- package/dist/components/dropdown-group.js +3 -2
- package/dist/components/dropdown-item.js +3 -2
- package/dist/components/dropdown.js +3 -2
- package/dist/components/edit-card2.js +3 -2
- package/dist/components/esri-loader.js +6 -11
- package/dist/components/feature-comments.js +3 -2
- package/dist/components/feature-details2.js +3 -2
- package/dist/components/feature-form-flow-item.js +3 -2
- package/dist/components/feature-list2.js +3 -2
- package/dist/components/features-flow-item.js +3 -2
- package/dist/components/filter.js +730 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +13 -89
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/flow-item.js +4 -3
- package/dist/components/flow.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +3 -2
- package/dist/components/handle.js +3 -2
- package/dist/components/helpers.js +2 -6
- package/dist/components/html2canvas.js +4 -9
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +79 -441
- package/dist/components/index.js +0 -16
- package/dist/components/index2.js +9 -17
- package/dist/components/index3.js +1863 -41457
- package/dist/components/index4.js +162 -2068
- package/dist/components/index5.js +184 -179
- package/dist/components/index6.js +55 -188
- package/dist/components/info-card2.js +3 -2
- package/dist/components/input-date-picker.js +4 -3
- package/dist/components/input-message.js +3 -2
- package/dist/components/input-number.js +3 -2
- package/dist/components/input-text.js +3 -2
- package/dist/components/input.js +3 -2
- package/dist/components/instant-apps-ckeditor-wrapper2.js +3 -2
- package/dist/components/instant-apps-control-panel.js +3 -2
- package/dist/components/instant-apps-create.js +3 -2
- package/dist/components/instant-apps-export-views.js +3 -2
- package/dist/components/instant-apps-export.js +3 -2
- package/dist/components/instant-apps-filter-list2.js +6 -6
- package/dist/components/instant-apps-header2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-classic2.js +13 -17
- package/dist/components/instant-apps-interactive-legend-count2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +3 -2
- package/dist/components/instant-apps-interactive-legend.js +3 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +3 -2
- package/dist/components/instant-apps-landing-page.js +3 -2
- package/dist/components/instant-apps-language-switcher.js +4 -3
- package/dist/components/instant-apps-language-translator-item2.js +3 -2
- package/dist/components/instant-apps-language-translator-search2.js +3 -2
- package/dist/components/instant-apps-language-translator2.js +3 -2
- package/dist/components/instant-apps-measurement-tool2.js +3 -2
- package/dist/components/instant-apps-measurement.js +3 -2
- package/dist/components/instant-apps-popover.js +3 -2
- package/dist/components/instant-apps-popovers.js +3 -2
- package/dist/components/instant-apps-scoreboard.js +3 -2
- package/dist/components/instant-apps-sign-in2.js +3 -2
- package/dist/components/instant-apps-social-share2.js +3 -2
- package/dist/components/instant-apps-splash.js +4 -3
- package/dist/components/json-editor2.js +3 -2
- package/dist/components/key.js +0 -28
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -2
- package/dist/components/languageUtil.js +1 -22
- package/dist/components/layer-list2.js +3 -2
- package/dist/components/layer-table2.js +3 -2
- package/dist/components/layout-manager.js +3 -2
- package/dist/components/link.js +3 -2
- package/dist/components/list-flow-item.js +3 -2
- package/dist/components/list-item.js +3 -2
- package/dist/components/list.js +5 -4
- package/dist/components/loader.js +3 -2
- package/dist/components/locale.js +0 -12
- package/dist/components/locale2.js +1 -2
- package/dist/components/location-flow-item.js +3 -2
- package/dist/components/map-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +3 -2
- package/dist/components/map-fullscreen2.js +3 -2
- package/dist/components/map-layer-picker2.js +3 -2
- package/dist/components/map-legend2.js +3 -2
- package/dist/components/map-picker2.js +3 -2
- package/dist/components/map-search2.js +3 -2
- package/dist/components/map-select-tools2.js +3 -2
- package/dist/components/map-tools2.js +3 -4
- package/dist/components/menu.js +3 -2
- package/dist/components/modal.js +3 -8
- package/dist/components/mode.js +0 -8
- package/dist/components/navigation-user.js +3 -2
- package/dist/components/notice.js +3 -2
- package/dist/components/openCloseComponent.js +0 -48
- package/dist/components/option.js +3 -2
- package/dist/components/pagination.js +3 -195
- package/dist/components/panel.js +4 -4
- package/dist/components/pci-calculator.js +4 -3
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +3 -2
- package/dist/components/progress.js +3 -2
- package/dist/components/public-notification.js +3 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +3 -6
- package/dist/components/queryUtils.js +0 -59
- package/dist/components/radio-button.js +3 -2
- package/dist/components/refine-results-flow-item.js +3 -2
- package/dist/components/refine-selection2.js +3 -2
- package/dist/components/resources.js +0 -17
- package/dist/components/resources5.js +0 -3
- package/dist/components/scrim.js +3 -2
- package/dist/components/segmented-control-item.js +3 -2
- package/dist/components/segmented-control.js +3 -2
- package/dist/components/select.js +3 -2
- package/dist/components/share-item.js +3 -2
- package/dist/components/shared-list-render.js +1 -6
- package/dist/components/shell-panel.js +3 -2
- package/dist/components/shell.js +3 -2
- package/dist/components/slider.js +3 -2
- package/dist/components/solution-configuration.js +1090 -3
- package/dist/components/solution-contents2.js +3 -2
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +3 -2
- package/dist/components/solution-item-sharing2.js +3 -2
- package/dist/components/solution-item2.js +3 -2
- package/dist/components/solution-organization-variables2.js +3 -2
- package/dist/components/solution-resource-item2.js +5 -3
- package/dist/components/solution-spatial-ref2.js +4 -3
- package/dist/components/solution-store.js +767 -2
- package/dist/components/solution-template-data2.js +3 -2
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/sortableComponent.js +0 -701
- package/dist/components/spatial-ref2.js +6 -264
- package/dist/components/stack.js +3 -2
- package/dist/components/store-manager.js +1 -1
- package/dist/components/store.js +1 -2
- package/dist/components/switch.js +3 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +3 -2
- package/dist/components/tab-title.js +3 -2
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +3 -2
- package/dist/components/table-header.js +3 -2
- package/dist/components/tabs.js +3 -2
- package/dist/components/templates.js +3 -44
- package/dist/components/time-picker.js +4 -3
- package/dist/components/tooltip.js +3 -2
- package/dist/components/tree-item.js +3 -2
- package/dist/components/tree.js +3 -2
- package/dist/components/utils.js +1 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils4.js +1 -13
- package/dist/components/value-list-item.js +4 -3
- package/dist/components/value-list.js +3 -5
- package/dist/esm/arcgis-login.entry.js +3 -2
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-accordion-item.entry.js +7 -6
- package/dist/esm/calcite-accordion.entry.js +4 -3
- package/dist/esm/calcite-action-bar.entry.js +13 -12
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +4 -4
- package/dist/esm/calcite-block-section.entry.js +10 -9
- package/dist/esm/calcite-block_5.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +15 -14
- package/dist/esm/calcite-card-group.entry.js +8 -7
- package/dist/esm/calcite-card.entry.js +12 -11
- package/dist/esm/calcite-carousel-item.entry.js +3 -2
- package/dist/esm/calcite-carousel.entry.js +12 -11
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -7
- package/dist/esm/calcite-color-picker.entry.js +29 -29
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -5
- package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
- package/dist/esm/calcite-fab.entry.js +8 -7
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -12
- package/dist/esm/calcite-input-number.entry.js +15 -14
- package/dist/esm/calcite-input-text.entry.js +15 -14
- package/dist/esm/calcite-input-time-picker.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -13
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list-item-group.entry.js +5 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -9
- package/dist/esm/calcite-menu.entry.js +10 -9
- package/dist/esm/calcite-meter.entry.js +10 -9
- package/dist/esm/calcite-modal.entry.js +13 -18
- package/dist/esm/calcite-navigation-logo.entry.js +5 -4
- package/dist/esm/calcite-navigation.entry.js +6 -5
- package/dist/esm/calcite-notice.entry.js +12 -11
- package/dist/esm/calcite-option-group.entry.js +3 -2
- package/dist/esm/calcite-pagination.entry.js +10 -202
- package/dist/esm/calcite-pick-list-group.entry.js +8 -7
- package/dist/esm/calcite-pick-list-item.entry.js +15 -14
- package/dist/esm/calcite-pick-list.entry.js +12 -11
- package/dist/esm/calcite-radio-button-group.entry.js +6 -5
- package/dist/esm/calcite-radio-button.entry.js +10 -9
- package/dist/esm/calcite-rating.entry.js +14 -15
- package/dist/esm/calcite-sheet.entry.js +9 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +9 -8
- package/dist/esm/calcite-split-button.entry.js +6 -5
- package/dist/esm/calcite-stepper-item.entry.js +12 -11
- package/dist/esm/calcite-stepper.entry.js +9 -8
- package/dist/esm/calcite-switch.entry.js +11 -10
- package/dist/esm/calcite-table-row.entry.js +8 -7
- package/dist/esm/calcite-table.entry.js +11 -10
- package/dist/esm/calcite-text-area.entry.js +17 -15
- package/dist/esm/calcite-tile-group.entry.js +8 -7
- package/dist/esm/calcite-tile-select-group.entry.js +5 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-time-picker.entry.js +11 -10
- package/dist/esm/calcite-tip-group.entry.js +3 -2
- package/dist/esm/calcite-tip-manager.entry.js +10 -16
- package/dist/esm/calcite-tip.entry.js +11 -10
- package/dist/esm/calcite-tooltip.entry.js +9 -8
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/consent-manager.entry.js +7 -350
- package/dist/esm/crowdsource-manager.entry.js +9 -9
- package/dist/esm/crowdsource-reporter.entry.js +7 -8
- package/dist/esm/deduct-calculator.entry.js +3 -2
- package/dist/esm/{downloadUtils-78367e33.js → downloadUtils-65947034.js} +2 -2
- package/dist/esm/feature-comments.entry.js +3 -2
- package/dist/esm/feature-form-flow-item.entry.js +3 -2
- package/dist/esm/feature-list.entry.js +11 -11
- package/dist/esm/features-flow-item.entry.js +3 -2
- package/dist/esm/{helpers-d661d198.js → helpers-ca6fa5a6.js} +1 -1
- package/dist/esm/{index.es-2b549b56.js → index.es-8311d3b3.js} +3 -3
- package/dist/esm/index.js +0 -15
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +6 -5
- package/dist/esm/instant-apps-create.entry.js +9 -8
- package/dist/esm/instant-apps-export-views.entry.js +9 -8
- package/dist/esm/instant-apps-export.entry.js +9 -8
- package/dist/esm/instant-apps-header.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +16 -21
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +10 -10
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +8 -7
- package/dist/esm/instant-apps-landing-page.entry.js +3 -2
- package/dist/esm/instant-apps-language-switcher.entry.js +11 -10
- package/dist/esm/instant-apps-language-translator.entry.js +11 -10
- package/dist/esm/instant-apps-measurement.entry.js +8 -7
- package/dist/esm/instant-apps-popover.entry.js +8 -7
- package/dist/esm/instant-apps-popovers.entry.js +3 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +8 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -7
- package/dist/esm/instant-apps-splash.entry.js +8 -7
- package/dist/{solutions-components/languageSwitcher-35db9d61.js → esm/languageSwitcher-9db90f1e.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/layout-manager.entry.js +6 -6
- package/dist/esm/list-flow-item.entry.js +3 -2
- package/dist/{solutions-components/loadModules-4d6cf31f.js → esm/loadModules-03ba7abe.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-4dc2b896.js → locale-7becb9cd.js} +1 -1
- package/dist/esm/{locale-b4e7d56f.js → locale-d66155ee.js} +2 -2
- package/dist/esm/location-flow-item.entry.js +3 -2
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +3 -2
- package/dist/esm/{popupUtils-600a3c69.js → popupUtils-7b7851ca.js} +2 -2
- package/dist/esm/public-notification.entry.js +12 -12
- package/dist/esm/refine-results-flow-item.entry.js +3 -2
- package/dist/esm/share-item.entry.js +3 -2
- package/dist/esm/solution-configuration.entry.js +1096 -11
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-icon.entry.js +3 -2
- package/dist/esm/solutions-components.js +6 -33
- package/dist/esm/spatial-ref.entry.js +8 -8
- package/dist/esm/store-manager.entry.js +7 -6
- package/dist/esm/{utils-5ac53499.js → utils-8519a5f7.js} +1 -1
- package/dist/solutions-components/index.esm.js +0 -15
- package/dist/solutions-components/p-01ac1582.entry.js +6 -0
- package/dist/solutions-components/{p-c20f6a4b.entry.js → p-0fce578a.entry.js} +1 -1
- package/dist/solutions-components/{p-4cb18849.entry.js → p-16aa396b.entry.js} +1 -1
- package/dist/solutions-components/{p-58aca46f.entry.js → p-1977a2f2.entry.js} +1 -1
- package/dist/solutions-components/{p-da89f8f3.entry.js → p-1a137b52.entry.js} +1 -1
- package/dist/solutions-components/{p-427b4593.js → p-1c64264d.js} +1 -1
- package/dist/solutions-components/{p-702a8e9c.entry.js → p-250c058f.entry.js} +1 -1
- package/dist/solutions-components/{p-4dc6dcc4.entry.js → p-258356f9.entry.js} +1 -1
- package/dist/solutions-components/{p-36eaeb25.entry.js → p-266b0f36.entry.js} +1 -1
- package/dist/solutions-components/{p-274f2c44.entry.js → p-268484ad.entry.js} +1 -1
- package/dist/solutions-components/{p-4b6b0bcf.entry.js → p-28361110.entry.js} +1 -1
- package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
- package/dist/solutions-components/{p-4b740dbc.entry.js → p-38283c63.entry.js} +1 -1
- package/dist/solutions-components/{p-66a59698.entry.js → p-461a5633.entry.js} +1 -1
- package/dist/solutions-components/{p-ab24cecd.entry.js → p-46264ced.entry.js} +1 -1
- package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
- package/dist/solutions-components/{p-37481a7e.js → p-4facfedc.js} +1 -1
- package/dist/solutions-components/{p-88ebb067.js → p-596d1177.js} +1 -1
- package/dist/solutions-components/{p-d7aa16de.entry.js → p-5f636f70.entry.js} +1 -1
- package/dist/solutions-components/{p-6011f232.entry.js → p-6c7aa9b7.entry.js} +1 -1
- package/dist/solutions-components/{p-6c822b5a.entry.js → p-71131fea.entry.js} +1 -1
- package/dist/solutions-components/{p-09ea5380.entry.js → p-7348871e.entry.js} +1 -1
- package/dist/solutions-components/{p-4fb8dbdb.entry.js → p-736dee44.entry.js} +1 -1
- package/dist/solutions-components/{p-f1e44c41.js → p-75d5dfad.js} +2 -2
- package/dist/solutions-components/{p-cebae8b0.entry.js → p-77d55329.entry.js} +1 -1
- package/dist/solutions-components/{p-0b2a84bd.entry.js → p-89333ced.entry.js} +1 -1
- package/dist/solutions-components/{p-72268284.entry.js → p-8c1f9b20.entry.js} +1 -1
- package/dist/solutions-components/{p-9946b88e.entry.js → p-8db0af91.entry.js} +1 -1
- package/dist/solutions-components/{p-0424696b.entry.js → p-8ebe19ed.entry.js} +1 -1
- package/dist/solutions-components/{p-f2832661.entry.js → p-90d3eeb2.entry.js} +1 -1
- package/dist/solutions-components/{p-1b67b3e2.entry.js → p-9238c1ed.entry.js} +1 -1
- package/dist/solutions-components/{p-19f6ceaf.entry.js → p-93d98ebb.entry.js} +1 -1
- package/dist/solutions-components/{p-c9c97215.entry.js → p-957d275c.entry.js} +1 -1
- package/dist/solutions-components/{p-36ca2014.entry.js → p-9e1c97b0.entry.js} +1 -1
- package/dist/solutions-components/{p-30df83ea.js → p-9f2a0621.js} +1 -1
- package/dist/solutions-components/{p-cd56bd9d.entry.js → p-a26763d2.entry.js} +1 -1
- package/dist/solutions-components/{p-4ffe4d32.entry.js → p-a80c076e.entry.js} +1 -1
- package/dist/solutions-components/{p-67e06dfc.js → p-a84590db.js} +1 -1
- package/dist/solutions-components/{p-3e84a420.entry.js → p-ab2adcaf.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-73c535f7.entry.js → p-b2846de4.entry.js} +2 -2
- package/dist/solutions-components/{p-6be3c158.entry.js → p-b323bb0e.entry.js} +1 -1
- package/dist/solutions-components/{p-24f7ec82.entry.js → p-b65d5c58.entry.js} +1 -1
- package/dist/solutions-components/{p-296174a0.entry.js → p-c3d61142.entry.js} +1 -1
- package/dist/solutions-components/{p-60b4309f.entry.js → p-ce1b52e7.entry.js} +1 -1
- package/dist/solutions-components/{p-f90f7437.js → p-d36fae45.js} +1 -1
- package/dist/solutions-components/{p-69fb3157.entry.js → p-e1dbe7cf.entry.js} +1 -1
- package/dist/solutions-components/{p-2b430d5f.entry.js → p-edead891.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.css +1 -84
- package/dist/solutions-components/solutions-components.esm.js +1 -48
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +11 -11
- package/dist/cjs/ExpandToggle-4bf8ab4c.js +0 -118
- package/dist/cjs/FloatingArrow-0900fae3.js +0 -50
- package/dist/cjs/Heading-6f44a694.js +0 -25
- package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
- package/dist/cjs/ProjectUiSchemaCreate-c1cbccc7.js +0 -126
- package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
- package/dist/cjs/Validation-080a7842.js +0 -20
- package/dist/cjs/_commonjsHelpers-2dd87068.js +0 -43
- package/dist/cjs/app-globals-24367c32.js +0 -69
- package/dist/cjs/ar-a6ccf8f4.js +0 -105
- package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
- package/dist/cjs/bg-e6b1b515.js +0 -83
- package/dist/cjs/browser-1bf2a3d9.js +0 -28
- package/dist/cjs/bs-4151b94c.js +0 -52
- package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
- package/dist/cjs/ca-1744d62a.js +0 -72
- package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -292
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
- package/dist/cjs/calcite-action.cjs.entry.js +0 -191
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -150
- package/dist/cjs/calcite-block.cjs.entry.js +0 -214
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -282
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
- package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
- package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1141
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -112
- package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
- package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -359
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -459
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -426
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -182
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -206
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -757
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -69
- package/dist/cjs/calcite-input-time-picker-f8adb5d5.js +0 -1867
- package/dist/cjs/calcite-input.cjs.entry.js +0 -709
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -456
- package/dist/cjs/calcite-list.cjs.entry.js +0 -560
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +0 -72
- package/dist/cjs/calcite-option.cjs.entry.js +0 -88
- package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
- package/dist/cjs/calcite-popover.cjs.entry.js +0 -419
- package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
- package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
- package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -258
- package/dist/cjs/calcite-select.cjs.entry.js +0 -248
- package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
- package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
- package/dist/cjs/calcite-slider.cjs.entry.js +0 -874
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
- package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -470
- package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
- package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
- package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -166
- package/dist/cjs/calcite-table-header.cjs.entry.js +0 -183
- package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
- package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -298
- package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
- package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
- package/dist/cjs/calcite-value-list.cjs.entry.js +0 -325
- package/dist/cjs/card-manager.cjs.entry.js +0 -107
- package/dist/cjs/common-f5cf368e.js +0 -297
- package/dist/cjs/conditionalSlot-013ea8f1.js +0 -54
- package/dist/cjs/core-23721ec5.js +0 -329
- package/dist/cjs/create-feature.cjs.entry.js +0 -411
- package/dist/cjs/create-related-feature.cjs.entry.js +0 -288
- package/dist/cjs/cs-865bf9fc.js +0 -148
- package/dist/cjs/da-ec3cbd7d.js +0 -67
- package/dist/cjs/date-86802e0d.js +0 -261
- package/dist/cjs/de-at-33e63cf4.js +0 -91
- package/dist/cjs/de-ch-41c31254.js +0 -91
- package/dist/cjs/de-d2010af8.js +0 -92
- package/dist/cjs/delete-button.cjs.entry.js +0 -150
- package/dist/cjs/dom-3f868a04.js +0 -1174
- package/dist/cjs/downloadUtils-3f3ba92b.js +0 -4247
- package/dist/cjs/edit-card.cjs.entry.js +0 -228
- package/dist/cjs/el-694f3f53.js +0 -67
- package/dist/cjs/en-au-ee52aa15.js +0 -67
- package/dist/cjs/en-ca-f397253b.js +0 -66
- package/dist/cjs/en-gb-e38f2064.js +0 -70
- package/dist/cjs/es-1f31784e.js +0 -67
- package/dist/cjs/es-mx-e039dd38.js +0 -66
- package/dist/cjs/esri-loader-9b0ce1a4.js +0 -310
- package/dist/cjs/et-ab75e5bf.js +0 -93
- package/dist/cjs/feature-details.cjs.entry.js +0 -385
- package/dist/cjs/fi-ac75e6d2.js +0 -116
- package/dist/cjs/filter-bafcd70b.js +0 -48
- package/dist/cjs/floating-ui-87c9e9ed.js +0 -2377
- package/dist/cjs/floor-filter.cjs.entry.js +0 -153
- package/dist/cjs/focusTrapComponent-5195d563.js +0 -1028
- package/dist/cjs/form-067ee7bc.js +0 -381
- package/dist/cjs/fr-a10ffff6.js +0 -69
- package/dist/cjs/fr-ch-596ab83d.js +0 -67
- package/dist/cjs/he-bce2e0f6.js +0 -106
- package/dist/cjs/helpers-d91ad1d6.js +0 -864
- package/dist/cjs/hi-22d77acf.js +0 -66
- package/dist/cjs/hr-9a468bd9.js +0 -81
- package/dist/cjs/html2canvas-06585c20.js +0 -7852
- package/dist/cjs/hu-9722b179.js +0 -89
- package/dist/cjs/id-426a7d98.js +0 -67
- package/dist/cjs/index-25afe4b8.js +0 -1972
- package/dist/cjs/index-62dddc18.js +0 -3038
- package/dist/cjs/index-bf47f22d.js +0 -41718
- package/dist/cjs/index-e6154163.js +0 -201
- package/dist/cjs/index.es-bf2a62d8.js +0 -11678
- package/dist/cjs/info-card.cjs.entry.js +0 -367
- package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1067
- package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
- package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
- package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
- package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
- package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
- package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
- package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -520
- package/dist/cjs/interactive-f8825052.js +0 -154
- package/dist/cjs/it-b310ed48.js +0 -67
- package/dist/cjs/it-ch-804be2a9.js +0 -67
- package/dist/cjs/ja-fd61ab26.js +0 -73
- package/dist/cjs/json-editor.cjs.entry.js +0 -406
- package/dist/cjs/key-620e0822.js +0 -47
- package/dist/cjs/ko-a799f42d.js +0 -73
- package/dist/cjs/label-f71c85c6.js +0 -186
- package/dist/cjs/languageSwitcher-8209c73c.js +0 -60
- package/dist/cjs/languageUtil-a615ee13.js +0 -90
- package/dist/cjs/layer-list.cjs.entry.js +0 -197
- package/dist/cjs/layer-table.cjs.entry.js +0 -1562
- package/dist/cjs/loadModules-36d49819.js +0 -23
- package/dist/cjs/loadModules-e03cf23a.js +0 -30
- package/dist/cjs/loadable-68a22656.js +0 -97
- package/dist/cjs/locale-708985a1.js +0 -91
- package/dist/cjs/locale-898d043a.js +0 -152
- package/dist/cjs/locale-cfa79214.js +0 -585
- package/dist/cjs/lodash-7587da9f.js +0 -18030
- package/dist/cjs/lt-0508a01d.js +0 -98
- package/dist/cjs/lv-d8f83e7a.js +0 -67
- package/dist/cjs/map-card.cjs.entry.js +0 -231
- package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
- package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
- package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
- package/dist/cjs/map-legend.cjs.entry.js +0 -109
- package/dist/cjs/map-picker.cjs.entry.js +0 -174
- package/dist/cjs/map-search.cjs.entry.js +0 -184
- package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
- package/dist/cjs/map-tools.cjs.entry.js +0 -375
- package/dist/cjs/mapViewUtils-83bc7d78.js +0 -295
- package/dist/cjs/mk-475a7a99.js +0 -67
- package/dist/cjs/mode-a52277fc.js +0 -27
- package/dist/cjs/nb-92a9acc8.js +0 -68
- package/dist/cjs/nl-ea0f033c.js +0 -68
- package/dist/cjs/observers-682136dc.js +0 -58
- package/dist/cjs/openCloseComponent-2fdcb310.js +0 -140
- package/dist/cjs/parser-08a36734.js +0 -1648
- package/dist/cjs/pdf-download.cjs.entry.js +0 -359
- package/dist/cjs/pl-05a4b5a1.js +0 -115
- package/dist/cjs/popupUtils-e6a2131f.js +0 -111
- package/dist/cjs/pt-8fe24b18.js +0 -68
- package/dist/cjs/pt-br-eba3aab9.js +0 -66
- package/dist/cjs/publicNotificationStore-ce215887.js +0 -47
- package/dist/cjs/purify-d00d4598.js +0 -1719
- package/dist/cjs/queryUtils-ad516c97.js +0 -283
- package/dist/cjs/refine-selection.cjs.entry.js +0 -412
- package/dist/cjs/resources-09a78a36.js +0 -30
- package/dist/cjs/resources-13ca5745.js +0 -116
- package/dist/cjs/resources-3855f743.js +0 -53
- package/dist/cjs/resources-921affcb.js +0 -49
- package/dist/cjs/resources-c241718f.js +0 -29
- package/dist/cjs/ro-c92cb77e.js +0 -67
- package/dist/cjs/ru-273dc1dc.js +0 -127
- package/dist/cjs/shadow-css-64ff22a6.js +0 -363
- package/dist/cjs/shared-list-render-a3a4e5db.js +0 -370
- package/dist/cjs/sk-f0fb5cd7.js +0 -149
- package/dist/cjs/sl-3bc46f93.js +0 -169
- package/dist/cjs/solution-contents.cjs.entry.js +0 -84
- package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
- package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
- package/dist/cjs/solution-item.cjs.entry.js +0 -106
- package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
- package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
- package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -168
- package/dist/cjs/solution-store-cef42401.js +0 -587
- package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
- package/dist/cjs/solution-variables.cjs.entry.js +0 -107
- package/dist/cjs/sortableComponent-b1be22c5.js +0 -3444
- package/dist/cjs/sr-ae040dc3.js +0 -102
- package/dist/cjs/store-3ba88099.js +0 -91
- package/dist/cjs/sv-769838ef.js +0 -72
- package/dist/cjs/t9n-0f4446d0.js +0 -103
- package/dist/cjs/templates-19d0e370.js +0 -442
- package/dist/cjs/th-9b569ee1.js +0 -66
- package/dist/cjs/time-5eec06fe.js +0 -289
- package/dist/cjs/tr-9cc6c813.js +0 -67
- package/dist/cjs/uk-c549303a.js +0 -105
- package/dist/cjs/utils-05355ba0.js +0 -64
- package/dist/cjs/utils-3128e748.js +0 -226
- package/dist/cjs/utils-4ad2f4f2.js +0 -68
- package/dist/cjs/utils-589c9301.js +0 -142
- package/dist/cjs/utils-70b0604a.js +0 -52
- package/dist/cjs/vi-e4806300.js +0 -71
- package/dist/cjs/zh-cn-e13c7902.js +0 -95
- package/dist/cjs/zh-hk-2d4440e3.js +0 -72
- package/dist/cjs/zh-tw-d9c5da28.js +0 -93
- package/dist/components/InitiativeUiSchemaEdit.js +0 -26
- package/dist/components/ProjectUiSchemaCreate.js +0 -122
- package/dist/components/ProjectUiSchemaEdit.js +0 -176
- package/dist/components/index7.js +0 -71
- package/dist/components/lodash.js +0 -18025
- package/dist/components/parser.js +0 -1646
- package/dist/esm/ExpandToggle-cb895a2c.js +0 -110
- package/dist/esm/FloatingArrow-636ce2ee.js +0 -48
- package/dist/esm/Heading-baf4a991.js +0 -22
- package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/esm/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/esm/Validation-b3331c79.js +0 -18
- package/dist/esm/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/esm/app-globals-97f5814f.js +0 -67
- package/dist/esm/ar-6236d364.js +0 -103
- package/dist/esm/basemap-gallery.entry.js +0 -117
- package/dist/esm/bg-498492ff.js +0 -81
- package/dist/esm/browser-920df963.js +0 -26
- package/dist/esm/bs-60412b06.js +0 -50
- package/dist/esm/buffer-tools.entry.js +0 -253
- package/dist/esm/ca-7844b785.js +0 -70
- package/dist/esm/calcite-action-menu.entry.js +0 -288
- package/dist/esm/calcite-action-pad.entry.js +0 -165
- package/dist/esm/calcite-action.entry.js +0 -187
- package/dist/esm/calcite-alert.entry.js +0 -318
- package/dist/esm/calcite-avatar.entry.js +0 -146
- package/dist/esm/calcite-block.entry.js +0 -210
- package/dist/esm/calcite-chip.entry.js +0 -278
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/esm/calcite-combobox-item.entry.js +0 -141
- package/dist/esm/calcite-combobox.entry.js +0 -1137
- package/dist/esm/calcite-date-picker-day.entry.js +0 -108
- package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/esm/calcite-date-picker-month.entry.js +0 -355
- package/dist/esm/calcite-date-picker.entry.js +0 -455
- package/dist/esm/calcite-dropdown-group.entry.js +0 -81
- package/dist/esm/calcite-dropdown-item.entry.js +0 -184
- package/dist/esm/calcite-dropdown.entry.js +0 -422
- package/dist/esm/calcite-filter.entry.js +0 -178
- package/dist/esm/calcite-flow-item.entry.js +0 -194
- package/dist/esm/calcite-flow.entry.js +0 -149
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-handle.entry.js +0 -202
- package/dist/esm/calcite-input-date-picker.entry.js +0 -753
- package/dist/esm/calcite-input-message.entry.js +0 -65
- package/dist/esm/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/esm/calcite-input.entry.js +0 -705
- package/dist/esm/calcite-list-item.entry.js +0 -452
- package/dist/esm/calcite-list.entry.js +0 -556
- package/dist/esm/calcite-loader.entry.js +0 -76
- package/dist/esm/calcite-navigation-user.entry.js +0 -68
- package/dist/esm/calcite-option.entry.js +0 -84
- package/dist/esm/calcite-panel.entry.js +0 -266
- package/dist/esm/calcite-popover.entry.js +0 -415
- package/dist/esm/calcite-progress.entry.js +0 -37
- package/dist/esm/calcite-scrim.entry.js +0 -121
- package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
- package/dist/esm/calcite-segmented-control.entry.js +0 -254
- package/dist/esm/calcite-select.entry.js +0 -244
- package/dist/esm/calcite-shell-panel.entry.js +0 -410
- package/dist/esm/calcite-shell.entry.js +0 -170
- package/dist/esm/calcite-slider.entry.js +0 -870
- package/dist/esm/calcite-stack.entry.js +0 -70
- package/dist/esm/calcite-tab-nav.entry.js +0 -466
- package/dist/esm/calcite-tab-title.entry.js +0 -287
- package/dist/esm/calcite-tab.entry.js +0 -108
- package/dist/esm/calcite-table-cell.entry.js +0 -162
- package/dist/esm/calcite-table-header.entry.js +0 -179
- package/dist/esm/calcite-tabs.entry.js +0 -174
- package/dist/esm/calcite-tree-item.entry.js +0 -294
- package/dist/esm/calcite-tree.entry.js +0 -311
- package/dist/esm/calcite-value-list-item.entry.js +0 -153
- package/dist/esm/calcite-value-list.entry.js +0 -321
- package/dist/esm/card-manager.entry.js +0 -103
- package/dist/esm/common-17d5568a.js +0 -295
- package/dist/esm/conditionalSlot-937057aa.js +0 -51
- package/dist/esm/core-a0d3cc0e.js +0 -324
- package/dist/esm/create-feature.entry.js +0 -407
- package/dist/esm/create-related-feature.entry.js +0 -284
- package/dist/esm/cs-be3aa1ae.js +0 -146
- package/dist/esm/da-5a58f3f2.js +0 -65
- package/dist/esm/date-a63e8e28.js +0 -245
- package/dist/esm/de-at-780d22a4.js +0 -89
- package/dist/esm/de-ch-5cf4813a.js +0 -89
- package/dist/esm/de-d041f0a0.js +0 -90
- package/dist/esm/delete-button.entry.js +0 -146
- package/dist/esm/dom-1f06a111.js +0 -1141
- package/dist/esm/downloadUtils-238038d2.js +0 -4240
- package/dist/esm/edit-card.entry.js +0 -224
- package/dist/esm/el-7c6af41a.js +0 -65
- package/dist/esm/en-au-dd7a3ee4.js +0 -65
- package/dist/esm/en-ca-4b21b3cd.js +0 -64
- package/dist/esm/en-gb-6ab000e3.js +0 -68
- package/dist/esm/es-1fd84773.js +0 -65
- package/dist/esm/es-mx-b82367c3.js +0 -64
- package/dist/esm/esri-loader-5bf2f164.js +0 -308
- package/dist/esm/et-08a0e4a8.js +0 -91
- package/dist/esm/feature-details.entry.js +0 -381
- package/dist/esm/fi-fe995ecb.js +0 -114
- package/dist/esm/filter-e3e2b01f.js +0 -46
- package/dist/esm/floating-ui-112e26aa.js +0 -2369
- package/dist/esm/floor-filter.entry.js +0 -149
- package/dist/esm/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/esm/form-cd789357.js +0 -372
- package/dist/esm/fr-aed06af0.js +0 -67
- package/dist/esm/fr-ch-a9d10a0f.js +0 -65
- package/dist/esm/he-a0a1731e.js +0 -104
- package/dist/esm/helpers-457bbf66.js +0 -840
- package/dist/esm/hi-ae48041a.js +0 -64
- package/dist/esm/hr-2ae1f998.js +0 -79
- package/dist/esm/html2canvas-88d6eded.js +0 -7850
- package/dist/esm/hu-2615f261.js +0 -87
- package/dist/esm/id-598e1355.js +0 -65
- package/dist/esm/index-0eecd45f.js +0 -2998
- package/dist/esm/index-8b8db9ba.js +0 -1970
- package/dist/esm/index-a879e1d6.js +0 -41699
- package/dist/esm/index-b1418e2a.js +0 -199
- package/dist/esm/index.es-e2310dbf.js +0 -11591
- package/dist/esm/info-card.entry.js +0 -363
- package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/esm/instant-apps-filter-list.entry.js +0 -1063
- package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/esm/instant-apps-social-share.entry.js +0 -516
- package/dist/esm/interactive-179483f5.js +0 -149
- package/dist/esm/it-56a44209.js +0 -65
- package/dist/esm/it-ch-8fd9abf4.js +0 -65
- package/dist/esm/ja-66007f4d.js +0 -71
- package/dist/esm/json-editor.entry.js +0 -402
- package/dist/esm/key-15222297.js +0 -44
- package/dist/esm/ko-2e3b9aa8.js +0 -71
- package/dist/esm/label-c34ec0cf.js +0 -179
- package/dist/esm/languageSwitcher-35db9d61.js +0 -57
- package/dist/esm/languageSwitcher-b665499d.js +0 -57
- package/dist/esm/languageUtil-83ed2742.js +0 -87
- package/dist/esm/layer-list.entry.js +0 -193
- package/dist/esm/layer-table.entry.js +0 -1558
- package/dist/esm/loadModules-18662c29.js +0 -28
- package/dist/esm/loadModules-4d6cf31f.js +0 -21
- package/dist/esm/loadModules-9c062d08.js +0 -21
- package/dist/esm/loadable-5f2ac40f.js +0 -92
- package/dist/esm/locale-1b4d548e.js +0 -572
- package/dist/esm/locale-448ea937.js +0 -148
- package/dist/esm/locale-f1dd2532.js +0 -86
- package/dist/esm/lodash-98e4b7d0.js +0 -18025
- package/dist/esm/lt-2a6a8e94.js +0 -96
- package/dist/esm/lv-8b3c01bb.js +0 -65
- package/dist/esm/map-card.entry.js +0 -227
- package/dist/esm/map-draw-tools.entry.js +0 -354
- package/dist/esm/map-fullscreen.entry.js +0 -112
- package/dist/esm/map-layer-picker.entry.js +0 -342
- package/dist/esm/map-legend.entry.js +0 -105
- package/dist/esm/map-picker.entry.js +0 -170
- package/dist/esm/map-search.entry.js +0 -180
- package/dist/esm/map-select-tools.entry.js +0 -794
- package/dist/esm/map-tools.entry.js +0 -371
- package/dist/esm/mapViewUtils-d4946a31.js +0 -284
- package/dist/esm/mk-428c21bd.js +0 -65
- package/dist/esm/mode-e7b9fabb.js +0 -25
- package/dist/esm/nb-67929ffe.js +0 -66
- package/dist/esm/nl-954b9062.js +0 -66
- package/dist/esm/observers-81ed4977.js +0 -56
- package/dist/esm/openCloseComponent-739f40b7.js +0 -138
- package/dist/esm/parser-a682fcdf.js +0 -1646
- package/dist/esm/pdf-download.entry.js +0 -355
- package/dist/esm/pl-eba736c7.js +0 -113
- package/dist/esm/popupUtils-c60ca656.js +0 -109
- package/dist/esm/pt-br-ed6f0302.js +0 -64
- package/dist/esm/pt-e6518f49.js +0 -66
- package/dist/esm/publicNotificationStore-59732134.js +0 -45
- package/dist/esm/purify-ed095e80.js +0 -1717
- package/dist/esm/queryUtils-2ee0f383.js +0 -274
- package/dist/esm/refine-selection.entry.js +0 -408
- package/dist/esm/resources-092fef68.js +0 -106
- package/dist/esm/resources-66978311.js +0 -26
- package/dist/esm/resources-be0262db.js +0 -45
- package/dist/esm/resources-be5a6557.js +0 -26
- package/dist/esm/resources-ec5198da.js +0 -49
- package/dist/esm/ro-cb3c8995.js +0 -65
- package/dist/esm/ru-dd440634.js +0 -125
- package/dist/esm/shadow-css-15628d22.js +0 -361
- package/dist/esm/shared-list-render-a787615a.js +0 -348
- package/dist/esm/sk-a8db2217.js +0 -147
- package/dist/esm/sl-f798a76e.js +0 -167
- package/dist/esm/solution-contents.entry.js +0 -80
- package/dist/esm/solution-item-details.entry.js +0 -195
- package/dist/esm/solution-item-sharing.entry.js +0 -135
- package/dist/esm/solution-item.entry.js +0 -102
- package/dist/esm/solution-organization-variables.entry.js +0 -91
- package/dist/esm/solution-resource-item.entry.js +0 -280
- package/dist/esm/solution-spatial-ref.entry.js +0 -164
- package/dist/esm/solution-store-5a6cf181.js +0 -585
- package/dist/esm/solution-template-data.entry.js +0 -115
- package/dist/esm/solution-variables.entry.js +0 -103
- package/dist/esm/sortableComponent-ee74aef6.js +0 -3440
- package/dist/esm/sr-342a663a.js +0 -100
- package/dist/esm/store-b2b2565a.js +0 -87
- package/dist/esm/sv-84670dbd.js +0 -70
- package/dist/esm/t9n-2df2d559.js +0 -98
- package/dist/esm/templates-335c6b6f.js +0 -436
- package/dist/esm/th-a9c8533d.js +0 -64
- package/dist/esm/time-d753f161.js +0 -274
- package/dist/esm/tr-c2cc2873.js +0 -65
- package/dist/esm/uk-906a1eb0.js +0 -103
- package/dist/esm/utils-2c8108af.js +0 -133
- package/dist/esm/utils-580e77c3.js +0 -208
- package/dist/esm/utils-9aa96070.js +0 -61
- package/dist/esm/utils-ab48a0d6.js +0 -47
- package/dist/esm/utils-f96adae4.js +0 -57
- package/dist/esm/vi-7b43fafd.js +0 -69
- package/dist/esm/zh-cn-c19f2858.js +0 -93
- package/dist/esm/zh-hk-f212412d.js +0 -70
- package/dist/esm/zh-tw-be3a4302.js +0 -91
- package/dist/solutions-components/ExpandToggle-cb895a2c.js +0 -110
- package/dist/solutions-components/FloatingArrow-636ce2ee.js +0 -48
- package/dist/solutions-components/Heading-baf4a991.js +0 -22
- package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/solutions-components/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/solutions-components/Validation-b3331c79.js +0 -18
- package/dist/solutions-components/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/solutions-components/app-globals-97f5814f.js +0 -67
- package/dist/solutions-components/ar-6236d364.js +0 -103
- package/dist/solutions-components/arcgis-login.entry.js +0 -56
- package/dist/solutions-components/array-2604a55d.js +0 -15
- package/dist/solutions-components/basemap-gallery.entry.js +0 -117
- package/dist/solutions-components/bg-498492ff.js +0 -81
- package/dist/solutions-components/breakpoints-3afa0fd9.js +0 -15
- package/dist/solutions-components/browser-920df963.js +0 -26
- package/dist/solutions-components/bs-60412b06.js +0 -50
- package/dist/solutions-components/buffer-tools.entry.js +0 -253
- package/dist/solutions-components/ca-7844b785.js +0 -70
- package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
- package/dist/solutions-components/calcite-accordion.entry.js +0 -81
- package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
- package/dist/solutions-components/calcite-action-group.entry.js +0 -112
- package/dist/solutions-components/calcite-action-menu.entry.js +0 -288
- package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
- package/dist/solutions-components/calcite-action.entry.js +0 -187
- package/dist/solutions-components/calcite-alert.entry.js +0 -318
- package/dist/solutions-components/calcite-avatar.entry.js +0 -146
- package/dist/solutions-components/calcite-block-section.entry.js +0 -162
- package/dist/solutions-components/calcite-block.entry.js +0 -210
- package/dist/solutions-components/calcite-button.entry.js +0 -230
- package/dist/solutions-components/calcite-card-group.entry.js +0 -164
- package/dist/solutions-components/calcite-card.entry.js +0 -227
- package/dist/solutions-components/calcite-carousel-item.entry.js +0 -41
- package/dist/solutions-components/calcite-carousel.entry.js +0 -462
- package/dist/solutions-components/calcite-checkbox.entry.js +0 -147
- package/dist/solutions-components/calcite-chip-group.entry.js +0 -197
- package/dist/solutions-components/calcite-chip.entry.js +0 -278
- package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/solutions-components/calcite-color-picker.entry.js +0 -923
- package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
- package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
- package/dist/solutions-components/calcite-combobox.entry.js +0 -1137
- package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -108
- package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -355
- package/dist/solutions-components/calcite-date-picker.entry.js +0 -455
- package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
- package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
- package/dist/solutions-components/calcite-dropdown.entry.js +0 -422
- package/dist/solutions-components/calcite-fab.entry.js +0 -90
- package/dist/solutions-components/calcite-filter.entry.js +0 -178
- package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
- package/dist/solutions-components/calcite-flow.entry.js +0 -149
- package/dist/solutions-components/calcite-graph.entry.js +0 -222
- package/dist/solutions-components/calcite-handle.entry.js +0 -202
- package/dist/solutions-components/calcite-icon.entry.js +0 -179
- package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
- package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -753
- package/dist/solutions-components/calcite-input-message.entry.js +0 -65
- package/dist/solutions-components/calcite-input-number.entry.js +0 -632
- package/dist/solutions-components/calcite-input-text.entry.js +0 -369
- package/dist/solutions-components/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
- package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -373
- package/dist/solutions-components/calcite-input.entry.js +0 -705
- package/dist/solutions-components/calcite-label.entry.js +0 -67
- package/dist/solutions-components/calcite-link.entry.js +0 -108
- package/dist/solutions-components/calcite-list-item-group.entry.js +0 -66
- package/dist/solutions-components/calcite-list-item.entry.js +0 -452
- package/dist/solutions-components/calcite-list.entry.js +0 -556
- package/dist/solutions-components/calcite-loader.entry.js +0 -76
- package/dist/solutions-components/calcite-menu-item.entry.js +0 -284
- package/dist/solutions-components/calcite-menu.entry.js +0 -180
- package/dist/solutions-components/calcite-meter.entry.js +0 -332
- package/dist/solutions-components/calcite-modal.entry.js +0 -394
- package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -92
- package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
- package/dist/solutions-components/calcite-navigation.entry.js +0 -166
- package/dist/solutions-components/calcite-notice.entry.js +0 -163
- package/dist/solutions-components/calcite-option-group.entry.js +0 -35
- package/dist/solutions-components/calcite-option.entry.js +0 -84
- package/dist/solutions-components/calcite-pagination.entry.js +0 -580
- package/dist/solutions-components/calcite-panel.entry.js +0 -266
- package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
- package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
- package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
- package/dist/solutions-components/calcite-popover.entry.js +0 -415
- package/dist/solutions-components/calcite-progress.entry.js +0 -37
- package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
- package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
- package/dist/solutions-components/calcite-rating.entry.js +0 -261
- package/dist/solutions-components/calcite-scrim.entry.js +0 -121
- package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
- package/dist/solutions-components/calcite-segmented-control.entry.js +0 -254
- package/dist/solutions-components/calcite-select.entry.js +0 -244
- package/dist/solutions-components/calcite-sheet.entry.js +0 -223
- package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
- package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
- package/dist/solutions-components/calcite-shell.entry.js +0 -170
- package/dist/solutions-components/calcite-slider.entry.js +0 -870
- package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
- package/dist/solutions-components/calcite-split-button.entry.js +0 -112
- package/dist/solutions-components/calcite-stack.entry.js +0 -70
- package/dist/solutions-components/calcite-stepper-item.entry.js +0 -237
- package/dist/solutions-components/calcite-stepper.entry.js +0 -336
- package/dist/solutions-components/calcite-switch.entry.js +0 -113
- package/dist/solutions-components/calcite-tab-nav.entry.js +0 -466
- package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
- package/dist/solutions-components/calcite-tab.entry.js +0 -108
- package/dist/solutions-components/calcite-table-cell.entry.js +0 -162
- package/dist/solutions-components/calcite-table-header.entry.js +0 -179
- package/dist/solutions-components/calcite-table-row.entry.js +0 -259
- package/dist/solutions-components/calcite-table.entry.js +0 -323
- package/dist/solutions-components/calcite-tabs.entry.js +0 -174
- package/dist/solutions-components/calcite-text-area.entry.js +0 -302
- package/dist/solutions-components/calcite-tile-group.entry.js +0 -170
- package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
- package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
- package/dist/solutions-components/calcite-tile.entry.js +0 -197
- package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
- package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
- package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
- package/dist/solutions-components/calcite-tip.entry.js +0 -126
- package/dist/solutions-components/calcite-tooltip.entry.js +0 -431
- package/dist/solutions-components/calcite-tree-item.entry.js +0 -294
- package/dist/solutions-components/calcite-tree.entry.js +0 -311
- package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
- package/dist/solutions-components/calcite-value-list.entry.js +0 -321
- package/dist/solutions-components/card-manager.entry.js +0 -103
- package/dist/solutions-components/common-17d5568a.js +0 -295
- package/dist/solutions-components/component-960ddabf.js +0 -30
- package/dist/solutions-components/conditionalSlot-937057aa.js +0 -51
- package/dist/solutions-components/consent-manager.entry.js +0 -1099
- package/dist/solutions-components/core-a0d3cc0e.js +0 -324
- package/dist/solutions-components/create-feature.entry.js +0 -407
- package/dist/solutions-components/create-related-feature.entry.js +0 -284
- package/dist/solutions-components/crowdsource-manager.entry.js +0 -539
- package/dist/solutions-components/crowdsource-reporter.entry.js +0 -913
- package/dist/solutions-components/cs-be3aa1ae.js +0 -146
- package/dist/solutions-components/da-5a58f3f2.js +0 -65
- package/dist/solutions-components/date-a63e8e28.js +0 -245
- package/dist/solutions-components/de-at-780d22a4.js +0 -89
- package/dist/solutions-components/de-ch-5cf4813a.js +0 -89
- package/dist/solutions-components/de-d041f0a0.js +0 -90
- package/dist/solutions-components/deduct-calculator.entry.js +0 -101
- package/dist/solutions-components/delete-button.entry.js +0 -146
- package/dist/solutions-components/dom-1f06a111.js +0 -1141
- package/dist/solutions-components/downloadUtils-238038d2.js +0 -4240
- package/dist/solutions-components/edit-card.entry.js +0 -224
- package/dist/solutions-components/el-7c6af41a.js +0 -65
- package/dist/solutions-components/en-au-dd7a3ee4.js +0 -65
- package/dist/solutions-components/en-ca-4b21b3cd.js +0 -64
- package/dist/solutions-components/en-gb-6ab000e3.js +0 -68
- package/dist/solutions-components/es-1fd84773.js +0 -65
- package/dist/solutions-components/es-mx-b82367c3.js +0 -64
- package/dist/solutions-components/esri-loader-5bf2f164.js +0 -308
- package/dist/solutions-components/et-08a0e4a8.js +0 -91
- package/dist/solutions-components/feature-comments.entry.js +0 -56
- package/dist/solutions-components/feature-details.entry.js +0 -381
- package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
- package/dist/solutions-components/feature-list.entry.js +0 -301
- package/dist/solutions-components/features-flow-item.entry.js +0 -56
- package/dist/solutions-components/fi-fe995ecb.js +0 -114
- package/dist/solutions-components/filter-e3e2b01f.js +0 -46
- package/dist/solutions-components/floating-ui-112e26aa.js +0 -2369
- package/dist/solutions-components/floor-filter.entry.js +0 -149
- package/dist/solutions-components/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/solutions-components/form-cd789357.js +0 -372
- package/dist/solutions-components/fr-aed06af0.js +0 -67
- package/dist/solutions-components/fr-ch-a9d10a0f.js +0 -65
- package/dist/solutions-components/guid-f05d01d5.js +0 -24
- package/dist/solutions-components/he-a0a1731e.js +0 -104
- package/dist/solutions-components/helpers-457bbf66.js +0 -840
- package/dist/solutions-components/hi-ae48041a.js +0 -64
- package/dist/solutions-components/hr-2ae1f998.js +0 -79
- package/dist/solutions-components/html2canvas-88d6eded.js +0 -7850
- package/dist/solutions-components/hu-2615f261.js +0 -87
- package/dist/solutions-components/id-598e1355.js +0 -65
- package/dist/solutions-components/index-0eecd45f.js +0 -2998
- package/dist/solutions-components/index-5110a27a.js +0 -71
- package/dist/solutions-components/index-8b8db9ba.js +0 -1970
- package/dist/solutions-components/index-a1e91462.js +0 -2105
- package/dist/solutions-components/index-a879e1d6.js +0 -41699
- package/dist/solutions-components/index-b1418e2a.js +0 -199
- package/dist/solutions-components/index-d8ff08ed.js +0 -204
- package/dist/solutions-components/index.es-e2310dbf.js +0 -11591
- package/dist/solutions-components/info-card.entry.js +0 -363
- package/dist/solutions-components/input-96cf61a2.js +0 -58
- package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -92
- package/dist/solutions-components/instant-apps-create.entry.js +0 -264
- package/dist/solutions-components/instant-apps-export-views.entry.js +0 -722
- package/dist/solutions-components/instant-apps-export.entry.js +0 -903
- package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1063
- package/dist/solutions-components/instant-apps-header.entry.js +0 -125
- package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1616
- package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
- package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
- package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -150
- package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
- package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
- package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
- package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
- package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
- package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
- package/dist/solutions-components/instant-apps-sign-in.entry.js +0 -164
- package/dist/solutions-components/instant-apps-social-share.entry.js +0 -516
- package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
- package/dist/solutions-components/interactive-179483f5.js +0 -149
- package/dist/solutions-components/interfaces-586e863c.js +0 -80
- package/dist/solutions-components/it-56a44209.js +0 -65
- package/dist/solutions-components/it-ch-8fd9abf4.js +0 -65
- package/dist/solutions-components/ja-66007f4d.js +0 -71
- package/dist/solutions-components/json-editor.entry.js +0 -402
- package/dist/solutions-components/key-15222297.js +0 -44
- package/dist/solutions-components/ko-2e3b9aa8.js +0 -71
- package/dist/solutions-components/label-c34ec0cf.js +0 -179
- package/dist/solutions-components/languageUtil-83ed2742.js +0 -87
- package/dist/solutions-components/layer-list.entry.js +0 -193
- package/dist/solutions-components/layer-table.entry.js +0 -1558
- package/dist/solutions-components/layout-manager.entry.js +0 -91
- package/dist/solutions-components/list-flow-item.entry.js +0 -56
- package/dist/solutions-components/loadModules-18662c29.js +0 -28
- package/dist/solutions-components/loadable-5f2ac40f.js +0 -92
- package/dist/solutions-components/locale-1b4d548e.js +0 -572
- package/dist/solutions-components/locale-448ea937.js +0 -148
- package/dist/solutions-components/locale-f1dd2532.js +0 -86
- package/dist/solutions-components/location-flow-item.entry.js +0 -56
- package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
- package/dist/solutions-components/lt-2a6a8e94.js +0 -96
- package/dist/solutions-components/lv-8b3c01bb.js +0 -65
- package/dist/solutions-components/map-card.entry.js +0 -227
- package/dist/solutions-components/map-draw-tools.entry.js +0 -354
- package/dist/solutions-components/map-fullscreen.entry.js +0 -112
- package/dist/solutions-components/map-layer-picker.entry.js +0 -342
- package/dist/solutions-components/map-legend.entry.js +0 -105
- package/dist/solutions-components/map-picker.entry.js +0 -170
- package/dist/solutions-components/map-search.entry.js +0 -180
- package/dist/solutions-components/map-select-tools.entry.js +0 -794
- package/dist/solutions-components/map-tools.entry.js +0 -371
- package/dist/solutions-components/mapViewUtils-d4946a31.js +0 -284
- package/dist/solutions-components/math-81650811.js +0 -54
- package/dist/solutions-components/mk-428c21bd.js +0 -65
- package/dist/solutions-components/mode-e7b9fabb.js +0 -25
- package/dist/solutions-components/nb-67929ffe.js +0 -66
- package/dist/solutions-components/nl-954b9062.js +0 -66
- package/dist/solutions-components/observers-81ed4977.js +0 -56
- package/dist/solutions-components/openCloseComponent-739f40b7.js +0 -138
- package/dist/solutions-components/p-1a12761f.entry.js +0 -6
- package/dist/solutions-components/parser-a682fcdf.js +0 -1646
- package/dist/solutions-components/pci-calculator.entry.js +0 -113
- package/dist/solutions-components/pciUtils-986ddad9.js +0 -844
- package/dist/solutions-components/pdf-download.entry.js +0 -355
- package/dist/solutions-components/pl-eba736c7.js +0 -113
- package/dist/solutions-components/popupUtils-c60ca656.js +0 -109
- package/dist/solutions-components/pt-br-ed6f0302.js +0 -64
- package/dist/solutions-components/pt-e6518f49.js +0 -66
- package/dist/solutions-components/public-notification.entry.js +0 -1005
- package/dist/solutions-components/publicNotificationStore-59732134.js +0 -45
- package/dist/solutions-components/purify-ed095e80.js +0 -1717
- package/dist/solutions-components/queryUtils-2ee0f383.js +0 -274
- package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
- package/dist/solutions-components/refine-selection.entry.js +0 -408
- package/dist/solutions-components/resources-092fef68.js +0 -106
- package/dist/solutions-components/resources-16800cce.js +0 -24
- package/dist/solutions-components/resources-3587e9a5.js +0 -20
- package/dist/solutions-components/resources-66978311.js +0 -26
- package/dist/solutions-components/resources-7c4efc5e.js +0 -22
- package/dist/solutions-components/resources-7c61fbec.js +0 -62
- package/dist/solutions-components/resources-7d202c09.js +0 -24
- package/dist/solutions-components/resources-ae36eaff.js +0 -19
- package/dist/solutions-components/resources-be0262db.js +0 -45
- package/dist/solutions-components/resources-be5a6557.js +0 -26
- package/dist/solutions-components/resources-dd68a4aa.js +0 -35
- package/dist/solutions-components/resources-ec5198da.js +0 -49
- package/dist/solutions-components/ro-cb3c8995.js +0 -65
- package/dist/solutions-components/ru-dd440634.js +0 -125
- package/dist/solutions-components/shadow-css-15628d22.js +0 -361
- package/dist/solutions-components/share-item.entry.js +0 -56
- package/dist/solutions-components/shared-list-render-a787615a.js +0 -348
- package/dist/solutions-components/sk-a8db2217.js +0 -147
- package/dist/solutions-components/sl-f798a76e.js +0 -167
- package/dist/solutions-components/solution-configuration.entry.js +0 -565
- package/dist/solutions-components/solution-contents.entry.js +0 -80
- package/dist/solutions-components/solution-item-details.entry.js +0 -195
- package/dist/solutions-components/solution-item-icon.entry.js +0 -323
- package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
- package/dist/solutions-components/solution-item.entry.js +0 -102
- package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
- package/dist/solutions-components/solution-resource-item.entry.js +0 -280
- package/dist/solutions-components/solution-spatial-ref.entry.js +0 -164
- package/dist/solutions-components/solution-store-5a6cf181.js +0 -585
- package/dist/solutions-components/solution-template-data.entry.js +0 -115
- package/dist/solutions-components/solution-variables.entry.js +0 -103
- package/dist/solutions-components/sortableComponent-ee74aef6.js +0 -3440
- package/dist/solutions-components/spatial-ref.entry.js +0 -21296
- package/dist/solutions-components/sr-342a663a.js +0 -100
- package/dist/solutions-components/store-b2b2565a.js +0 -87
- package/dist/solutions-components/store-manager.entry.js +0 -75
- package/dist/solutions-components/styles-b3492d9f.js +0 -11
- package/dist/solutions-components/sv-84670dbd.js +0 -70
- package/dist/solutions-components/t9n-2df2d559.js +0 -98
- package/dist/solutions-components/templates-335c6b6f.js +0 -436
- package/dist/solutions-components/th-a9c8533d.js +0 -64
- package/dist/solutions-components/time-d753f161.js +0 -274
- package/dist/solutions-components/tr-c2cc2873.js +0 -65
- package/dist/solutions-components/uk-906a1eb0.js +0 -103
- package/dist/solutions-components/utils-2c8108af.js +0 -133
- package/dist/solutions-components/utils-580e77c3.js +0 -208
- package/dist/solutions-components/utils-9aa96070.js +0 -61
- package/dist/solutions-components/utils-ab48a0d6.js +0 -47
- package/dist/solutions-components/utils-f96adae4.js +0 -57
- package/dist/solutions-components/vi-7b43fafd.js +0 -69
- package/dist/solutions-components/zh-cn-c19f2858.js +0 -93
- package/dist/solutions-components/zh-hk-f212412d.js +0 -70
- package/dist/solutions-components/zh-tw-be3a4302.js +0 -91
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
@@ -1,1867 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
const index = require('./index-62dddc18.js');
|
9
|
-
const form = require('./form-067ee7bc.js');
|
10
|
-
const guid = require('./guid-a7528dfa.js');
|
11
|
-
const interactive = require('./interactive-f8825052.js');
|
12
|
-
const key = require('./key-620e0822.js');
|
13
|
-
const label = require('./label-f71c85c6.js');
|
14
|
-
const loadable = require('./loadable-68a22656.js');
|
15
|
-
const locale$1 = require('./locale-cfa79214.js');
|
16
|
-
const focusTrapComponent = require('./focusTrapComponent-5195d563.js');
|
17
|
-
const time = require('./time-5eec06fe.js');
|
18
|
-
const t9n = require('./t9n-0f4446d0.js');
|
19
|
-
const openCloseComponent = require('./openCloseComponent-2fdcb310.js');
|
20
|
-
const math = require('./math-11993213.js');
|
21
|
-
const component = require('./component-d48747c9.js');
|
22
|
-
const Validation = require('./Validation-080a7842.js');
|
23
|
-
|
24
|
-
var SECONDS_A_MINUTE = 60;
|
25
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
26
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
27
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
28
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
29
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
30
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
31
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
32
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
33
|
-
|
34
|
-
var MS = 'millisecond';
|
35
|
-
var S = 'second';
|
36
|
-
var MIN = 'minute';
|
37
|
-
var H = 'hour';
|
38
|
-
var D = 'day';
|
39
|
-
var W = 'week';
|
40
|
-
var M = 'month';
|
41
|
-
var Q = 'quarter';
|
42
|
-
var Y = 'year';
|
43
|
-
var DATE = 'date';
|
44
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
45
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
46
|
-
|
47
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
48
|
-
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
49
|
-
|
50
|
-
// English [en]
|
51
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
52
|
-
const en = {
|
53
|
-
name: 'en',
|
54
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
55
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
56
|
-
ordinal: function ordinal(n) {
|
57
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
58
|
-
var v = n % 100;
|
59
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
60
|
-
}
|
61
|
-
};
|
62
|
-
|
63
|
-
const en$1 = /*#__PURE__*/Object.freeze({
|
64
|
-
__proto__: null,
|
65
|
-
'default': en
|
66
|
-
});
|
67
|
-
|
68
|
-
var padStart = function padStart(string, length, pad) {
|
69
|
-
var s = String(string);
|
70
|
-
if (!s || s.length >= length) return string;
|
71
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
72
|
-
};
|
73
|
-
|
74
|
-
var padZoneStr = function padZoneStr(instance) {
|
75
|
-
var negMinutes = -instance.utcOffset();
|
76
|
-
var minutes = Math.abs(negMinutes);
|
77
|
-
var hourOffset = Math.floor(minutes / 60);
|
78
|
-
var minuteOffset = minutes % 60;
|
79
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
80
|
-
};
|
81
|
-
|
82
|
-
var monthDiff = function monthDiff(a, b) {
|
83
|
-
// function from moment.js in order to keep the same result
|
84
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
85
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
86
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
87
|
-
var c = b - anchor < 0;
|
88
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
89
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
90
|
-
};
|
91
|
-
|
92
|
-
var absFloor = function absFloor(n) {
|
93
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
94
|
-
};
|
95
|
-
|
96
|
-
var prettyUnit = function prettyUnit(u) {
|
97
|
-
var special = {
|
98
|
-
M: M,
|
99
|
-
y: Y,
|
100
|
-
w: W,
|
101
|
-
d: D,
|
102
|
-
D: DATE,
|
103
|
-
h: H,
|
104
|
-
m: MIN,
|
105
|
-
s: S,
|
106
|
-
ms: MS,
|
107
|
-
Q: Q
|
108
|
-
};
|
109
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
110
|
-
};
|
111
|
-
|
112
|
-
var isUndefined = function isUndefined(s) {
|
113
|
-
return s === undefined;
|
114
|
-
};
|
115
|
-
|
116
|
-
const U = {
|
117
|
-
s: padStart,
|
118
|
-
z: padZoneStr,
|
119
|
-
m: monthDiff,
|
120
|
-
a: absFloor,
|
121
|
-
p: prettyUnit,
|
122
|
-
u: isUndefined
|
123
|
-
};
|
124
|
-
|
125
|
-
var L = 'en'; // global locale
|
126
|
-
|
127
|
-
var Ls = {}; // global loaded locale
|
128
|
-
|
129
|
-
Ls[L] = en;
|
130
|
-
var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
|
131
|
-
|
132
|
-
var isDayjs = function isDayjs(d) {
|
133
|
-
return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
|
134
|
-
};
|
135
|
-
|
136
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
137
|
-
var l;
|
138
|
-
if (!preset) return L;
|
139
|
-
|
140
|
-
if (typeof preset === 'string') {
|
141
|
-
var presetLower = preset.toLowerCase();
|
142
|
-
|
143
|
-
if (Ls[presetLower]) {
|
144
|
-
l = presetLower;
|
145
|
-
}
|
146
|
-
|
147
|
-
if (object) {
|
148
|
-
Ls[presetLower] = object;
|
149
|
-
l = presetLower;
|
150
|
-
}
|
151
|
-
|
152
|
-
var presetSplit = preset.split('-');
|
153
|
-
|
154
|
-
if (!l && presetSplit.length > 1) {
|
155
|
-
return parseLocale(presetSplit[0]);
|
156
|
-
}
|
157
|
-
} else {
|
158
|
-
var name = preset.name;
|
159
|
-
Ls[name] = preset;
|
160
|
-
l = name;
|
161
|
-
}
|
162
|
-
|
163
|
-
if (!isLocal && l) L = l;
|
164
|
-
return l || !isLocal && L;
|
165
|
-
};
|
166
|
-
|
167
|
-
var dayjs = function dayjs(date, c) {
|
168
|
-
if (isDayjs(date)) {
|
169
|
-
return date.clone();
|
170
|
-
} // eslint-disable-next-line no-nested-ternary
|
171
|
-
|
172
|
-
|
173
|
-
var cfg = typeof c === 'object' ? c : {};
|
174
|
-
cfg.date = date;
|
175
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
176
|
-
|
177
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
178
|
-
};
|
179
|
-
|
180
|
-
var wrapper = function wrapper(date, instance) {
|
181
|
-
return dayjs(date, {
|
182
|
-
locale: instance.$L,
|
183
|
-
utc: instance.$u,
|
184
|
-
x: instance.$x,
|
185
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
186
|
-
|
187
|
-
});
|
188
|
-
};
|
189
|
-
|
190
|
-
var Utils = U; // for plugin use
|
191
|
-
|
192
|
-
Utils.l = parseLocale;
|
193
|
-
Utils.i = isDayjs;
|
194
|
-
Utils.w = wrapper;
|
195
|
-
|
196
|
-
var parseDate = function parseDate(cfg) {
|
197
|
-
var date = cfg.date,
|
198
|
-
utc = cfg.utc;
|
199
|
-
if (date === null) return new Date(NaN); // null is invalid
|
200
|
-
|
201
|
-
if (Utils.u(date)) return new Date(); // today
|
202
|
-
|
203
|
-
if (date instanceof Date) return new Date(date);
|
204
|
-
|
205
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
206
|
-
var d = date.match(REGEX_PARSE);
|
207
|
-
|
208
|
-
if (d) {
|
209
|
-
var m = d[2] - 1 || 0;
|
210
|
-
var ms = (d[7] || '0').substring(0, 3);
|
211
|
-
|
212
|
-
if (utc) {
|
213
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
214
|
-
}
|
215
|
-
|
216
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
217
|
-
}
|
218
|
-
}
|
219
|
-
|
220
|
-
return new Date(date); // everything else
|
221
|
-
};
|
222
|
-
|
223
|
-
var Dayjs = /*#__PURE__*/function () {
|
224
|
-
function Dayjs(cfg) {
|
225
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
226
|
-
this.parse(cfg); // for plugin
|
227
|
-
|
228
|
-
this.$x = this.$x || cfg.x || {};
|
229
|
-
this[IS_DAYJS] = true;
|
230
|
-
}
|
231
|
-
|
232
|
-
var _proto = Dayjs.prototype;
|
233
|
-
|
234
|
-
_proto.parse = function parse(cfg) {
|
235
|
-
this.$d = parseDate(cfg);
|
236
|
-
this.init();
|
237
|
-
};
|
238
|
-
|
239
|
-
_proto.init = function init() {
|
240
|
-
var $d = this.$d;
|
241
|
-
this.$y = $d.getFullYear();
|
242
|
-
this.$M = $d.getMonth();
|
243
|
-
this.$D = $d.getDate();
|
244
|
-
this.$W = $d.getDay();
|
245
|
-
this.$H = $d.getHours();
|
246
|
-
this.$m = $d.getMinutes();
|
247
|
-
this.$s = $d.getSeconds();
|
248
|
-
this.$ms = $d.getMilliseconds();
|
249
|
-
} // eslint-disable-next-line class-methods-use-this
|
250
|
-
;
|
251
|
-
|
252
|
-
_proto.$utils = function $utils() {
|
253
|
-
return Utils;
|
254
|
-
};
|
255
|
-
|
256
|
-
_proto.isValid = function isValid() {
|
257
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
258
|
-
};
|
259
|
-
|
260
|
-
_proto.isSame = function isSame(that, units) {
|
261
|
-
var other = dayjs(that);
|
262
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
263
|
-
};
|
264
|
-
|
265
|
-
_proto.isAfter = function isAfter(that, units) {
|
266
|
-
return dayjs(that) < this.startOf(units);
|
267
|
-
};
|
268
|
-
|
269
|
-
_proto.isBefore = function isBefore(that, units) {
|
270
|
-
return this.endOf(units) < dayjs(that);
|
271
|
-
};
|
272
|
-
|
273
|
-
_proto.$g = function $g(input, get, set) {
|
274
|
-
if (Utils.u(input)) return this[get];
|
275
|
-
return this.set(set, input);
|
276
|
-
};
|
277
|
-
|
278
|
-
_proto.unix = function unix() {
|
279
|
-
return Math.floor(this.valueOf() / 1000);
|
280
|
-
};
|
281
|
-
|
282
|
-
_proto.valueOf = function valueOf() {
|
283
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
284
|
-
return this.$d.getTime();
|
285
|
-
};
|
286
|
-
|
287
|
-
_proto.startOf = function startOf(units, _startOf) {
|
288
|
-
var _this = this;
|
289
|
-
|
290
|
-
// startOf -> endOf
|
291
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
292
|
-
var unit = Utils.p(units);
|
293
|
-
|
294
|
-
var instanceFactory = function instanceFactory(d, m) {
|
295
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
296
|
-
return isStartOf ? ins : ins.endOf(D);
|
297
|
-
};
|
298
|
-
|
299
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
300
|
-
var argumentStart = [0, 0, 0, 0];
|
301
|
-
var argumentEnd = [23, 59, 59, 999];
|
302
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
303
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
304
|
-
};
|
305
|
-
|
306
|
-
var $W = this.$W,
|
307
|
-
$M = this.$M,
|
308
|
-
$D = this.$D;
|
309
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
310
|
-
|
311
|
-
switch (unit) {
|
312
|
-
case Y:
|
313
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
314
|
-
|
315
|
-
case M:
|
316
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
317
|
-
|
318
|
-
case W:
|
319
|
-
{
|
320
|
-
var weekStart = this.$locale().weekStart || 0;
|
321
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
322
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
323
|
-
}
|
324
|
-
|
325
|
-
case D:
|
326
|
-
case DATE:
|
327
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
328
|
-
|
329
|
-
case H:
|
330
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
331
|
-
|
332
|
-
case MIN:
|
333
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
334
|
-
|
335
|
-
case S:
|
336
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
337
|
-
|
338
|
-
default:
|
339
|
-
return this.clone();
|
340
|
-
}
|
341
|
-
};
|
342
|
-
|
343
|
-
_proto.endOf = function endOf(arg) {
|
344
|
-
return this.startOf(arg, false);
|
345
|
-
};
|
346
|
-
|
347
|
-
_proto.$set = function $set(units, _int) {
|
348
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
349
|
-
|
350
|
-
// private set
|
351
|
-
var unit = Utils.p(units);
|
352
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
353
|
-
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
354
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
355
|
-
|
356
|
-
if (unit === M || unit === Y) {
|
357
|
-
// clone is for badMutable plugin
|
358
|
-
var date = this.clone().set(DATE, 1);
|
359
|
-
date.$d[name](arg);
|
360
|
-
date.init();
|
361
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
362
|
-
} else if (name) this.$d[name](arg);
|
363
|
-
|
364
|
-
this.init();
|
365
|
-
return this;
|
366
|
-
};
|
367
|
-
|
368
|
-
_proto.set = function set(string, _int2) {
|
369
|
-
return this.clone().$set(string, _int2);
|
370
|
-
};
|
371
|
-
|
372
|
-
_proto.get = function get(unit) {
|
373
|
-
return this[Utils.p(unit)]();
|
374
|
-
};
|
375
|
-
|
376
|
-
_proto.add = function add(number, units) {
|
377
|
-
var _this2 = this,
|
378
|
-
_C$MIN$C$H$C$S$unit;
|
379
|
-
|
380
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
381
|
-
|
382
|
-
var unit = Utils.p(units);
|
383
|
-
|
384
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
385
|
-
var d = dayjs(_this2);
|
386
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
387
|
-
};
|
388
|
-
|
389
|
-
if (unit === M) {
|
390
|
-
return this.set(M, this.$M + number);
|
391
|
-
}
|
392
|
-
|
393
|
-
if (unit === Y) {
|
394
|
-
return this.set(Y, this.$y + number);
|
395
|
-
}
|
396
|
-
|
397
|
-
if (unit === D) {
|
398
|
-
return instanceFactorySet(1);
|
399
|
-
}
|
400
|
-
|
401
|
-
if (unit === W) {
|
402
|
-
return instanceFactorySet(7);
|
403
|
-
}
|
404
|
-
|
405
|
-
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
406
|
-
|
407
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
408
|
-
return Utils.w(nextTimeStamp, this);
|
409
|
-
};
|
410
|
-
|
411
|
-
_proto.subtract = function subtract(number, string) {
|
412
|
-
return this.add(number * -1, string);
|
413
|
-
};
|
414
|
-
|
415
|
-
_proto.format = function format(formatStr) {
|
416
|
-
var _this3 = this;
|
417
|
-
|
418
|
-
var locale = this.$locale();
|
419
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
420
|
-
var str = formatStr || FORMAT_DEFAULT;
|
421
|
-
var zoneStr = Utils.z(this);
|
422
|
-
var $H = this.$H,
|
423
|
-
$m = this.$m,
|
424
|
-
$M = this.$M;
|
425
|
-
var weekdays = locale.weekdays,
|
426
|
-
months = locale.months,
|
427
|
-
meridiem = locale.meridiem;
|
428
|
-
|
429
|
-
var getShort = function getShort(arr, index, full, length) {
|
430
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
431
|
-
};
|
432
|
-
|
433
|
-
var get$H = function get$H(num) {
|
434
|
-
return Utils.s($H % 12 || 12, num, '0');
|
435
|
-
};
|
436
|
-
|
437
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
438
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
439
|
-
return isLowercase ? m.toLowerCase() : m;
|
440
|
-
};
|
441
|
-
|
442
|
-
var matches = function matches(match) {
|
443
|
-
switch (match) {
|
444
|
-
case 'YY':
|
445
|
-
return String(_this3.$y).slice(-2);
|
446
|
-
|
447
|
-
case 'YYYY':
|
448
|
-
return Utils.s(_this3.$y, 4, '0');
|
449
|
-
|
450
|
-
case 'M':
|
451
|
-
return $M + 1;
|
452
|
-
|
453
|
-
case 'MM':
|
454
|
-
return Utils.s($M + 1, 2, '0');
|
455
|
-
|
456
|
-
case 'MMM':
|
457
|
-
return getShort(locale.monthsShort, $M, months, 3);
|
458
|
-
|
459
|
-
case 'MMMM':
|
460
|
-
return getShort(months, $M);
|
461
|
-
|
462
|
-
case 'D':
|
463
|
-
return _this3.$D;
|
464
|
-
|
465
|
-
case 'DD':
|
466
|
-
return Utils.s(_this3.$D, 2, '0');
|
467
|
-
|
468
|
-
case 'd':
|
469
|
-
return String(_this3.$W);
|
470
|
-
|
471
|
-
case 'dd':
|
472
|
-
return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
|
473
|
-
|
474
|
-
case 'ddd':
|
475
|
-
return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
|
476
|
-
|
477
|
-
case 'dddd':
|
478
|
-
return weekdays[_this3.$W];
|
479
|
-
|
480
|
-
case 'H':
|
481
|
-
return String($H);
|
482
|
-
|
483
|
-
case 'HH':
|
484
|
-
return Utils.s($H, 2, '0');
|
485
|
-
|
486
|
-
case 'h':
|
487
|
-
return get$H(1);
|
488
|
-
|
489
|
-
case 'hh':
|
490
|
-
return get$H(2);
|
491
|
-
|
492
|
-
case 'a':
|
493
|
-
return meridiemFunc($H, $m, true);
|
494
|
-
|
495
|
-
case 'A':
|
496
|
-
return meridiemFunc($H, $m, false);
|
497
|
-
|
498
|
-
case 'm':
|
499
|
-
return String($m);
|
500
|
-
|
501
|
-
case 'mm':
|
502
|
-
return Utils.s($m, 2, '0');
|
503
|
-
|
504
|
-
case 's':
|
505
|
-
return String(_this3.$s);
|
506
|
-
|
507
|
-
case 'ss':
|
508
|
-
return Utils.s(_this3.$s, 2, '0');
|
509
|
-
|
510
|
-
case 'SSS':
|
511
|
-
return Utils.s(_this3.$ms, 3, '0');
|
512
|
-
|
513
|
-
case 'Z':
|
514
|
-
return zoneStr;
|
515
|
-
// 'ZZ' logic below
|
516
|
-
|
517
|
-
default:
|
518
|
-
break;
|
519
|
-
}
|
520
|
-
|
521
|
-
return null;
|
522
|
-
};
|
523
|
-
|
524
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
525
|
-
return $1 || matches(match) || zoneStr.replace(':', '');
|
526
|
-
}); // 'ZZ'
|
527
|
-
};
|
528
|
-
|
529
|
-
_proto.utcOffset = function utcOffset() {
|
530
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
531
|
-
// https://github.com/moment/moment/pull/1871
|
532
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
533
|
-
};
|
534
|
-
|
535
|
-
_proto.diff = function diff(input, units, _float) {
|
536
|
-
var _this4 = this;
|
537
|
-
|
538
|
-
var unit = Utils.p(units);
|
539
|
-
var that = dayjs(input);
|
540
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
541
|
-
var diff = this - that;
|
542
|
-
|
543
|
-
var getMonth = function getMonth() {
|
544
|
-
return Utils.m(_this4, that);
|
545
|
-
};
|
546
|
-
|
547
|
-
var result;
|
548
|
-
|
549
|
-
switch (unit) {
|
550
|
-
case Y:
|
551
|
-
result = getMonth() / 12;
|
552
|
-
break;
|
553
|
-
|
554
|
-
case M:
|
555
|
-
result = getMonth();
|
556
|
-
break;
|
557
|
-
|
558
|
-
case Q:
|
559
|
-
result = getMonth() / 3;
|
560
|
-
break;
|
561
|
-
|
562
|
-
case W:
|
563
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
|
564
|
-
break;
|
565
|
-
|
566
|
-
case D:
|
567
|
-
result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
|
568
|
-
break;
|
569
|
-
|
570
|
-
case H:
|
571
|
-
result = diff / MILLISECONDS_A_HOUR;
|
572
|
-
break;
|
573
|
-
|
574
|
-
case MIN:
|
575
|
-
result = diff / MILLISECONDS_A_MINUTE;
|
576
|
-
break;
|
577
|
-
|
578
|
-
case S:
|
579
|
-
result = diff / MILLISECONDS_A_SECOND;
|
580
|
-
break;
|
581
|
-
|
582
|
-
default:
|
583
|
-
result = diff; // milliseconds
|
584
|
-
|
585
|
-
break;
|
586
|
-
}
|
587
|
-
|
588
|
-
return _float ? result : Utils.a(result);
|
589
|
-
};
|
590
|
-
|
591
|
-
_proto.daysInMonth = function daysInMonth() {
|
592
|
-
return this.endOf(M).$D;
|
593
|
-
};
|
594
|
-
|
595
|
-
_proto.$locale = function $locale() {
|
596
|
-
// get locale object
|
597
|
-
return Ls[this.$L];
|
598
|
-
};
|
599
|
-
|
600
|
-
_proto.locale = function locale(preset, object) {
|
601
|
-
if (!preset) return this.$L;
|
602
|
-
var that = this.clone();
|
603
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
604
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
605
|
-
return that;
|
606
|
-
};
|
607
|
-
|
608
|
-
_proto.clone = function clone() {
|
609
|
-
return Utils.w(this.$d, this);
|
610
|
-
};
|
611
|
-
|
612
|
-
_proto.toDate = function toDate() {
|
613
|
-
return new Date(this.valueOf());
|
614
|
-
};
|
615
|
-
|
616
|
-
_proto.toJSON = function toJSON() {
|
617
|
-
return this.isValid() ? this.toISOString() : null;
|
618
|
-
};
|
619
|
-
|
620
|
-
_proto.toISOString = function toISOString() {
|
621
|
-
// ie 8 return
|
622
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
623
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
624
|
-
return this.$d.toISOString();
|
625
|
-
};
|
626
|
-
|
627
|
-
_proto.toString = function toString() {
|
628
|
-
return this.$d.toUTCString();
|
629
|
-
};
|
630
|
-
|
631
|
-
return Dayjs;
|
632
|
-
}();
|
633
|
-
|
634
|
-
var proto = Dayjs.prototype;
|
635
|
-
dayjs.prototype = proto;
|
636
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
637
|
-
proto[g[1]] = function (input) {
|
638
|
-
return this.$g(input, g[0], g[1]);
|
639
|
-
};
|
640
|
-
});
|
641
|
-
|
642
|
-
dayjs.extend = function (plugin, option) {
|
643
|
-
if (!plugin.$i) {
|
644
|
-
// install plugin only once
|
645
|
-
plugin(option, Dayjs, dayjs);
|
646
|
-
plugin.$i = true;
|
647
|
-
}
|
648
|
-
|
649
|
-
return dayjs;
|
650
|
-
};
|
651
|
-
|
652
|
-
dayjs.locale = parseLocale;
|
653
|
-
dayjs.isDayjs = isDayjs;
|
654
|
-
|
655
|
-
dayjs.unix = function (timestamp) {
|
656
|
-
return dayjs(timestamp * 1e3);
|
657
|
-
};
|
658
|
-
|
659
|
-
dayjs.en = Ls[L];
|
660
|
-
dayjs.Ls = Ls;
|
661
|
-
dayjs.p = {};
|
662
|
-
|
663
|
-
// eslint-disable-next-line import/prefer-default-export
|
664
|
-
var t = function t(format) {
|
665
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
666
|
-
return a || b.slice(1);
|
667
|
-
});
|
668
|
-
};
|
669
|
-
var englishFormats = {
|
670
|
-
LTS: 'h:mm:ss A',
|
671
|
-
LT: 'h:mm A',
|
672
|
-
L: 'MM/DD/YYYY',
|
673
|
-
LL: 'MMMM D, YYYY',
|
674
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
675
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
676
|
-
};
|
677
|
-
var u = function u(formatStr, formats) {
|
678
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
679
|
-
var B = b && b.toUpperCase();
|
680
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
681
|
-
});
|
682
|
-
};
|
683
|
-
|
684
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
685
|
-
var match1 = /\d/; // 0 - 9
|
686
|
-
|
687
|
-
var match2 = /\d\d/; // 00 - 99
|
688
|
-
|
689
|
-
var match3 = /\d{3}/; // 000 - 999
|
690
|
-
|
691
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
692
|
-
|
693
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
694
|
-
|
695
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
696
|
-
|
697
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
698
|
-
|
699
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
700
|
-
|
701
|
-
var locale = {};
|
702
|
-
|
703
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
704
|
-
input = +input;
|
705
|
-
return input + (input > 68 ? 1900 : 2000);
|
706
|
-
};
|
707
|
-
|
708
|
-
function offsetFromString(string) {
|
709
|
-
if (!string) return 0;
|
710
|
-
if (string === 'Z') return 0;
|
711
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
712
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
713
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
714
|
-
}
|
715
|
-
|
716
|
-
var addInput = function addInput(property) {
|
717
|
-
return function (input) {
|
718
|
-
this[property] = +input;
|
719
|
-
};
|
720
|
-
};
|
721
|
-
|
722
|
-
var zoneExpressions = [matchOffset, function (input) {
|
723
|
-
var zone = this.zone || (this.zone = {});
|
724
|
-
zone.offset = offsetFromString(input);
|
725
|
-
}];
|
726
|
-
|
727
|
-
var getLocalePart = function getLocalePart(name) {
|
728
|
-
var part = locale[name];
|
729
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
730
|
-
};
|
731
|
-
|
732
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
733
|
-
var isAfternoon;
|
734
|
-
var _locale = locale,
|
735
|
-
meridiem = _locale.meridiem;
|
736
|
-
|
737
|
-
if (!meridiem) {
|
738
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
739
|
-
} else {
|
740
|
-
for (var i = 1; i <= 24; i += 1) {
|
741
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
742
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
743
|
-
isAfternoon = i > 12;
|
744
|
-
break;
|
745
|
-
}
|
746
|
-
}
|
747
|
-
}
|
748
|
-
|
749
|
-
return isAfternoon;
|
750
|
-
};
|
751
|
-
|
752
|
-
var expressions = {
|
753
|
-
A: [matchWord, function (input) {
|
754
|
-
this.afternoon = meridiemMatch(input, false);
|
755
|
-
}],
|
756
|
-
a: [matchWord, function (input) {
|
757
|
-
this.afternoon = meridiemMatch(input, true);
|
758
|
-
}],
|
759
|
-
S: [match1, function (input) {
|
760
|
-
this.milliseconds = +input * 100;
|
761
|
-
}],
|
762
|
-
SS: [match2, function (input) {
|
763
|
-
this.milliseconds = +input * 10;
|
764
|
-
}],
|
765
|
-
SSS: [match3, function (input) {
|
766
|
-
this.milliseconds = +input;
|
767
|
-
}],
|
768
|
-
s: [match1to2, addInput('seconds')],
|
769
|
-
ss: [match1to2, addInput('seconds')],
|
770
|
-
m: [match1to2, addInput('minutes')],
|
771
|
-
mm: [match1to2, addInput('minutes')],
|
772
|
-
H: [match1to2, addInput('hours')],
|
773
|
-
h: [match1to2, addInput('hours')],
|
774
|
-
HH: [match1to2, addInput('hours')],
|
775
|
-
hh: [match1to2, addInput('hours')],
|
776
|
-
D: [match1to2, addInput('day')],
|
777
|
-
DD: [match2, addInput('day')],
|
778
|
-
Do: [matchWord, function (input) {
|
779
|
-
var _locale2 = locale,
|
780
|
-
ordinal = _locale2.ordinal;
|
781
|
-
|
782
|
-
var _input$match = input.match(/\d+/);
|
783
|
-
|
784
|
-
this.day = _input$match[0];
|
785
|
-
if (!ordinal) return;
|
786
|
-
|
787
|
-
for (var i = 1; i <= 31; i += 1) {
|
788
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
789
|
-
this.day = i;
|
790
|
-
}
|
791
|
-
}
|
792
|
-
}],
|
793
|
-
M: [match1to2, addInput('month')],
|
794
|
-
MM: [match2, addInput('month')],
|
795
|
-
MMM: [matchWord, function (input) {
|
796
|
-
var months = getLocalePart('months');
|
797
|
-
var monthsShort = getLocalePart('monthsShort');
|
798
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
799
|
-
return _.slice(0, 3);
|
800
|
-
})).indexOf(input) + 1;
|
801
|
-
|
802
|
-
if (matchIndex < 1) {
|
803
|
-
throw new Error();
|
804
|
-
}
|
805
|
-
|
806
|
-
this.month = matchIndex % 12 || matchIndex;
|
807
|
-
}],
|
808
|
-
MMMM: [matchWord, function (input) {
|
809
|
-
var months = getLocalePart('months');
|
810
|
-
var matchIndex = months.indexOf(input) + 1;
|
811
|
-
|
812
|
-
if (matchIndex < 1) {
|
813
|
-
throw new Error();
|
814
|
-
}
|
815
|
-
|
816
|
-
this.month = matchIndex % 12 || matchIndex;
|
817
|
-
}],
|
818
|
-
Y: [matchSigned, addInput('year')],
|
819
|
-
YY: [match2, function (input) {
|
820
|
-
this.year = parseTwoDigitYear(input);
|
821
|
-
}],
|
822
|
-
YYYY: [match4, addInput('year')],
|
823
|
-
Z: zoneExpressions,
|
824
|
-
ZZ: zoneExpressions
|
825
|
-
};
|
826
|
-
|
827
|
-
function correctHours(time) {
|
828
|
-
var afternoon = time.afternoon;
|
829
|
-
|
830
|
-
if (afternoon !== undefined) {
|
831
|
-
var hours = time.hours;
|
832
|
-
|
833
|
-
if (afternoon) {
|
834
|
-
if (hours < 12) {
|
835
|
-
time.hours += 12;
|
836
|
-
}
|
837
|
-
} else if (hours === 12) {
|
838
|
-
time.hours = 0;
|
839
|
-
}
|
840
|
-
|
841
|
-
delete time.afternoon;
|
842
|
-
}
|
843
|
-
}
|
844
|
-
|
845
|
-
function makeParser(format) {
|
846
|
-
format = u(format, locale && locale.formats);
|
847
|
-
var array = format.match(formattingTokens);
|
848
|
-
var length = array.length;
|
849
|
-
|
850
|
-
for (var i = 0; i < length; i += 1) {
|
851
|
-
var token = array[i];
|
852
|
-
var parseTo = expressions[token];
|
853
|
-
var regex = parseTo && parseTo[0];
|
854
|
-
var parser = parseTo && parseTo[1];
|
855
|
-
|
856
|
-
if (parser) {
|
857
|
-
array[i] = {
|
858
|
-
regex: regex,
|
859
|
-
parser: parser
|
860
|
-
};
|
861
|
-
} else {
|
862
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
863
|
-
}
|
864
|
-
}
|
865
|
-
|
866
|
-
return function (input) {
|
867
|
-
var time = {};
|
868
|
-
|
869
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
870
|
-
var _token = array[_i];
|
871
|
-
|
872
|
-
if (typeof _token === 'string') {
|
873
|
-
start += _token.length;
|
874
|
-
} else {
|
875
|
-
var _regex = _token.regex,
|
876
|
-
_parser = _token.parser;
|
877
|
-
var part = input.slice(start);
|
878
|
-
|
879
|
-
var match = _regex.exec(part);
|
880
|
-
|
881
|
-
var value = match[0];
|
882
|
-
|
883
|
-
_parser.call(time, value);
|
884
|
-
|
885
|
-
input = input.replace(value, '');
|
886
|
-
}
|
887
|
-
}
|
888
|
-
|
889
|
-
correctHours(time);
|
890
|
-
return time;
|
891
|
-
};
|
892
|
-
}
|
893
|
-
|
894
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
895
|
-
try {
|
896
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
897
|
-
var parser = makeParser(format);
|
898
|
-
|
899
|
-
var _parser2 = parser(input),
|
900
|
-
year = _parser2.year,
|
901
|
-
month = _parser2.month,
|
902
|
-
day = _parser2.day,
|
903
|
-
hours = _parser2.hours,
|
904
|
-
minutes = _parser2.minutes,
|
905
|
-
seconds = _parser2.seconds,
|
906
|
-
milliseconds = _parser2.milliseconds,
|
907
|
-
zone = _parser2.zone;
|
908
|
-
|
909
|
-
var now = new Date();
|
910
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
911
|
-
var y = year || now.getFullYear();
|
912
|
-
var M = 0;
|
913
|
-
|
914
|
-
if (!(year && !month)) {
|
915
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
916
|
-
}
|
917
|
-
|
918
|
-
var h = hours || 0;
|
919
|
-
var m = minutes || 0;
|
920
|
-
var s = seconds || 0;
|
921
|
-
var ms = milliseconds || 0;
|
922
|
-
|
923
|
-
if (zone) {
|
924
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
925
|
-
}
|
926
|
-
|
927
|
-
if (utc) {
|
928
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
929
|
-
}
|
930
|
-
|
931
|
-
return new Date(y, M, d, h, m, s, ms);
|
932
|
-
} catch (e) {
|
933
|
-
return new Date(''); // Invalid Date
|
934
|
-
}
|
935
|
-
};
|
936
|
-
|
937
|
-
const customParseFormat = (function (o, C, d) {
|
938
|
-
d.p.customParseFormat = true;
|
939
|
-
|
940
|
-
if (o && o.parseTwoDigitYear) {
|
941
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
942
|
-
}
|
943
|
-
|
944
|
-
var proto = C.prototype;
|
945
|
-
var oldParse = proto.parse;
|
946
|
-
|
947
|
-
proto.parse = function (cfg) {
|
948
|
-
var date = cfg.date,
|
949
|
-
utc = cfg.utc,
|
950
|
-
args = cfg.args;
|
951
|
-
this.$u = utc;
|
952
|
-
var format = args[1];
|
953
|
-
|
954
|
-
if (typeof format === 'string') {
|
955
|
-
var isStrictWithoutLocale = args[2] === true;
|
956
|
-
var isStrictWithLocale = args[3] === true;
|
957
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
958
|
-
var pl = args[2];
|
959
|
-
|
960
|
-
if (isStrictWithLocale) {
|
961
|
-
pl = args[2];
|
962
|
-
}
|
963
|
-
|
964
|
-
locale = this.$locale();
|
965
|
-
|
966
|
-
if (!isStrictWithoutLocale && pl) {
|
967
|
-
locale = d.Ls[pl];
|
968
|
-
}
|
969
|
-
|
970
|
-
this.$d = parseFormattedInput(date, format, utc);
|
971
|
-
this.init();
|
972
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
973
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
974
|
-
// eslint-disable-next-line eqeqeq
|
975
|
-
|
976
|
-
if (isStrict && date != this.format(format)) {
|
977
|
-
this.$d = new Date('');
|
978
|
-
} // reset global locale to make parallel unit test
|
979
|
-
|
980
|
-
|
981
|
-
locale = {};
|
982
|
-
} else if (format instanceof Array) {
|
983
|
-
var len = format.length;
|
984
|
-
|
985
|
-
for (var i = 1; i <= len; i += 1) {
|
986
|
-
args[1] = format[i - 1];
|
987
|
-
var result = d.apply(this, args);
|
988
|
-
|
989
|
-
if (result.isValid()) {
|
990
|
-
this.$d = result.$d;
|
991
|
-
this.$L = result.$L;
|
992
|
-
this.init();
|
993
|
-
break;
|
994
|
-
}
|
995
|
-
|
996
|
-
if (i === len) this.$d = new Date('');
|
997
|
-
}
|
998
|
-
} else {
|
999
|
-
oldParse.call(this, cfg);
|
1000
|
-
}
|
1001
|
-
};
|
1002
|
-
});
|
1003
|
-
|
1004
|
-
const localeData = (function (o, c, dayjs) {
|
1005
|
-
// locale needed later
|
1006
|
-
var proto = c.prototype;
|
1007
|
-
|
1008
|
-
var getLocalePart = function getLocalePart(part) {
|
1009
|
-
return part && (part.indexOf ? part : part.s);
|
1010
|
-
};
|
1011
|
-
|
1012
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
1013
|
-
var locale = ins.name ? ins : ins.$locale();
|
1014
|
-
var targetLocale = getLocalePart(locale[target]);
|
1015
|
-
var fullLocale = getLocalePart(locale[full]);
|
1016
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
1017
|
-
return f.slice(0, num);
|
1018
|
-
});
|
1019
|
-
if (!localeOrder) return result;
|
1020
|
-
var weekStart = locale.weekStart;
|
1021
|
-
return result.map(function (_, index) {
|
1022
|
-
return result[(index + (weekStart || 0)) % 7];
|
1023
|
-
});
|
1024
|
-
};
|
1025
|
-
|
1026
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
1027
|
-
return dayjs.Ls[dayjs.locale()];
|
1028
|
-
};
|
1029
|
-
|
1030
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
1031
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
1032
|
-
};
|
1033
|
-
|
1034
|
-
var localeData = function localeData() {
|
1035
|
-
var _this = this;
|
1036
|
-
|
1037
|
-
return {
|
1038
|
-
months: function months(instance) {
|
1039
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
1040
|
-
},
|
1041
|
-
monthsShort: function monthsShort(instance) {
|
1042
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
1043
|
-
},
|
1044
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
1045
|
-
return _this.$locale().weekStart || 0;
|
1046
|
-
},
|
1047
|
-
weekdays: function weekdays(instance) {
|
1048
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
1049
|
-
},
|
1050
|
-
weekdaysMin: function weekdaysMin(instance) {
|
1051
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
1052
|
-
},
|
1053
|
-
weekdaysShort: function weekdaysShort(instance) {
|
1054
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
1055
|
-
},
|
1056
|
-
longDateFormat: function longDateFormat(format) {
|
1057
|
-
return getLongDateFormat(_this.$locale(), format);
|
1058
|
-
},
|
1059
|
-
meridiem: this.$locale().meridiem,
|
1060
|
-
ordinal: this.$locale().ordinal
|
1061
|
-
};
|
1062
|
-
};
|
1063
|
-
|
1064
|
-
proto.localeData = function () {
|
1065
|
-
return localeData.bind(this)();
|
1066
|
-
};
|
1067
|
-
|
1068
|
-
dayjs.localeData = function () {
|
1069
|
-
var localeObject = getDayjsLocaleObject();
|
1070
|
-
return {
|
1071
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
1072
|
-
return localeObject.weekStart || 0;
|
1073
|
-
},
|
1074
|
-
weekdays: function weekdays() {
|
1075
|
-
return dayjs.weekdays();
|
1076
|
-
},
|
1077
|
-
weekdaysShort: function weekdaysShort() {
|
1078
|
-
return dayjs.weekdaysShort();
|
1079
|
-
},
|
1080
|
-
weekdaysMin: function weekdaysMin() {
|
1081
|
-
return dayjs.weekdaysMin();
|
1082
|
-
},
|
1083
|
-
months: function months() {
|
1084
|
-
return dayjs.months();
|
1085
|
-
},
|
1086
|
-
monthsShort: function monthsShort() {
|
1087
|
-
return dayjs.monthsShort();
|
1088
|
-
},
|
1089
|
-
longDateFormat: function longDateFormat(format) {
|
1090
|
-
return getLongDateFormat(localeObject, format);
|
1091
|
-
},
|
1092
|
-
meridiem: localeObject.meridiem,
|
1093
|
-
ordinal: localeObject.ordinal
|
1094
|
-
};
|
1095
|
-
};
|
1096
|
-
|
1097
|
-
dayjs.months = function () {
|
1098
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
1099
|
-
};
|
1100
|
-
|
1101
|
-
dayjs.monthsShort = function () {
|
1102
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1103
|
-
};
|
1104
|
-
|
1105
|
-
dayjs.weekdays = function (localeOrder) {
|
1106
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1107
|
-
};
|
1108
|
-
|
1109
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
1110
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1111
|
-
};
|
1112
|
-
|
1113
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
1114
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1115
|
-
};
|
1116
|
-
});
|
1117
|
-
|
1118
|
-
const localizedFormat = (function (o, c, d) {
|
1119
|
-
var proto = c.prototype;
|
1120
|
-
var oldFormat = proto.format;
|
1121
|
-
d.en.formats = englishFormats;
|
1122
|
-
|
1123
|
-
proto.format = function (formatStr) {
|
1124
|
-
if (formatStr === void 0) {
|
1125
|
-
formatStr = FORMAT_DEFAULT;
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
var _this$$locale = this.$locale(),
|
1129
|
-
_this$$locale$formats = _this$$locale.formats,
|
1130
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1131
|
-
|
1132
|
-
var result = u(formatStr, formats);
|
1133
|
-
return oldFormat.call(this, result);
|
1134
|
-
};
|
1135
|
-
});
|
1136
|
-
|
1137
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1138
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
1139
|
-
var oldParse = dayjsClass.prototype.parse;
|
1140
|
-
|
1141
|
-
dayjsClass.prototype.parse = function (cfg) {
|
1142
|
-
if (typeof cfg.date === 'string') {
|
1143
|
-
var locale = this.$locale();
|
1144
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1145
|
-
} // original parse result
|
1146
|
-
|
1147
|
-
|
1148
|
-
return oldParse.bind(this)(cfg);
|
1149
|
-
}; // // overriding existing API
|
1150
|
-
// // e.g. extend dayjs().format()
|
1151
|
-
|
1152
|
-
|
1153
|
-
var oldFormat = dayjsClass.prototype.format;
|
1154
|
-
|
1155
|
-
dayjsClass.prototype.format = function () {
|
1156
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1157
|
-
args[_key] = arguments[_key];
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
// original format result
|
1161
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1162
|
-
|
1163
|
-
var locale = this.$locale();
|
1164
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
1165
|
-
};
|
1166
|
-
|
1167
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1168
|
-
|
1169
|
-
if (oldFromTo) {
|
1170
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1171
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
1172
|
-
|
1173
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1174
|
-
};
|
1175
|
-
}
|
1176
|
-
});
|
1177
|
-
|
1178
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
1179
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
1180
|
-
var localeList = dayjs.Ls;
|
1181
|
-
var localeConfig = localeList[locale];
|
1182
|
-
if (!localeConfig) return;
|
1183
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1184
|
-
customConfigKeys.forEach(function (c) {
|
1185
|
-
localeConfig[c] = customConfig[c];
|
1186
|
-
});
|
1187
|
-
return localeConfig; // eslint-disable-line consistent-return
|
1188
|
-
};
|
1189
|
-
});
|
1190
|
-
|
1191
|
-
/*!
|
1192
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
1193
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
1194
|
-
* v2.8.2
|
1195
|
-
*/
|
1196
|
-
const CSS = {
|
1197
|
-
toggleIcon: "toggle-icon",
|
1198
|
-
};
|
1199
|
-
|
1200
|
-
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}";
|
1201
|
-
|
1202
|
-
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1203
|
-
const supportedDayjsLocaleToLocaleConfigImport = new Map([
|
1204
|
-
["ar", () => Promise.resolve().then(function () { return require('./ar-a6ccf8f4.js'); })],
|
1205
|
-
["bg", () => Promise.resolve().then(function () { return require('./bg-e6b1b515.js'); })],
|
1206
|
-
["bs", () => Promise.resolve().then(function () { return require('./bs-4151b94c.js'); })],
|
1207
|
-
["ca", () => Promise.resolve().then(function () { return require('./ca-1744d62a.js'); })],
|
1208
|
-
["cs", () => Promise.resolve().then(function () { return require('./cs-865bf9fc.js'); })],
|
1209
|
-
["da", () => Promise.resolve().then(function () { return require('./da-ec3cbd7d.js'); })],
|
1210
|
-
["de", () => Promise.resolve().then(function () { return require('./de-d2010af8.js'); })],
|
1211
|
-
["de-at", () => Promise.resolve().then(function () { return require('./de-at-33e63cf4.js'); })],
|
1212
|
-
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-41c31254.js'); })],
|
1213
|
-
["el", () => Promise.resolve().then(function () { return require('./el-694f3f53.js'); })],
|
1214
|
-
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1215
|
-
["en-au", () => Promise.resolve().then(function () { return require('./en-au-ee52aa15.js'); })],
|
1216
|
-
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-f397253b.js'); })],
|
1217
|
-
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-e38f2064.js'); })],
|
1218
|
-
["es", () => Promise.resolve().then(function () { return require('./es-1f31784e.js'); })],
|
1219
|
-
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-e039dd38.js'); })],
|
1220
|
-
["et", () => Promise.resolve().then(function () { return require('./et-ab75e5bf.js'); })],
|
1221
|
-
["fi", () => Promise.resolve().then(function () { return require('./fi-ac75e6d2.js'); })],
|
1222
|
-
["fr", () => Promise.resolve().then(function () { return require('./fr-a10ffff6.js'); })],
|
1223
|
-
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-596ab83d.js'); })],
|
1224
|
-
["he", () => Promise.resolve().then(function () { return require('./he-bce2e0f6.js'); })],
|
1225
|
-
["hi", () => Promise.resolve().then(function () { return require('./hi-22d77acf.js'); })],
|
1226
|
-
["hr", () => Promise.resolve().then(function () { return require('./hr-9a468bd9.js'); })],
|
1227
|
-
["hu", () => Promise.resolve().then(function () { return require('./hu-9722b179.js'); })],
|
1228
|
-
["id", () => Promise.resolve().then(function () { return require('./id-426a7d98.js'); })],
|
1229
|
-
["it", () => Promise.resolve().then(function () { return require('./it-b310ed48.js'); })],
|
1230
|
-
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-804be2a9.js'); })],
|
1231
|
-
["ja", () => Promise.resolve().then(function () { return require('./ja-fd61ab26.js'); })],
|
1232
|
-
["ko", () => Promise.resolve().then(function () { return require('./ko-a799f42d.js'); })],
|
1233
|
-
["lt", () => Promise.resolve().then(function () { return require('./lt-0508a01d.js'); })],
|
1234
|
-
["lv", () => Promise.resolve().then(function () { return require('./lv-d8f83e7a.js'); })],
|
1235
|
-
["mk", () => Promise.resolve().then(function () { return require('./mk-475a7a99.js'); })],
|
1236
|
-
["nl", () => Promise.resolve().then(function () { return require('./nl-ea0f033c.js'); })],
|
1237
|
-
["nb", () => Promise.resolve().then(function () { return require('./nb-92a9acc8.js'); })],
|
1238
|
-
["pl", () => Promise.resolve().then(function () { return require('./pl-05a4b5a1.js'); })],
|
1239
|
-
["pt", () => Promise.resolve().then(function () { return require('./pt-8fe24b18.js'); })],
|
1240
|
-
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-eba3aab9.js'); })],
|
1241
|
-
["ro", () => Promise.resolve().then(function () { return require('./ro-c92cb77e.js'); })],
|
1242
|
-
["ru", () => Promise.resolve().then(function () { return require('./ru-273dc1dc.js'); })],
|
1243
|
-
["sk", () => Promise.resolve().then(function () { return require('./sk-f0fb5cd7.js'); })],
|
1244
|
-
["sl", () => Promise.resolve().then(function () { return require('./sl-3bc46f93.js'); })],
|
1245
|
-
["sr", () => Promise.resolve().then(function () { return require('./sr-ae040dc3.js'); })],
|
1246
|
-
["sv", () => Promise.resolve().then(function () { return require('./sv-769838ef.js'); })],
|
1247
|
-
["th", () => Promise.resolve().then(function () { return require('./th-9b569ee1.js'); })],
|
1248
|
-
["tr", () => Promise.resolve().then(function () { return require('./tr-9cc6c813.js'); })],
|
1249
|
-
["uk", () => Promise.resolve().then(function () { return require('./uk-c549303a.js'); })],
|
1250
|
-
["vi", () => Promise.resolve().then(function () { return require('./vi-e4806300.js'); })],
|
1251
|
-
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-e13c7902.js'); })],
|
1252
|
-
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-2d4440e3.js'); })],
|
1253
|
-
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-d9c5da28.js'); })],
|
1254
|
-
]);
|
1255
|
-
dayjs.extend(customParseFormat);
|
1256
|
-
dayjs.extend(localeData);
|
1257
|
-
dayjs.extend(localizedFormat);
|
1258
|
-
dayjs.extend(preParsePostFormat);
|
1259
|
-
dayjs.extend(updateLocale);
|
1260
|
-
const InputTimePicker = class {
|
1261
|
-
constructor(hostRef) {
|
1262
|
-
index.registerInstance(this, hostRef);
|
1263
|
-
this.calciteInputTimePickerBeforeClose = index.createEvent(this, "calciteInputTimePickerBeforeClose", 6);
|
1264
|
-
this.calciteInputTimePickerBeforeOpen = index.createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
|
1265
|
-
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
1266
|
-
this.calciteInputTimePickerClose = index.createEvent(this, "calciteInputTimePickerClose", 6);
|
1267
|
-
this.calciteInputTimePickerOpen = index.createEvent(this, "calciteInputTimePickerOpen", 6);
|
1268
|
-
this.focusOnOpen = false;
|
1269
|
-
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
1270
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
1271
|
-
this.userChangedValue = false;
|
1272
|
-
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
1273
|
-
this.openTransitionProp = "opacity";
|
1274
|
-
//--------------------------------------------------------------------------
|
1275
|
-
//
|
1276
|
-
// Event Listeners
|
1277
|
-
//
|
1278
|
-
//--------------------------------------------------------------------------
|
1279
|
-
this.hostBlurHandler = () => {
|
1280
|
-
const inputValue = this.calciteInputEl.value;
|
1281
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1282
|
-
if (!delocalizedInputValue) {
|
1283
|
-
this.setValue("");
|
1284
|
-
return;
|
1285
|
-
}
|
1286
|
-
if (delocalizedInputValue !== this.value) {
|
1287
|
-
this.setValue(delocalizedInputValue);
|
1288
|
-
}
|
1289
|
-
const localizedTimeString = time.localizeTimeString({
|
1290
|
-
value: this.value,
|
1291
|
-
locale: this.effectiveLocale,
|
1292
|
-
numberingSystem: this.numberingSystem,
|
1293
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1294
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1295
|
-
});
|
1296
|
-
if (localizedTimeString !== inputValue) {
|
1297
|
-
this.setInputValue(localizedTimeString);
|
1298
|
-
}
|
1299
|
-
this.deactivate();
|
1300
|
-
};
|
1301
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
1302
|
-
if (!this.readOnly) {
|
1303
|
-
event.stopPropagation();
|
1304
|
-
}
|
1305
|
-
};
|
1306
|
-
this.calciteInternalInputInputHandler = (event) => {
|
1307
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
1308
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
1309
|
-
const target = event.target;
|
1310
|
-
locale$1.numberStringFormatter.numberFormatOptions = {
|
1311
|
-
locale,
|
1312
|
-
numberingSystem,
|
1313
|
-
useGrouping: false,
|
1314
|
-
};
|
1315
|
-
const valueInNumberingSystem = locale$1.numberStringFormatter
|
1316
|
-
.delocalize(target.value)
|
1317
|
-
.split("")
|
1318
|
-
.map((char) => key.numberKeys.includes(char)
|
1319
|
-
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
1320
|
-
: char)
|
1321
|
-
.join("");
|
1322
|
-
this.setInputValue(valueInNumberingSystem);
|
1323
|
-
}
|
1324
|
-
};
|
1325
|
-
this.timePickerChangeHandler = (event) => {
|
1326
|
-
event.stopPropagation();
|
1327
|
-
const target = event.target;
|
1328
|
-
const value = target.value;
|
1329
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1330
|
-
this.setValue(time.toISOTimeString(value, includeSeconds));
|
1331
|
-
this.setInputValue(time.localizeTimeString({
|
1332
|
-
value,
|
1333
|
-
locale: this.effectiveLocale,
|
1334
|
-
numberingSystem: this.numberingSystem,
|
1335
|
-
includeSeconds,
|
1336
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1337
|
-
}));
|
1338
|
-
};
|
1339
|
-
this.popoverCloseHandler = () => {
|
1340
|
-
focusTrapComponent.deactivateFocusTrap(this, {
|
1341
|
-
onDeactivate: () => {
|
1342
|
-
this.calciteInputEl.setFocus();
|
1343
|
-
this.focusOnOpen = false;
|
1344
|
-
},
|
1345
|
-
});
|
1346
|
-
this.open = false;
|
1347
|
-
};
|
1348
|
-
this.popoverOpenHandler = () => {
|
1349
|
-
focusTrapComponent.activateFocusTrap(this, {
|
1350
|
-
onActivate: () => {
|
1351
|
-
if (this.focusOnOpen) {
|
1352
|
-
this.calciteTimePickerEl.setFocus();
|
1353
|
-
this.focusOnOpen = false;
|
1354
|
-
}
|
1355
|
-
},
|
1356
|
-
});
|
1357
|
-
};
|
1358
|
-
this.keyDownHandler = (event) => {
|
1359
|
-
const { defaultPrevented, key } = event;
|
1360
|
-
if (defaultPrevented) {
|
1361
|
-
return;
|
1362
|
-
}
|
1363
|
-
if (key === "Enter") {
|
1364
|
-
if (form.submitForm(this)) {
|
1365
|
-
event.preventDefault();
|
1366
|
-
this.calciteInputEl.setFocus();
|
1367
|
-
}
|
1368
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1369
|
-
return;
|
1370
|
-
}
|
1371
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1372
|
-
if (time.isValidTime(newValue)) {
|
1373
|
-
this.setValue(newValue);
|
1374
|
-
const localizedTimeString = time.localizeTimeString({
|
1375
|
-
value: this.value,
|
1376
|
-
locale: this.effectiveLocale,
|
1377
|
-
numberingSystem: this.numberingSystem,
|
1378
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1379
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1380
|
-
});
|
1381
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1382
|
-
this.setInputValue(localizedTimeString);
|
1383
|
-
}
|
1384
|
-
}
|
1385
|
-
}
|
1386
|
-
else if (key === "ArrowDown") {
|
1387
|
-
this.open = true;
|
1388
|
-
this.focusOnOpen = true;
|
1389
|
-
event.preventDefault();
|
1390
|
-
}
|
1391
|
-
else if (key === "Escape" && this.open) {
|
1392
|
-
this.open = false;
|
1393
|
-
event.preventDefault();
|
1394
|
-
this.calciteInputEl.setFocus();
|
1395
|
-
}
|
1396
|
-
};
|
1397
|
-
this.setCalcitePopoverEl = (el) => {
|
1398
|
-
this.popoverEl = el;
|
1399
|
-
};
|
1400
|
-
this.setInputAndTransitionEl = (el) => {
|
1401
|
-
this.calciteInputEl = el;
|
1402
|
-
this.transitionEl = el;
|
1403
|
-
};
|
1404
|
-
this.setCalciteTimePickerEl = (el) => {
|
1405
|
-
this.calciteTimePickerEl = el;
|
1406
|
-
focusTrapComponent.connectFocusTrap(this, {
|
1407
|
-
focusTrapEl: el,
|
1408
|
-
focusTrapOptions: {
|
1409
|
-
initialFocus: false,
|
1410
|
-
setReturnFocus: false,
|
1411
|
-
},
|
1412
|
-
});
|
1413
|
-
};
|
1414
|
-
this.setInputValue = (newInputValue) => {
|
1415
|
-
if (!this.calciteInputEl) {
|
1416
|
-
return;
|
1417
|
-
}
|
1418
|
-
this.calciteInputEl.value = newInputValue;
|
1419
|
-
};
|
1420
|
-
/**
|
1421
|
-
* Sets the value and emits a change event.
|
1422
|
-
* This is used to update the value as a result of user interaction.
|
1423
|
-
*
|
1424
|
-
* @param value
|
1425
|
-
*/
|
1426
|
-
this.setValue = (value) => {
|
1427
|
-
const oldValue = this.value;
|
1428
|
-
const newValue = time.formatTimeString(value) || "";
|
1429
|
-
if (newValue === oldValue) {
|
1430
|
-
return;
|
1431
|
-
}
|
1432
|
-
this.userChangedValue = true;
|
1433
|
-
this.value = newValue || "";
|
1434
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1435
|
-
if (changeEvent.defaultPrevented) {
|
1436
|
-
this.userChangedValue = false;
|
1437
|
-
this.value = oldValue;
|
1438
|
-
this.setInputValue(time.localizeTimeString({
|
1439
|
-
value: oldValue,
|
1440
|
-
locale: this.effectiveLocale,
|
1441
|
-
numberingSystem: this.numberingSystem,
|
1442
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1443
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1444
|
-
}));
|
1445
|
-
}
|
1446
|
-
};
|
1447
|
-
/**
|
1448
|
-
* Sets the value directly without emitting a change event.
|
1449
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1450
|
-
*
|
1451
|
-
* @param value
|
1452
|
-
*/
|
1453
|
-
this.setValueDirectly = (value) => {
|
1454
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1455
|
-
this.value = time.toISOTimeString(value, includeSeconds);
|
1456
|
-
this.setInputValue(this.value
|
1457
|
-
? time.localizeTimeString({
|
1458
|
-
value: this.value,
|
1459
|
-
includeSeconds,
|
1460
|
-
locale: this.effectiveLocale,
|
1461
|
-
numberingSystem: this.numberingSystem,
|
1462
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1463
|
-
})
|
1464
|
-
: "");
|
1465
|
-
};
|
1466
|
-
this.onInputWrapperClick = () => {
|
1467
|
-
this.open = !this.open;
|
1468
|
-
};
|
1469
|
-
this.deactivate = () => {
|
1470
|
-
this.open = false;
|
1471
|
-
};
|
1472
|
-
this.open = false;
|
1473
|
-
this.disabled = false;
|
1474
|
-
this.focusTrapDisabled = false;
|
1475
|
-
this.form = undefined;
|
1476
|
-
this.readOnly = false;
|
1477
|
-
this.messageOverrides = undefined;
|
1478
|
-
this.messages = undefined;
|
1479
|
-
this.validationMessage = undefined;
|
1480
|
-
this.validationIcon = undefined;
|
1481
|
-
this.validity = {
|
1482
|
-
valid: false,
|
1483
|
-
badInput: false,
|
1484
|
-
customError: false,
|
1485
|
-
patternMismatch: false,
|
1486
|
-
rangeOverflow: false,
|
1487
|
-
rangeUnderflow: false,
|
1488
|
-
stepMismatch: false,
|
1489
|
-
tooLong: false,
|
1490
|
-
tooShort: false,
|
1491
|
-
typeMismatch: false,
|
1492
|
-
valueMissing: false,
|
1493
|
-
};
|
1494
|
-
this.name = undefined;
|
1495
|
-
this.numberingSystem = undefined;
|
1496
|
-
this.required = false;
|
1497
|
-
this.scale = "m";
|
1498
|
-
this.status = "idle";
|
1499
|
-
this.overlayPositioning = "absolute";
|
1500
|
-
this.placement = "auto";
|
1501
|
-
this.step = 60;
|
1502
|
-
this.value = null;
|
1503
|
-
this.defaultMessages = undefined;
|
1504
|
-
this.effectiveLocale = "";
|
1505
|
-
}
|
1506
|
-
openHandler() {
|
1507
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
1508
|
-
if (this.disabled || this.readOnly) {
|
1509
|
-
this.open = false;
|
1510
|
-
return;
|
1511
|
-
}
|
1512
|
-
this.reposition(true);
|
1513
|
-
}
|
1514
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
1515
|
-
if (!this.open) {
|
1516
|
-
return;
|
1517
|
-
}
|
1518
|
-
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1519
|
-
}
|
1520
|
-
handleDisabledAndReadOnlyChange(value) {
|
1521
|
-
if (!value) {
|
1522
|
-
this.open = false;
|
1523
|
-
}
|
1524
|
-
}
|
1525
|
-
onMessagesChange() {
|
1526
|
-
/* wired up by t9n util */
|
1527
|
-
}
|
1528
|
-
numberingSystemWatcher(numberingSystem) {
|
1529
|
-
this.setInputValue(time.localizeTimeString({
|
1530
|
-
value: this.value,
|
1531
|
-
locale: this.effectiveLocale,
|
1532
|
-
numberingSystem,
|
1533
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1534
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1535
|
-
}));
|
1536
|
-
}
|
1537
|
-
stepWatcher(newStep, oldStep) {
|
1538
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1539
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1540
|
-
this.setValueDirectly(this.value);
|
1541
|
-
}
|
1542
|
-
}
|
1543
|
-
valueWatcher(newValue) {
|
1544
|
-
if (!this.userChangedValue) {
|
1545
|
-
this.setValueDirectly(newValue);
|
1546
|
-
}
|
1547
|
-
this.userChangedValue = false;
|
1548
|
-
}
|
1549
|
-
async effectiveLocaleWatcher(locale) {
|
1550
|
-
await this.loadDateTimeLocaleData();
|
1551
|
-
this.setInputValue(time.localizeTimeString({
|
1552
|
-
value: this.value,
|
1553
|
-
locale,
|
1554
|
-
numberingSystem: this.numberingSystem,
|
1555
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1556
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1557
|
-
}));
|
1558
|
-
}
|
1559
|
-
// --------------------------------------------------------------------------
|
1560
|
-
//
|
1561
|
-
// Public Methods
|
1562
|
-
//
|
1563
|
-
// --------------------------------------------------------------------------
|
1564
|
-
/** Sets focus on the component. */
|
1565
|
-
async setFocus() {
|
1566
|
-
await loadable.componentFocusable(this);
|
1567
|
-
this.el.focus();
|
1568
|
-
}
|
1569
|
-
/**
|
1570
|
-
* Updates the position of the component.
|
1571
|
-
*
|
1572
|
-
* @param delayed
|
1573
|
-
*/
|
1574
|
-
async reposition(delayed = false) {
|
1575
|
-
var _a;
|
1576
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1577
|
-
}
|
1578
|
-
// --------------------------------------------------------------------------
|
1579
|
-
//
|
1580
|
-
// Private Methods
|
1581
|
-
//
|
1582
|
-
// --------------------------------------------------------------------------
|
1583
|
-
onBeforeOpen() {
|
1584
|
-
this.calciteInputTimePickerBeforeOpen.emit();
|
1585
|
-
}
|
1586
|
-
onOpen() {
|
1587
|
-
this.calciteInputTimePickerOpen.emit();
|
1588
|
-
}
|
1589
|
-
onBeforeClose() {
|
1590
|
-
this.calciteInputTimePickerBeforeClose.emit();
|
1591
|
-
}
|
1592
|
-
onClose() {
|
1593
|
-
this.calciteInputTimePickerClose.emit();
|
1594
|
-
}
|
1595
|
-
delocalizeTimeString(value) {
|
1596
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1597
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1598
|
-
const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
|
1599
|
-
let delocalizedTimeString;
|
1600
|
-
if (this.shouldIncludeFractionalSeconds()) {
|
1601
|
-
const stepPrecision = math.decimalPlaces(this.step);
|
1602
|
-
const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
|
1603
|
-
if (stepPrecision === 1) {
|
1604
|
-
delocalizedTimeString =
|
1605
|
-
centisecondParts.millisecond !== 0
|
1606
|
-
? this.getTimeStringFromParts(centisecondParts)
|
1607
|
-
: this.getTimeStringFromParts(nonFractionalSecondParts);
|
1608
|
-
}
|
1609
|
-
else {
|
1610
|
-
const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
|
1611
|
-
if (stepPrecision === 2) {
|
1612
|
-
if (decisecondParts.millisecond !== 0) {
|
1613
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1614
|
-
}
|
1615
|
-
else if (centisecondParts.millisecond !== 0) {
|
1616
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1617
|
-
}
|
1618
|
-
else {
|
1619
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1620
|
-
}
|
1621
|
-
}
|
1622
|
-
else if (stepPrecision >= 3) {
|
1623
|
-
const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
|
1624
|
-
if (millisecondParts.millisecond !== 0) {
|
1625
|
-
delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
|
1626
|
-
}
|
1627
|
-
else if (decisecondParts.millisecond !== 0) {
|
1628
|
-
delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
|
1629
|
-
}
|
1630
|
-
else if (centisecondParts.millisecond !== 0) {
|
1631
|
-
delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
|
1632
|
-
}
|
1633
|
-
else {
|
1634
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1635
|
-
}
|
1636
|
-
}
|
1637
|
-
}
|
1638
|
-
}
|
1639
|
-
else {
|
1640
|
-
delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
|
1641
|
-
}
|
1642
|
-
return delocalizedTimeString;
|
1643
|
-
}
|
1644
|
-
delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
|
1645
|
-
var _a, _b;
|
1646
|
-
const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
|
1647
|
-
const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
|
1648
|
-
if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
|
1649
|
-
const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
|
1650
|
-
this.localeConfig.formats.LTS = fractionalSecondTokenMatch
|
1651
|
-
? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
|
1652
|
-
: ltsFormatString.replace("ss", secondFormatToken);
|
1653
|
-
}
|
1654
|
-
else if (fractionalSecondTokenMatch) {
|
1655
|
-
this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
|
1656
|
-
}
|
1657
|
-
dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
|
1658
|
-
const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
|
1659
|
-
if (dayjsParseResult.isValid()) {
|
1660
|
-
return {
|
1661
|
-
hour: dayjsParseResult.get("hour"),
|
1662
|
-
minute: dayjsParseResult.get("minute"),
|
1663
|
-
second: dayjsParseResult.get("second"),
|
1664
|
-
millisecond: dayjsParseResult.get("millisecond"),
|
1665
|
-
};
|
1666
|
-
}
|
1667
|
-
return {
|
1668
|
-
hour: null,
|
1669
|
-
minute: null,
|
1670
|
-
second: null,
|
1671
|
-
millisecond: null,
|
1672
|
-
};
|
1673
|
-
}
|
1674
|
-
getTimeStringFromParts(parts) {
|
1675
|
-
let timeString = "";
|
1676
|
-
if (!parts) {
|
1677
|
-
return timeString;
|
1678
|
-
}
|
1679
|
-
if (parts.hour !== null && parts.minute !== null) {
|
1680
|
-
timeString = `${time.formatTimePart(parts.hour)}:${time.formatTimePart(parts.minute)}`;
|
1681
|
-
if (this.shouldIncludeSeconds() && parts.second !== null) {
|
1682
|
-
timeString += `:${time.formatTimePart(parts.second)}`;
|
1683
|
-
if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
|
1684
|
-
const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
|
1685
|
-
timeString += `.${second.toString().replace("0.", "")}`;
|
1686
|
-
}
|
1687
|
-
}
|
1688
|
-
}
|
1689
|
-
return timeString;
|
1690
|
-
}
|
1691
|
-
getSupportedDayjsLocale(locale) {
|
1692
|
-
const dayjsLocale = locale.toLowerCase();
|
1693
|
-
if (dayjsLocale === "no") {
|
1694
|
-
return "nb";
|
1695
|
-
}
|
1696
|
-
if (dayjsLocale === "pt-pt") {
|
1697
|
-
return "pt";
|
1698
|
-
}
|
1699
|
-
return dayjsLocale;
|
1700
|
-
}
|
1701
|
-
async loadDateTimeLocaleData() {
|
1702
|
-
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1703
|
-
supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
|
1704
|
-
const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1705
|
-
this.localeConfig = localeConfig;
|
1706
|
-
dayjs.locale(this.localeConfig, null, true);
|
1707
|
-
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1708
|
-
}
|
1709
|
-
getExtendedLocaleConfig(locale) {
|
1710
|
-
if (locale === "ar") {
|
1711
|
-
return {
|
1712
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1713
|
-
formats: {
|
1714
|
-
LT: "HH:mm A",
|
1715
|
-
LTS: "HH:mm:ss A",
|
1716
|
-
L: "DD/MM/YYYY",
|
1717
|
-
LL: "D MMMM YYYY",
|
1718
|
-
LLL: "D MMMM YYYY HH:mm A",
|
1719
|
-
LLLL: "dddd D MMMM YYYY HH:mm A",
|
1720
|
-
},
|
1721
|
-
};
|
1722
|
-
}
|
1723
|
-
if (locale === "en-au") {
|
1724
|
-
return {
|
1725
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1726
|
-
};
|
1727
|
-
}
|
1728
|
-
if (locale === "en-ca") {
|
1729
|
-
return {
|
1730
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
|
1731
|
-
};
|
1732
|
-
}
|
1733
|
-
if (locale === "el") {
|
1734
|
-
return {
|
1735
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
|
1736
|
-
};
|
1737
|
-
}
|
1738
|
-
if (locale === "hi") {
|
1739
|
-
return {
|
1740
|
-
formats: {
|
1741
|
-
LT: "h:mm A",
|
1742
|
-
LTS: "h:mm:ss A",
|
1743
|
-
L: "DD/MM/YYYY",
|
1744
|
-
LL: "D MMMM YYYY",
|
1745
|
-
LLL: "D MMMM YYYY, h:mm A",
|
1746
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A",
|
1747
|
-
},
|
1748
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am"),
|
1749
|
-
};
|
1750
|
-
}
|
1751
|
-
if (locale === "ko") {
|
1752
|
-
return {
|
1753
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
|
1754
|
-
};
|
1755
|
-
}
|
1756
|
-
if (locale === "zh-tw") {
|
1757
|
-
return {
|
1758
|
-
formats: {
|
1759
|
-
LT: "AHH:mm",
|
1760
|
-
LTS: "AHH:mm:ss",
|
1761
|
-
},
|
1762
|
-
};
|
1763
|
-
}
|
1764
|
-
if (locale === "zh-hk") {
|
1765
|
-
return {
|
1766
|
-
formats: {
|
1767
|
-
LT: "AHH:mm",
|
1768
|
-
LTS: "AHH:mm:ss",
|
1769
|
-
},
|
1770
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
|
1771
|
-
};
|
1772
|
-
}
|
1773
|
-
}
|
1774
|
-
onLabelClick() {
|
1775
|
-
this.setFocus();
|
1776
|
-
}
|
1777
|
-
shouldIncludeSeconds() {
|
1778
|
-
return this.step < 60;
|
1779
|
-
}
|
1780
|
-
shouldIncludeFractionalSeconds() {
|
1781
|
-
return math.decimalPlaces(this.step) > 0;
|
1782
|
-
}
|
1783
|
-
//--------------------------------------------------------------------------
|
1784
|
-
//
|
1785
|
-
// Lifecycle
|
1786
|
-
//
|
1787
|
-
//--------------------------------------------------------------------------
|
1788
|
-
connectedCallback() {
|
1789
|
-
interactive.connectInteractive(this);
|
1790
|
-
locale$1.connectLocalized(this);
|
1791
|
-
if (time.isValidTime(this.value)) {
|
1792
|
-
this.setValueDirectly(this.value);
|
1793
|
-
}
|
1794
|
-
else {
|
1795
|
-
this.value = undefined;
|
1796
|
-
}
|
1797
|
-
label.connectLabel(this);
|
1798
|
-
form.connectForm(this);
|
1799
|
-
t9n.connectMessages(this);
|
1800
|
-
}
|
1801
|
-
async componentWillLoad() {
|
1802
|
-
loadable.setUpLoadableComponent(this);
|
1803
|
-
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1804
|
-
if (this.open) {
|
1805
|
-
openCloseComponent.onToggleOpenCloseComponent(this);
|
1806
|
-
}
|
1807
|
-
}
|
1808
|
-
componentDidLoad() {
|
1809
|
-
loadable.setComponentLoaded(this);
|
1810
|
-
if (time.isValidTime(this.value)) {
|
1811
|
-
this.setInputValue(time.localizeTimeString({
|
1812
|
-
value: this.value,
|
1813
|
-
locale: this.effectiveLocale,
|
1814
|
-
numberingSystem: this.numberingSystem,
|
1815
|
-
includeSeconds: this.shouldIncludeSeconds(),
|
1816
|
-
fractionalSecondDigits: math.decimalPlaces(this.step),
|
1817
|
-
}));
|
1818
|
-
}
|
1819
|
-
}
|
1820
|
-
disconnectedCallback() {
|
1821
|
-
interactive.disconnectInteractive(this);
|
1822
|
-
label.disconnectLabel(this);
|
1823
|
-
form.disconnectForm(this);
|
1824
|
-
locale$1.disconnectLocalized(this);
|
1825
|
-
focusTrapComponent.deactivateFocusTrap(this);
|
1826
|
-
t9n.disconnectMessages(this);
|
1827
|
-
}
|
1828
|
-
componentDidRender() {
|
1829
|
-
interactive.updateHostInteraction(this);
|
1830
|
-
}
|
1831
|
-
// --------------------------------------------------------------------------
|
1832
|
-
//
|
1833
|
-
// Render Methods
|
1834
|
-
//
|
1835
|
-
// --------------------------------------------------------------------------
|
1836
|
-
render() {
|
1837
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
1838
|
-
return (index.h(index.Host, { key: '561e33708dcc90afdba91d4072b7979ff11f79c7', onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h(interactive.InteractiveContainer, { key: '19c3360f4640bce039a46d8cb06a8927855bf13c', disabled: this.disabled }, index.h("div", { key: 'e48f09d0b5179e75e55cc9664f880bd350543d6a', class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input-text", { key: '717afb03fbcf590ebf927fe4bd0005a00e5fe2ec', "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
|
1839
|
-
// 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)
|
1840
|
-
ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("calcite-popover", { key: 'd62bfe8b3ddc24e012d84b61a05061a09e6322dd', focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
1841
|
-
// 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)
|
1842
|
-
ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { key: '6bfcee7272942b5476486a86933376b81aff7b23', lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
1843
|
-
// 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)
|
1844
|
-
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { key: '0ca8c8c04ef40e120530a4666761473b8d1b987f', component: this }), this.validationMessage && this.status === "invalid" ? (index.h(Validation.Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
|
1845
|
-
}
|
1846
|
-
renderToggleIcon(open) {
|
1847
|
-
return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
|
1848
|
-
}
|
1849
|
-
static get delegatesFocus() { return true; }
|
1850
|
-
static get assetsDirs() { return ["assets"]; }
|
1851
|
-
get el() { return index.getElement(this); }
|
1852
|
-
static get watchers() { return {
|
1853
|
-
"open": ["openHandler"],
|
1854
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1855
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1856
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1857
|
-
"messageOverrides": ["onMessagesChange"],
|
1858
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
1859
|
-
"step": ["stepWatcher"],
|
1860
|
-
"value": ["valueWatcher"],
|
1861
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1862
|
-
}; }
|
1863
|
-
};
|
1864
|
-
InputTimePicker.style = inputTimePickerCss;
|
1865
|
-
|
1866
|
-
exports.InputTimePicker = InputTimePicker;
|
1867
|
-
exports.dayjs = dayjs;
|