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