@esri/solutions-components 0.8.36 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
- package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_da.json +1 -1
- package/dist/assets/t9n/layer-list/resources_de.json +1 -1
- package/dist/assets/t9n/layer-list/resources_el.json +1 -1
- package/dist/assets/t9n/layer-list/resources_es.json +1 -1
- package/dist/assets/t9n/layer-list/resources_et.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_he.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
- package/dist/assets/t9n/layer-list/resources_id.json +1 -1
- package/dist/assets/t9n/layer-list/resources_it.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_th.json +1 -1
- package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
- package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
- package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
- package/dist/cjs/Heading-f1f9e2dd.js +25 -0
- package/dist/cjs/Validation-425b2de4.js +20 -0
- package/dist/cjs/ar-a2f57db2.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +10 -2
- package/dist/cjs/bg-cb903045.js +83 -0
- package/dist/cjs/breakpoints-7d21666f.js +17 -0
- package/dist/cjs/browser-d12b6cd5.js +25 -0
- package/dist/cjs/bs-3690f22d.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/ca-fec18921.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/common-03600219.js +38 -0
- package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
- package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-b061b441.js +148 -0
- package/dist/cjs/da-e3c379ae.js +67 -0
- package/dist/cjs/date-874bf94e.js +261 -0
- package/dist/cjs/de-65d2876f.js +92 -0
- package/dist/cjs/de-at-16b7b50e.js +91 -0
- package/dist/cjs/de-ch-11dcd113.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-839a1425.js +3165 -0
- package/dist/cjs/el-321d43b5.js +67 -0
- package/dist/cjs/en-au-c48e6b73.js +67 -0
- package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
- package/dist/cjs/en-gb-8ced841b.js +70 -0
- package/dist/cjs/es-aca5e6b4.js +67 -0
- package/dist/cjs/es-mx-b69f0ebb.js +66 -0
- package/dist/cjs/et-7e29340d.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +7 -7
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-f215f4d1.js +116 -0
- package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
- package/dist/cjs/form-71a108a7.js +381 -0
- package/dist/cjs/fr-0daba4be.js +69 -0
- package/dist/cjs/fr-ch-76f752e9.js +67 -0
- package/dist/cjs/he-32860a76.js +106 -0
- package/dist/cjs/helpers-7cee3150.js +940 -0
- package/dist/cjs/hi-c5639f76.js +66 -0
- package/dist/cjs/hr-eb700fd5.js +81 -0
- package/dist/cjs/hu-e30e3d3a.js +89 -0
- package/dist/cjs/id-a3e96e5b.js +67 -0
- package/dist/cjs/index-97020c9d.js +201 -0
- package/dist/cjs/index-ff18be0d.js +1739 -0
- package/dist/cjs/index.es-dd4d4842.js +11317 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
- package/dist/cjs/interactive-7e5c7df4.js +154 -0
- package/dist/cjs/it-acd3cf54.js +67 -0
- package/dist/cjs/it-ch-c78435e7.js +67 -0
- package/dist/cjs/ja-ede2132a.js +73 -0
- package/dist/cjs/ko-fcd96551.js +73 -0
- package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
- package/dist/cjs/languageUtil-d23251cd.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-4189814e.js +23 -0
- package/dist/cjs/loadable-5d538ba2.js +94 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-62f4cef2.js +91 -0
- package/dist/cjs/locale-6973733d.js +161 -0
- package/dist/cjs/locale-d2a1066a.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-a30330ef.js +98 -0
- package/dist/cjs/lv-ac3b6560.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +14 -12
- package/dist/cjs/mapViewUtils-78b14528.js +510 -0
- package/dist/cjs/mk-a3053dea.js +67 -0
- package/dist/cjs/mode-3478ba36.js +19 -0
- package/dist/cjs/nb-7ab0bac1.js +68 -0
- package/dist/cjs/nl-7fa437ef.js +68 -0
- package/dist/cjs/observers-2a59d471.js +55 -0
- package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pciUtils-f1adcf64.js +847 -0
- package/dist/cjs/pl-ea95b104.js +115 -0
- package/dist/cjs/popupUtils-bae7f923.js +111 -0
- package/dist/cjs/pt-472083c2.js +68 -0
- package/dist/cjs/pt-br-5f18543e.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +33 -20
- package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-afc74285.js +919 -0
- package/dist/cjs/ro-e8b3d65c.js +67 -0
- package/dist/cjs/ru-becefd01.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-6491aae1.js +365 -0
- package/dist/cjs/sk-2f5fd4e0.js +149 -0
- package/dist/cjs/sl-3ae17da6.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-ffe3c333.js +145 -0
- package/dist/cjs/solution-store-c8bada29.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/sr-7d6b8d1b.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/styles-ef2b1e04.js +13 -0
- package/dist/cjs/sv-9c51da5c.js +72 -0
- package/dist/cjs/t9n-ef615628.js +100 -0
- package/dist/cjs/th-fec0a074.js +66 -0
- package/dist/cjs/time-089ab043.js +289 -0
- package/dist/cjs/tr-8d7c18a1.js +67 -0
- package/dist/cjs/uk-46a61312.js +105 -0
- package/dist/cjs/utils-1de4eaa0.js +130 -0
- package/dist/cjs/utils-d237cb85.js +65 -0
- package/dist/cjs/vi-4114aa90.js +71 -0
- package/dist/cjs/zh-cn-30aca6fe.js +95 -0
- package/dist/cjs/zh-hk-5971eb67.js +72 -0
- package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +1 -0
- package/dist/collection/components/feature-details/feature-details.js +10 -15
- package/dist/collection/components/floor-filter/floor-filter.js +8 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +21 -3
- package/dist/collection/components/public-notification/public-notification.js +42 -12
- package/dist/collection/components/refine-selection/refine-selection.js +19 -1
- package/dist/collection/utils/mapViewUtils.js +2 -0
- package/dist/collection/utils/mapViewUtils.ts +2 -0
- package/dist/collection/utils/pciUtils.js +1 -1
- package/dist/collection/utils/pciUtils.ts +2 -2
- package/dist/components/breakpoints.js +5 -5
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/consent-manager.js +7 -1029
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/feature-details2.js +10 -15
- package/dist/components/floor-filter2.js +8 -0
- package/dist/components/helpers.js +723 -691
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-create.js +47 -45
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +24 -24
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +10 -10
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +44 -44
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +3 -3
- package/dist/components/instant-apps-social-share2.js +12 -11
- package/dist/components/instant-apps-splash.js +7 -7
- package/dist/components/languageUtil.js +43 -43
- package/dist/components/loadModules2.js +3 -3
- package/dist/components/locale3.js +58 -58
- package/dist/components/map-select-tools2.js +5 -3
- package/dist/components/mapViewUtils.js +2 -0
- package/dist/components/mode.js +6 -6
- package/dist/components/public-notification.js +26 -12
- package/dist/components/refine-selection2.js +3 -1
- package/dist/components/restHelpersGet.js +329 -382
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-store.js +482 -482
- package/dist/components/store.js +66 -66
- package/dist/components/styles.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/utils4.js +80 -80
- package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
- package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
- package/dist/esm/Heading-63031c74.js +22 -0
- package/dist/esm/Validation-6712b322.js +18 -0
- package/dist/esm/ar-19d4f5c7.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +11 -3
- package/dist/esm/bg-63235b1a.js +81 -0
- package/dist/esm/breakpoints-3afa0fd9.js +15 -0
- package/dist/esm/browser-e76c94f7.js +23 -0
- package/dist/esm/bs-a1b74ac8.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-b29c38ed.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +4 -4
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +7 -7
- package/dist/esm/calcite-action-group.entry.js +6 -6
- package/dist/esm/calcite-action-menu_3.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +11 -11
- package/dist/esm/calcite-action_2.entry.js +7 -7
- package/dist/esm/calcite-alert_4.entry.js +13 -13
- package/dist/esm/calcite-avatar_2.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block_5.entry.js +55 -54
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel-item.entry.js +1 -1
- package/dist/esm/calcite-carousel.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_6.entry.js +20 -25
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
- package/dist/esm/calcite-input-time-picker.entry.js +12 -12
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-meter.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +9 -9
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +8 -8
- package/dist/esm/calcite-pick-list.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +4 -4
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +7 -7
- package/dist/esm/common-8697fccd.js +36 -0
- package/dist/esm/conditionalSlot-56bdb202.js +51 -0
- package/dist/esm/consent-manager.entry.js +10 -1031
- package/dist/esm/crowdsource-manager.entry.js +4 -4
- package/dist/esm/crowdsource-reporter.entry.js +4 -4
- package/dist/esm/cs-da7231d6.js +146 -0
- package/dist/esm/da-7e105037.js +65 -0
- package/dist/esm/date-93ae46b9.js +245 -0
- package/dist/esm/de-at-1d9434bb.js +89 -0
- package/dist/esm/de-b5646b5d.js +90 -0
- package/dist/esm/de-ch-7beada93.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/downloadUtils-97acca92.js +3158 -0
- package/dist/esm/el-0f4bf89b.js +65 -0
- package/dist/esm/en-au-5c144cef.js +65 -0
- package/dist/esm/en-ca-1160089a.js +64 -0
- package/dist/esm/en-gb-ae98fc58.js +68 -0
- package/dist/esm/es-88e1743a.js +65 -0
- package/dist/esm/es-mx-020dfaaa.js +64 -0
- package/dist/esm/esri-loader-3080dcc0.js +311 -0
- package/dist/esm/et-84f63ef8.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +8 -8
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-1016ee6e.js +114 -0
- package/dist/esm/floating-ui-f086572c.js +2287 -0
- package/dist/esm/form-8fd73cbd.js +372 -0
- package/dist/esm/fr-0e7ffd73.js +67 -0
- package/dist/esm/fr-ch-e18bae2c.js +65 -0
- package/dist/esm/he-0cebe004.js +104 -0
- package/dist/esm/helpers-7c88b974.js +913 -0
- package/dist/esm/hi-cded031d.js +64 -0
- package/dist/esm/hr-5643b2ab.js +79 -0
- package/dist/esm/html2canvas-fd387d87.js +7845 -0
- package/dist/esm/hu-6d605858.js +87 -0
- package/dist/esm/id-7d804c46.js +65 -0
- package/dist/esm/index-83b693bc.js +1705 -0
- package/dist/esm/index-d97f4f15.js +199 -0
- package/dist/esm/index.es-ee5497bc.js +11230 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-create.entry.js +53 -51
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +12 -12
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +2 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -8
- package/dist/esm/instant-apps-splash.entry.js +12 -12
- package/dist/esm/interactive-3b9600a6.js +149 -0
- package/dist/esm/it-849be361.js +65 -0
- package/dist/esm/it-ch-453fa26d.js +65 -0
- package/dist/esm/ja-edff1441.js +71 -0
- package/dist/esm/ko-dc103450.js +71 -0
- package/dist/esm/languageSwitcher-0f693a04.js +57 -0
- package/dist/esm/languageUtil-de206286.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-43119ac8.js +21 -0
- package/dist/esm/loadable-b765a6f6.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-42369411.js +156 -0
- package/dist/esm/locale-70630b7c.js +86 -0
- package/dist/esm/locale-a4cbae12.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-270cc811.js +96 -0
- package/dist/esm/lv-c877043c.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
- package/dist/esm/mk-a816a702.js +65 -0
- package/dist/esm/mode-8c5f5dc9.js +17 -0
- package/dist/esm/nb-e9c09b70.js +66 -0
- package/dist/esm/nl-56e70f3b.js +66 -0
- package/dist/esm/observers-fcb1c07b.js +53 -0
- package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pciUtils-986ddad9.js +844 -0
- package/dist/esm/pl-687b559a.js +113 -0
- package/dist/esm/popupUtils-98ad70f3.js +109 -0
- package/dist/esm/pt-8b05fed2.js +66 -0
- package/dist/esm/pt-br-85bdf812.js +64 -0
- package/dist/esm/public-notification.entry.js +34 -21
- package/dist/esm/publicNotificationStore-08faccff.js +45 -0
- package/dist/esm/purify-caded4cd.js +1714 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-dab84057.js +906 -0
- package/dist/esm/ro-0975d6bb.js +65 -0
- package/dist/esm/ru-24b83704.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-07a20fc5.js +343 -0
- package/dist/esm/sk-8179af4d.js +147 -0
- package/dist/esm/sl-e6922692.js +167 -0
- package/dist/esm/solution-configuration.entry.js +7 -7
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-a2fff3bf.js +142 -0
- package/dist/esm/solution-store-30a19a45.js +1342 -0
- package/dist/esm/solutions-components.js +4 -4
- package/dist/esm/spatial-ref.entry.js +5 -5
- package/dist/esm/sr-1d30e69e.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/styles-b3492d9f.js +11 -0
- package/dist/esm/sv-ea3c4b80.js +70 -0
- package/dist/esm/t9n-dd2a98fc.js +95 -0
- package/dist/esm/th-0f1b35bc.js +64 -0
- package/dist/esm/time-bc97792f.js +274 -0
- package/dist/esm/tr-eb4e860e.js +65 -0
- package/dist/esm/uk-f3ebd952.js +103 -0
- package/dist/esm/utils-9bb48951.js +121 -0
- package/dist/esm/utils-bf012a3f.js +54 -0
- package/dist/esm/vi-872e449d.js +69 -0
- package/dist/esm/zh-cn-8c5a3222.js +93 -0
- package/dist/esm/zh-hk-247683c2.js +70 -0
- package/dist/esm/zh-tw-76a429e9.js +91 -0
- package/dist/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
- package/dist/solutions-components/p-01ba6099.js +6 -0
- package/dist/solutions-components/p-03178c37.js +6 -0
- package/dist/solutions-components/p-046acd6b.entry.js +6 -0
- package/dist/solutions-components/p-0a053ed7.js +6 -0
- package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
- package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
- package/dist/solutions-components/p-11094d76.entry.js +29 -0
- package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
- package/dist/solutions-components/p-123fcb43.entry.js +6 -0
- package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
- package/dist/solutions-components/p-132b1138.entry.js +21 -0
- package/dist/solutions-components/p-13b513ed.entry.js +11 -0
- package/dist/solutions-components/p-15e08453.js +6 -0
- package/dist/solutions-components/p-17feaae0.entry.js +17 -0
- package/dist/solutions-components/p-1983d6e8.js +6 -0
- package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
- package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
- package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
- package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
- package/dist/solutions-components/p-1d369231.js +21 -0
- package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
- package/dist/solutions-components/p-20a567b0.entry.js +6 -0
- package/dist/solutions-components/p-21965dcd.entry.js +11 -0
- package/dist/solutions-components/p-2305749d.entry.js +17 -0
- package/dist/solutions-components/p-24634430.entry.js +11 -0
- package/dist/solutions-components/p-2599399f.entry.js +6 -0
- package/dist/solutions-components/p-27c68097.js +11 -0
- package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
- package/dist/solutions-components/p-28fd26ed.js +6 -0
- package/dist/solutions-components/p-293d376c.js +6 -0
- package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
- package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
- package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
- package/dist/solutions-components/p-2a990146.entry.js +6 -0
- package/dist/solutions-components/p-2b4e50ed.js +6 -0
- package/dist/solutions-components/p-2d99bd61.js +6 -0
- package/dist/solutions-components/p-2e401f51.js +6 -0
- package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
- package/dist/solutions-components/p-3102119d.entry.js +11 -0
- package/dist/solutions-components/p-3137377f.entry.js +11 -0
- package/dist/solutions-components/p-34722455.entry.js +6 -0
- package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
- package/dist/solutions-components/p-37e2754a.js +6 -0
- package/dist/solutions-components/p-398ff315.js +11 -0
- package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
- package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
- package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
- package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
- package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
- package/dist/solutions-components/p-3eb49703.js +489 -0
- package/dist/solutions-components/p-42ea2581.js +6 -0
- package/dist/solutions-components/p-44043ef6.entry.js +11 -0
- package/dist/solutions-components/p-44bfa87d.js +11 -0
- package/dist/solutions-components/p-45db29e2.js +6 -0
- package/dist/solutions-components/p-465fbfc2.js +6 -0
- package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
- package/dist/solutions-components/p-49250010.js +6 -0
- package/dist/solutions-components/p-4b80b699.entry.js +6 -0
- package/dist/solutions-components/p-4b85c3dc.js +6 -0
- package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
- package/dist/solutions-components/p-4fbd1a02.js +6 -0
- package/dist/solutions-components/p-50aa0e5a.js +6 -0
- package/dist/solutions-components/p-52bcd209.entry.js +6 -0
- package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
- package/dist/solutions-components/p-5443995c.entry.js +11 -0
- package/dist/solutions-components/p-55730588.js +6 -0
- package/dist/solutions-components/p-57961ae0.entry.js +6 -0
- package/dist/solutions-components/p-57a03a95.js +17 -0
- package/dist/solutions-components/p-59f016a1.js +61 -0
- package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
- package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
- package/dist/solutions-components/p-5db64297.entry.js +11 -0
- package/dist/solutions-components/p-5eb6219c.js +11 -0
- package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
- package/dist/solutions-components/p-5ed825c4.js +6 -0
- package/dist/solutions-components/p-5f1fdaf9.js +11 -0
- package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
- package/dist/solutions-components/p-61dcdc62.js +6 -0
- package/dist/solutions-components/p-622f33ee.entry.js +6 -0
- package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
- package/dist/solutions-components/p-652140aa.entry.js +6 -0
- package/dist/solutions-components/p-6809e050.entry.js +11 -0
- package/dist/solutions-components/p-69cfc738.entry.js +6 -0
- package/dist/solutions-components/p-69db1e2c.js +6 -0
- package/dist/solutions-components/p-6acf6c8f.js +7 -0
- package/dist/solutions-components/p-6bf91f6e.js +6 -0
- package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
- package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
- package/dist/solutions-components/p-6d51c6bf.js +6 -0
- package/dist/solutions-components/p-6df9b158.entry.js +11 -0
- package/dist/solutions-components/p-716a0878.js +11 -0
- package/dist/solutions-components/p-71c212e6.entry.js +12 -0
- package/dist/solutions-components/p-71ed8170.entry.js +11 -0
- package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
- package/dist/solutions-components/p-7388563d.js +6 -0
- package/dist/solutions-components/p-747d4b59.js +21 -0
- package/dist/solutions-components/p-74dbad36.js +6 -0
- package/dist/solutions-components/p-7638ce3d.js +6 -0
- package/dist/solutions-components/p-76f51550.entry.js +11 -0
- package/dist/solutions-components/p-7773d8ea.js +6 -0
- package/dist/solutions-components/p-7822e93b.js +16 -0
- package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
- package/dist/solutions-components/p-7996f123.js +50 -0
- package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
- package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
- package/dist/solutions-components/p-7a646a97.js +6 -0
- package/dist/solutions-components/p-7afca6b4.js +26 -0
- package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
- package/dist/solutions-components/p-7efcfb47.js +6 -0
- package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
- package/dist/solutions-components/p-7fe77355.js +6 -0
- package/dist/solutions-components/p-7fea6d8a.js +6 -0
- package/dist/solutions-components/p-8008449b.entry.js +16 -0
- package/dist/solutions-components/p-813d004f.js +16 -0
- package/dist/solutions-components/p-8241b179.entry.js +17 -0
- package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
- package/dist/solutions-components/p-853d952d.entry.js +6 -0
- package/dist/solutions-components/p-89f6ff72.js +6 -0
- package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
- package/dist/solutions-components/p-8babc507.entry.js +6 -0
- package/dist/solutions-components/p-8c6d9b5a.js +6 -0
- package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
- package/dist/solutions-components/p-8ed6ce4d.js +11 -0
- package/dist/solutions-components/p-9088fa3a.js +6 -0
- package/dist/solutions-components/p-90e3ce7f.js +6 -0
- package/dist/solutions-components/p-9271710d.js +6 -0
- package/dist/solutions-components/p-9377260c.js +6 -0
- package/dist/solutions-components/p-941e55f0.entry.js +6 -0
- package/dist/solutions-components/p-946ee345.js +145 -0
- package/dist/solutions-components/p-97421bb9.js +6 -0
- package/dist/solutions-components/p-9808250d.entry.js +6 -0
- package/dist/solutions-components/p-9a7e00b8.js +6 -0
- package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
- package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
- package/dist/solutions-components/p-9c6c056a.js +12 -0
- package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
- package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
- package/dist/solutions-components/p-9e77f5c7.js +11 -0
- package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
- package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
- package/dist/solutions-components/p-a204dcff.entry.js +11 -0
- package/dist/solutions-components/p-a2390bee.entry.js +6 -0
- package/dist/solutions-components/p-a805c11f.entry.js +6 -0
- package/dist/solutions-components/p-a89e61f4.js +11 -0
- package/dist/solutions-components/p-aa967a48.entry.js +6 -0
- package/dist/solutions-components/p-ab8039f5.js +6 -0
- package/dist/solutions-components/p-acef743f.entry.js +11 -0
- package/dist/solutions-components/p-ada34f83.js +6 -0
- package/dist/solutions-components/p-af1c9389.entry.js +6 -0
- package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
- package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
- package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
- package/dist/solutions-components/p-b25e8339.js +6 -0
- package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
- package/dist/solutions-components/p-b2f11718.entry.js +11 -0
- package/dist/solutions-components/p-b4230022.entry.js +11 -0
- package/dist/solutions-components/p-b442aa02.entry.js +17 -0
- package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
- package/dist/solutions-components/p-b5c88983.js +6 -0
- package/dist/solutions-components/p-b64cc55e.js +11 -0
- package/dist/solutions-components/p-b77b6c26.js +6 -0
- package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
- package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
- package/dist/solutions-components/p-ba569f8b.js +11 -0
- package/dist/solutions-components/p-bac8a4cd.js +6 -0
- package/dist/solutions-components/p-bd459df3.entry.js +11 -0
- package/dist/solutions-components/p-bf27cd5f.js +6 -0
- package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
- package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
- package/dist/solutions-components/p-c4160bf7.js +6 -0
- package/dist/solutions-components/p-c4ddb206.js +21 -0
- package/dist/solutions-components/p-c554abce.entry.js +11 -0
- package/dist/solutions-components/p-c63a8225.entry.js +6 -0
- package/dist/solutions-components/p-c8935707.entry.js +11 -0
- package/dist/solutions-components/p-c96bde1d.js +6 -0
- package/dist/solutions-components/p-c9b22653.js +36 -0
- package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
- package/dist/solutions-components/p-cc07069d.entry.js +11 -0
- package/dist/solutions-components/p-cc388a08.js +11 -0
- package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
- package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
- package/dist/solutions-components/p-d029b513.js +6 -0
- package/dist/solutions-components/p-d11d941c.js +6 -0
- package/dist/solutions-components/p-d27ab863.js +37 -0
- package/dist/solutions-components/p-d31a139f.entry.js +11 -0
- package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
- package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
- package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
- package/dist/solutions-components/p-da75df88.entry.js +6 -0
- package/dist/solutions-components/p-de279d51.entry.js +6 -0
- package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
- package/dist/solutions-components/p-df0a1d4b.js +11 -0
- package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
- package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
- package/dist/solutions-components/p-e11a4728.entry.js +6 -0
- package/dist/solutions-components/p-e528c321.js +6 -0
- package/dist/solutions-components/p-e6c9e6af.js +11 -0
- package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
- package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
- package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
- package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
- package/dist/solutions-components/p-ee309d0b.js +6 -0
- package/dist/solutions-components/p-ee7f7c24.js +6 -0
- package/dist/solutions-components/p-ef54f211.js +6 -0
- package/dist/solutions-components/p-ef930f76.entry.js +11 -0
- package/dist/solutions-components/p-f163a137.js +6 -0
- package/dist/solutions-components/p-f1ae51dc.js +21 -0
- package/dist/solutions-components/p-f480b275.js +6 -0
- package/dist/solutions-components/p-f539a342.entry.js +11 -0
- package/dist/solutions-components/p-f8c45269.entry.js +6 -0
- package/dist/solutions-components/p-fa1ceaf9.js +7 -0
- package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
- package/dist/solutions-components/p-fc9a49db.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
- package/dist/solutions-components/utils/pciUtils.ts +2 -2
- package/dist/types/components/floor-filter/floor-filter.d.ts +4 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
- package/dist/types/components/public-notification/public-notification.d.ts +4 -0
- package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
- package/dist/types/components.d.ts +24 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/package.json +41 -40
- package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
- package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
- package/dist/cjs/Heading-1f831135.js +0 -25
- package/dist/cjs/Validation-eb9afded.js +0 -20
- package/dist/cjs/ar-1013e0a6.js +0 -105
- package/dist/cjs/bg-7013971e.js +0 -83
- package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
- package/dist/cjs/browser-a96d0614.js +0 -25
- package/dist/cjs/bs-97bd61eb.js +0 -52
- package/dist/cjs/ca-2a76034c.js +0 -72
- package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
- package/dist/cjs/common-6d2c14c6.js +0 -38
- package/dist/cjs/conditionalSlot-93779916.js +0 -54
- package/dist/cjs/cs-b189af7b.js +0 -148
- package/dist/cjs/da-ebb3b688.js +0 -67
- package/dist/cjs/date-456675b2.js +0 -261
- package/dist/cjs/de-01ac3f09.js +0 -92
- package/dist/cjs/de-at-1437180c.js +0 -91
- package/dist/cjs/de-ch-b9a068a3.js +0 -91
- package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
- package/dist/cjs/el-7ce5c99d.js +0 -67
- package/dist/cjs/en-au-c3ca3a9f.js +0 -67
- package/dist/cjs/en-ca-34007cde.js +0 -66
- package/dist/cjs/en-gb-2db136a2.js +0 -70
- package/dist/cjs/es-f00ce3f0.js +0 -67
- package/dist/cjs/es-mx-503b9e1a.js +0 -66
- package/dist/cjs/et-556f49fd.js +0 -93
- package/dist/cjs/fi-47ef7686.js +0 -116
- package/dist/cjs/floating-ui-06d961ad.js +0 -2295
- package/dist/cjs/form-a27f759c.js +0 -381
- package/dist/cjs/fr-5ba5763a.js +0 -69
- package/dist/cjs/fr-ch-9b02cb30.js +0 -67
- package/dist/cjs/he-07cce409.js +0 -106
- package/dist/cjs/helpers-618a3f7d.js +0 -907
- package/dist/cjs/hi-7b691fb6.js +0 -66
- package/dist/cjs/hr-ebd3ae66.js +0 -81
- package/dist/cjs/hu-b177f75e.js +0 -89
- package/dist/cjs/id-ffab63fb.js +0 -67
- package/dist/cjs/index-79b35510.js +0 -1682
- package/dist/cjs/index-c078ea5f.js +0 -201
- package/dist/cjs/index.es-4e523f8b.js +0 -11317
- package/dist/cjs/interactive-f08f0369.js +0 -154
- package/dist/cjs/it-8646ff2a.js +0 -67
- package/dist/cjs/it-ch-6c949267.js +0 -67
- package/dist/cjs/ja-cf48eff1.js +0 -73
- package/dist/cjs/ko-294e5fae.js +0 -73
- package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
- package/dist/cjs/languageUtil-da436671.js +0 -69
- package/dist/cjs/loadModules-b28900c2.js +0 -23
- package/dist/cjs/loadable-b374ef4b.js +0 -94
- package/dist/cjs/locale-3fd260e3.js +0 -91
- package/dist/cjs/locale-48d76c59.js +0 -161
- package/dist/cjs/locale-5efdf085.js +0 -584
- package/dist/cjs/lt-a592829c.js +0 -98
- package/dist/cjs/lv-39a6d278.js +0 -67
- package/dist/cjs/mapViewUtils-911698e5.js +0 -508
- package/dist/cjs/mk-afea13c6.js +0 -67
- package/dist/cjs/mode-d6c12b38.js +0 -19
- package/dist/cjs/nb-b7cf648c.js +0 -68
- package/dist/cjs/nl-72021978.js +0 -68
- package/dist/cjs/observers-4fa351d9.js +0 -55
- package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
- package/dist/cjs/pciUtils-a238f3a1.js +0 -847
- package/dist/cjs/pl-82312f6a.js +0 -115
- package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
- package/dist/cjs/pt-42d95816.js +0 -68
- package/dist/cjs/pt-br-b0b546fc.js +0 -66
- package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
- package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
- package/dist/cjs/ro-e7948270.js +0 -67
- package/dist/cjs/ru-3526e86f.js +0 -127
- package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
- package/dist/cjs/sk-0f35900e.js +0 -149
- package/dist/cjs/sl-abc6455f.js +0 -169
- package/dist/cjs/solution-resource-a577e84f.js +0 -145
- package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
- package/dist/cjs/sr-fe2d4b5b.js +0 -102
- package/dist/cjs/styles-c9e1375a.js +0 -13
- package/dist/cjs/sv-6503d7e1.js +0 -72
- package/dist/cjs/t9n-9d199056.js +0 -100
- package/dist/cjs/th-9600cb11.js +0 -66
- package/dist/cjs/time-d250cbf5.js +0 -289
- package/dist/cjs/tr-faae7cc6.js +0 -67
- package/dist/cjs/uk-5e626d2b.js +0 -105
- package/dist/cjs/utils-e3996e43.js +0 -65
- package/dist/cjs/utils-f3710824.js +0 -130
- package/dist/cjs/vi-74653398.js +0 -71
- package/dist/cjs/zh-cn-b53af030.js +0 -95
- package/dist/cjs/zh-hk-96b751d5.js +0 -72
- package/dist/cjs/zh-tw-50d1a248.js +0 -93
- package/dist/esm/ExpandToggle-73432b0a.js +0 -110
- package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
- package/dist/esm/Heading-03b41bf8.js +0 -22
- package/dist/esm/Validation-59757032.js +0 -18
- package/dist/esm/ar-a0f8473e.js +0 -103
- package/dist/esm/bg-4a8059f0.js +0 -81
- package/dist/esm/breakpoints-f0f1417d.js +0 -15
- package/dist/esm/browser-9897260d.js +0 -23
- package/dist/esm/bs-3d9fa4b7.js +0 -50
- package/dist/esm/ca-a74ba459.js +0 -70
- package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
- package/dist/esm/common-7f72122b.js +0 -36
- package/dist/esm/conditionalSlot-16953b0d.js +0 -51
- package/dist/esm/cs-cd3323d4.js +0 -146
- package/dist/esm/da-eccb7ace.js +0 -65
- package/dist/esm/date-562b6fba.js +0 -245
- package/dist/esm/de-269c8d62.js +0 -90
- package/dist/esm/de-at-742cc453.js +0 -89
- package/dist/esm/de-ch-b4ff8ebb.js +0 -89
- package/dist/esm/downloadUtils-571a502d.js +0 -3158
- package/dist/esm/el-e7e0181b.js +0 -65
- package/dist/esm/en-au-0f12d4ae.js +0 -65
- package/dist/esm/en-ca-d692f9a4.js +0 -64
- package/dist/esm/en-gb-e91744e9.js +0 -68
- package/dist/esm/es-867bace7.js +0 -65
- package/dist/esm/es-mx-cde6ed6f.js +0 -64
- package/dist/esm/esri-loader-2bf735ed.js +0 -311
- package/dist/esm/et-a2613f53.js +0 -91
- package/dist/esm/fi-07875b7a.js +0 -114
- package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
- package/dist/esm/form-6d38f4ee.js +0 -372
- package/dist/esm/fr-669ba3b9.js +0 -67
- package/dist/esm/fr-ch-da569be6.js +0 -65
- package/dist/esm/he-6cbfe53b.js +0 -104
- package/dist/esm/helpers-61b05164.js +0 -881
- package/dist/esm/hi-913d1595.js +0 -64
- package/dist/esm/hr-8f581dc9.js +0 -79
- package/dist/esm/html2canvas-28c7de60.js +0 -7845
- package/dist/esm/hu-02bb4a04.js +0 -87
- package/dist/esm/id-306dcc93.js +0 -65
- package/dist/esm/index-ba5da2b0.js +0 -1648
- package/dist/esm/index-c06194fa.js +0 -199
- package/dist/esm/index.es-2f9f04c5.js +0 -11230
- package/dist/esm/interactive-52276a00.js +0 -149
- package/dist/esm/it-3f0c20a1.js +0 -65
- package/dist/esm/it-ch-fe18a6c5.js +0 -65
- package/dist/esm/ja-41455a15.js +0 -71
- package/dist/esm/ko-88a4fc75.js +0 -71
- package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
- package/dist/esm/languageUtil-36f8f4ef.js +0 -66
- package/dist/esm/loadModules-496086ee.js +0 -21
- package/dist/esm/loadable-cca582a3.js +0 -89
- package/dist/esm/locale-353c1c36.js +0 -571
- package/dist/esm/locale-69333b8e.js +0 -86
- package/dist/esm/locale-a490c4f6.js +0 -156
- package/dist/esm/lt-5c1c3aa4.js +0 -96
- package/dist/esm/lv-acb76551.js +0 -65
- package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
- package/dist/esm/mk-b12a886b.js +0 -65
- package/dist/esm/mode-66911cb5.js +0 -17
- package/dist/esm/nb-50bbf4fa.js +0 -66
- package/dist/esm/nl-6dd1488e.js +0 -66
- package/dist/esm/observers-19e5cb73.js +0 -53
- package/dist/esm/openCloseComponent-04234cea.js +0 -90
- package/dist/esm/pciUtils-73d4b6b4.js +0 -844
- package/dist/esm/pl-f0ccb3a4.js +0 -113
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popupUtils-8efd3cde.js +0 -109
- package/dist/esm/pt-3adf4f5e.js +0 -66
- package/dist/esm/pt-br-5ad78776.js +0 -64
- package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
- package/dist/esm/purify-dbd0968e.js +0 -1714
- package/dist/esm/restHelpersGet-1bd54274.js +0 -959
- package/dist/esm/ro-ba24a126.js +0 -65
- package/dist/esm/ru-2feffc99.js +0 -125
- package/dist/esm/shared-list-render-aaa69039.js +0 -343
- package/dist/esm/sk-097e96ba.js +0 -147
- package/dist/esm/sl-27721fe2.js +0 -167
- package/dist/esm/solution-resource-0d0eb597.js +0 -142
- package/dist/esm/solution-store-997e0cb8.js +0 -1342
- package/dist/esm/sr-b421770e.js +0 -100
- package/dist/esm/styles-367380b5.js +0 -11
- package/dist/esm/sv-3bad8e53.js +0 -70
- package/dist/esm/t9n-165900a5.js +0 -95
- package/dist/esm/th-7cc88e5d.js +0 -64
- package/dist/esm/time-d605c462.js +0 -274
- package/dist/esm/tr-0a2743e1.js +0 -65
- package/dist/esm/uk-6d2572d0.js +0 -103
- package/dist/esm/utils-26baa5d3.js +0 -54
- package/dist/esm/utils-bd72a603.js +0 -121
- package/dist/esm/vi-e8feb97f.js +0 -69
- package/dist/esm/zh-cn-fdec5be5.js +0 -93
- package/dist/esm/zh-hk-07c60ac2.js +0 -70
- package/dist/esm/zh-tw-b1e4174b.js +0 -91
- package/dist/solutions-components/p-011892f2.entry.js +0 -11
- package/dist/solutions-components/p-022edd7a.entry.js +0 -11
- package/dist/solutions-components/p-02651dd3.entry.js +0 -11
- package/dist/solutions-components/p-04af53a2.js +0 -6
- package/dist/solutions-components/p-053be79f.entry.js +0 -12
- package/dist/solutions-components/p-061da95a.entry.js +0 -6
- package/dist/solutions-components/p-0669c156.entry.js +0 -17
- package/dist/solutions-components/p-06748b7a.entry.js +0 -6
- package/dist/solutions-components/p-070b98cd.entry.js +0 -17
- package/dist/solutions-components/p-0894d584.js +0 -6
- package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
- package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
- package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
- package/dist/solutions-components/p-0c523112.js +0 -6
- package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
- package/dist/solutions-components/p-0d17246a.entry.js +0 -6
- package/dist/solutions-components/p-0fba267c.entry.js +0 -12
- package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
- package/dist/solutions-components/p-105d8256.js +0 -6
- package/dist/solutions-components/p-11881a54.js +0 -6
- package/dist/solutions-components/p-11e873c7.entry.js +0 -6
- package/dist/solutions-components/p-12c80030.js +0 -11
- package/dist/solutions-components/p-1506751c.entry.js +0 -11
- package/dist/solutions-components/p-17674f66.js +0 -6
- package/dist/solutions-components/p-177a139d.entry.js +0 -11
- package/dist/solutions-components/p-18b27561.entry.js +0 -11
- package/dist/solutions-components/p-19dbfe71.js +0 -6
- package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
- package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
- package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
- package/dist/solutions-components/p-1e915546.entry.js +0 -47
- package/dist/solutions-components/p-229ec6a3.js +0 -11
- package/dist/solutions-components/p-238d8710.entry.js +0 -11
- package/dist/solutions-components/p-23d35d76.js +0 -6
- package/dist/solutions-components/p-2445cf51.js +0 -7
- package/dist/solutions-components/p-2455bcb0.js +0 -21
- package/dist/solutions-components/p-246b1648.entry.js +0 -12
- package/dist/solutions-components/p-261880f7.entry.js +0 -11
- package/dist/solutions-components/p-2665663a.entry.js +0 -6
- package/dist/solutions-components/p-26eb1225.entry.js +0 -6
- package/dist/solutions-components/p-2775f82b.js +0 -6
- package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
- package/dist/solutions-components/p-287d2d49.entry.js +0 -11
- package/dist/solutions-components/p-28d2ab1a.js +0 -6
- package/dist/solutions-components/p-28e582b0.entry.js +0 -11
- package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
- package/dist/solutions-components/p-2e625f11.js +0 -11
- package/dist/solutions-components/p-302fccc1.entry.js +0 -6
- package/dist/solutions-components/p-314dc933.entry.js +0 -6
- package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
- package/dist/solutions-components/p-328fbf6d.js +0 -11
- package/dist/solutions-components/p-334e6394.js +0 -37
- package/dist/solutions-components/p-3365a6de.entry.js +0 -11
- package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
- package/dist/solutions-components/p-370283a4.js +0 -6
- package/dist/solutions-components/p-392be4a7.js +0 -6
- package/dist/solutions-components/p-3b7e0d5a.js +0 -26
- package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
- package/dist/solutions-components/p-3ce690d9.js +0 -6
- package/dist/solutions-components/p-3da83eee.entry.js +0 -22
- package/dist/solutions-components/p-3e33078e.entry.js +0 -11
- package/dist/solutions-components/p-400a584e.js +0 -6
- package/dist/solutions-components/p-415d519f.entry.js +0 -6
- package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
- package/dist/solutions-components/p-4370de50.js +0 -6
- package/dist/solutions-components/p-43d1b0bd.js +0 -11
- package/dist/solutions-components/p-4870be89.entry.js +0 -6
- package/dist/solutions-components/p-489be360.entry.js +0 -11
- package/dist/solutions-components/p-490e4875.entry.js +0 -11
- package/dist/solutions-components/p-4ac019d3.js +0 -6
- package/dist/solutions-components/p-4ba6f8f0.js +0 -6
- package/dist/solutions-components/p-4ca83bea.js +0 -6
- package/dist/solutions-components/p-4e07c030.entry.js +0 -11
- package/dist/solutions-components/p-502172da.entry.js +0 -17
- package/dist/solutions-components/p-50741707.entry.js +0 -6
- package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
- package/dist/solutions-components/p-51d5532f.entry.js +0 -6
- package/dist/solutions-components/p-52dba022.js +0 -489
- package/dist/solutions-components/p-530b73ce.js +0 -66
- package/dist/solutions-components/p-533a9cca.entry.js +0 -11
- package/dist/solutions-components/p-570a3777.js +0 -6
- package/dist/solutions-components/p-57eeed77.js +0 -61
- package/dist/solutions-components/p-5862de8d.entry.js +0 -6
- package/dist/solutions-components/p-591175a6.js +0 -6
- package/dist/solutions-components/p-5974ba05.js +0 -16
- package/dist/solutions-components/p-5b654493.entry.js +0 -6
- package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
- package/dist/solutions-components/p-5f873153.js +0 -6
- package/dist/solutions-components/p-6085ab9c.js +0 -11
- package/dist/solutions-components/p-614ebce7.js +0 -6
- package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
- package/dist/solutions-components/p-628874a6.entry.js +0 -6
- package/dist/solutions-components/p-62c34f96.entry.js +0 -11
- package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
- package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
- package/dist/solutions-components/p-680a43bb.entry.js +0 -6
- package/dist/solutions-components/p-6bdafe3f.js +0 -6
- package/dist/solutions-components/p-6d753a3d.js +0 -7
- package/dist/solutions-components/p-6e260ca3.entry.js +0 -6
- package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
- package/dist/solutions-components/p-7348c869.entry.js +0 -6
- package/dist/solutions-components/p-74a283fb.entry.js +0 -11
- package/dist/solutions-components/p-76d70d3e.js +0 -6
- package/dist/solutions-components/p-77cd573b.entry.js +0 -6
- package/dist/solutions-components/p-7883b885.entry.js +0 -17
- package/dist/solutions-components/p-790ab21b.js +0 -6
- package/dist/solutions-components/p-798d20c2.entry.js +0 -11
- package/dist/solutions-components/p-79e2e203.entry.js +0 -6
- package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
- package/dist/solutions-components/p-7b17e929.entry.js +0 -6
- package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
- package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
- package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
- package/dist/solutions-components/p-814ad17b.js +0 -6
- package/dist/solutions-components/p-820d8935.js +0 -11
- package/dist/solutions-components/p-8294d644.js +0 -21
- package/dist/solutions-components/p-82e085d0.js +0 -6
- package/dist/solutions-components/p-84913712.js +0 -6
- package/dist/solutions-components/p-865a9a2b.js +0 -6
- package/dist/solutions-components/p-8674e740.js +0 -11
- package/dist/solutions-components/p-86a8cf0e.js +0 -11
- package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
- package/dist/solutions-components/p-896c9644.js +0 -36
- package/dist/solutions-components/p-89a0889f.js +0 -21
- package/dist/solutions-components/p-8f760a96.js +0 -11
- package/dist/solutions-components/p-8fd36ce2.js +0 -6
- package/dist/solutions-components/p-92eadd14.entry.js +0 -6
- package/dist/solutions-components/p-937f5a14.js +0 -6
- package/dist/solutions-components/p-96c901b4.entry.js +0 -6
- package/dist/solutions-components/p-96e9c88b.js +0 -6
- package/dist/solutions-components/p-972fd6e2.js +0 -11
- package/dist/solutions-components/p-996a9b86.js +0 -6
- package/dist/solutions-components/p-997ed04c.js +0 -6
- package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
- package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
- package/dist/solutions-components/p-9db9645e.js +0 -12
- package/dist/solutions-components/p-9f11bcc0.js +0 -6
- package/dist/solutions-components/p-9f27fdfb.js +0 -6
- package/dist/solutions-components/p-9f635891.js +0 -17
- package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
- package/dist/solutions-components/p-a008937e.entry.js +0 -6
- package/dist/solutions-components/p-a24e5541.js +0 -6
- package/dist/solutions-components/p-a25bbcc1.js +0 -11
- package/dist/solutions-components/p-a520fedd.js +0 -6
- package/dist/solutions-components/p-a5f1bbe9.js +0 -6
- package/dist/solutions-components/p-a87405cb.entry.js +0 -11
- package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
- package/dist/solutions-components/p-ac77e72f.js +0 -6
- package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
- package/dist/solutions-components/p-b0a4644b.js +0 -6
- package/dist/solutions-components/p-b5bfe190.js +0 -16
- package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
- package/dist/solutions-components/p-b965c059.entry.js +0 -16
- package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
- package/dist/solutions-components/p-bb53e532.js +0 -6
- package/dist/solutions-components/p-bc82830a.js +0 -6
- package/dist/solutions-components/p-bda54b12.entry.js +0 -6
- package/dist/solutions-components/p-bdcf99c0.js +0 -6
- package/dist/solutions-components/p-bfd3d428.js +0 -11
- package/dist/solutions-components/p-c02351ae.entry.js +0 -11
- package/dist/solutions-components/p-c0c5c7a9.js +0 -6
- package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
- package/dist/solutions-components/p-c151a297.entry.js +0 -6
- package/dist/solutions-components/p-c4a44f66.js +0 -6
- package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
- package/dist/solutions-components/p-c5becad1.entry.js +0 -6
- package/dist/solutions-components/p-c6be0487.entry.js +0 -6
- package/dist/solutions-components/p-c757c37b.js +0 -6
- package/dist/solutions-components/p-c791e836.entry.js +0 -6
- package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
- package/dist/solutions-components/p-c8260cf0.js +0 -145
- package/dist/solutions-components/p-c9653aec.js +0 -6
- package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
- package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
- package/dist/solutions-components/p-cce71e60.entry.js +0 -11
- package/dist/solutions-components/p-cd190ff9.js +0 -6
- package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
- package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
- package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
- package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
- package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
- package/dist/solutions-components/p-d893cddf.entry.js +0 -11
- package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
- package/dist/solutions-components/p-d8da6406.entry.js +0 -6
- package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
- package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
- package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
- package/dist/solutions-components/p-deb3adb8.js +0 -6
- package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
- package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
- package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
- package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
- package/dist/solutions-components/p-e96d0b39.js +0 -6
- package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
- package/dist/solutions-components/p-ec843a3e.js +0 -6
- package/dist/solutions-components/p-eda6994e.entry.js +0 -6
- package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
- package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
- package/dist/solutions-components/p-ee81a7c3.js +0 -6
- package/dist/solutions-components/p-eeaed243.js +0 -11
- package/dist/solutions-components/p-f1822d63.js +0 -6
- package/dist/solutions-components/p-f22a4439.js +0 -21
- package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
- package/dist/solutions-components/p-f4456214.js +0 -6
- package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
- package/dist/solutions-components/p-f9475704.js +0 -6
- package/dist/solutions-components/p-fac36b42.entry.js +0 -6
- package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
- package/dist/solutions-components/p-fc79eaaf.js +0 -6
- package/dist/solutions-components/p-fcb11407.entry.js +0 -11
- package/dist/solutions-components/p-fd28754c.entry.js +0 -6
- package/dist/solutions-components/p-fd6f2ba3.js +0 -6
- package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
- /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
- /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
- /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
- /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -0,0 +1,906 @@
|
|
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 './solution-resource-a2fff3bf.js';
|
7
|
+
import './index-a1e91462.js';
|
8
|
+
|
9
|
+
/*! *****************************************************************************
|
10
|
+
Copyright (c) Microsoft Corporation.
|
11
|
+
|
12
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
13
|
+
purpose with or without fee is hereby granted.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
16
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
17
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
18
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
19
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
20
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
21
|
+
PERFORMANCE OF THIS SOFTWARE.
|
22
|
+
***************************************************************************** */
|
23
|
+
/* global Reflect, Promise */
|
24
|
+
|
25
|
+
var extendStatics = function(d, b) {
|
26
|
+
extendStatics = Object.setPrototypeOf ||
|
27
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
28
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
29
|
+
return extendStatics(d, b);
|
30
|
+
};
|
31
|
+
|
32
|
+
function __extends(d, b) {
|
33
|
+
extendStatics(d, b);
|
34
|
+
function __() { this.constructor = d; }
|
35
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
36
|
+
}
|
37
|
+
|
38
|
+
var __assign = function() {
|
39
|
+
__assign = Object.assign || function __assign(t) {
|
40
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
41
|
+
s = arguments[i];
|
42
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
43
|
+
}
|
44
|
+
return t;
|
45
|
+
};
|
46
|
+
return __assign.apply(this, arguments);
|
47
|
+
};
|
48
|
+
|
49
|
+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
50
|
+
* Apache-2.0 */
|
51
|
+
/**
|
52
|
+
* Checks parameters to see if we should use FormData to send the request
|
53
|
+
* @param params The object whose keys will be encoded.
|
54
|
+
* @return A boolean indicating if FormData will be required.
|
55
|
+
*/
|
56
|
+
function requiresFormData(params) {
|
57
|
+
return Object.keys(params).some(function (key) {
|
58
|
+
var value = params[key];
|
59
|
+
if (!value) {
|
60
|
+
return false;
|
61
|
+
}
|
62
|
+
if (value && value.toParam) {
|
63
|
+
value = value.toParam();
|
64
|
+
}
|
65
|
+
var type = value.constructor.name;
|
66
|
+
switch (type) {
|
67
|
+
case "Array":
|
68
|
+
return false;
|
69
|
+
case "Object":
|
70
|
+
return false;
|
71
|
+
case "Date":
|
72
|
+
return false;
|
73
|
+
case "Function":
|
74
|
+
return false;
|
75
|
+
case "Boolean":
|
76
|
+
return false;
|
77
|
+
case "String":
|
78
|
+
return false;
|
79
|
+
case "Number":
|
80
|
+
return false;
|
81
|
+
default:
|
82
|
+
return true;
|
83
|
+
}
|
84
|
+
});
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* Converts parameters to the proper representation to send to the ArcGIS REST API.
|
88
|
+
* @param params The object whose keys will be encoded.
|
89
|
+
* @return A new object with properly encoded values.
|
90
|
+
*/
|
91
|
+
function processParams(params) {
|
92
|
+
var newParams = {};
|
93
|
+
Object.keys(params).forEach(function (key) {
|
94
|
+
var _a, _b;
|
95
|
+
var param = params[key];
|
96
|
+
if (param && param.toParam) {
|
97
|
+
param = param.toParam();
|
98
|
+
}
|
99
|
+
if (!param &&
|
100
|
+
param !== 0 &&
|
101
|
+
typeof param !== "boolean" &&
|
102
|
+
typeof param !== "string") {
|
103
|
+
return;
|
104
|
+
}
|
105
|
+
var type = param.constructor.name;
|
106
|
+
var value;
|
107
|
+
// properly encodes objects, arrays and dates for arcgis.com and other services.
|
108
|
+
// ported from https://github.com/Esri/esri-leaflet/blob/master/src/Request.js#L22-L30
|
109
|
+
// also see https://github.com/Esri/arcgis-rest-js/issues/18:
|
110
|
+
// null, undefined, function are excluded. If you want to send an empty key you need to send an empty string "".
|
111
|
+
switch (type) {
|
112
|
+
case "Array":
|
113
|
+
// Based on the first element of the array, classify array as an array of arrays, an array of objects
|
114
|
+
// to be stringified, or an array of non-objects to be comma-separated
|
115
|
+
// eslint-disable-next-line no-case-declarations
|
116
|
+
var firstElementType = (_b = (_a = param[0]) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name;
|
117
|
+
value =
|
118
|
+
firstElementType === "Array" ? param : // pass thru array of arrays
|
119
|
+
firstElementType === "Object" ? JSON.stringify(param) : // stringify array of objects
|
120
|
+
param.join(","); // join other types of array elements
|
121
|
+
break;
|
122
|
+
case "Object":
|
123
|
+
value = JSON.stringify(param);
|
124
|
+
break;
|
125
|
+
case "Date":
|
126
|
+
value = param.valueOf();
|
127
|
+
break;
|
128
|
+
case "Function":
|
129
|
+
value = null;
|
130
|
+
break;
|
131
|
+
case "Boolean":
|
132
|
+
value = param + "";
|
133
|
+
break;
|
134
|
+
default:
|
135
|
+
value = param;
|
136
|
+
break;
|
137
|
+
}
|
138
|
+
if (value || value === 0 || typeof value === "string" || Array.isArray(value)) {
|
139
|
+
newParams[key] = value;
|
140
|
+
}
|
141
|
+
});
|
142
|
+
return newParams;
|
143
|
+
}
|
144
|
+
|
145
|
+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
146
|
+
* Apache-2.0 */
|
147
|
+
/**
|
148
|
+
* Encodes keys and parameters for use in a URL's query string.
|
149
|
+
*
|
150
|
+
* @param key Parameter's key
|
151
|
+
* @param value Parameter's value
|
152
|
+
* @returns Query string with key and value pairs separated by "&"
|
153
|
+
*/
|
154
|
+
function encodeParam(key, value) {
|
155
|
+
// For array of arrays, repeat key=value for each element of containing array
|
156
|
+
if (Array.isArray(value) && value[0] && Array.isArray(value[0])) {
|
157
|
+
return value.map(function (arrayElem) { return encodeParam(key, arrayElem); }).join("&");
|
158
|
+
}
|
159
|
+
return encodeURIComponent(key) + "=" + encodeURIComponent(value);
|
160
|
+
}
|
161
|
+
/**
|
162
|
+
* Encodes the passed object as a query string.
|
163
|
+
*
|
164
|
+
* @param params An object to be encoded.
|
165
|
+
* @returns An encoded query string.
|
166
|
+
*/
|
167
|
+
function encodeQueryString(params) {
|
168
|
+
var newParams = processParams(params);
|
169
|
+
return Object.keys(newParams)
|
170
|
+
.map(function (key) {
|
171
|
+
return encodeParam(key, newParams[key]);
|
172
|
+
})
|
173
|
+
.join("&");
|
174
|
+
}
|
175
|
+
|
176
|
+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
177
|
+
* Apache-2.0 */
|
178
|
+
/**
|
179
|
+
* Encodes parameters in a [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) object in browsers or in a [FormData](https://github.com/form-data/form-data) in Node.js
|
180
|
+
*
|
181
|
+
* @param params An object to be encoded.
|
182
|
+
* @returns The complete [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData) object.
|
183
|
+
*/
|
184
|
+
function encodeFormData(params, forceFormData) {
|
185
|
+
// see https://github.com/Esri/arcgis-rest-js/issues/499 for more info.
|
186
|
+
var useFormData = requiresFormData(params) || forceFormData;
|
187
|
+
var newParams = processParams(params);
|
188
|
+
if (useFormData) {
|
189
|
+
var formData_1 = new FormData();
|
190
|
+
Object.keys(newParams).forEach(function (key) {
|
191
|
+
if (typeof Blob !== "undefined" && newParams[key] instanceof Blob) {
|
192
|
+
/* To name the Blob:
|
193
|
+
1. look to an alternate request parameter called 'fileName'
|
194
|
+
2. see if 'name' has been tacked onto the Blob manually
|
195
|
+
3. if all else fails, use the request parameter
|
196
|
+
*/
|
197
|
+
var filename = newParams["fileName"] || newParams[key].name || key;
|
198
|
+
formData_1.append(key, newParams[key], filename);
|
199
|
+
}
|
200
|
+
else {
|
201
|
+
formData_1.append(key, newParams[key]);
|
202
|
+
}
|
203
|
+
});
|
204
|
+
return formData_1;
|
205
|
+
}
|
206
|
+
else {
|
207
|
+
return encodeQueryString(params);
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
212
|
+
* Apache-2.0 */
|
213
|
+
// TypeScript 2.1 no longer allows you to extend built in types. See https://github.com/Microsoft/TypeScript/issues/12790#issuecomment-265981442
|
214
|
+
// and https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
215
|
+
//
|
216
|
+
// This code is from MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Custom_Error_Types.
|
217
|
+
var ArcGISRequestError = /** @class */ (function () {
|
218
|
+
/**
|
219
|
+
* Create a new `ArcGISRequestError` object.
|
220
|
+
*
|
221
|
+
* @param message - The error message from the API
|
222
|
+
* @param code - The error code from the API
|
223
|
+
* @param response - The original response from the API that caused the error
|
224
|
+
* @param url - The original url of the request
|
225
|
+
* @param options - The original options and parameters of the request
|
226
|
+
*/
|
227
|
+
function ArcGISRequestError(message, code, response, url, options) {
|
228
|
+
message = message || "UNKNOWN_ERROR";
|
229
|
+
code = code || "UNKNOWN_ERROR_CODE";
|
230
|
+
this.name = "ArcGISRequestError";
|
231
|
+
this.message =
|
232
|
+
code === "UNKNOWN_ERROR_CODE" ? message : code + ": " + message;
|
233
|
+
this.originalMessage = message;
|
234
|
+
this.code = code;
|
235
|
+
this.response = response;
|
236
|
+
this.url = url;
|
237
|
+
this.options = options;
|
238
|
+
}
|
239
|
+
return ArcGISRequestError;
|
240
|
+
}());
|
241
|
+
ArcGISRequestError.prototype = Object.create(Error.prototype);
|
242
|
+
ArcGISRequestError.prototype.constructor = ArcGISRequestError;
|
243
|
+
|
244
|
+
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
|
245
|
+
* Apache-2.0 */
|
246
|
+
var NODEJS_DEFAULT_REFERER_HEADER = "@esri/arcgis-rest-js";
|
247
|
+
var DEFAULT_ARCGIS_REQUEST_OPTIONS = {
|
248
|
+
httpMethod: "POST",
|
249
|
+
params: {
|
250
|
+
f: "json",
|
251
|
+
},
|
252
|
+
};
|
253
|
+
var ArcGISAuthError = /** @class */ (function (_super) {
|
254
|
+
__extends(ArcGISAuthError, _super);
|
255
|
+
/**
|
256
|
+
* Create a new `ArcGISAuthError` object.
|
257
|
+
*
|
258
|
+
* @param message - The error message from the API
|
259
|
+
* @param code - The error code from the API
|
260
|
+
* @param response - The original response from the API that caused the error
|
261
|
+
* @param url - The original url of the request
|
262
|
+
* @param options - The original options of the request
|
263
|
+
*/
|
264
|
+
function ArcGISAuthError(message, code, response, url, options) {
|
265
|
+
if (message === void 0) { message = "AUTHENTICATION_ERROR"; }
|
266
|
+
if (code === void 0) { code = "AUTHENTICATION_ERROR_CODE"; }
|
267
|
+
var _this = _super.call(this, message, code, response, url, options) || this;
|
268
|
+
_this.name = "ArcGISAuthError";
|
269
|
+
_this.message =
|
270
|
+
code === "AUTHENTICATION_ERROR_CODE" ? message : code + ": " + message;
|
271
|
+
return _this;
|
272
|
+
}
|
273
|
+
ArcGISAuthError.prototype.retry = function (getSession, retryLimit) {
|
274
|
+
var _this = this;
|
275
|
+
if (retryLimit === void 0) { retryLimit = 3; }
|
276
|
+
var tries = 0;
|
277
|
+
var retryRequest = function (resolve, reject) {
|
278
|
+
getSession(_this.url, _this.options)
|
279
|
+
.then(function (session) {
|
280
|
+
var newOptions = __assign(__assign({}, _this.options), { authentication: session });
|
281
|
+
tries = tries + 1;
|
282
|
+
return request(_this.url, newOptions);
|
283
|
+
})
|
284
|
+
.then(function (response) {
|
285
|
+
resolve(response);
|
286
|
+
})
|
287
|
+
.catch(function (e) {
|
288
|
+
if (e.name === "ArcGISAuthError" && tries < retryLimit) {
|
289
|
+
retryRequest(resolve, reject);
|
290
|
+
}
|
291
|
+
else if (e.name === "ArcGISAuthError" && tries >= retryLimit) {
|
292
|
+
reject(_this);
|
293
|
+
}
|
294
|
+
else {
|
295
|
+
reject(e);
|
296
|
+
}
|
297
|
+
});
|
298
|
+
};
|
299
|
+
return new Promise(function (resolve, reject) {
|
300
|
+
retryRequest(resolve, reject);
|
301
|
+
});
|
302
|
+
};
|
303
|
+
return ArcGISAuthError;
|
304
|
+
}(ArcGISRequestError));
|
305
|
+
/**
|
306
|
+
* Checks for errors in a JSON response from the ArcGIS REST API. If there are no errors, it will return the `data` passed in. If there is an error, it will throw an `ArcGISRequestError` or `ArcGISAuthError`.
|
307
|
+
*
|
308
|
+
* @param data The response JSON to check for errors.
|
309
|
+
* @param url The url of the original request
|
310
|
+
* @param params The parameters of the original request
|
311
|
+
* @param options The options of the original request
|
312
|
+
* @returns The data that was passed in the `data` parameter
|
313
|
+
*/
|
314
|
+
function checkForErrors(response, url, params, options, originalAuthError) {
|
315
|
+
// this is an error message from billing.arcgis.com backend
|
316
|
+
if (response.code >= 400) {
|
317
|
+
var message = response.message, code = response.code;
|
318
|
+
throw new ArcGISRequestError(message, code, response, url, options);
|
319
|
+
}
|
320
|
+
// error from ArcGIS Online or an ArcGIS Portal or server instance.
|
321
|
+
if (response.error) {
|
322
|
+
var _a = response.error, message = _a.message, code = _a.code, messageCode = _a.messageCode;
|
323
|
+
var errorCode = messageCode || code || "UNKNOWN_ERROR_CODE";
|
324
|
+
if (code === 498 ||
|
325
|
+
code === 499 ||
|
326
|
+
messageCode === "GWM_0003" ||
|
327
|
+
(code === 400 && message === "Unable to generate token.")) {
|
328
|
+
if (originalAuthError) {
|
329
|
+
throw originalAuthError;
|
330
|
+
}
|
331
|
+
else {
|
332
|
+
throw new ArcGISAuthError(message, errorCode, response, url, options);
|
333
|
+
}
|
334
|
+
}
|
335
|
+
throw new ArcGISRequestError(message, errorCode, response, url, options);
|
336
|
+
}
|
337
|
+
// error from a status check
|
338
|
+
if (response.status === "failed" || response.status === "failure") {
|
339
|
+
var message = void 0;
|
340
|
+
var code = "UNKNOWN_ERROR_CODE";
|
341
|
+
try {
|
342
|
+
message = JSON.parse(response.statusMessage).message;
|
343
|
+
code = JSON.parse(response.statusMessage).code;
|
344
|
+
}
|
345
|
+
catch (e) {
|
346
|
+
message = response.statusMessage || response.message;
|
347
|
+
}
|
348
|
+
throw new ArcGISRequestError(message, code, response, url, options);
|
349
|
+
}
|
350
|
+
return response;
|
351
|
+
}
|
352
|
+
/**
|
353
|
+
* ```js
|
354
|
+
* import { request } from '@esri/arcgis-rest-request';
|
355
|
+
* //
|
356
|
+
* request('https://www.arcgis.com/sharing/rest')
|
357
|
+
* .then(response) // response.currentVersion === 5.2
|
358
|
+
* //
|
359
|
+
* request('https://www.arcgis.com/sharing/rest', {
|
360
|
+
* httpMethod: "GET"
|
361
|
+
* })
|
362
|
+
* //
|
363
|
+
* request('https://www.arcgis.com/sharing/rest/search', {
|
364
|
+
* params: { q: 'parks' }
|
365
|
+
* })
|
366
|
+
* .then(response) // response.total => 78379
|
367
|
+
* ```
|
368
|
+
* Generic method for making HTTP requests to ArcGIS REST API endpoints.
|
369
|
+
*
|
370
|
+
* @param url - The URL of the ArcGIS REST API endpoint.
|
371
|
+
* @param requestOptions - Options for the request, including parameters relevant to the endpoint.
|
372
|
+
* @returns A Promise that will resolve with the data from the response.
|
373
|
+
*/
|
374
|
+
function request(url, requestOptions) {
|
375
|
+
if (requestOptions === void 0) { requestOptions = { params: { f: "json" } }; }
|
376
|
+
var options = __assign(__assign(__assign({ httpMethod: "POST" }, DEFAULT_ARCGIS_REQUEST_OPTIONS), requestOptions), {
|
377
|
+
params: __assign(__assign({}, DEFAULT_ARCGIS_REQUEST_OPTIONS.params), requestOptions.params),
|
378
|
+
headers: __assign(__assign({}, DEFAULT_ARCGIS_REQUEST_OPTIONS.headers), requestOptions.headers),
|
379
|
+
});
|
380
|
+
var missingGlobals = [];
|
381
|
+
var recommendedPackages = [];
|
382
|
+
// don't check for a global fetch if a custom implementation was passed through
|
383
|
+
if (!options.fetch && typeof fetch !== "undefined") {
|
384
|
+
options.fetch = fetch.bind(Function("return this")());
|
385
|
+
}
|
386
|
+
else {
|
387
|
+
missingGlobals.push("`fetch`");
|
388
|
+
recommendedPackages.push("`node-fetch`");
|
389
|
+
}
|
390
|
+
if (typeof Promise === "undefined") {
|
391
|
+
missingGlobals.push("`Promise`");
|
392
|
+
recommendedPackages.push("`es6-promise`");
|
393
|
+
}
|
394
|
+
if (typeof FormData === "undefined") {
|
395
|
+
missingGlobals.push("`FormData`");
|
396
|
+
recommendedPackages.push("`isomorphic-form-data`");
|
397
|
+
}
|
398
|
+
if (!options.fetch ||
|
399
|
+
typeof Promise === "undefined" ||
|
400
|
+
typeof FormData === "undefined") {
|
401
|
+
throw new Error("`arcgis-rest-request` requires a `fetch` implementation and global variables for `Promise` and `FormData` to be present in the global scope. You are missing " + missingGlobals.join(", ") + ". We recommend installing the " + recommendedPackages.join(", ") + " modules at the root of your application to add these to the global scope. See https://bit.ly/2KNwWaJ for more info.");
|
402
|
+
}
|
403
|
+
var httpMethod = options.httpMethod, authentication = options.authentication, rawResponse = options.rawResponse;
|
404
|
+
var params = __assign({ f: "json" }, options.params);
|
405
|
+
var originalAuthError = null;
|
406
|
+
var fetchOptions = {
|
407
|
+
method: httpMethod,
|
408
|
+
/* ensures behavior mimics XMLHttpRequest.
|
409
|
+
needed to support sending IWA cookies */
|
410
|
+
credentials: options.credentials || "same-origin",
|
411
|
+
};
|
412
|
+
// the /oauth2/platformSelf route will add X-Esri-Auth-Client-Id header
|
413
|
+
// and that request needs to send cookies cross domain
|
414
|
+
// so we need to set the credentials to "include"
|
415
|
+
if (options.headers &&
|
416
|
+
options.headers["X-Esri-Auth-Client-Id"] &&
|
417
|
+
url.indexOf("/oauth2/platformSelf") > -1) {
|
418
|
+
fetchOptions.credentials = "include";
|
419
|
+
}
|
420
|
+
return (authentication
|
421
|
+
? authentication.getToken(url, { fetch: options.fetch }).catch(function (err) {
|
422
|
+
/**
|
423
|
+
* append original request url and requestOptions
|
424
|
+
* to the error thrown by getToken()
|
425
|
+
* to assist with retrying
|
426
|
+
*/
|
427
|
+
err.url = url;
|
428
|
+
err.options = options;
|
429
|
+
/**
|
430
|
+
* if an attempt is made to talk to an unfederated server
|
431
|
+
* first try the request anonymously. if a 'token required'
|
432
|
+
* error is thrown, throw the UNFEDERATED error then.
|
433
|
+
*/
|
434
|
+
originalAuthError = err;
|
435
|
+
return Promise.resolve("");
|
436
|
+
})
|
437
|
+
: Promise.resolve(""))
|
438
|
+
.then(function (token) {
|
439
|
+
if (token.length) {
|
440
|
+
params.token = token;
|
441
|
+
}
|
442
|
+
if (authentication && authentication.getDomainCredentials) {
|
443
|
+
fetchOptions.credentials = authentication.getDomainCredentials(url);
|
444
|
+
}
|
445
|
+
// Custom headers to add to request. IRequestOptions.headers with merge over requestHeaders.
|
446
|
+
var requestHeaders = {};
|
447
|
+
if (fetchOptions.method === "GET") {
|
448
|
+
// Prevents token from being passed in query params when hideToken option is used.
|
449
|
+
/* istanbul ignore if - window is always defined in a browser. Test case is covered by Jasmine in node test */
|
450
|
+
if (params.token &&
|
451
|
+
options.hideToken &&
|
452
|
+
// Sharing API does not support preflight check required by modern browsers https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
|
453
|
+
typeof window === "undefined") {
|
454
|
+
requestHeaders["X-Esri-Authorization"] = "Bearer " + params.token;
|
455
|
+
delete params.token;
|
456
|
+
}
|
457
|
+
// encode the parameters into the query string
|
458
|
+
var queryParams = encodeQueryString(params);
|
459
|
+
// dont append a '?' unless parameters are actually present
|
460
|
+
var urlWithQueryString = queryParams === "" ? url : url + "?" + encodeQueryString(params);
|
461
|
+
if (
|
462
|
+
// This would exceed the maximum length for URLs specified by the consumer and requires POST
|
463
|
+
(options.maxUrlLength &&
|
464
|
+
urlWithQueryString.length > options.maxUrlLength) ||
|
465
|
+
// Or if the customer requires the token to be hidden and it has not already been hidden in the header (for browsers)
|
466
|
+
(params.token && options.hideToken)) {
|
467
|
+
// the consumer specified a maximum length for URLs
|
468
|
+
// and this would exceed it, so use post instead
|
469
|
+
fetchOptions.method = "POST";
|
470
|
+
// If the token was already added as a Auth header, add the token back to body with other params instead of header
|
471
|
+
if (token.length && options.hideToken) {
|
472
|
+
params.token = token;
|
473
|
+
// Remove existing header that was added before url query length was checked
|
474
|
+
delete requestHeaders["X-Esri-Authorization"];
|
475
|
+
}
|
476
|
+
}
|
477
|
+
else {
|
478
|
+
// just use GET
|
479
|
+
url = urlWithQueryString;
|
480
|
+
}
|
481
|
+
}
|
482
|
+
/* updateResources currently requires FormData even when the input parameters dont warrant it.
|
483
|
+
https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm
|
484
|
+
see https://github.com/Esri/arcgis-rest-js/pull/500 for more info. */
|
485
|
+
var forceFormData = new RegExp("/items/.+/updateResources").test(url);
|
486
|
+
if (fetchOptions.method === "POST") {
|
487
|
+
fetchOptions.body = encodeFormData(params, forceFormData);
|
488
|
+
}
|
489
|
+
// Mixin headers from request options
|
490
|
+
fetchOptions.headers = __assign(__assign({}, requestHeaders), options.headers);
|
491
|
+
/* istanbul ignore next - karma reports coverage on browser tests only */
|
492
|
+
if (typeof window === "undefined" && !fetchOptions.headers.referer) {
|
493
|
+
fetchOptions.headers.referer = NODEJS_DEFAULT_REFERER_HEADER;
|
494
|
+
}
|
495
|
+
/* istanbul ignore else blob responses are difficult to make cross platform we will just have to trust the isomorphic fetch will do its job */
|
496
|
+
if (!requiresFormData(params) && !forceFormData) {
|
497
|
+
fetchOptions.headers["Content-Type"] =
|
498
|
+
"application/x-www-form-urlencoded";
|
499
|
+
}
|
500
|
+
return options.fetch(url, fetchOptions);
|
501
|
+
})
|
502
|
+
.then(function (response) {
|
503
|
+
if (!response.ok) {
|
504
|
+
// server responded w/ an actual error (404, 500, etc)
|
505
|
+
var status_1 = response.status, statusText = response.statusText;
|
506
|
+
throw new ArcGISRequestError(statusText, "HTTP " + status_1, response, url, options);
|
507
|
+
}
|
508
|
+
if (rawResponse) {
|
509
|
+
return response;
|
510
|
+
}
|
511
|
+
switch (params.f) {
|
512
|
+
case "json":
|
513
|
+
return response.json();
|
514
|
+
case "geojson":
|
515
|
+
return response.json();
|
516
|
+
case "html":
|
517
|
+
return response.text();
|
518
|
+
case "text":
|
519
|
+
return response.text();
|
520
|
+
/* istanbul ignore next blob responses are difficult to make cross platform we will just have to trust that isomorphic fetch will do its job */
|
521
|
+
default:
|
522
|
+
return response.blob();
|
523
|
+
}
|
524
|
+
})
|
525
|
+
.then(function (data) {
|
526
|
+
if ((params.f === "json" || params.f === "geojson") && !rawResponse) {
|
527
|
+
var response = checkForErrors(data, url, params, options, originalAuthError);
|
528
|
+
if (originalAuthError) {
|
529
|
+
/* If the request was made to an unfederated service that
|
530
|
+
didn't require authentication, add the base url and a dummy token
|
531
|
+
to the list of trusted servers to avoid another federation check
|
532
|
+
in the event of a repeat request */
|
533
|
+
var truncatedUrl = url
|
534
|
+
.toLowerCase()
|
535
|
+
.split(/\/rest(\/admin)?\/services\//)[0];
|
536
|
+
options.authentication.federatedServers[truncatedUrl] = {
|
537
|
+
token: [],
|
538
|
+
// default to 24 hours
|
539
|
+
expires: new Date(Date.now() + 86400 * 1000),
|
540
|
+
};
|
541
|
+
originalAuthError = null;
|
542
|
+
}
|
543
|
+
return response;
|
544
|
+
}
|
545
|
+
else {
|
546
|
+
return data;
|
547
|
+
}
|
548
|
+
});
|
549
|
+
}
|
550
|
+
|
551
|
+
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
552
|
+
* Apache-2.0 */
|
553
|
+
/**
|
554
|
+
* Helper method to ensure that user supplied urls don't include whitespace or a trailing slash.
|
555
|
+
*/
|
556
|
+
function cleanUrl(url) {
|
557
|
+
// Guard so we don't try to trim something that's not a string
|
558
|
+
if (typeof url !== "string") {
|
559
|
+
return url;
|
560
|
+
}
|
561
|
+
// trim leading and trailing spaces, but not spaces inside the url
|
562
|
+
url = url.trim();
|
563
|
+
// remove the trailing slash to the url if one was included
|
564
|
+
if (url[url.length - 1] === "/") {
|
565
|
+
url = url.slice(0, -1);
|
566
|
+
}
|
567
|
+
return url;
|
568
|
+
}
|
569
|
+
|
570
|
+
/** @license
|
571
|
+
* Copyright 2018 Esri
|
572
|
+
*
|
573
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
574
|
+
* you may not use this file except in compliance with the License.
|
575
|
+
* You may obtain a copy of the License at
|
576
|
+
*
|
577
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
578
|
+
*
|
579
|
+
* Unless required by applicable law or agreed to in writing, software
|
580
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
581
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
582
|
+
* See the License for the specific language governing permissions and
|
583
|
+
* limitations under the License.
|
584
|
+
*/
|
585
|
+
/**
|
586
|
+
* Extracts JSON from a Blob.
|
587
|
+
*
|
588
|
+
* @param blob Blob to use as source
|
589
|
+
* @returns A promise that will resolve with JSON or null
|
590
|
+
*/
|
591
|
+
function blobToJson(blob) {
|
592
|
+
return new Promise(resolve => {
|
593
|
+
blobToText(blob).then(blobContents => {
|
594
|
+
try {
|
595
|
+
resolve(JSON.parse(blobContents));
|
596
|
+
}
|
597
|
+
catch (err) {
|
598
|
+
resolve(null);
|
599
|
+
}
|
600
|
+
}, () => resolve(null));
|
601
|
+
});
|
602
|
+
}
|
603
|
+
/**
|
604
|
+
* Converts a Blob to a File.
|
605
|
+
*
|
606
|
+
* @param blob Blob to use as source
|
607
|
+
* @param filename Name to use for file
|
608
|
+
* @param mimeType MIME type to override blob's MIME type
|
609
|
+
* @returns File created out of Blob and filename
|
610
|
+
*/
|
611
|
+
function blobToFile(blob, filename, mimeType) {
|
612
|
+
return new File([blob], filename ? filename : "", {
|
613
|
+
type: mimeType ?? blob.type // Blobs default to type=""
|
614
|
+
});
|
615
|
+
}
|
616
|
+
/**
|
617
|
+
* Extracts text from a Blob.
|
618
|
+
*
|
619
|
+
* @param blob Blob to use as source
|
620
|
+
* @returns A promise that will resolve with text read from blob
|
621
|
+
*/
|
622
|
+
function blobToText(blob) {
|
623
|
+
return new Promise(resolve => {
|
624
|
+
const reader = new FileReader();
|
625
|
+
reader.onload = function (evt) {
|
626
|
+
// Disable needed because Node requires cast
|
627
|
+
const blobContents = evt.target.result;
|
628
|
+
resolve(blobContents ? blobContents : ""); // not handling ArrayContents variant
|
629
|
+
};
|
630
|
+
reader.readAsText(blob);
|
631
|
+
});
|
632
|
+
}
|
633
|
+
/**
|
634
|
+
* Checks that a URL path ends with a slash.
|
635
|
+
*
|
636
|
+
* @param url URL to check
|
637
|
+
* @returns URL, appended with slash if missing
|
638
|
+
*/
|
639
|
+
function checkUrlPathTermination(url) {
|
640
|
+
return url ? (url.endsWith("/") ? url : url + "/") : url;
|
641
|
+
}
|
642
|
+
/**
|
643
|
+
* Gets a property out of a deeply nested object.
|
644
|
+
* Does not handle anything but nested object graph
|
645
|
+
*
|
646
|
+
* @param obj Object to retrieve value from
|
647
|
+
* @param path Path into an object, e.g., "data.values.webmap", where "data" is a top-level property
|
648
|
+
* in obj
|
649
|
+
* @returns Value at end of path
|
650
|
+
*/
|
651
|
+
function getProp(obj, path) {
|
652
|
+
return path.split(".").reduce(function (prev, curr) {
|
653
|
+
/* istanbul ignore next no need to test undefined scenario */
|
654
|
+
return prev ? prev[curr] : undefined;
|
655
|
+
}, obj);
|
656
|
+
}
|
657
|
+
/**
|
658
|
+
* Sets a deeply nested property of an object.
|
659
|
+
* Creates the full path if it does not exist.
|
660
|
+
*
|
661
|
+
* @param obj Object to set value of
|
662
|
+
* @param path Path into an object, e.g., "data.values.webmap", where "data" is a top-level property in obj
|
663
|
+
* @param value The value to set at the end of the path
|
664
|
+
*/
|
665
|
+
function setCreateProp(obj, path, value) {
|
666
|
+
const pathParts = path.split(".");
|
667
|
+
pathParts.reduce((a, b, c) => {
|
668
|
+
if (c === pathParts.length - 1) {
|
669
|
+
a[b] = value;
|
670
|
+
return value;
|
671
|
+
}
|
672
|
+
else {
|
673
|
+
if (!a[b]) {
|
674
|
+
a[b] = {};
|
675
|
+
}
|
676
|
+
return a[b];
|
677
|
+
}
|
678
|
+
}, obj);
|
679
|
+
}
|
680
|
+
|
681
|
+
/**
|
682
|
+
* Gets a Blob from a web site.
|
683
|
+
*
|
684
|
+
* @param url Address of Blob
|
685
|
+
* @param authentication Credentials for the request
|
686
|
+
* @param requestOptions - Options for the request, including parameters relevant to the endpoint.
|
687
|
+
* @returns Promise that will resolve with Blob or an AGO-style JSON failure response
|
688
|
+
*/
|
689
|
+
function getBlob(url, authentication, requestOptions = {}) {
|
690
|
+
if (!url) {
|
691
|
+
return Promise.reject("Url must be provided");
|
692
|
+
}
|
693
|
+
const blobRequestOptions = {
|
694
|
+
authentication: authentication,
|
695
|
+
rawResponse: true,
|
696
|
+
...requestOptions
|
697
|
+
};
|
698
|
+
return request(url, blobRequestOptions).then(response => {
|
699
|
+
return response.blob();
|
700
|
+
});
|
701
|
+
}
|
702
|
+
|
703
|
+
/** @license
|
704
|
+
* Copyright 2018 Esri
|
705
|
+
*
|
706
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
707
|
+
* you may not use this file except in compliance with the License.
|
708
|
+
* You may obtain a copy of the License at
|
709
|
+
*
|
710
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
711
|
+
*
|
712
|
+
* Unless required by applicable law or agreed to in writing, software
|
713
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
714
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
715
|
+
* See the License for the specific language governing permissions and
|
716
|
+
* limitations under the License.
|
717
|
+
*/
|
718
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
719
|
+
const ZIP_FILE_HEADER_SIGNATURE = "PK";
|
720
|
+
/**
|
721
|
+
* Gets a Blob from a web site and casts it as a file using the supplied name.
|
722
|
+
*
|
723
|
+
* @param url Address of Blob
|
724
|
+
* @param filename Name to use for file
|
725
|
+
* @param authentication Credentials for the request
|
726
|
+
* @returns Promise that will resolve with a File, undefined if the Blob is null, or an AGO-style JSON failure response
|
727
|
+
*/
|
728
|
+
function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeType) {
|
729
|
+
return new Promise((resolve, reject) => {
|
730
|
+
// Get the blob from the URL
|
731
|
+
getBlobCheckForError(url, authentication, ignoreErrors).then(blob => !blob ? resolve(null) : resolve(blobToFile(blob, filename, mimeType)), reject);
|
732
|
+
});
|
733
|
+
}
|
734
|
+
/**
|
735
|
+
* Gets a Blob from a web site and checks for a JSON error packet in the Blob.
|
736
|
+
*
|
737
|
+
* @param url Address of Blob
|
738
|
+
* @param authentication Credentials for the request
|
739
|
+
* @param ignoreErrors List of HTTP error codes that should be ignored
|
740
|
+
* @returns Promise that will resolve with Blob or an AGO-REST JSON failure response
|
741
|
+
*/
|
742
|
+
function getBlobCheckForError(url, authentication, ignoreErrors = []) {
|
743
|
+
return new Promise((resolve, reject) => {
|
744
|
+
// Get the blob from the URL
|
745
|
+
getBlob(url, authentication).then(blob => {
|
746
|
+
// Reclassify text/plain blobs as needed
|
747
|
+
_fixTextBlobType(blob).then(adjustedBlob => {
|
748
|
+
if (adjustedBlob.type === "application/json") {
|
749
|
+
// Blob may be an error
|
750
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
751
|
+
blobToJson(adjustedBlob).then((json) => {
|
752
|
+
// Check for valid JSON with an error
|
753
|
+
if (json?.error) {
|
754
|
+
const code = json.error.code;
|
755
|
+
if (code !== undefined && ignoreErrors.indexOf(code) >= 0) {
|
756
|
+
resolve(null); // Error, but ignored
|
757
|
+
}
|
758
|
+
else {
|
759
|
+
reject(json); // Other error; fail with error
|
760
|
+
}
|
761
|
+
}
|
762
|
+
else {
|
763
|
+
resolve(adjustedBlob);
|
764
|
+
}
|
765
|
+
});
|
766
|
+
}
|
767
|
+
else {
|
768
|
+
resolve(adjustedBlob);
|
769
|
+
}
|
770
|
+
}, reject);
|
771
|
+
}, reject);
|
772
|
+
});
|
773
|
+
}
|
774
|
+
/**
|
775
|
+
* Gets the data information of an AGO item in its JSON form.
|
776
|
+
*
|
777
|
+
* @param itemId Id of an item whose data information is sought
|
778
|
+
* @param filename Name to use for file
|
779
|
+
* @param authentication Credentials for the request to AGO
|
780
|
+
* @returns Promise that will resolve with JSON, or an AGO-style JSON failure response
|
781
|
+
*/
|
782
|
+
function getItemDataAsJson(itemId, authentication) {
|
783
|
+
return new Promise(resolve => {
|
784
|
+
getItemDataBlob(itemId, authentication).then(blob => resolve(blobToJson(blob)), () => resolve(null));
|
785
|
+
});
|
786
|
+
}
|
787
|
+
/**
|
788
|
+
* Gets the data information of an AGO item in its raw (Blob) form.
|
789
|
+
*
|
790
|
+
* @param itemId Id of an item whose data information is sought
|
791
|
+
* @param authentication Credentials for the request to AGO
|
792
|
+
* @returns A promise that will resolve with the data Blob or null if the item doesn't have a data section
|
793
|
+
*/
|
794
|
+
function getItemDataBlob(itemId, authentication) {
|
795
|
+
return new Promise(resolve => {
|
796
|
+
const url = getItemDataBlobUrl(itemId, authentication);
|
797
|
+
getBlobCheckForError(url, authentication, [400, 500]).then(blob => resolve(_fixTextBlobType(blob)), () => resolve(null));
|
798
|
+
});
|
799
|
+
}
|
800
|
+
/**
|
801
|
+
* Gets the URL to the data information of an AGO item in its raw (Blob) form.
|
802
|
+
*
|
803
|
+
* @param itemId Id of an item whose data information is sought
|
804
|
+
* @param authentication Credentials for the request to AGO
|
805
|
+
* @returns URL string
|
806
|
+
*/
|
807
|
+
function getItemDataBlobUrl(itemId, authentication) {
|
808
|
+
return `${getPortalSharingUrlFromAuth(authentication)}/content/items/${itemId}/data`;
|
809
|
+
}
|
810
|
+
/**
|
811
|
+
* Gets a JSON from a web site.
|
812
|
+
*
|
813
|
+
* @param url Address of JSON
|
814
|
+
* @param authentication Credentials for the request
|
815
|
+
* @returns Promise that will resolve with JSON
|
816
|
+
*/
|
817
|
+
function getJson(url, authentication) {
|
818
|
+
// Get the blob from the URL
|
819
|
+
const requestOptions = { httpMethod: "GET" };
|
820
|
+
return getBlob(url, authentication, requestOptions)
|
821
|
+
.then(blob => {
|
822
|
+
// Reclassify text/plain blobs as needed
|
823
|
+
return _fixTextBlobType(blob);
|
824
|
+
})
|
825
|
+
.then(adjustedBlob => {
|
826
|
+
if (adjustedBlob.type === "application/json") {
|
827
|
+
// Blob may be an error
|
828
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
829
|
+
return blobToJson(adjustedBlob);
|
830
|
+
}
|
831
|
+
else {
|
832
|
+
return Promise.resolve(null);
|
833
|
+
}
|
834
|
+
});
|
835
|
+
}
|
836
|
+
/**
|
837
|
+
* Extracts the portal sharing url from a supplied authentication.
|
838
|
+
*
|
839
|
+
* @param authentication Credentials for the request to AGO
|
840
|
+
* @returns Portal sharing url to be used in API requests, defaulting to `https://www.arcgis.com/sharing/rest`
|
841
|
+
*/
|
842
|
+
function getPortalSharingUrlFromAuth(authentication) {
|
843
|
+
// If auth was passed, use that portal
|
844
|
+
return getProp(authentication, "portal") || "https://www.arcgis.com/sharing/rest";
|
845
|
+
}
|
846
|
+
function getThumbnailFile(url, filename, authentication) {
|
847
|
+
return new Promise(resolve => {
|
848
|
+
getBlobAsFile(url, filename, authentication, [500]).then(resolve, () => resolve(null));
|
849
|
+
});
|
850
|
+
}
|
851
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
852
|
+
/**
|
853
|
+
* Fixes the types of Blobs incorrectly typed as text/plain.
|
854
|
+
*
|
855
|
+
* @param blob Blob to check
|
856
|
+
* @returns Promise resolving to original Blob, unless it's originally typed as text/plain but is
|
857
|
+
* really JSON, ZIP, or XML
|
858
|
+
* @private
|
859
|
+
*/
|
860
|
+
function _fixTextBlobType(blob) {
|
861
|
+
return new Promise((resolve, reject) => {
|
862
|
+
if (blob &&
|
863
|
+
blob.size > 0 &&
|
864
|
+
(blob.type.startsWith("text/plain") ||
|
865
|
+
blob.type.startsWith("application/json"))) {
|
866
|
+
blobToText(blob).then(blobText => {
|
867
|
+
// Convertible to JSON?
|
868
|
+
try {
|
869
|
+
JSON.parse(blobText);
|
870
|
+
// Yes; reclassify as JSON
|
871
|
+
resolve(new Blob([blob], { type: "application/json" }));
|
872
|
+
}
|
873
|
+
catch (ignored) {
|
874
|
+
// Nope; test for ZIP file
|
875
|
+
if (blobText.length > 4 &&
|
876
|
+
blobText.substr(0, 4) === ZIP_FILE_HEADER_SIGNATURE) {
|
877
|
+
// Yes; reclassify as ZIP
|
878
|
+
resolve(new Blob([blob], { type: "application/zip" }));
|
879
|
+
}
|
880
|
+
else if (blobText.startsWith("<")) {
|
881
|
+
// Reclassify as XML; since the blob started out as text/plain, it's more likely that is
|
882
|
+
// meant to be human-readable, so we'll use text/xml instead of application/xml
|
883
|
+
resolve(new Blob([blob], { type: "text/xml" }));
|
884
|
+
}
|
885
|
+
else {
|
886
|
+
// Leave as text
|
887
|
+
resolve(blob);
|
888
|
+
}
|
889
|
+
}
|
890
|
+
},
|
891
|
+
// Faulty blob
|
892
|
+
reject);
|
893
|
+
}
|
894
|
+
else {
|
895
|
+
// Empty or not typed as plain text, so simply return
|
896
|
+
if (blob) {
|
897
|
+
resolve(blob);
|
898
|
+
}
|
899
|
+
else {
|
900
|
+
reject();
|
901
|
+
}
|
902
|
+
}
|
903
|
+
});
|
904
|
+
}
|
905
|
+
|
906
|
+
export { ArcGISAuthError as A, NODEJS_DEFAULT_REFERER_HEADER as N, __assign as _, getProp as a, blobToFile as b, cleanUrl as c, checkUrlPathTermination as d, encodeQueryString as e, getThumbnailFile as f, getJson as g, getItemDataAsJson as h, request as r, setCreateProp as s };
|