@esri/solutions-components 0.10.8 → 0.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +4 -4
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
- package/dist/cjs/{common-61b41813.js → common-4d4cf291.js} +1 -1
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -4
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/{downloadUtils-b757205e.js → downloadUtils-60ee99e0.js} +4 -4
- package/dist/cjs/feature-list.cjs.entry.js +6 -6
- package/dist/cjs/{helpers-1deec961.js → helpers-6f7660d4.js} +1 -1
- package/dist/cjs/{index.es-6c8b7d64.js → index.es-38913dfa.js} +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +4 -4
- package/dist/cjs/{languageSwitcher-dc2dd354.js → languageSwitcher-f0bb94fa.js} +1 -1
- package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-f22ce913.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/{loadModules-8567855e.js → loadModules-36d49819.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-a1bcb6eb.js → locale-239118c6.js} +2 -2
- package/dist/cjs/{locale-4e7fe921.js → locale-2dc1252d.js} +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/{popupUtils-2b5ec788.js → popupUtils-0cabaa1f.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +5 -5
- package/dist/cjs/{restHelpersGet-bf484fda.js → restHelpersGet-88ba0e25.js} +20 -24
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +6 -6
- package/dist/cjs/{solution-resource-57cf345b.js → solution-resource-16c7510c.js} +1 -1
- package/dist/cjs/{solution-store-71bb46fa.js → solution-store-747a28ab.js} +58 -65
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/store-manager.cjs.entry.js +4 -4
- package/dist/cjs/{templates-e4b98319.js → templates-2f44c01b.js} +2 -2
- package/dist/cjs/{utils-b43fe04f.js → utils-e486aa01.js} +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +4 -20
- package/dist/components/crowdsource-manager.js +4 -3
- package/dist/components/restHelpersGet.js +19 -23
- package/dist/components/solution-resource.js +1 -1
- package/dist/components/solution-store.js +56 -63
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +6 -6
- package/dist/esm/calcite-block_5.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +2 -2
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +5 -5
- package/dist/esm/{common-1618d62f.js → common-3b99e350.js} +1 -1
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +5 -4
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/{downloadUtils-16c51b10.js → downloadUtils-51c2c502.js} +4 -4
- package/dist/esm/feature-list.entry.js +6 -6
- package/dist/esm/{helpers-2298687e.js → helpers-62213648.js} +1 -1
- package/dist/esm/{index.es-d950915a.js → index.es-afea294f.js} +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +5 -5
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +4 -4
- package/dist/esm/{languageSwitcher-9db90f1e.js → languageSwitcher-b665499d.js} +1 -1
- package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-a3e6adf6.js} +1 -1
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/{loadModules-03ba7abe.js → loadModules-9c062d08.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-adb5ff0b.js → locale-35ebf4af.js} +2 -2
- package/dist/esm/{locale-7162b55a.js → locale-e758c2ee.js} +1 -1
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/{popupUtils-44f11275.js → popupUtils-d4fe0b41.js} +2 -2
- package/dist/esm/public-notification.entry.js +5 -5
- package/dist/esm/{restHelpersGet-0a15c2f4.js → restHelpersGet-788d7f7b.js} +20 -24
- package/dist/esm/solution-configuration.entry.js +6 -6
- package/dist/esm/solution-contents_3.entry.js +6 -6
- package/dist/esm/{solution-resource-ab63a236.js → solution-resource-966f8511.js} +1 -1
- package/dist/esm/{solution-store-e2690620.js → solution-store-0586e891.js} +58 -65
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +4 -4
- package/dist/esm/store-manager.entry.js +4 -4
- package/dist/esm/{templates-9556eb87.js → templates-9330d7b8.js} +2 -2
- package/dist/esm/{utils-178e7afe.js → utils-72a48b01.js} +1 -1
- package/dist/solutions-components/{p-618bafec.entry.js → p-0034f196.entry.js} +1 -1
- package/dist/solutions-components/{p-edd70ba3.entry.js → p-00786a30.entry.js} +1 -1
- package/dist/solutions-components/{p-00b26aac.js → p-01cc2423.js} +2 -2
- package/dist/solutions-components/{p-d7868dd4.js → p-09b47605.js} +1 -1
- package/dist/solutions-components/{p-7bfecd07.js → p-09d62c22.js} +1 -1
- package/dist/solutions-components/{p-0abc1354.entry.js → p-104fa4cf.entry.js} +1 -1
- package/dist/solutions-components/{p-38cfa3cd.entry.js → p-1176ec70.entry.js} +1 -1
- package/dist/solutions-components/{p-8a6fa619.entry.js → p-13f83a1a.entry.js} +1 -1
- package/dist/solutions-components/{p-4b3cc01f.js → p-2923d5ed.js} +2 -2
- package/dist/solutions-components/{p-4848b48f.entry.js → p-29962ae5.entry.js} +1 -1
- package/dist/solutions-components/{p-a8e6463b.js → p-2cff27c5.js} +2 -2
- package/dist/solutions-components/{p-5b818d29.entry.js → p-2d03b0d7.entry.js} +1 -1
- package/dist/solutions-components/{p-0f7b5d36.entry.js → p-2ed4f0cf.entry.js} +1 -1
- package/dist/solutions-components/{p-f12a94e6.entry.js → p-3058da8b.entry.js} +1 -1
- package/dist/solutions-components/{p-36b50b5b.entry.js → p-3581d7dc.entry.js} +1 -1
- package/dist/solutions-components/{p-dc17b638.entry.js → p-386429a4.entry.js} +1 -1
- package/dist/solutions-components/{p-69cfa9e6.entry.js → p-483fbfa7.entry.js} +1 -1
- package/dist/solutions-components/{p-78712b70.entry.js → p-4a0838c0.entry.js} +1 -1
- package/dist/solutions-components/{p-6de944af.entry.js → p-4b843bc0.entry.js} +1 -1
- package/dist/solutions-components/{p-abc9e858.entry.js → p-4c0b8e55.entry.js} +1 -1
- package/dist/solutions-components/{p-90d6755b.js → p-4d03fed9.js} +1 -1
- package/dist/solutions-components/{p-6b30ca36.entry.js → p-51cfb4a6.entry.js} +1 -1
- package/dist/solutions-components/{p-8e8b92b4.entry.js → p-614edd9f.entry.js} +1 -1
- package/dist/solutions-components/{p-3438cbc4.entry.js → p-65283b75.entry.js} +1 -1
- package/dist/solutions-components/{p-4cd4cb85.js → p-65581d83.js} +1 -1
- package/dist/solutions-components/{p-ef6567ae.entry.js → p-6f836c0a.entry.js} +1 -1
- package/dist/solutions-components/{p-badcaf04.js → p-7c583516.js} +1 -1
- package/dist/solutions-components/{p-5d201016.entry.js → p-8af893c6.entry.js} +1 -1
- package/dist/solutions-components/p-8b611f1f.entry.js +6 -0
- package/dist/solutions-components/{p-bebd4646.entry.js → p-91a87888.entry.js} +1 -1
- package/dist/solutions-components/{p-b850796d.entry.js → p-92744164.entry.js} +1 -1
- package/dist/solutions-components/{p-1867168b.entry.js → p-93c34427.entry.js} +1 -1
- package/dist/solutions-components/{p-445213cf.entry.js → p-9a370c05.entry.js} +1 -1
- package/dist/solutions-components/{p-c6473b38.entry.js → p-a2150807.entry.js} +1 -1
- package/dist/solutions-components/{p-a860f365.js → p-a7710355.js} +7 -8
- package/dist/solutions-components/{p-a22b8cc1.entry.js → p-a7b05a79.entry.js} +1 -1
- package/dist/solutions-components/{p-cc092b22.entry.js → p-ab2c4033.entry.js} +1 -1
- package/dist/solutions-components/{p-ac122d9e.js → p-af2c8aa9.js} +1 -1
- package/dist/solutions-components/{p-a091bc9a.js → p-afad4f05.js} +1 -1
- package/dist/solutions-components/{p-913413c3.entry.js → p-b981067f.entry.js} +1 -1
- package/dist/solutions-components/{p-24b3aedc.entry.js → p-beeccd19.entry.js} +1 -1
- package/dist/solutions-components/{p-2fc63144.js → p-c742acd9.js} +1 -1
- package/dist/solutions-components/{p-2e8a428a.entry.js → p-cc47ff22.entry.js} +1 -1
- package/dist/solutions-components/{p-8ea95c9f.entry.js → p-cdb01b99.entry.js} +1 -1
- package/dist/solutions-components/{p-425a1dab.entry.js → p-de30afd0.entry.js} +1 -1
- package/dist/solutions-components/{p-ce454f5a.entry.js → p-e6742158.entry.js} +1 -1
- package/dist/solutions-components/{p-20c465e9.entry.js → p-e936f80a.entry.js} +1 -1
- package/dist/solutions-components/{p-b19ca04e.entry.js → p-ed9b7fa1.entry.js} +1 -1
- package/dist/solutions-components/{p-86e6b5b3.entry.js → p-ef493a84.entry.js} +1 -1
- package/dist/solutions-components/{p-2fa78dd8.js → p-f067a46c.js} +1 -1
- package/dist/solutions-components/{p-1904654e.js → p-f2ac5d0e.js} +1 -1
- package/dist/solutions-components/{p-932f22b5.entry.js → p-f4828ba4.entry.js} +1 -1
- package/dist/solutions-components/{p-d8047d8f.entry.js → p-f7d822f7.entry.js} +1 -1
- package/dist/solutions-components/{p-8fb95f9a.entry.js → p-fee0a94a.entry.js} +3 -3
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +7 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
- package/dist/types/components.d.ts +0 -8
- package/package.json +10 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +0 -77
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +0 -263
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +0 -341
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +0 -105
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +0 -113
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +0 -73
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +0 -113
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +0 -428
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +0 -81
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +0 -337
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +0 -156
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +0 -811
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +0 -339
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +0 -73
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +0 -330
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +0 -45
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +0 -179
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +0 -514
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +0 -78
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +0 -249
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +0 -66
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +0 -74
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +0 -450
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +0 -248
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +0 -101
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +0 -72
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +0 -294
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +0 -96
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +0 -189
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +0 -322
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +0 -140
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +0 -84
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +0 -199
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +0 -76
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +0 -140
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +0 -98
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +0 -94
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +0 -51
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +0 -102
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +0 -73
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +0 -93
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +0 -650
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +0 -293
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +0 -92
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +0 -504
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +0 -417
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +0 -125
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +0 -71
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +0 -138
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +0 -152
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +0 -106
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +0 -347
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +0 -79
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +0 -297
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +0 -50
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +0 -281
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +0 -187
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +0 -529
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +0 -142
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +0 -137
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +0 -112
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +0 -289
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +0 -36
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +0 -36
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +0 -151
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +0 -323
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +0 -96
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +0 -83
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +0 -183
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +0 -198
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +0 -110
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +0 -168
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +0 -96
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +0 -182
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +0 -76
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +0 -120
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +0 -179
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +0 -252
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +0 -267
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +0 -194
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +0 -124
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +0 -394
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +0 -392
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +0 -72
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +0 -192
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +0 -116
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +0 -150
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +0 -475
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +0 -188
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +0 -105
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +0 -158
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +0 -422
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +0 -135
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +0 -170
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +0 -154
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +0 -82
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +0 -101
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +0 -300
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +0 -297
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +0 -86
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +0 -239
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +0 -68
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +0 -144
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +0 -151
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +0 -47
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +0 -194
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +0 -120
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +0 -41
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +0 -326
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +0 -109
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +0 -125
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-create/instant-apps-create.css +0 -150
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +0 -92
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export-views/instant-apps-export-views.css +0 -92
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +0 -108
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +0 -180
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +0 -124
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +0 -18
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +0 -10
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +0 -65
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +0 -17
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +0 -66
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +0 -10
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +0 -51
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +0 -15
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +0 -12
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +0 -33
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +0 -241
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +0 -13
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +0 -90
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +0 -34
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +0 -86
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +0 -6
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +0 -6
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +0 -58
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +0 -200
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +0 -93
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +0 -286
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +0 -13
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-time-filter/instant-apps-time-filter.css +0 -42
- package/dist/solutions-components/p-9af1cb14.entry.js +0 -6
- /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-a56cbcbe.js} +0 -0
- /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-781d738a.js} +0 -0
- /package/dist/solutions-components/{p-9fe07c30.js → p-659678f1.js} +0 -0
- /package/dist/solutions-components/{p-0a24ad5f.js → p-6a68306c.js} +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const loadModules = require('./loadModules-
|
|
9
|
-
const languageUtil = require('./languageUtil-
|
|
8
|
+
const loadModules = require('./loadModules-36d49819.js');
|
|
9
|
+
const languageUtil = require('./languageUtil-f22ce913.js');
|
|
10
10
|
|
|
11
11
|
// https://medium.com/stencil-tricks/implementing-internationalisation-i18n-with-stencil-5e6559554117
|
|
12
12
|
const TEST_ENV_ORIGIN = 'localhost:4444';
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
|
11
|
-
const locale = require('./locale-
|
|
11
|
+
const locale = require('./locale-2dc1252d.js');
|
|
12
12
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
|
13
13
|
const interfaces = require('./interfaces-09c4c40e.js');
|
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-8d2558c6.js');
|
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
|
16
|
-
require('./esri-loader-
|
|
15
|
+
const downloadUtils = require('./downloadUtils-60ee99e0.js');
|
|
16
|
+
require('./esri-loader-a56cbcbe.js');
|
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
|
18
18
|
require('./index-a0cca96e.js');
|
|
19
|
-
require('./solution-resource-
|
|
20
|
-
require('./restHelpersGet-
|
|
19
|
+
require('./solution-resource-16c7510c.js');
|
|
20
|
+
require('./restHelpersGet-88ba0e25.js');
|
|
21
21
|
|
|
22
22
|
const mapSelectToolsCss = ":host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:\"1rem\" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}";
|
|
23
23
|
const MapSelectToolsStyle0 = mapSelectToolsCss;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
const downloadUtils = require('./downloadUtils-
|
|
9
|
-
const locale = require('./locale-
|
|
8
|
+
const downloadUtils = require('./downloadUtils-60ee99e0.js');
|
|
9
|
+
const locale = require('./locale-2dc1252d.js');
|
|
10
10
|
|
|
11
11
|
/** @license
|
|
12
12
|
* Copyright 2022 Esri
|
|
@@ -9,15 +9,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
|
11
11
|
const interfaces = require('./interfaces-09c4c40e.js');
|
|
12
|
-
const locale = require('./locale-
|
|
12
|
+
const locale = require('./locale-2dc1252d.js');
|
|
13
13
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-8d2558c6.js');
|
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
|
16
|
-
require('./esri-loader-
|
|
15
|
+
const downloadUtils = require('./downloadUtils-60ee99e0.js');
|
|
16
|
+
require('./esri-loader-a56cbcbe.js');
|
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
|
18
18
|
require('./index-a0cca96e.js');
|
|
19
|
-
require('./solution-resource-
|
|
20
|
-
require('./restHelpersGet-
|
|
19
|
+
require('./solution-resource-16c7510c.js');
|
|
20
|
+
require('./restHelpersGet-88ba0e25.js');
|
|
21
21
|
|
|
22
22
|
const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}";
|
|
23
23
|
const PublicNotificationStyle0 = publicNotificationCss;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
|
-
require('./solution-resource-
|
|
8
|
+
require('./solution-resource-16c7510c.js');
|
|
9
9
|
|
|
10
10
|
/*! *****************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|
|
@@ -605,8 +605,8 @@ function cleanUrl(url) {
|
|
|
605
605
|
* @returns A promise that will resolve with JSON or null
|
|
606
606
|
*/
|
|
607
607
|
function blobToJson(blob) {
|
|
608
|
-
return new Promise(resolve => {
|
|
609
|
-
blobToText(blob).then(blobContents => {
|
|
608
|
+
return new Promise((resolve) => {
|
|
609
|
+
blobToText(blob).then((blobContents) => {
|
|
610
610
|
try {
|
|
611
611
|
resolve(JSON.parse(blobContents));
|
|
612
612
|
}
|
|
@@ -626,7 +626,7 @@ function blobToJson(blob) {
|
|
|
626
626
|
*/
|
|
627
627
|
function blobToFile(blob, filename, mimeType) {
|
|
628
628
|
return new File([blob], filename ? filename : "", {
|
|
629
|
-
type: mimeType ?? blob.type // Blobs default to type=""
|
|
629
|
+
type: mimeType ?? blob.type, // Blobs default to type=""
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
632
|
/**
|
|
@@ -636,7 +636,7 @@ function blobToFile(blob, filename, mimeType) {
|
|
|
636
636
|
* @returns A promise that will resolve with text read from blob
|
|
637
637
|
*/
|
|
638
638
|
function blobToText(blob) {
|
|
639
|
-
return new Promise(resolve => {
|
|
639
|
+
return new Promise((resolve) => {
|
|
640
640
|
const reader = new FileReader();
|
|
641
641
|
reader.onload = function (evt) {
|
|
642
642
|
// Disable needed because Node requires cast
|
|
@@ -753,9 +753,9 @@ function getBlob(url, authentication, requestOptions = {}) {
|
|
|
753
753
|
const blobRequestOptions = {
|
|
754
754
|
authentication: authentication,
|
|
755
755
|
rawResponse: true,
|
|
756
|
-
...requestOptions
|
|
756
|
+
...requestOptions,
|
|
757
757
|
};
|
|
758
|
-
return request(url, blobRequestOptions).then(response => {
|
|
758
|
+
return request(url, blobRequestOptions).then((response) => {
|
|
759
759
|
return response.blob();
|
|
760
760
|
});
|
|
761
761
|
}
|
|
@@ -788,7 +788,7 @@ const ZIP_FILE_HEADER_SIGNATURE = "PK";
|
|
|
788
788
|
function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeType) {
|
|
789
789
|
return new Promise((resolve, reject) => {
|
|
790
790
|
// Get the blob from the URL
|
|
791
|
-
getBlobCheckForError(url, authentication, ignoreErrors).then(blob => !blob ? resolve(null) : resolve(blobToFile(blob, filename, mimeType)), reject);
|
|
791
|
+
getBlobCheckForError(url, authentication, ignoreErrors).then((blob) => (!blob ? resolve(null) : resolve(blobToFile(blob, filename, mimeType))), reject);
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
794
|
/**
|
|
@@ -802,9 +802,9 @@ function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeTyp
|
|
|
802
802
|
function getBlobCheckForError(url, authentication, ignoreErrors = []) {
|
|
803
803
|
return new Promise((resolve, reject) => {
|
|
804
804
|
// Get the blob from the URL
|
|
805
|
-
getBlob(url, authentication).then(blob => {
|
|
805
|
+
getBlob(url, authentication).then((blob) => {
|
|
806
806
|
// Reclassify text/plain blobs as needed
|
|
807
|
-
_fixTextBlobType(blob).then(adjustedBlob => {
|
|
807
|
+
_fixTextBlobType(blob).then((adjustedBlob) => {
|
|
808
808
|
if (adjustedBlob.type === "application/json") {
|
|
809
809
|
// Blob may be an error
|
|
810
810
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
@@ -840,8 +840,8 @@ function getBlobCheckForError(url, authentication, ignoreErrors = []) {
|
|
|
840
840
|
* @returns Promise that will resolve with JSON, or an AGO-style JSON failure response
|
|
841
841
|
*/
|
|
842
842
|
function getItemDataAsJson(itemId, authentication) {
|
|
843
|
-
return new Promise(resolve => {
|
|
844
|
-
getItemDataBlob(itemId, authentication).then(blob => resolve(blobToJson(blob)), () => resolve(null));
|
|
843
|
+
return new Promise((resolve) => {
|
|
844
|
+
getItemDataBlob(itemId, authentication).then((blob) => resolve(blobToJson(blob)), () => resolve(null));
|
|
845
845
|
});
|
|
846
846
|
}
|
|
847
847
|
/**
|
|
@@ -852,9 +852,9 @@ function getItemDataAsJson(itemId, authentication) {
|
|
|
852
852
|
* @returns A promise that will resolve with the data Blob or null if the item doesn't have a data section
|
|
853
853
|
*/
|
|
854
854
|
function getItemDataBlob(itemId, authentication) {
|
|
855
|
-
return new Promise(resolve => {
|
|
855
|
+
return new Promise((resolve) => {
|
|
856
856
|
const url = getItemDataBlobUrl(itemId, authentication);
|
|
857
|
-
getBlobCheckForError(url, authentication, [400, 500]).then(blob => resolve(_fixTextBlobType(blob)), () => resolve(null));
|
|
857
|
+
getBlobCheckForError(url, authentication, [400, 500]).then((blob) => resolve(_fixTextBlobType(blob)), () => resolve(null));
|
|
858
858
|
});
|
|
859
859
|
}
|
|
860
860
|
/**
|
|
@@ -878,11 +878,11 @@ function getJson(url, authentication) {
|
|
|
878
878
|
// Get the blob from the URL
|
|
879
879
|
const requestOptions = { httpMethod: "GET" };
|
|
880
880
|
return getBlob(url, authentication, requestOptions)
|
|
881
|
-
.then(blob => {
|
|
881
|
+
.then((blob) => {
|
|
882
882
|
// Reclassify text/plain blobs as needed
|
|
883
883
|
return _fixTextBlobType(blob);
|
|
884
884
|
})
|
|
885
|
-
.then(adjustedBlob => {
|
|
885
|
+
.then((adjustedBlob) => {
|
|
886
886
|
if (adjustedBlob.type === "application/json") {
|
|
887
887
|
// Blob may be an error
|
|
888
888
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
@@ -904,7 +904,7 @@ function getPortalSharingUrlFromAuth(authentication) {
|
|
|
904
904
|
return getProp(authentication, "portal") || "https://www.arcgis.com/sharing/rest";
|
|
905
905
|
}
|
|
906
906
|
function getThumbnailFile(url, filename, authentication) {
|
|
907
|
-
return new Promise(resolve => {
|
|
907
|
+
return new Promise((resolve) => {
|
|
908
908
|
getBlobAsFile(url, filename, authentication, [500]).then(resolve, () => resolve(null));
|
|
909
909
|
});
|
|
910
910
|
}
|
|
@@ -919,11 +919,8 @@ function getThumbnailFile(url, filename, authentication) {
|
|
|
919
919
|
*/
|
|
920
920
|
function _fixTextBlobType(blob) {
|
|
921
921
|
return new Promise((resolve, reject) => {
|
|
922
|
-
if (blob &&
|
|
923
|
-
blob.
|
|
924
|
-
(blob.type.startsWith("text/plain") ||
|
|
925
|
-
blob.type.startsWith("application/json"))) {
|
|
926
|
-
blobToText(blob).then(blobText => {
|
|
922
|
+
if (blob && blob.size > 0 && (blob.type.startsWith("text/plain") || blob.type.startsWith("application/json"))) {
|
|
923
|
+
blobToText(blob).then((blobText) => {
|
|
927
924
|
// Convertible to JSON?
|
|
928
925
|
try {
|
|
929
926
|
JSON.parse(blobText);
|
|
@@ -932,8 +929,7 @@ function _fixTextBlobType(blob) {
|
|
|
932
929
|
}
|
|
933
930
|
catch (ignored) {
|
|
934
931
|
// Nope; test for ZIP file
|
|
935
|
-
if (blobText.length > 4 &&
|
|
936
|
-
blobText.substr(0, 4) === ZIP_FILE_HEADER_SIGNATURE) {
|
|
932
|
+
if (blobText.length > 4 && blobText.substr(0, 4) === ZIP_FILE_HEADER_SIGNATURE) {
|
|
937
933
|
// Yes; reclassify as ZIP
|
|
938
934
|
resolve(new Blob([blob], { type: "application/zip" }));
|
|
939
935
|
}
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
|
11
|
-
const templates = require('./templates-
|
|
12
|
-
const solutionStore = require('./solution-store-
|
|
13
|
-
require('./solution-resource-
|
|
14
|
-
const locale = require('./locale-
|
|
15
|
-
const restHelpersGet = require('./restHelpersGet-
|
|
11
|
+
const templates = require('./templates-2f44c01b.js');
|
|
12
|
+
const solutionStore = require('./solution-store-747a28ab.js');
|
|
13
|
+
require('./solution-resource-16c7510c.js');
|
|
14
|
+
const locale = require('./locale-2dc1252d.js');
|
|
15
|
+
const restHelpersGet = require('./restHelpersGet-88ba0e25.js');
|
|
16
16
|
require('./interfaces-09c4c40e.js');
|
|
17
17
|
require('./index-a0cca96e.js');
|
|
18
18
|
require('./_commonjsHelpers-baf43783.js');
|
|
19
|
-
require('./esri-loader-
|
|
19
|
+
require('./esri-loader-a56cbcbe.js');
|
|
20
20
|
|
|
21
21
|
/* Copyright (c) 2017-2020 Environmental Systems Research Institute, Inc.
|
|
22
22
|
* Apache-2.0 */
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
|
11
|
-
const solutionStore = require('./solution-store-
|
|
12
|
-
const locale = require('./locale-
|
|
13
|
-
const common = require('./common-
|
|
11
|
+
const solutionStore = require('./solution-store-747a28ab.js');
|
|
12
|
+
const locale = require('./locale-2dc1252d.js');
|
|
13
|
+
const common = require('./common-4d4cf291.js');
|
|
14
14
|
const interfaces = require('./interfaces-09c4c40e.js');
|
|
15
15
|
require('./index-a0cca96e.js');
|
|
16
|
-
require('./solution-resource-
|
|
16
|
+
require('./solution-resource-16c7510c.js');
|
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
|
18
|
-
require('./restHelpersGet-
|
|
19
|
-
require('./esri-loader-
|
|
18
|
+
require('./restHelpersGet-88ba0e25.js');
|
|
19
|
+
require('./esri-loader-a56cbcbe.js');
|
|
20
20
|
|
|
21
21
|
const solutionContentsCss = ".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
|
22
22
|
const SolutionContentsStyle0 = solutionContentsCss;
|
|
@@ -1808,7 +1808,7 @@ var ESortVisitState;
|
|
|
1808
1808
|
/** visited, in progress */
|
|
1809
1809
|
ESortVisitState[ESortVisitState["InProgress"] = 1] = "InProgress";
|
|
1810
1810
|
/** finished */
|
|
1811
|
-
ESortVisitState[ESortVisitState["Finished"] = 2] = "Finished";
|
|
1811
|
+
ESortVisitState[ESortVisitState["Finished"] = 2] = "Finished";
|
|
1812
1812
|
})(ESortVisitState || (ESortVisitState = {}));
|
|
1813
1813
|
|
|
1814
1814
|
/** @license
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-a0cca96e.js');
|
|
9
9
|
const interfaces = require('./interfaces-09c4c40e.js');
|
|
10
|
-
const solutionResource = require('./solution-resource-
|
|
11
|
-
const restHelpersGet = require('./restHelpersGet-
|
|
10
|
+
const solutionResource = require('./solution-resource-16c7510c.js');
|
|
11
|
+
const restHelpersGet = require('./restHelpersGet-88ba0e25.js');
|
|
12
12
|
|
|
13
13
|
/*! *****************************************************************************
|
|
14
14
|
Copyright (c) Microsoft Corporation.
|
|
@@ -278,7 +278,7 @@ function chunkArray(arr, size) {
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
/** @license
|
|
281
|
-
* Copyright
|
|
281
|
+
* Copyright 2018 Esri
|
|
282
282
|
*
|
|
283
283
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
284
284
|
* you may not use this file except in compliance with the License.
|
|
@@ -292,25 +292,32 @@ function chunkArray(arr, size) {
|
|
|
292
292
|
* See the License for the specific language governing permissions and
|
|
293
293
|
* limitations under the License.
|
|
294
294
|
*/
|
|
295
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
|
296
295
|
/**
|
|
297
|
-
*
|
|
296
|
+
* Updates an item.
|
|
298
297
|
*
|
|
299
|
-
* @param
|
|
300
|
-
*
|
|
301
|
-
* @param
|
|
302
|
-
* @
|
|
298
|
+
* @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
|
|
299
|
+
* for binary content
|
|
300
|
+
* @param authentication Credentials for request
|
|
301
|
+
* @param folderId Item's folder
|
|
302
|
+
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
|
303
|
+
* @return
|
|
303
304
|
*/
|
|
304
|
-
function
|
|
305
|
-
return {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
305
|
+
function updateItem(itemInfo, authentication, folderId, additionalParams) {
|
|
306
|
+
return new Promise((resolve, reject) => {
|
|
307
|
+
const updateOptions = {
|
|
308
|
+
item: itemInfo,
|
|
309
|
+
folderId: folderId,
|
|
310
|
+
authentication: authentication,
|
|
311
|
+
params: {
|
|
312
|
+
...(additionalParams ?? {}),
|
|
313
|
+
},
|
|
314
|
+
};
|
|
315
|
+
updateItem$1(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
|
|
316
|
+
});
|
|
310
317
|
}
|
|
311
318
|
|
|
312
319
|
/** @license
|
|
313
|
-
* Copyright
|
|
320
|
+
* Copyright 2021 Esri
|
|
314
321
|
*
|
|
315
322
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
316
323
|
* you may not use this file except in compliance with the License.
|
|
@@ -324,28 +331,21 @@ function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
|
|
324
331
|
* See the License for the specific language governing permissions and
|
|
325
332
|
* limitations under the License.
|
|
326
333
|
*/
|
|
334
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
|
327
335
|
/**
|
|
328
|
-
*
|
|
336
|
+
* Generates IAssociatedFileCopyResults object.
|
|
329
337
|
*
|
|
330
|
-
* @param
|
|
331
|
-
*
|
|
332
|
-
* @param
|
|
333
|
-
* @
|
|
334
|
-
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
|
335
|
-
* @return
|
|
338
|
+
* @param fileInfo Info about item that was to be copied
|
|
339
|
+
* @param fetchedFromSource Status of fetching item from source
|
|
340
|
+
* @param copiedToDestination Status of copying item to destination
|
|
341
|
+
* @returns IAssociatedFileCopyResults object
|
|
336
342
|
*/
|
|
337
|
-
function
|
|
338
|
-
return
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
params: {
|
|
344
|
-
...(additionalParams ?? {})
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
updateItem$1(updateOptions).then(response => (response.success ? resolve(response) : reject(response)), err => reject(err));
|
|
348
|
-
});
|
|
343
|
+
function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
|
344
|
+
return {
|
|
345
|
+
...fileInfo,
|
|
346
|
+
fetchedFromSource,
|
|
347
|
+
copiedToDestination,
|
|
348
|
+
};
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
/** @license
|
|
@@ -439,9 +439,7 @@ function convertStorageResourceToItemResource(storageResourceFilename, storageVe
|
|
|
439
439
|
function copyResourceIntoZip(file, zipInfo) {
|
|
440
440
|
// Add it to the zip
|
|
441
441
|
if (file.folder) {
|
|
442
|
-
zipInfo.zip
|
|
443
|
-
.folder(file.folder)
|
|
444
|
-
.file(file.filename, file.file, { binary: true });
|
|
442
|
+
zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
|
|
445
443
|
}
|
|
446
444
|
else {
|
|
447
445
|
zipInfo.zip.file(file.filename, file.file, { binary: true });
|
|
@@ -475,7 +473,7 @@ function copyResourceIntoZip(file, zipInfo) {
|
|
|
475
473
|
* @returns A promise which resolves to the result of the copy
|
|
476
474
|
*/
|
|
477
475
|
function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
|
|
478
|
-
return new Promise(resolve => {
|
|
476
|
+
return new Promise((resolve) => {
|
|
479
477
|
zipInfo.zip
|
|
480
478
|
.generateAsync({ type: "blob" })
|
|
481
479
|
.then((content) => {
|
|
@@ -487,13 +485,12 @@ function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication)
|
|
|
487
485
|
resource: zipfile,
|
|
488
486
|
authentication: destinationAuthentication,
|
|
489
487
|
params: {
|
|
490
|
-
archive: true
|
|
491
|
-
}
|
|
488
|
+
archive: true,
|
|
489
|
+
},
|
|
492
490
|
};
|
|
493
491
|
return addItemResource(addResourceOptions);
|
|
494
492
|
})
|
|
495
|
-
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false))
|
|
496
|
-
);
|
|
493
|
+
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
|
|
497
494
|
});
|
|
498
495
|
}
|
|
499
496
|
|
|
@@ -524,7 +521,7 @@ function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication)
|
|
|
524
521
|
* @returns A promise which resolves to a list of the result of the copies
|
|
525
522
|
*/
|
|
526
523
|
function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
|
|
527
|
-
return new Promise(resolve => {
|
|
524
|
+
return new Promise((resolve) => {
|
|
528
525
|
let awaitAllItems = [];
|
|
529
526
|
const zipInfos = [];
|
|
530
527
|
if (files.length > 0) {
|
|
@@ -539,9 +536,9 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
|
|
|
539
536
|
const zipInfo = {
|
|
540
537
|
filename: `resources${index}.zip`,
|
|
541
538
|
zip: new solutionResource.JSZip(),
|
|
542
|
-
filelist: []
|
|
539
|
+
filelist: [],
|
|
543
540
|
};
|
|
544
|
-
awaitAllItems = awaitAllItems.concat(chunk.map(file => copyResourceIntoZip(file, zipInfo)));
|
|
541
|
+
awaitAllItems = awaitAllItems.concat(chunk.map((file) => copyResourceIntoZip(file, zipInfo)));
|
|
545
542
|
zipInfos.push(zipInfo);
|
|
546
543
|
});
|
|
547
544
|
}
|
|
@@ -555,8 +552,7 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
|
|
|
555
552
|
// | true | true | file has been fetched and sent to AGO |
|
|
556
553
|
// | true | undefined | file has been fetched and will be sent via zip |
|
|
557
554
|
// Filter out copiedToDestination===undefined; we'll get their status when we send their zip
|
|
558
|
-
results = results.filter((result) => !(result.fetchedFromSource &&
|
|
559
|
-
typeof result.copiedToDestination === "undefined"));
|
|
555
|
+
results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
|
|
560
556
|
// Now send the resources to AGO
|
|
561
557
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
562
558
|
_copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
|
@@ -580,7 +576,7 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
|
|
|
580
576
|
* @private
|
|
581
577
|
*/
|
|
582
578
|
function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
|
|
583
|
-
return new Promise(resolve => {
|
|
579
|
+
return new Promise((resolve) => {
|
|
584
580
|
const results = [];
|
|
585
581
|
// Filter out empty zips, which can happen when none of the files in the chunk going into a zip
|
|
586
582
|
// can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
|
|
@@ -606,7 +602,7 @@ function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthent
|
|
|
606
602
|
* @returns A promise which resolves to a list of the result of the copies
|
|
607
603
|
*/
|
|
608
604
|
function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
|
|
609
|
-
return new Promise(resolve => {
|
|
605
|
+
return new Promise((resolve) => {
|
|
610
606
|
let allResults = [];
|
|
611
607
|
// Remove zip from bottom of list
|
|
612
608
|
const zipInfoToSend = zipInfos.pop();
|
|
@@ -619,7 +615,7 @@ function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthent
|
|
|
619
615
|
.then((response) => {
|
|
620
616
|
allResults = response;
|
|
621
617
|
// Stall a little to give AGO time to catch up
|
|
622
|
-
return new Promise(resolveSleep => {
|
|
618
|
+
return new Promise((resolveSleep) => {
|
|
623
619
|
setTimeout(() => resolveSleep(), 1000);
|
|
624
620
|
});
|
|
625
621
|
})
|
|
@@ -662,7 +658,7 @@ function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthent
|
|
|
662
658
|
* @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
|
|
663
659
|
*/
|
|
664
660
|
function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
|
665
|
-
return new Promise(resolve => {
|
|
661
|
+
return new Promise((resolve) => {
|
|
666
662
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
667
663
|
void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
|
|
668
664
|
resolve(results
|
|
@@ -682,11 +678,7 @@ function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
|
|
682
678
|
* @returns URL string
|
|
683
679
|
*/
|
|
684
680
|
function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
|
|
685
|
-
return (restHelpersGet.checkUrlPathTermination(sourcePortalSharingUrl) +
|
|
686
|
-
"content/items/" +
|
|
687
|
-
itemId +
|
|
688
|
-
"/resources/" +
|
|
689
|
-
sourceResourceFilename);
|
|
681
|
+
return (restHelpersGet.checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
|
|
690
682
|
}
|
|
691
683
|
/**
|
|
692
684
|
* Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
|
|
@@ -699,10 +691,10 @@ function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourc
|
|
|
699
691
|
* @returns List of item files' URLs and folder/filenames for storing the files
|
|
700
692
|
*/
|
|
701
693
|
function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
|
|
702
|
-
return resourceFilenames.map(resourceFilename => {
|
|
694
|
+
return resourceFilenames.map((resourceFilename) => {
|
|
703
695
|
return {
|
|
704
696
|
url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
|
|
705
|
-
...convertStorageResourceToItemResource(resourceFilename, storageVersion)
|
|
697
|
+
...convertStorageResourceToItemResource(resourceFilename, storageVersion),
|
|
706
698
|
};
|
|
707
699
|
});
|
|
708
700
|
}
|
|
@@ -711,8 +703,7 @@ function isSupportedFileType(filename) {
|
|
|
711
703
|
// .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
|
|
712
704
|
const filenameExtension = filename.match(/\.([a-z]+)$/i);
|
|
713
705
|
const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
|
|
714
|
-
return
|
|
715
|
-
supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0);
|
|
706
|
+
return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
|
|
716
707
|
}
|
|
717
708
|
/**
|
|
718
709
|
* Gets the thumbnail of an item or group.
|
|
@@ -724,7 +715,7 @@ function isSupportedFileType(filename) {
|
|
|
724
715
|
function getThumbnailFromStorageItem(authentication, filePaths) {
|
|
725
716
|
let thumbnailUrl;
|
|
726
717
|
let thumbnailFilename;
|
|
727
|
-
filePaths.forEach(path => {
|
|
718
|
+
filePaths.forEach((path) => {
|
|
728
719
|
if (path.type === solutionResource.EFileType.Thumbnail) {
|
|
729
720
|
thumbnailUrl = path.url;
|
|
730
721
|
thumbnailFilename = path.filename;
|
|
@@ -747,7 +738,7 @@ function removeItemResourceFile(itemId, filename, authentication) {
|
|
|
747
738
|
return removeItemResource({
|
|
748
739
|
id: itemId,
|
|
749
740
|
resource: filename,
|
|
750
|
-
authentication: authentication
|
|
741
|
+
authentication: authentication,
|
|
751
742
|
});
|
|
752
743
|
}
|
|
753
744
|
/**
|
|
@@ -762,14 +753,16 @@ function removeItemResourceFile(itemId, filename, authentication) {
|
|
|
762
753
|
function updateItemResourceFile(itemId, filename, resource, authentication) {
|
|
763
754
|
// Prefix has to be specified separately
|
|
764
755
|
const prefixedFilenameParts = filename.split("/");
|
|
765
|
-
const prefix = prefixedFilenameParts.length > 1
|
|
756
|
+
const prefix = prefixedFilenameParts.length > 1
|
|
757
|
+
? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
|
|
758
|
+
: undefined;
|
|
766
759
|
const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
|
|
767
760
|
return updateItemResource({
|
|
768
761
|
id: itemId,
|
|
769
762
|
prefix: prefix,
|
|
770
763
|
name: suffix,
|
|
771
764
|
resource,
|
|
772
|
-
authentication: authentication
|
|
765
|
+
authentication: authentication,
|
|
773
766
|
});
|
|
774
767
|
}
|
|
775
768
|
|