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