@arcgis/map-components 4.29.7 → 4.29.8
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/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/index.esm.js +1 -1
- package/dist/arcgis-map-components/{p-f2728c32.entry.js → p-0b9afc94.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b923473d.entry.js → p-0e2b2eb6.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-a2098d2b.entry.js → p-111a420a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-14fb2d72.entry.js → p-1134104c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4a56215a.js → p-1628550d.js} +1 -1
- package/dist/arcgis-map-components/{p-c06d9650.entry.js → p-1928b73d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-11b3803c.entry.js → p-1ab06b5a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-12b7b6ad.entry.js → p-1fa61d42.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-98e724bf.entry.js → p-1fe46bcc.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-0176ffee.entry.js → p-20096fc3.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-893559c5.entry.js → p-20d28269.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-e201c9e4.entry.js → p-244105b2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-fef5523a.js → p-2c40acef.js} +1 -1
- package/dist/arcgis-map-components/{p-901e2589.entry.js → p-2c56873a.entry.js} +2 -2
- package/dist/arcgis-map-components/p-35ad044e.entry.js +6 -0
- package/dist/arcgis-map-components/{p-ef98a60f.entry.js → p-3e76b10d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-66193de2.entry.js → p-4df5b356.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f52e3491.entry.js → p-53494650.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4e5043a9.entry.js → p-55e47bd4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-72cb85bd.entry.js → p-5634e42e.entry.js} +2 -2
- package/dist/arcgis-map-components/p-59536d1d.entry.js +6 -0
- package/dist/arcgis-map-components/p-5ec4000d.entry.js +6 -0
- package/dist/arcgis-map-components/{p-33e976b5.entry.js → p-5fde121e.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-17a04dd4.entry.js → p-61c40750.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-51f3f74c.entry.js → p-657cde8b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-65b77a7a.entry.js → p-6e49ec1b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-72c4d504.entry.js → p-7424644c.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-1ef7802e.entry.js → p-7dde3910.entry.js} +2 -2
- package/dist/arcgis-map-components/p-88e29acc.entry.js +6 -0
- package/dist/arcgis-map-components/{p-a8f4ae54.entry.js → p-891e369d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-98688f40.entry.js → p-8d0b2b44.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-119bbcd6.entry.js → p-92a49b3a.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7164604b.entry.js → p-94df92ba.entry.js} +2 -2
- package/dist/arcgis-map-components/p-950c5eb4.entry.js +6 -0
- package/dist/arcgis-map-components/p-9a6dad2d.entry.js +6 -0
- package/dist/arcgis-map-components/{p-12907ba8.entry.js → p-9aed26a0.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-08bdd78b.entry.js → p-9b7e9f38.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4f97ba64.entry.js → p-9bdab45b.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-f44bf4a1.entry.js → p-9f1f02b9.entry.js} +2 -2
- package/dist/arcgis-map-components/p-a0074ccd.entry.js +6 -0
- package/dist/arcgis-map-components/{p-11696a57.entry.js → p-a06530cd.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-80928212.entry.js → p-a983b34d.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-3ff1dc41.entry.js → p-afc9a9a4.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7595bc46.entry.js → p-b168e620.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4107c8e4.entry.js → p-b6e94389.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-831a3483.entry.js → p-c4c2828e.entry.js} +2 -2
- package/dist/arcgis-map-components/p-c58ccba7.entry.js +6 -0
- package/dist/arcgis-map-components/{p-e71f0b88.js → p-c8d111c4.js} +1 -1
- package/dist/arcgis-map-components/{p-000ce726.entry.js → p-cdd2fac2.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-27150aef.entry.js → p-cf166f33.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5536dcd1.entry.js → p-d0e7b644.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-424a0cb9.entry.js → p-d1505a11.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-7511a3e3.entry.js → p-e1fc2cc3.entry.js} +2 -2
- package/dist/arcgis-map-components/p-e27e7bca.entry.js +6 -0
- package/dist/arcgis-map-components/{p-048c93dc.entry.js → p-e2f545f1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b3375a64.entry.js → p-e54a1dcd.entry.js} +2 -2
- package/dist/arcgis-map-components/p-f229a464.entry.js +6 -0
- package/dist/arcgis-map-components/{p-41e5f19c.entry.js → p-f3c85df1.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-b055ff4c.entry.js → p-f5edc291.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-4b882990.entry.js → p-f63d9767.entry.js} +2 -2
- package/dist/arcgis-map-components/{p-5618cdb5.js → p-fab206f9.js} +1 -1
- package/dist/cjs/arcgis-area-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-area-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-attachments.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-gallery_2.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-basemap-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-bookmarks.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-building-explorer.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-compass.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-coordinate-conversion.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-daylight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directional-pad.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directions.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-directline-measurement-3d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-distance-measurement-2d.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-editor.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-elevation-profile.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-expand.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-form.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-table.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature-templates.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-feature.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-features.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-floor-filter.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-fullscreen.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-histogram.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-home.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-layer-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-legend.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-line-of-sight.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-locate.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-map-components.cjs.js +2 -2
- package/dist/cjs/arcgis-measurement.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-navigation-toggle.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-placement.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-print.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-bar.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scale-range-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-scene.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-search.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-shadow-cast.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-sketch.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slice.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-swipe.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-table-list.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-time-slider.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-track.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-associations.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-trace.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-utility-network-validate-topology.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-value-picker.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-version-management-service-item_2.cjs.entry.js +12 -9
- package/dist/cjs/arcgis-version-management-version-item_2.cjs.entry.js +9 -5
- package/dist/cjs/arcgis-version-management.cjs.entry.js +13 -10
- package/dist/cjs/arcgis-weather.cjs.entry.js +5 -5
- package/dist/cjs/arcgis-zoom.cjs.entry.js +5 -5
- package/dist/cjs/{component-utils-0b80602d.js → component-utils-2a92952d.js} +1 -1
- package/dist/cjs/{disconnected-2bed5c21.js → disconnected-642e156c.js} +1 -1
- package/dist/cjs/{index-72c4fd5d.js → index-5a676aef.js} +1 -1
- package/dist/cjs/{index-064ec7c3.js → index-5d259c9c.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/components/arcgis-area-measurement-2d.js +1 -1
- package/dist/components/arcgis-area-measurement-3d.js +1 -1
- package/dist/components/arcgis-attachments.js +1 -1
- package/dist/components/arcgis-basemap-gallery.js +1 -1
- package/dist/components/arcgis-basemap-layer-list.js +1 -1
- package/dist/components/arcgis-basemap-toggle.js +1 -1
- package/dist/components/arcgis-bookmarks.js +1 -1
- package/dist/components/arcgis-building-explorer.js +1 -1
- package/dist/components/arcgis-compass.js +1 -1
- package/dist/components/arcgis-coordinate-conversion.js +1 -1
- package/dist/components/arcgis-daylight.js +1 -1
- package/dist/components/arcgis-directional-pad.js +1 -1
- package/dist/components/arcgis-directions.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d.js +1 -1
- package/dist/components/arcgis-editor.js +1 -1
- package/dist/components/arcgis-elevation-profile.js +1 -1
- package/dist/components/arcgis-expand.js +1 -1
- package/dist/components/arcgis-feature-form.js +1 -1
- package/dist/components/arcgis-feature-table.js +1 -1
- package/dist/components/arcgis-feature-templates.js +1 -1
- package/dist/components/arcgis-feature.js +1 -1
- package/dist/components/arcgis-features.js +1 -1
- package/dist/components/arcgis-floor-filter.js +1 -1
- package/dist/components/arcgis-fullscreen.js +1 -1
- package/dist/components/arcgis-histogram-range-slider.js +1 -1
- package/dist/components/arcgis-histogram.js +1 -1
- package/dist/components/arcgis-home.js +1 -1
- package/dist/components/arcgis-layer-list.js +1 -1
- package/dist/components/arcgis-legend.js +1 -1
- package/dist/components/arcgis-line-of-sight.js +1 -1
- package/dist/components/arcgis-locate.js +1 -1
- package/dist/components/arcgis-map.js +1 -1
- package/dist/components/arcgis-measurement.js +1 -1
- package/dist/components/arcgis-navigation-toggle.js +1 -1
- package/dist/components/arcgis-placement.js +1 -1
- package/dist/components/arcgis-print.js +1 -1
- package/dist/components/arcgis-scale-bar.js +1 -1
- package/dist/components/arcgis-scale-range-slider.js +1 -1
- package/dist/components/arcgis-scene.js +1 -1
- package/dist/components/arcgis-search.js +1 -1
- package/dist/components/arcgis-shadow-cast.js +1 -1
- package/dist/components/arcgis-sketch.js +1 -1
- package/dist/components/arcgis-slice.js +1 -1
- package/dist/components/arcgis-slider.js +1 -1
- package/dist/components/arcgis-swipe.js +1 -1
- package/dist/components/arcgis-table-list.js +1 -1
- package/dist/components/arcgis-time-slider.js +1 -1
- package/dist/components/arcgis-track.js +1 -1
- package/dist/components/arcgis-utility-network-associations.js +1 -1
- package/dist/components/arcgis-utility-network-trace.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology.js +1 -1
- package/dist/components/arcgis-value-picker.js +1 -1
- package/dist/components/arcgis-version-management-service-item.js +1 -1
- package/dist/components/arcgis-version-management-version-item.js +1 -1
- package/dist/components/arcgis-version-management-version-list.js +1 -1
- package/dist/components/arcgis-version-management-version-properties.js +1 -1
- package/dist/components/arcgis-version-management.js +11 -8
- package/dist/components/arcgis-weather.js +1 -1
- package/dist/components/arcgis-zoom.js +1 -1
- package/dist/components/component-utils.js +1 -1
- package/dist/components/disconnected.js +1 -1
- package/dist/components/expand.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/version-management-service-item.js +8 -5
- package/dist/components/version-management-version-item.js +1 -1
- package/dist/components/version-management-version-list.js +7 -3
- package/dist/components/version-management-version-properties.js +3 -3
- package/dist/esm/arcgis-area-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-area-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-attachments.entry.js +5 -5
- package/dist/esm/arcgis-basemap-gallery_2.entry.js +5 -5
- package/dist/esm/arcgis-basemap-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-basemap-toggle.entry.js +5 -5
- package/dist/esm/arcgis-bookmarks.entry.js +5 -5
- package/dist/esm/arcgis-building-explorer.entry.js +5 -5
- package/dist/esm/arcgis-compass.entry.js +5 -5
- package/dist/esm/arcgis-coordinate-conversion.entry.js +5 -5
- package/dist/esm/arcgis-daylight.entry.js +5 -5
- package/dist/esm/arcgis-directional-pad.entry.js +5 -5
- package/dist/esm/arcgis-directions.entry.js +5 -5
- package/dist/esm/arcgis-directline-measurement-3d.entry.js +5 -5
- package/dist/esm/arcgis-distance-measurement-2d.entry.js +5 -5
- package/dist/esm/arcgis-editor.entry.js +5 -5
- package/dist/esm/arcgis-elevation-profile.entry.js +5 -5
- package/dist/esm/arcgis-expand.entry.js +5 -5
- package/dist/esm/arcgis-feature-form.entry.js +5 -5
- package/dist/esm/arcgis-feature-table.entry.js +5 -5
- package/dist/esm/arcgis-feature-templates.entry.js +5 -5
- package/dist/esm/arcgis-feature.entry.js +5 -5
- package/dist/esm/arcgis-features.entry.js +5 -5
- package/dist/esm/arcgis-floor-filter.entry.js +5 -5
- package/dist/esm/arcgis-fullscreen.entry.js +5 -5
- package/dist/esm/arcgis-histogram-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-histogram.entry.js +4 -4
- package/dist/esm/arcgis-home.entry.js +5 -5
- package/dist/esm/arcgis-layer-list.entry.js +5 -5
- package/dist/esm/arcgis-legend.entry.js +5 -5
- package/dist/esm/arcgis-line-of-sight.entry.js +5 -5
- package/dist/esm/arcgis-locate.entry.js +5 -5
- package/dist/esm/arcgis-map-components.js +3 -3
- package/dist/esm/arcgis-measurement.entry.js +5 -5
- package/dist/esm/arcgis-navigation-toggle.entry.js +5 -5
- package/dist/esm/arcgis-placement.entry.js +4 -4
- package/dist/esm/arcgis-print.entry.js +5 -5
- package/dist/esm/arcgis-scale-bar.entry.js +5 -5
- package/dist/esm/arcgis-scale-range-slider.entry.js +5 -5
- package/dist/esm/arcgis-scene.entry.js +4 -4
- package/dist/esm/arcgis-search.entry.js +5 -5
- package/dist/esm/arcgis-shadow-cast.entry.js +5 -5
- package/dist/esm/arcgis-sketch.entry.js +5 -5
- package/dist/esm/arcgis-slice.entry.js +5 -5
- package/dist/esm/arcgis-slider.entry.js +5 -5
- package/dist/esm/arcgis-swipe.entry.js +5 -5
- package/dist/esm/arcgis-table-list.entry.js +5 -5
- package/dist/esm/arcgis-time-slider.entry.js +5 -5
- package/dist/esm/arcgis-track.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-associations.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-trace.entry.js +5 -5
- package/dist/esm/arcgis-utility-network-validate-topology.entry.js +5 -5
- package/dist/esm/arcgis-value-picker.entry.js +5 -5
- package/dist/esm/arcgis-version-management-service-item_2.entry.js +12 -9
- package/dist/esm/arcgis-version-management-version-item_2.entry.js +9 -5
- package/dist/esm/arcgis-version-management.entry.js +13 -10
- package/dist/esm/arcgis-weather.entry.js +5 -5
- package/dist/esm/arcgis-zoom.entry.js +5 -5
- package/dist/esm/{component-utils-2b64dfdd.js → component-utils-10f74045.js} +1 -1
- package/dist/esm/{disconnected-7f6a3433.js → disconnected-f324c71b.js} +1 -1
- package/dist/esm/{index-42d43a77.js → index-97b615ed.js} +1 -1
- package/dist/esm/{index-7904f36c.js → index-ff478b8c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +9 -9
- package/dist/arcgis-map-components/p-17ab6997.entry.js +0 -6
- package/dist/arcgis-map-components/p-64423033.entry.js +0 -6
- package/dist/arcgis-map-components/p-65bf36ad.entry.js +0 -6
- package/dist/arcgis-map-components/p-6cfc80ba.entry.js +0 -6
- package/dist/arcgis-map-components/p-7557b4ed.entry.js +0 -6
- package/dist/arcgis-map-components/p-7c95697d.entry.js +0 -6
- package/dist/arcgis-map-components/p-8ef95194.entry.js +0 -6
- package/dist/arcgis-map-components/p-aeeb895d.entry.js +0 -6
- package/dist/arcgis-map-components/p-e7167db8.entry.js +0 -6
- package/dist/arcgis-map-components/p-f77a9d21.entry.js +0 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a0 as newWidgetsUtilityNetworkTrace, i as importCoreReactiveUtils } from './index-
|
|
8
|
-
import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils-
|
|
9
|
-
import { o as onDisconnectedHelper } from './disconnected-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { a0 as newWidgetsUtilityNetworkTrace, i as importCoreReactiveUtils } from './index-97b615ed.js';
|
|
8
|
+
import { r as referenceElementHelper, c as checkForView, a as addHandles } from './component-utils-10f74045.js';
|
|
9
|
+
import { o as onDisconnectedHelper } from './disconnected-f324c71b.js';
|
|
10
10
|
|
|
11
11
|
const utilityNetworkTraceCss = "";
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a1 as newWidgetsUtilityNetworkValidateTopology } from './index-
|
|
8
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-
|
|
9
|
-
import { o as onDisconnectedHelper } from './disconnected-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { a1 as newWidgetsUtilityNetworkValidateTopology } from './index-97b615ed.js';
|
|
8
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils-10f74045.js';
|
|
9
|
+
import { o as onDisconnectedHelper } from './disconnected-f324c71b.js';
|
|
10
10
|
|
|
11
11
|
const utilityNetworkValidateTopologyCss = "arcgis-utility-network-validate-topology{}";
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a2 as newWidgetsValuePicker, i as importCoreReactiveUtils } from './index-
|
|
8
|
-
import { c as checkForView, a as addHandles } from './component-utils-
|
|
9
|
-
import { o as onDisconnectedHelper } from './disconnected-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { a2 as newWidgetsValuePicker, i as importCoreReactiveUtils } from './index-97b615ed.js';
|
|
8
|
+
import { c as checkForView, a as addHandles } from './component-utils-10f74045.js';
|
|
9
|
+
import { o as onDisconnectedHelper } from './disconnected-f324c71b.js';
|
|
10
10
|
|
|
11
11
|
const valuePickerCss = "arcgis-value-picker{}";
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { i as importCoreReactiveUtils } from './index-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { i as importCoreReactiveUtils } from './index-97b615ed.js';
|
|
8
8
|
|
|
9
9
|
const ArcgisVersionManagementServiceItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -45,17 +45,20 @@ const ArcgisVersionManagementServiceItem = class {
|
|
|
45
45
|
render() {
|
|
46
46
|
const { flowElement, heading, serviceUrl, strings, viewModel } = this;
|
|
47
47
|
let { _versionList } = this;
|
|
48
|
-
const serviceName = viewModel.
|
|
48
|
+
const serviceName = viewModel.serviceNameLookup.get(serviceUrl);
|
|
49
49
|
return (h(Host, null, h("calcite-panel", { heading: serviceName }, h("calcite-action", { id: `actionManageVersions_${serviceName}`, icon: "list", scale: "s", slot: "header-actions-end", onclick: async () => {
|
|
50
|
+
await viewModel.getVersionInfos(serviceUrl, false);
|
|
50
51
|
_versionList = document.createElement("arcgis-version-management-version-list");
|
|
52
|
+
_versionList.addEventListener("calciteFlowItemBack", async () => {
|
|
53
|
+
_versionList.remove();
|
|
54
|
+
});
|
|
51
55
|
_versionList.heading = heading;
|
|
52
56
|
_versionList.serviceUrl = serviceUrl;
|
|
53
57
|
_versionList.serviceName = serviceName;
|
|
54
58
|
_versionList.strings = strings;
|
|
55
59
|
_versionList.userHasAdvancedEditingUserTypeExtension =
|
|
56
|
-
viewModel.
|
|
57
|
-
|
|
58
|
-
_versionList.versionInfos = viewModel.versionInfos.get(serviceUrl);
|
|
60
|
+
viewModel.advancedEditingUserTypeExtensionLookup.get(serviceUrl);
|
|
61
|
+
_versionList.versionInfos = viewModel.versionInfoLookup.get(serviceUrl);
|
|
59
62
|
_versionList.viewModel = viewModel;
|
|
60
63
|
this._addVersionListEventListeners(_versionList);
|
|
61
64
|
flowElement.append(_versionList);
|
|
@@ -106,9 +109,9 @@ const ArcgisVersionManagementVersionProperties = class {
|
|
|
106
109
|
render() {
|
|
107
110
|
const { serviceUrl, strings, versionInfo } = this;
|
|
108
111
|
const { viewModel: { executionError } } = this;
|
|
109
|
-
return (h(Host, null, h("calcite-flow-item", { description: versionInfo ? versionInfo.versionIdentifier.name : "", heading: versionInfo ? strings.actions.editVersion : strings.actions.newVersion }, h("calcite-panel", { loading: this.state === "executing" }, h("div", { class: "div-content" }, h("calcite-label", null, strings.input.versionName, h("calcite-input-text", { id: "inputName", maxLength: 62, value: versionInfo ? versionInfo.versionIdentifier.name.split(".")[1] : "" })), h("calcite-label", null, strings.input.versionDescription, h("calcite-text-area", { id: "inputDescription", resize: "vertical", value: versionInfo ? versionInfo.description : "" })), h("calcite-label", null, strings.input.versionAccess, h("calcite-chip-group", { id: "chipGroupAccessLevel", selectionMode: "single" }, h("calcite-chip", { selected: versionInfo?.access === "public", value: "public" }, strings.accessLevels.public), h("calcite-chip", { selected: versionInfo?.access === "protected", value: "protected" }, strings.accessLevels.protected), h("calcite-chip", { selected: versionInfo?.access === "private"
|
|
112
|
+
return (h(Host, null, h("calcite-flow-item", { description: versionInfo ? versionInfo.versionIdentifier.name : "", heading: versionInfo ? strings.actions.editVersion : strings.actions.newVersion }, h("calcite-panel", { loading: this.state === "executing" }, h("div", { class: "div-content" }, h("calcite-label", null, strings.input.versionName, h("calcite-input-text", { id: "inputName", maxLength: 62, value: versionInfo ? versionInfo.versionIdentifier.name.split(".")[1] : "" })), h("calcite-label", null, strings.input.versionDescription, h("calcite-text-area", { id: "inputDescription", resize: "vertical", value: versionInfo ? versionInfo.description : "" })), h("calcite-label", null, strings.input.versionAccess, h("calcite-chip-group", { id: "chipGroupAccessLevel", selectionMode: "single" }, h("calcite-chip", { selected: versionInfo?.access === "public" || !versionInfo, value: "public" }, strings.accessLevels.public), h("calcite-chip", { selected: versionInfo?.access === "protected", value: "protected" }, strings.accessLevels.protected), h("calcite-chip", { selected: versionInfo?.access === "private", value: "private" }, strings.accessLevels.private))), h("calcite-label", null, strings.input.versionOwner, h("calcite-input-text", { id: "inputOwner", disabled: !this.viewModel.advancedEditingUserTypeExtensionLookup.get(serviceUrl), value: versionInfo
|
|
110
113
|
? versionInfo.versionIdentifier.name.split(".")[0]
|
|
111
|
-
: this.viewModel.
|
|
114
|
+
: this.viewModel.userLookup.get(serviceUrl)?.toUpperCase() })), h("calcite-button", { appearance: "outline", slot: "footer", width: "half", onClick: () => {
|
|
112
115
|
void this.flowElement.back();
|
|
113
116
|
} }, strings.actions.cancelSave), h("calcite-button", { slot: "footer", width: "half", onClick: async () => {
|
|
114
117
|
const textInputs = Array.from(this._hostElement.getElementsByTagName("calcite-input-text"));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { i as importCoreReactiveUtils } from './index-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { i as importCoreReactiveUtils } from './index-97b615ed.js';
|
|
8
8
|
|
|
9
9
|
const ArcgisVersionManagementVersionItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -67,12 +67,16 @@ const ArcgisVersionManagementVersionList = class {
|
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
69
|
const { heading, serviceName, serviceUrl, state, strings, versionInfos, viewModel } = this;
|
|
70
|
-
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
const currentVersionIdentifier = viewModel.versionIdentifierLookup.get(serviceUrl);
|
|
72
|
+
return (h(Host, null, h("calcite-flow-item", { heading: heading, description: serviceName }, currentVersionIdentifier ? (h("calcite-panel", { disabled: state === "executing", class: "panel-versions", heading: "Current version", description: currentVersionIdentifier.name })) : undefined, h("calcite-panel", { loading: state === "executing", class: "panel-versions", heading: versionInfos.length
|
|
73
|
+
? `${strings.headers.manageVersions} (${versionInfos.length})`
|
|
74
|
+
: `${strings.headers.manageVersions}` }, h("calcite-action", { id: "actionRefreshVersions", icon: "refresh", onclick: () => {
|
|
71
75
|
this.versionListActionClickedEvent.emit({
|
|
72
76
|
actionType: "refreshVersions",
|
|
73
77
|
serviceUrl
|
|
74
78
|
});
|
|
75
|
-
}, slot: "header-actions-end" }), h("calcite-tooltip", { "overlay-positioning": "fixed", referenceElement: "actionRefreshVersions" }, h("span", null, strings.actions.refreshVersions)), h("calcite-list", { class: "version-list", filterEnabled: true }, versionInfos.map((versionInfo) => (h("arcgis-version-management-version-item", { strings: strings, hasAdvEditingUte: viewModel.
|
|
79
|
+
}, slot: "header-actions-end" }), h("calcite-tooltip", { "overlay-positioning": "fixed", referenceElement: "actionRefreshVersions" }, h("span", null, strings.actions.refreshVersions)), h("calcite-list", { class: "version-list", filterEnabled: true }, versionInfos.map((versionInfo) => (h("arcgis-version-management-version-item", { strings: strings, hasAdvEditingUte: viewModel.advancedEditingUserTypeExtensionLookup.get(serviceUrl), isVersioningApiAvailable: (viewModel.serverVersionLookup.get(serviceUrl) ?? 0) >= 11.2, versionInfo: versionInfo, onVersionItemActionClickedEvent: (e) => {
|
|
76
80
|
this.versionItemActionClickedEventWithServiceUrl.emit({ ...e.detail, serviceUrl });
|
|
77
81
|
} })))), h("calcite-fab", { appearance: "outline-fill", slot: "fab", textEnabled: true, text: strings.actions.newVersion, onclick: () => {
|
|
78
82
|
this.versionListActionClickedEvent.emit({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, a as getAssetPath, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { i as importCoreReactiveUtils, a3 as newWidgetsVersionManagementVersionManagementViewModel } from './index-
|
|
6
|
+
import { r as registerInstance, a as getAssetPath, h, H as Host, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { i as importCoreReactiveUtils, a3 as newWidgetsVersionManagementVersionManagementViewModel } from './index-97b615ed.js';
|
|
8
8
|
|
|
9
9
|
function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function v(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await v("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function _(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function B(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n).catch(console.error);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=_(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await v(r,l,u);}r!==e._t9nLocale&&(e._t9nLocale=r,e._t9nStrings=o,await t?.call(e));}
|
|
10
10
|
|
|
@@ -37,7 +37,7 @@ const ArcgisVersionManagement = class {
|
|
|
37
37
|
await B(this, getAssetPath("./assets"));
|
|
38
38
|
await this._checkForView();
|
|
39
39
|
this.viewModel = await newWidgetsVersionManagementVersionManagementViewModel({
|
|
40
|
-
|
|
40
|
+
view: this.view
|
|
41
41
|
});
|
|
42
42
|
this.label = this.label ? this.label : this._t9nStrings.label;
|
|
43
43
|
}
|
|
@@ -50,7 +50,7 @@ const ArcgisVersionManagement = class {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const { _t9nStrings, label, viewModel, viewModel: { state, loadError } } = this;
|
|
53
|
-
const arrayServiceNames = Array.from(this.viewModel.
|
|
53
|
+
const arrayServiceNames = Array.from(this.viewModel.serviceNameLookup, ([url, name]) => ({ url, name }));
|
|
54
54
|
return (h(Host, null, h("calcite-flow", { ref: (node) => {
|
|
55
55
|
this.flowElement = node;
|
|
56
56
|
}, class: "flow-main" }, h("calcite-flow-item", { heading: label }, h("calcite-panel", { class: "panel-services", loading: state === "loading" }, arrayServiceNames.map((service) => (h("arcgis-version-management-service-item", { flowElement: this.flowElement, heading: label, serviceUrl: service.url, strings: _t9nStrings, viewModel: viewModel, onVersionItemActionClickedEventWithServiceUrl: (e) => {
|
|
@@ -84,7 +84,7 @@ const ArcgisVersionManagement = class {
|
|
|
84
84
|
const { serviceUrl, versionInfo } = e.detail;
|
|
85
85
|
const fullVersionName = versionInfo.versionIdentifier.name;
|
|
86
86
|
const versionName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[1] : fullVersionName;
|
|
87
|
-
const ownerName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[0] : viewModel.
|
|
87
|
+
const ownerName = fullVersionName.split(".").length > 1 ? fullVersionName.split(".")[0] : viewModel.userLookup.get(serviceUrl);
|
|
88
88
|
if (versionInfo.versionIdentifier.guid === "") {
|
|
89
89
|
await viewModel.createVersion({
|
|
90
90
|
access: versionInfo.access,
|
|
@@ -108,9 +108,10 @@ const ArcgisVersionManagement = class {
|
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
if (viewModel.state === "ready") {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
const versionList = flowElement.getElementsByTagName("arcgis-version-management-version-list")[0];
|
|
112
|
+
versionList.versionInfos = [];
|
|
113
|
+
const versionInfos = await viewModel.getVersionInfos(serviceUrl, true);
|
|
114
|
+
versionList.versionInfos = versionInfos;
|
|
114
115
|
await flowElement.back();
|
|
115
116
|
}
|
|
116
117
|
});
|
|
@@ -146,8 +147,10 @@ const ArcgisVersionManagement = class {
|
|
|
146
147
|
break;
|
|
147
148
|
}
|
|
148
149
|
case "refreshVersions": {
|
|
150
|
+
const versionList = this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0];
|
|
151
|
+
versionList.versionInfos = [];
|
|
149
152
|
const versionInfos = await this.viewModel.getVersionInfos(serviceUrl, true);
|
|
150
|
-
|
|
153
|
+
versionList.versionInfos = versionInfos;
|
|
151
154
|
break;
|
|
152
155
|
}
|
|
153
156
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a4 as newWidgetsWeather } from './index-
|
|
8
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-
|
|
9
|
-
import { o as onDisconnectedHelper } from './disconnected-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { a4 as newWidgetsWeather } from './index-97b615ed.js';
|
|
8
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils-10f74045.js';
|
|
9
|
+
import { o as onDisconnectedHelper } from './disconnected-f324c71b.js';
|
|
10
10
|
|
|
11
11
|
const weatherCss = "";
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a5 as newWidgetsZoom } from './index-
|
|
8
|
-
import { r as referenceElementHelper, c as checkForView } from './component-utils-
|
|
9
|
-
import { o as onDisconnectedHelper } from './disconnected-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ff478b8c.js';
|
|
7
|
+
import { a5 as newWidgetsZoom } from './index-97b615ed.js';
|
|
8
|
+
import { r as referenceElementHelper, c as checkForView } from './component-utils-10f74045.js';
|
|
9
|
+
import { o as onDisconnectedHelper } from './disconnected-f324c71b.js';
|
|
10
10
|
|
|
11
11
|
const zoomCss = "arcgis-zoom{}";
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
function checkForExpand(element) {
|
|
7
7
|
const expandRef = element.el.closest("arcgis-expand") || element.expandElem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
const isAMD = "define" in window && typeof window.define === "function" && "amd" in window.define;
|
|
7
7
|
function isDefaultModule(module) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
const NAMESPACE = 'arcgis-map-components';
|
|
7
7
|
const BUILD = /* arcgis-map-components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
package/dist/esm/index.js
CHANGED
package/dist/esm/loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
|
-
import { b as bootstrapLazy } from './index-
|
|
7
|
-
export { s as setNonce } from './index-
|
|
6
|
+
import { b as bootstrapLazy } from './index-ff478b8c.js';
|
|
7
|
+
export { s as setNonce } from './index-ff478b8c.js';
|
|
8
8
|
|
|
9
9
|
const defineCustomElements = (win, options) => {
|
|
10
10
|
if (typeof window === 'undefined') return undefined;
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.
|
|
4
|
+
* v4.29.8
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
3
|
"description": "ArcGIS Map Components",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
5
|
-
"version": "4.29.
|
|
5
|
+
"version": "4.29.8",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"@stencil/core": "^4.10.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@arcgis/components-plugins": "4.29.
|
|
56
|
-
"@arcgis/components-utils": "4.29.
|
|
57
|
-
"@arcgis/core": "~4.29.
|
|
58
|
-
"@arcgis/core-adapter": "4.29.
|
|
59
|
-
"@arcgis/storybook-utils": "4.29.
|
|
60
|
-
"@arcgis/typescript-config": "4.29.
|
|
55
|
+
"@arcgis/components-plugins": "4.29.8",
|
|
56
|
+
"@arcgis/components-utils": "4.29.8",
|
|
57
|
+
"@arcgis/core": "~4.29.6",
|
|
58
|
+
"@arcgis/core-adapter": "4.29.8",
|
|
59
|
+
"@arcgis/storybook-utils": "4.29.8",
|
|
60
|
+
"@arcgis/typescript-config": "4.29.8",
|
|
61
61
|
"@esri/calcite-components": "^2.4.0",
|
|
62
62
|
"@stencil/angular-output-target": "0.8.3",
|
|
63
63
|
"@stencil/react-output-target": "0.5.3",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"zlib": "^1.0.5"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@arcgis/core": "~4.29.
|
|
78
|
+
"@arcgis/core": "~4.29.6",
|
|
79
79
|
"@esri/calcite-components": ">=2.2.0 <3.0.0"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d6066cce0001d378f3d6fb55a6a5bf97aa25181d"
|
|
82
82
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{r as h,i as a}from"./p-5618cdb5.js";import{r,c as n,a as c}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const d=class{constructor(s){t(this,s),this.arcgisDirectLineMeasurement3dReady=i(this,"arcgisDirectLineMeasurement3dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.analysis=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async clear(){this.widget?.viewModel.clear()}async start(){this.widget?.viewModel.start()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDirectLineMeasurement3dReady.emit(),n(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t,whenOnce:i}=await a();c(this,t((()=>this.widget.analysis),(t=>this.analysis=t),{initial:!0})),await i((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};d.style="";export{d as arcgis_directline_measurement_3d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,H as s,g as n}from"./p-e71f0b88.js";import{i as c}from"./p-5618cdb5.js";const o=class{constructor(e){i(this,e),this.versionItemActionClickedEventWithServiceUrl=t(this,"versionItemActionClickedEventWithServiceUrl",7),this.versionListActionClickedEvent=t(this,"versionListActionClickedEvent",7),this._versionListEventListeners=new Map,this._watchHandles=[],this._versionItemActionClickedEventWithServiceUrl=i=>{this.versionItemActionClickedEventWithServiceUrl.emit(i.detail)},this._versionListActionClickedEvent=i=>{this.versionListActionClickedEvent.emit(i.detail)},this.flowElement=void 0,this.heading=void 0,this.serviceUrl=void 0,this.strings=void 0,this.viewModel=void 0,this.state=void 0}async componentDidLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}async componentWillLoad(){this.state=this.viewModel.state}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[],this._removeVersionListEventListeners(this._versionList)}render(){const{flowElement:i,heading:t,serviceUrl:n,strings:c,viewModel:o}=this;let{_versionList:a}=this;const r=o.serviceNames.get(n);return e(s,null,e("calcite-panel",{heading:r},e("calcite-action",{id:`actionManageVersions_${r}`,icon:"list",scale:"s",slot:"header-actions-end",onclick:async()=>{a=document.createElement("arcgis-version-management-version-list"),a.heading=t,a.serviceUrl=n,a.serviceName=r,a.strings=c,a.userHasAdvancedEditingUserTypeExtension=o.advancedEditingUserTypeExtensionForUrl.get(n),await o.getVersionInfos(n,!1),a.versionInfos=o.versionInfos.get(n),a.viewModel=o,this._addVersionListEventListeners(a),i.append(a)}}),e("calcite-tooltip",{"overlay-positioning":"fixed",referenceElement:`actionManageVersions_${r}`},e("span",null,c.headers.manageVersions))))}_addVersionListEventListeners(i){i.addEventListener("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),this._versionListEventListeners.set("versionItemActionClickedEventWithServiceUrl",this._versionItemActionClickedEventWithServiceUrl),i.addEventListener("versionListActionClickedEvent",this._versionListActionClickedEvent),this._versionListEventListeners.set("versionListActionClickedEvent",this._versionListActionClickedEvent)}_removeVersionListEventListeners(i){for(const[t,e]of this._versionListEventListeners)i.removeEventListener(t,e)}get _hostElement(){return n(this)}},a=class{constructor(e){i(this,e),this.versionPropertiesSaveClickedEvent=t(this,"versionPropertiesSaveClickedEvent",7),this._watchHandles=[],this.flowElement=void 0,this.serviceUrl=void 0,this.strings=void 0,this.versionInfo=void 0,this.viewModel=void 0,this.executionError=void 0,this.state=void 0}async componentDidLoad(){await this.viewModel.getVersionInfos(this.serviceUrl,!1)}async componentWillLoad(){const{watch:i}=await c();this._watchHandles.push(i((()=>this.viewModel.state),(i=>{this.state=i})))}disconnectedCallback(){this._watchHandles.forEach((i=>{i.remove()})),this._watchHandles=[]}render(){const{serviceUrl:i,strings:t,versionInfo:n}=this,{viewModel:{executionError:c}}=this;return e(s,null,e("calcite-flow-item",{description:n?n.versionIdentifier.name:"",heading:n?t.actions.editVersion:t.actions.newVersion},e("calcite-panel",{loading:"executing"===this.state},e("div",{class:"div-content"},e("calcite-label",null,t.input.versionName,e("calcite-input-text",{id:"inputName",maxLength:62,value:n?n.versionIdentifier.name.split(".")[1]:""})),e("calcite-label",null,t.input.versionDescription,e("calcite-text-area",{id:"inputDescription",resize:"vertical",value:n?n.description:""})),e("calcite-label",null,t.input.versionAccess,e("calcite-chip-group",{id:"chipGroupAccessLevel",selectionMode:"single"},e("calcite-chip",{selected:"public"===n?.access,value:"public"},t.accessLevels.public),e("calcite-chip",{selected:"protected"===n?.access,value:"protected"},t.accessLevels.protected),e("calcite-chip",{selected:"private"===n?.access||!n,value:"private"},t.accessLevels.private))),e("calcite-label",null,t.input.versionOwner,e("calcite-input-text",{id:"inputOwner",disabled:!this.viewModel.advancedEditingUserTypeExtensionForUrl.get(i),value:n?n.versionIdentifier.name.split(".")[0]:this.viewModel.userForUrl.get(i)?.toUpperCase()})),e("calcite-button",{appearance:"outline",slot:"footer",width:"half",onClick:()=>{this.flowElement.back()}},t.actions.cancelSave),e("calcite-button",{slot:"footer",width:"half",onClick:async()=>{const t=Array.from(this._hostElement.getElementsByTagName("calcite-input-text")),e=this._hostElement.getElementsByTagName("calcite-text-area")[0],s=t.find((i=>"inputName"===i.id)),c=t.find((i=>"inputOwner"===i.id)),o=Array.from(this._hostElement.getElementsByTagName("calcite-chip-group"))[0];this.versionPropertiesSaveClickedEvent.emit({serviceUrl:i,versionInfo:{access:o.selectedItems[0].value,description:e.value,versionIdentifier:{name:""!==c.value?`${c.value}.${s.value}`:s.value,guid:n?n.versionIdentifier.guid:""}}})}},t.actions.saveVersion)),"failed"===this.state?e("calcite-notice",{class:"notice",closable:!0,kind:"warning",open:!0,scale:"s",slot:"footer"},e("div",{slot:"message"},this._getExecutionError(c))):void 0)))}_getExecutionError(i){const{strings:{executionErrors:t}}=this;switch(i){case"no-advanced-editing-user-type-extension":return t.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return t.noFeatureServiceFound;case"no-valid-enterprise-version":return t.notValidEnterpriseVersion;case"no-valid-version-name":return t.invalidVersionName;default:return i}}get _hostElement(){return n(this)}};export{o as arcgis_version_management_service_item,a as arcgis_version_management_version_properties}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as s,g as r}from"./p-e71f0b88.js";import{r as i,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.placementReady=e(this,"placementReady",7),this.referenceElement=void 0,this.view=void 0,this.position="bottom-left"}referenceElementWatcher(t){i(this,t)}positionWatcher(t){void 0!==t&&this.view.ui.move(this.childElem,t)}async componentDidLoad(){this.placementReady.emit({ready:!0}),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t},s("slot",null))}get el(){return r(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],position:["positionWatcher"]}}};c.style="arcgis-placement{}";export{c as arcgis_placement}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{s as h,i as a}from"./p-5618cdb5.js";import{r,c as n}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.js";const o=class{constructor(s){t(this,s),this.arcgisDistanceMeasurement2dReady=i(this,"arcgisDistanceMeasurement2dReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.unit=void 0,this.unitOptions=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}unitWatcher(t){this.widget&&(this.widget.unit=t)}unitOptionsWatcher(t){this.widget&&(this.widget.unitOptions=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisDistanceMeasurement2dReady.emit(),n(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{whenOnce:t}=await a();await t((()=>this.widget.unitOptions)),this.unitOptions=this.widget.unitOptions}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),this.unit&&(t.unit=this.unit),this.unitOptions&&(t.unitOptions=this.unitOptions),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],unit:["unitWatcher"],unitOptions:["unitOptionsWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};o.style="";export{o as arcgis_distance_measurement_2d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,a as t,h as i,H as s,g as n}from"./p-e71f0b88.js";import{i as r,a3 as a}from"./p-5618cdb5.js";function o(e,t){let i=e;for(;i;){if(i===t)return!0;if(!i.parentNode)return!1;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1}var c=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),l=new Map;async function h(e,t,i=""){let s=`${t}/${i}${e}.json`;if(l.has(s))return l.get(s);try{let n=await fetch(s);if(n.ok){let e=await n.json();return l.set(s,e),e}if("en"===e)return void l.set(s,void 0);let r=await h("en",t,i);return l.set(s,r),r}catch{return void l.set(s,void 0)}}var d=new WeakMap,v=new WeakMap,u=new WeakMap;async function w(e,t){let{lang:i,t9nLocale:s}=function(e){let t=function(e,t,i){return function(e,t){let i=e;for(;i;){let e=i.closest(t);if(e)return e;let s=i.getRootNode();if(s===document)return null;i=s.host}return null}(e,`[${t}]`)?.getAttribute(t)??i}(e,"lang",navigator.language||"en");if(c.has(t))return{lang:t,t9nLocale:t};let i=t.slice(0,2);return{lang:t,t9nLocale:c.has(i)?i:"en"}}(e._hostElement);if(i===e._lang&&s===e._t9nLocale||(i!==e._lang&&(e._lang=i),s===e._t9nLocale))return;let n=u.get(e);if(!n){let t=v.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),r=`${t}/${i}/t9n`,a=`${i}.t9n.`;n=await h(s,r,a)}s!==e._t9nLocale&&(e._t9nLocale=s,e._t9nStrings=n,await(t?.call(e)))}const f=class{constructor(t){e(this,t),this._watchHandles=[],this.label=void 0,this.position="top-right",this.view=void 0,this._lang="",this._t9nLocale="",this._t9nStrings=void 0,this.state=void 0}positionWatcher(e){void 0!==e&&this.viewModel&&this.view.ui.move(this._hostElement,e)}async componentDidLoad(){const{watch:e}=await r();this._watchHandles.push(e((()=>this.viewModel.state),(e=>{this.state=e})))}async componentWillLoad(){await async function(e,t,i){v.set(e,t),d.set(e,function(e,t,i=(()=>{})){if(!t||t.length<=0)return;let s=new MutationObserver((t=>{for(let s of t)o(e,s.target)&&i()}));return s.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),s}(e._hostElement,["lang"],(()=>{w(e,i).catch(console.error)}))),await w(e,i)}(this,t("./assets")),await this._checkForView(),this.viewModel=await a({layers:this.view.map.layers}),this.label=this.label?this.label:this._t9nStrings.label}disconnectedCallback(){var e;e=this,d.get(e)?.disconnect(),d.delete(e),v.delete(e),this._watchHandles.forEach((e=>{e.remove()})),this._watchHandles=[]}render(){const{_t9nStrings:e,label:t,viewModel:n,viewModel:{state:r,loadError:a}}=this,o=Array.from(this.viewModel.serviceNames,(([e,t])=>({url:e,name:t})));return i(s,null,i("calcite-flow",{ref:e=>{this.flowElement=e},class:"flow-main"},i("calcite-flow-item",{heading:t},i("calcite-panel",{class:"panel-services",loading:"loading"===r},o.map((s=>i("arcgis-version-management-service-item",{flowElement:this.flowElement,heading:t,serviceUrl:s.url,strings:e,viewModel:n,onVersionItemActionClickedEventWithServiceUrl:e=>{this._handleVersionItemActionClick(e,this.flowElement)},onVersionListActionClickedEvent:e=>{this._handleVersionListActionClick(e,this.flowElement)}}))),"disabled"===r?i("calcite-notice",{class:"notice",closable:!1,kind:"warning",open:!0,scale:"s",slot:"footer"},i("div",{slot:"message"},this._getLoadError(a))):void 0))))}async _checkForView(){const e=this._hostElement.closest("arcgis-map");e?.view&&(await e.view.map.load(),this.view=e.view,this.view.ui.add(this._hostElement,this.position))}_createVersionPropertiesFlow(e,t){const{flowElement:i,viewModel:s}=this,n=document.createElement("arcgis-version-management-version-properties");return n.flowElement=i,n.serviceUrl=e,n.strings=this._t9nStrings,n.versionInfo=t,n.viewModel=s,n.addEventListener("versionPropertiesSaveClickedEvent",(async e=>{const{serviceUrl:t,versionInfo:n}=e.detail,r=n.versionIdentifier.name,a=r.split(".").length>1?r.split(".")[1]:r,o=r.split(".").length>1?r.split(".")[0]:s.userForUrl.get(t);if(""===n.versionIdentifier.guid?await s.createVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionName:a}):await s.alterVersion({access:n.access,description:n.description,featureServerUrl:t,ownerName:o,versionIdentifier:{name:"",guid:n.versionIdentifier.guid},versionName:a}),"ready"===s.state){await s.getVersionInfos(t,!0);const e=s.versionInfos.get(t);i.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e,await i.back()}})),n}_getLoadError(e){const{_t9nStrings:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-layers-property":return t.loadErrors.noLayersProperty;default:return e}}async _handleVersionItemActionClick(e,t){const{actionType:i,serviceUrl:s,versionInfo:n}=e.detail;switch(i){case"changeVersion":await this._switchToVersion(s,n.versionIdentifier.name,n.versionIdentifier.guid);break;case"editVersion":t.append(this._createVersionPropertiesFlow(s,n))}}async _handleVersionListActionClick(e,t){const{actionType:i,serviceUrl:s}=e.detail;switch(i){case"newVersion":t.append(this._createVersionPropertiesFlow(s,void 0));break;case"refreshVersions":{const e=await this.viewModel.getVersionInfos(s,!0);this.flowElement.getElementsByTagName("arcgis-version-management-version-list")[0].versionInfos=e;break}}}async _switchToVersion(e,t,i){await this.viewModel.changeVersion(e,t,i)}static get assetsDirs(){return["assets"]}get _hostElement(){return n(this)}static get watchers(){return{position:["positionWatcher"]}}};f.style=".div-content{background-color:var(--calcite-ui-foreground-1);padding:0.75rem}.flow-main{width:330px}.notice{width:-webkit-fill-available}.panel-services{max-height:400px}.panel-versions{max-height:400px}";export{f as arcgis_version_management}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{A as h,i as a}from"./p-5618cdb5.js";import{r as n,c as r,a as o}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.js";const l=class{constructor(s){t(this,s),this.arcgisFeaturesReady=i(this,"arcgisFeaturesReady",7),this.featuresTriggerAction=i(this,"featuresTriggerAction",7),this._watchHandles=[],this.referenceElement=void 0,this.collapsed=!1,this.content=void 0,this.features=void 0,this.icon=void 0,this.promises=void 0,this.selectedFeature=void 0,this.selectedFeatureIndex=void 0,this.featuresTitle=void 0,this.visibleElementsActionBar=!0,this.visibleElementsCloseButton=!0,this.visibleElementsCollapseButton=!0,this.visibleElementsFeatureNavigation=!0,this.visibleElementsHeading=!0,this.visibleElementsSpinner=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){n(this,t)}contentWatcher(t){this.widget&&(this.widget.content=t)}featuresWatcher(t){this.widget&&(this.widget.features=t)}iconWatcher(t){this.widget&&(this.widget.icon=t)}featuresTitleWatcher(t){this.widget&&(this.widget.title=t)}visibleElementsActionBarWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,actionBar:t})}visibleElementsCloseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,closeButton:t})}visibleElementsCollapseButtonWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,collapseButton:t})}visibleElementsFeatureNavigationWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,featureNavigation:t})}visibleElementsHeadingWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,heading:t})}visibleElementsSpinnerWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,spinner:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async fetchFeatures(t,i){return await(this.widget?.fetchFeatures(t,i))}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async next(){return this.widget?.next()}async open(t){this.widget?.open(t)}async previous(){return this.widget?.previous()}async triggerAction(t){this.widget?.triggerAction(t)}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,await this._addWatchers(),this._proxyEvents(),this._addContainer(),this.arcgisFeaturesReady.emit(),r(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}async _addWatchers(){const{watch:t}=await a();o(this,t((()=>this.widget.collapsed),(t=>this.collapsed=t),{initial:!0})),o(this,t((()=>this.widget.promises),(t=>this.promises=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeature),(t=>this.selectedFeature=t),{initial:!0})),o(this,t((()=>this.widget.selectedFeatureIndex),(t=>this.selectedFeatureIndex=t),{initial:!0}))}_createParams(){const t={};return t.visibleElements={actionBar:this.visibleElementsActionBar,closeButton:this.visibleElementsCloseButton,collapseButton:this.visibleElementsCollapseButton,featureNavigation:this.visibleElementsFeatureNavigation,heading:this.visibleElementsHeading,spinner:this.visibleElementsSpinner},this.icon&&(t.icon=this.icon),this.view&&(t.view=this.view),this.content&&(t.content=this.content),this.features&&(t.features=this.features),this.featuresTitle&&(t.title=this.featuresTitle),t}_proxyEvents(){this.widget.on("trigger-action",(t=>this.featuresTriggerAction.emit(t)))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],content:["contentWatcher"],features:["featuresWatcher"],icon:["iconWatcher"],featuresTitle:["featuresTitleWatcher"],visibleElementsActionBar:["visibleElementsActionBarWatcher"],visibleElementsCloseButton:["visibleElementsCloseButtonWatcher"],visibleElementsCollapseButton:["visibleElementsCollapseButtonWatcher"],visibleElementsFeatureNavigation:["visibleElementsFeatureNavigationWatcher"],visibleElementsHeading:["visibleElementsHeadingWatcher"],visibleElementsSpinner:["visibleElementsSpinnerWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="arcgis-features{}";export{l as arcgis_features}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{g as a,i as h}from"./p-5618cdb5.js";import{r,c as o,a as n}from"./p-4a56215a.js";import{o as c}from"./p-fef5523a.js";const l=class{constructor(s){t(this,s),this.arcgisBasemapToggleReady=i(this,"arcgisBasemapToggleReady",7),this._watchHandles=[],this.referenceElement=void 0,this.activeBasemap=void 0,this.nextBasemap=void 0,this.visibleElementsTitle=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}nextBasemapWatcher(t){t&&this.widget&&(this.widget.nextBasemap=t)}visibleElementsTitleWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,title:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async toggle(){return await(this.widget?.toggle())}async componentDidLoad(){const t=this._createParams(),i=await a(t);this.widget=i,await this._addWatchers(),this._addContainer(),this.arcgisBasemapToggleReady.emit(),o(this)}disconnectedCallback(){c(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={visibleElements:{}};return this.nextBasemap&&(t.nextBasemap=this.nextBasemap),this.visibleElementsTitle&&(t.visibleElements.title=this.visibleElementsTitle),this.view&&(t.view=this.view),t}async _addWatchers(){const{watch:t}=await h();n(this,t((()=>this.widget.activeBasemap),(t=>this.activeBasemap=t),{initial:!0})),n(this,t((()=>this.widget.nextBasemap),(t=>this.nextBasemap=t),{initial:!0}))}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],nextBasemap:["nextBasemapWatcher"],visibleElementsTitle:["visibleElementsTitleWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};l.style="";export{l as arcgis_basemap_toggle}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-e71f0b88.js";import{F as h}from"./p-5618cdb5.js";import{r,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(s){t(this,s),this.arcgisHomeReady=i(this,"arcgisHomeReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.viewpoint=void 0,this.messageOverrides=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&this.widget.icon!==t&&(this.widget.icon=t,this.widget.iconClass=t)}viewpointWatcher(t){this.widget&&(this.widget.viewpoint=t)}messageOverridesWatcher(t){this.widget&&(this.widget.uiStrings=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async cancelGo(){this.widget?.cancelGo()}async go(){this.widget?.go()}async componentDidLoad(){const t=this._createParams(),i=await h(t);this.widget=i,this._addContainer(),this.arcgisHomeReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return s("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.viewpoint&&(t.viewpoint=this.viewpoint),this.messageOverrides&&(t.uiStrings=this.messageOverrides),this.view&&(t.view=this.view),t}get el(){return e(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],viewpoint:["viewpointWatcher"],messageOverrides:["messageOverridesWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="arcgis-home{}";export{c as arcgis_home}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as s}from"./p-e71f0b88.js";import{C as r}from"./p-5618cdb5.js";import{r as h,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(i){t(this,i),this.widgetReady=e(this,"widgetReady",7),this._watchHandles=[],this.referenceElement=void 0,this.element=void 0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){h(this,t)}elementWatcher(t){this.widget&&(this.widget.element=t)}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await r(t);this.widget=e,this.widgetReady.emit({widget:this.widget}),a(this)}disconnectedCallback(){o(this)}render(){return i("div",{ref:t=>this.childElem=t})}_createParams(){const t={container:this.childElem};return this.element&&(t.element=this.element),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],element:["elementWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_fullscreen}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.29/esri/copyright.txt for details.
|
|
4
|
-
* v4.29.7
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as s}from"./p-e71f0b88.js";import{a4 as h}from"./p-5618cdb5.js";import{r,c as a}from"./p-4a56215a.js";import{o}from"./p-fef5523a.js";const c=class{constructor(i){t(this,i),this.arcgisWeatherReady=e(this,"arcgisWeatherReady",7),this._watchHandles=[],this.referenceElement=void 0,this.icon=void 0,this.visibleElementsHeader=!0,this.position="bottom-left",this.view=void 0,this.widget=void 0}referenceElementWatcher(t){r(this,t)}iconWatcher(t){this.widget&&(this.widget.icon=t,this.widget.iconClass=t)}visibleElementsHeaderWatcher(t){this.widget&&(this.widget.visibleElements={...this.widget.visibleElements,header:t})}positionWatcher(t){void 0!==t&&this.widget&&this.view.ui.move(this.childElem,t)}viewWatcher(t){void 0!==t&&this.widget&&(this.widget.view=t)}async componentDidLoad(){const t=this._createParams(),e=await h(t);this.widget=e,this._addContainer(),this.arcgisWeatherReady.emit(),a(this)}disconnectedCallback(){o(this)}render(){return i("div",{ref:t=>this.childElem=t})}_addContainer(){this.widget.container=this.childElem}_createParams(){const t={};return t.visibleElements={header:this.visibleElementsHeader},this.icon&&(t.icon=this.icon,t.iconClass=this.icon),this.view&&(t.view=this.view),t}get el(){return s(this)}static get watchers(){return{referenceElement:["referenceElementWatcher"],icon:["iconWatcher"],visibleElementsHeader:["visibleElementsHeaderWatcher"],position:["positionWatcher"],view:["viewWatcher"]}}};c.style="";export{c as arcgis_weather}
|